OpenBSD/src ogtz6vFsys/kern sys_pipe.c

   revisit pipe initialization and buffer management

   - in dopipe(), get an already zeroed struct (PR_ZERO) instead of manually initialize each member (in pipe_create)
   - rename pipespace() and pipe_free_kmem() to pipe_buffer_realloc() and pipe_buffer_free(): it is more evident that the functions works on the same thing
   - in pipe_buffer_free(), return early and move the if-body as function body

   No functional change intented.

   ok anton@ visa@ mpi@
VersionDeltaFile
1.94+41-34sys/kern/sys_pipe.c
+41-341 files

UnifiedSplitRaw