Lines Matching defs:ctx
162 int flags, vfs_context_t ctx);
164 int flags, vfs_context_t ctx);
165 static int pipe_close(struct fileglob *fg, vfs_context_t ctx);
167 vfs_context_t ctx);
169 vfs_context_t ctx);
171 vfs_context_t ctx);
172 static int pipe_drain(struct fileproc *fp,vfs_context_t ctx);
713 __unused vfs_context_t ctx)
862 __unused vfs_context_t ctx)
1119 __unused vfs_context_t ctx)
1176 pipe_select(struct fileproc *fp, int which, void *wql, vfs_context_t ctx)
1196 if (mac_pipe_check_select(vfs_context_ucred(ctx), rpipe, which)) {
1211 selrecord(vfs_context_proc(ctx), &rpipe->pipe_sel, wql);
1225 selrecord(vfs_context_proc(ctx), &wpipe->pipe_sel, wql);
1230 selrecord(vfs_context_proc(ctx), &rpipe->pipe_sel, wql);
1241 pipe_close(struct fileglob *fg, __unused vfs_context_t ctx)
1245 proc_fdlock_spin(vfs_context_proc(ctx));
1248 proc_fdunlock(vfs_context_proc(ctx));
1356 pipe_kqfilter(__unused struct fileproc *fp, struct knote *kn, __unused vfs_context_t ctx)
1369 if (mac_pipe_check_kqfilter(vfs_context_ucred(ctx), kn, cpipe) != 0) {
1593 pipe_drain(struct fileproc *fp, __unused vfs_context_t ctx)