Searched refs:tcnp (Results 1 - 5 of 5) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/devfs/ |
H A D | devfs_vnops.c | 815 struct componentname *tcnp = ap->a_tcnp; local 827 if (tcnp->cn_namelen > DEVMAXNAMESIZE) { 851 tnp = dev_findname(tdp, tcnp->cn_nameptr); 869 || (tcnp->cn_namelen == 1 && tcnp->cn_nameptr[0] == '.') 870 || (tcnp->cn_flags&ISDOTDOT) 945 dev_add_name(tcnp->cn_nameptr,tdp,NULL,fp,&tnp);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ufs/ |
H A D | ufs_vnops.c | 737 struct componentname *tcnp = ap->a_tcnp; local 786 tcnp->cn_flags &= ~MODMASK; 787 tcnp->cn_flags |= (WANTPARENT | NOCACHE); 789 if ( (error = relookup(tdvp, &rl_vp, tcnp)) ) 860 if ( (error = ufs_checkpath(ip, dp, vfs_context_ucred(tcnp->cn_context))) ) 863 if ( (error = relookup(tdvp, &tvp, tcnp)) ) 898 if ( (error = ufs_direnter(ip, tdvp, tcnp)) ) { 921 if (!ufs_dirempty(xp, dp->i_number, vfs_context_ucred(tcnp->cn_context)) || 935 if ( (error = ufs_dirrewrite(dp, ip, tcnp)) ) 964 error = ffs_truncate_internal(tvp, (off_t)0, ioflag, vfs_context_ucred(tcnp [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/ |
H A D | hfs_vnops.c | 2282 struct componentname *tcnp = ap->a_tcnp; local 2353 if (tcp && ((tcp->c_flag & (C_NOEXISTS | C_DELETED)) || !hfs_valid_cnode(hfsmp, tdvp, tcnp, tcp->c_fileid))) { 2472 (suser(vfs_context_ucred(tcnp->cn_context), NULL)) && 2473 (kauth_cred_getuid(vfs_context_ucred(tcnp->cn_context)) != tdcp->c_uid) && 2474 (hfs_owner_rights(hfsmp, tcp->c_uid, vfs_context_ucred(tcnp->cn_context), p, false)) ) { 2510 to_desc.cd_nameptr = (const u_int8_t *)tcnp->cn_nameptr; 2511 to_desc.cd_namelen = tcnp->cn_namelen; 2592 (const u_int8_t *)tcnp->cn_nameptr, tcnp->cn_namelen) == 0) { 2600 error = hfs_removedir(tdvp, tvp, tcnp, HFSRM_SKIP_RESERV [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/ |
H A D | kpi_vfs.c | 3582 struct vnode *tdvp, struct vnode *tvp, struct componentname *tcnp, 3602 a.a_tcnp = tcnp; 3677 len = tcnp->cn_namelen + 3; 3684 strncat(xtoname, tcnp->cn_nameptr, tcnp->cn_namelen); 4766 VNOP_COPYFILE(struct vnode *fvp, struct vnode *tdvp, struct vnode *tvp, struct componentname *tcnp, argument 4775 a.a_tcnp = tcnp; 3581 VNOP_RENAME(struct vnode *fdvp, struct vnode *fvp, struct componentname *fcnp, struct vnode *tdvp, struct vnode *tvp, struct componentname *tcnp, vfs_context_t ctx) argument
|
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/ |
H A D | nfs_vnops.c | 3238 struct componentname *tcnp = ap->a_tcnp; local 3273 nfs_dulookup_init(&tdul, tdnp, tcnp->cn_nameptr, tcnp->cn_namelen); 3296 error = nfs_sillyrename(tdnp, tnp, tcnp, ctx); 3310 tdnp, tcnp->cn_nameptr, tcnp->cn_namelen, ctx); 3351 cache_enter(tdvp, fvp, tcnp);
|
Completed in 109 milliseconds