Lines Matching defs:ctx
77 vfs_context_t ctx;
125 p2 = ref->ctx;
224 ref->ctx = vfs_context_create(vfs_context_current());
226 if ((error = vnode_open(name, (O_CREAT | FWRITE), (0), 0, &ref->vp, ref->ctx)))
241 if (vnode_getattr(ref->vp, &va, ref->ctx))
267 ref->ctx);
269 if (!error) error = vnode_setsize(ref->vp, set_file_size, IO_NOZEROFILL, ref->ctx);
280 p2 = ref->ctx;
448 vnode_close(ref->vp, FWRITE, ref->ctx);
451 vfs_context_rele(ref->ctx);
465 vfs_context_ucred(ref->ctx), (int *) 0,
466 vfs_context_proc(ref->ctx)));
496 p2 = ref->ctx;
510 error = vnode_close(ref->vp, FWRITE, ref->ctx);
515 vfs_context_rele(ref->ctx);
516 ref->ctx = NULL;