Searched refs:ni_cnd (Results 1 - 12 of 12) sorted by relevance
/darwin-on-arm/xnu/bsd/sys/ |
H A D | namei.h | 121 struct componentname ni_cnd; member in struct:nameidata 143 * namei operational modifier flags, stored in ni_cnd.flags 197 (ndp)->ni_cnd.cn_nameiop = op; \ 199 (ndp)->ni_cnd.cn_flags = flags; \ 207 (ndp)->ni_cnd.cn_context = ctx; \ 209 (ndp)->ni_cnd.cn_ndp = (ndp); \ 213 (ndp)->ni_cnd.cn_nameiop = op; \ 214 (ndp)->ni_cnd.cn_flags = flags; \ 222 (ndp)->ni_cnd.cn_context = ctx; \ 224 (ndp)->ni_cnd [all...] |
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs_serv.c | 618 ni.ni_cnd.cn_nameiop = LOOKUP; 622 ni.ni_cnd.cn_flags = LOCKLEAF; 624 isdotdot = ((len == 2) && (ni.ni_cnd.cn_pnbuf[0] == '.') && (ni.ni_cnd.cn_pnbuf[1] == '.')); 1833 ni.ni_cnd.cn_nameiop = 0; 1843 ni.ni_cnd.cn_nameiop = CREATE; 1847 ni.ni_cnd.cn_flags = LOCKPARENT | LOCKLEAF; 1870 ni.ni_cnd.cn_nameiop = 0; 1960 error = VNOP_CREATE(dvp, &vp, &ni.ni_cnd, vap, ctx); 2003 error = VNOP_MKNOD(dvp, &vp, &ni.ni_cnd, va [all...] |
H A D | nfs_subs.c | 2007 struct componentname *cnp = &nip->ni_cnd; 2060 struct componentname *cnp = &nip->ni_cnd; 2080 nip->ni_cnd.cn_context = ctx; 2092 cnflags = nip->ni_cnd.cn_flags; /* store in case we have to restore */ 2094 nip->ni_cnd.cn_flags = cnflags; 2999 xnd.ni_cnd.cn_nameiop = LOOKUP; 3003 xnd.ni_cnd.cn_flags = LOCKLEAF; 3005 xnd.ni_cnd.cn_nameptr = xnd.ni_cnd.cn_pnbuf = path; 3008 xnd.ni_cnd [all...] |
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_lookup.c | 167 u_long cnpflags = ndp->ni_cnd.cn_flags; /* store in case we have to restore after loop */ 169 struct componentname *cnp = &ndp->ni_cnd; 202 error = lookup_handle_found_vnode(ndp, &ndp->ni_cnd, rdonly, vbusyflags, 391 ndp->ni_cnd.cn_flags = cnpflags; 528 if (ndp->ni_cnd.cn_flags & FSNODELOCKHELD) { 529 ndp->ni_cnd.cn_flags &= ~FSNODELOCKHELD; 868 struct componentname *cnp = &ndp->ni_cnd; 1148 struct componentname *cnp = &ndp->ni_cnd; 1291 struct componentname *cnp = &ndp->ni_cnd; 1510 if ((ndp->ni_cnd [all...] |
H A D | vfs_vnops.c | 217 if (ndp->ni_cnd.cn_flags & CN_WANTSRSRCFORK) { 218 if ((error = vn_authorize_create(dvp, &ndp->ni_cnd, vap, ctx, NULL)) != 0) 226 if ((error = vn_authorize_create(dvp, &ndp->ni_cnd, vap, ctx, NULL)) != 0) 284 vnode_update_identity(vp, dvp, ndp->ni_cnd.cn_nameptr, ndp->ni_cnd.cn_namelen, ndp->ni_cnd.cn_hash, update_flags); 356 vfs_context_t ctx = ndp->ni_cnd.cn_context; 374 origcnflags = ndp->ni_cnd.cn_flags; 384 ndp->ni_cnd.cn_nameiop = CREATE; 389 ndp->ni_cnd [all...] |
H A D | vfs_syscalls.c | 239 nd.ni_cnd.cn_pnbuf = pnbuf; 240 nd.ni_cnd.cn_pnlen = strlen(pnbuf) + 1; 244 error = mount_common(fstype, pvp, vp, &nd.ni_cnd, CAST_USER_ADDR_T(data), 336 error = relocate_imageboot_source(pvp, vp, &nd.ni_cnd, fstypename, 395 error = mount_common(fstypename, pvp, vp, &nd.ni_cnd, uap->data, flags, 0, 673 strncpy(mp->mnt_vfsstat.f_mntfromname, nd.ni_cnd.cn_pnbuf, MAXPATHLEN); 1133 strlcpy(mp->mnt_vfsstat.f_mntfromname, nd.ni_cnd.cn_pnbuf, MAXPATHLEN); 2880 &nd.ni_cnd); 3351 nd.ni_dvp, &nd.ni_cnd, &va); 3372 vnode_update_identity(vp, dvp, nd.ni_cnd [all...] |
H A D | kpi_vfs.c | 3089 struct componentname *cnp = &ndp->ni_cnd; 4255 a.a_cnp = &ndp->ni_cnd; 4269 xattrfile_remove(dvp, ndp->ni_cnd.cn_nameptr, ctx, 1); 4507 error = VNOP_COMPOUND_RENAME(fdvp, &src_attr_vp, &fromnd->ni_cnd, NULL, 4508 tdvp, &dst_attr_vp, &tond->ni_cnd, NULL, 4511 error = VNOP_RENAME(fdvp, src_attr_vp, &fromnd->ni_cnd, 4512 tdvp, dst_attr_vp, &tond->ni_cnd, ctx); 4523 tond->ni_cnd.cn_nameptr, 4524 tond->ni_cnd.cn_namelen, 4525 tond->ni_cnd [all...] |
H A D | vfs_xattr.c | 2453 nd.ni_cnd.cn_nameiop = CREATE; 2458 nd.ni_cnd.cn_flags |= LOCKPARENT; 2659 error = VNOP_REMOVE(dvp, xvp, &nd.ni_cnd, 0, context);
|
H A D | vfs_subr.c | 5101 return VNOP_CREATE(dvp, vpp, &ndp->ni_cnd, vap, ctx); 5155 cnp = &ndp->ni_cnd; 8429 result = rp->vr_resolve_func(vp, &ndp->ni_cnd, op, 0, rp->vr_data, ctx);
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_exec.c | 1017 if (imgp->ip_ndp->ni_cnd.cn_namelen > MAXCOMLEN) 1018 imgp->ip_ndp->ni_cnd.cn_namelen = MAXCOMLEN; 1019 bcopy((caddr_t)imgp->ip_ndp->ni_cnd.cn_nameptr, (caddr_t)p->p_comm, 1020 (unsigned)imgp->ip_ndp->ni_cnd.cn_namelen); 1021 p->p_comm[imgp->ip_ndp->ni_cnd.cn_namelen] = '\0';
|
H A D | uipc_usrreq.c | 979 nd.ni_dvp, &nd.ni_cnd, &va); 985 nd.ni_dvp, &nd.ni_cnd, &va);
|
/darwin-on-arm/xnu/security/ |
H A D | mac_vfs.c | 669 (imgp != NULL) ? &imgp->ip_ndp->ni_cnd : NULL,
|
Completed in 142 milliseconds