Lines Matching defs:ctx
975 vfs_context_t ctx = vfs_context_current();
995 CAST_USER_ADDR_T(buf), ctx);
1024 error = mac_vnode_check_create(ctx,
1030 error = mac_vnode_check_uipc_bind(ctx,
1036 error = vnode_authorize(dvp, NULL, KAUTH_VNODE_ADD_FILE, ctx);
1040 error = vn_create(dvp, &vp, &nd, &va, 0, 0, NULL, ctx);
1084 vfs_context_t ctx = vfs_context_current();
1104 CAST_USER_ADDR_T(buf), ctx);
1119 error = mac_vnode_check_uipc_connect(ctx, vp);
1126 error = vnode_authorize(vp, NULL, KAUTH_VNODE_WRITE_DATA, ctx);
1212 cru2x(vfs_context_ucred(ctx), &unp3->unp_peercred);