Searched refs:dirhint (Results 1 - 4 of 4) sorted by relevance

/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_attrlist.c116 directoryhint_t *dirhint = NULL; local
189 dirhint = hfs_getdirhint(dcp, ((index - 1) & HFS_INDEX_MASK) | tag, TRUE);
192 dirhint->dh_index &= HFS_INDEX_MASK;
193 if (dirhint->dh_index == HFS_INDEX_MASK) {
194 dirhint->dh_index = -1;
227 error = cat_getentriesattr(hfsmp, dirhint, ce_list);
364 if ((dirhint->dh_desc.cd_flags & CD_HASBUF) &&
365 (dirhint->dh_desc.cd_nameptr != NULL)) {
366 dirhint->dh_desc.cd_flags &= ~CD_HASBUF;
367 vfs_removename((const char *)dirhint
[all...]
H A Dhfs_catalog.c2598 cat_getentriesattr(struct hfsmount *hfsmp, directoryhint_t *dirhint, struct cat_entrylist *ce_list) argument
2615 parentcnid = dirhint->dh_desc.cd_parentcnid;
2627 iterator->hint.nodeNum = dirhint->dh_desc.cd_hint;
2628 index = dirhint->dh_index + 1;
2633 if (dirhint->dh_desc.cd_namelen != 0) {
2634 if (buildkey(hfsmp, &dirhint->dh_desc, (HFSPlusCatalogKey *)key, 0) == 0) {
2647 buildthreadkey(dirhint->dh_desc.cd_parentcnid, (hfsmp->hfs_flags & HFS_STANDARD), key);
2664 ps.parentID = dirhint->dh_desc.cd_parentcnid;
3195 cat_getdirentries(struct hfsmount *hfsmp, u_int32_t entrycnt, directoryhint_t *dirhint, argument
3244 index = dirhint
[all...]
H A Dhfs_catalog.h165 * list may contain dirhints of the same tag, and a staled dirhint may
310 directoryhint_t *dirhint,
328 directoryhint_t *dirhint,
H A Dhfs_vnops.c4505 directoryhint_t *dirhint = NULL; local
4543 /* Note that the dirhint calls require an exclusive lock. */
4661 dirhint = &localhint; /* don't forget to release the descriptor */
4669 if (dirhint == NULL) {
4670 dirhint = hfs_getdirhint(cp, ((index - 1) & HFS_INDEX_MASK) | tag, 0);
4673 dirhint->dh_index &= HFS_INDEX_MASK;
4674 if (dirhint->dh_index == HFS_INDEX_MASK) {
4675 dirhint->dh_index = -1;
4680 dirhint->dh_threadhint = cp->c_dirthreadhint;
4688 * code at the end of the function will release the dirhint fo
[all...]

Completed in 40 milliseconds