Lines Matching refs:cwd
1257 // figure out if we need to start at root or at cwd
1272 start = context->cwd;
2684 if (context->cwd != NULL) {
2685 *_mountID = context->cwd->device;
2686 *_vnodeID = context->cwd->id;
2864 context->cwd = parentContext->cwd;
2865 if (context->cwd)
2866 inc_vnode_ref_count(context->cwd);
2881 context->cwd = sRoot;
2883 if (context->cwd)
2884 inc_vnode_ref_count(context->cwd);
2899 if (context->cwd)
2900 dec_vnode_ref_count(context->cwd, false);
5020 if (context->cwd)
5021 status = dir_vnode_to_path(context->cwd, buffer, size);
5051 // nope, can't cwd to here
5061 oldDirectory = context->cwd;
5062 context->cwd = vnode;