Searched refs:dcp (Results 1 - 8 of 8) sorted by relevance
/xnu-2422.115.4/bsd/hfs/ |
H A D | hfs_lookup.c | 156 struct cnode *dcp; /* cnode for directory being searched */ local 172 dcp = NULL; 197 dcp = VTOC(dvp); 199 if (dcp->c_flag & C_DIR_MODIFICATION) { 203 // msleep((caddr_t)&dcp->c_flag, &dcp->c_rwlock, PINOD, "hfs_vnop_lookup", 0); 204 hfs_unlock(dcp); 223 cndesc.cd_parentcnid = dcp->c_fileid; 224 cndesc.cd_hint = dcp->c_childhint; 233 dcp 470 struct cnode *dcp; local [all...] |
H A D | hfs_link.c | 66 struct cnode *dcp, struct componentname *cnp); 131 * The cnodes cp and dcp must be locked. 135 struct cnode *dcp, struct componentname *cnp) 159 if (dcp->c_fileid == hfsmp->hfs_private_desc[FILE_HARDLINKS].cd_cnid || 160 dcp->c_fileid == hfsmp->hfs_private_desc[DIR_HARDLINKS].cd_cnid) { 240 err = cat_rename(hfsmp, &to_desc, &dcp->c_desc, &cp->c_desc, NULL); 266 link_desc.cd_parentcnid = dcp->c_fileid; 289 err = cat_rename(hfsmp, &to_desc, &dcp->c_desc, &cp->c_desc, NULL); 379 dcp->c_flag |= C_FORCEUPDATE; 684 struct cnode *dcp; local 134 hfs_makelink(struct hfsmount *hfsmp, struct vnode *src_vp, struct cnode *cp, struct cnode *dcp, struct componentname *cnp) argument 924 struct cnode * dcp = NULL; local [all...] |
H A D | hfs_vnops.c | 2944 struct cnode *dcp = VTOC(dvp); local 2961 if ((error = hfs_lockpair(dcp, cp, HFS_EXCLUSIVE_LOCK))) { 2966 if (dcp->c_flag & (C_DELETED | C_NOEXISTS)) { 2967 hfs_unlockpair (dcp, cp); 2977 hfs_unlockpair(dcp, cp); 2980 hfs_lockpair(dcp, cp, HFS_EXCLUSIVE_LOCK); 2992 hfs_lockpair(dcp, cp, HFS_EXCLUSIVE_LOCK); 2998 hfs_unlockpair(dcp, cp); 3013 struct cnode *dcp; local 3020 dcp 3239 struct cnode *dcp = VTOC(dvp); local 3447 struct cnode *dcp; local 5777 struct cnode *dcp = NULL; local [all...] |
H A D | hfs_attrlist.c | 99 struct cnode *dcp; local 160 dcp = VTOC(dvp); 163 dir_entries = dcp->c_entries; 164 dirchg = dcp->c_dirchangecnt; 189 dirhint = hfs_getdirhint(dcp, ((index - 1) & HFS_INDEX_MASK) | tag, TRUE); 246 hfs_unlock(dcp); 247 dcp = NULL; 388 dcp = VTOC(dvp); 392 while (tag == 0) tag = (++dcp->c_dirhinttag) << HFS_INDEX_BITS; 402 hfs_reldirhint(dcp, dirhin [all...] |
H A D | hfs_vfsutils.c | 1972 hfs_getdirhint(struct cnode *dcp, int index, int detach) argument 1987 TAILQ_FOREACH(hint, &dcp->c_hintlist, dh_link) { 1996 if (dcp->c_dirhintcnt < HFS_MAXDIRHINTS) { /* we don't need recycling */ 1999 ++dcp->c_dirhintcnt; 2002 hint = TAILQ_LAST(&dcp->c_hintlist, hfs_hinthead); 2015 TAILQ_REMOVE(&dcp->c_hintlist, hint, dh_link); 2018 --dcp->c_dirhintcnt; 2020 TAILQ_INSERT_HEAD(&dcp->c_hintlist, hint, dh_link); 2028 hint->dh_desc.cd_parentcnid = dcp->c_fileid; 2029 hint->dh_desc.cd_hint = dcp 2043 hfs_reldirhint(struct cnode *dcp, directoryhint_t * relhint) argument 2073 hfs_reldirhints(struct cnode *dcp, int stale_hints_only) argument 2107 hfs_insertdirhint(struct cnode *dcp, directoryhint_t * hint) argument [all...] |
H A D | hfs_cprotect.c | 236 int cp_setup_newentry (struct hfsmount *hfsmp, struct cnode *dcp, int32_t suppliedclass, argument 281 if ((dcp) && (dcp->c_cpentry)) { 282 uint32_t parentclass = dcp->c_cpentry->cp_pclass;
|
/xnu-2422.115.4/bsd/sys/ |
H A D | cprotect.h | 252 int cp_setup_newentry (struct hfsmount *hfsmp, struct cnode *dcp, int32_t suppliedclass,
|
/xnu-2422.115.4/SETUP/config/ |
H A D | parser.y | 929 register struct device *dp, *dcp; 947 dcp = dp->d_conn; 976 if (dcp == TO_NEXUS || dcp == 0) 977 dp->d_conn = dcp; 979 dp->d_conn = dconnect(dcp->d_name, QUES);
|
Completed in 50 milliseconds