Searched refs:dcp (Results 1 - 8 of 8) sorted by relevance
/darwin-on-arm/xnu/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); 211 if (dcp->c_entries == 0) { 218 cndesc.cd_parentcnid = dcp->c_fileid; 219 cndesc.cd_hint = dcp 446 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; 678 struct cnode *dcp; local 134 hfs_makelink(struct hfsmount *hfsmp, struct vnode *src_vp, struct cnode *cp, struct cnode *dcp, struct componentname *cnp) argument 903 struct cnode * dcp = NULL; local [all...] |
H A D | hfs_vnops.c | 2594 struct cnode *dcp = VTOC(dvp); local 2611 if ((error = hfs_lockpair(dcp, cp, HFS_EXCLUSIVE_LOCK))) { 2616 if (dcp->c_flag & (C_DELETED | C_NOEXISTS)) { 2617 hfs_unlockpair (dcp, cp); 2622 hfs_unlockpair(dcp, cp); 2637 struct cnode *dcp; local 2644 dcp = VTOC(dvp); 2647 if (dcp == cp) { 2729 dcp->c_flag |= C_DIR_MODIFICATION; 2747 if ((dcp 2841 struct cnode *dcp = VTOC(dvp); local 3012 struct cnode *dcp; local 5070 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 | 1800 hfs_getdirhint(struct cnode *dcp, int index, int detach) argument 1815 TAILQ_FOREACH(hint, &dcp->c_hintlist, dh_link) { 1824 if (dcp->c_dirhintcnt < HFS_MAXDIRHINTS) { /* we don't need recycling */ 1827 ++dcp->c_dirhintcnt; 1830 hint = TAILQ_LAST(&dcp->c_hintlist, hfs_hinthead); 1843 TAILQ_REMOVE(&dcp->c_hintlist, hint, dh_link); 1846 --dcp->c_dirhintcnt; 1848 TAILQ_INSERT_HEAD(&dcp->c_hintlist, hint, dh_link); 1856 hint->dh_desc.cd_parentcnid = dcp->c_fileid; 1857 hint->dh_desc.cd_hint = dcp 1871 hfs_reldirhint(struct cnode *dcp, directoryhint_t * relhint) argument 1901 hfs_reldirhints(struct cnode *dcp, int stale_hints_only) argument 1935 hfs_insertdirhint(struct cnode *dcp, directoryhint_t * hint) argument [all...] |
H A D | hfs_cprotect.c | 213 cp_entry_create_keys(struct cprotect **entry_ptr, struct cnode *dcp, struct hfsmount *hfsmp, argument 239 if ((dcp) && (dcp->c_cpentry)) { 240 uint32_t parentclass = dcp->c_cpentry->cp_pclass;
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | cprotect.h | 175 int cp_entry_create_keys(struct cprotect **entry_ptr, struct cnode *dcp, struct hfsmount *hfsmp,
|
/darwin-on-arm/xnu/SETUP/config/ |
H A D | parser.y | 931 register struct device *dp, *dcp; 949 dcp = dp->d_conn; 978 if (dcp == TO_NEXUS || dcp == 0) 979 dp->d_conn = dcp; 981 dp->d_conn = dconnect(dcp->d_name, QUES);
|
Completed in 1077 milliseconds