Lines Matching defs:ctx
128 vfs_context_t ctx,
521 vfs_context_t ctx = vfs_context_current();
527 error = suser(vfs_context_ucred(ctx), 0);
589 if ((error = vnode_authorize(vp, NULL, action, ctx)) != 0)
592 if ((error = VNOP_OPEN(vp, fmode, ctx)))
602 if ((error = falloc(p, &nfp, &indx, ctx)) != 0) {
603 vn_close(vp, fmode & FMASK, ctx);
625 if ((error = VNOP_ADVLOCK(vp, (caddr_t)fp->f_fglob, F_SETLK, &lf, type, ctx))) {
1252 vfs_context_t ctx = vfs_context_current();
1254 is_64bit = IS_64BIT_PROCESS(vfs_context_proc(ctx));
1276 error = nfsrv_export(&unxa, ctx);