MCPcopy Create free account
hub / github.com/F-Stack/f-stack / pipespace

Function pipespace

freebsd/kern/sys_pipe.c:602–609  ·  view source on GitHub ↗

* Wrapper for pipespace_new() that performs locking assertions. */

Source from the content-addressed store, hash-verified

600 * Wrapper for pipespace_new() that performs locking assertions.
601 */
602static int
603pipespace(struct pipe *cpipe, int size)
604{
605
606 KASSERT(cpipe->pipe_state & PIPE_LOCKFL,
607 ("Unlocked pipe passed to pipespace"));
608 return (pipespace_new(cpipe, size));
609}
610
611/*
612 * lock a pipe for I/O, blocking other access

Callers 2

pipe_readFunction · 0.85
pipe_writeFunction · 0.85

Calls 1

pipespace_newFunction · 0.85

Tested by

no test coverage detected