Lines Matching defs:dirhint
2966 directoryhint_t *dirhint = NULL;
2994 /* Note that the dirhint calls require an exclusive lock. */
3114 dirhint = &localhint; /* don't forget to release the descriptor */
3122 if (dirhint == NULL) {
3123 dirhint = hfs_getdirhint(cp, ((index - 1) & HFS_INDEX_MASK) | tag, 0);
3126 dirhint->dh_index &= HFS_INDEX_MASK;
3127 if (dirhint->dh_index == HFS_INDEX_MASK) {
3128 dirhint->dh_index = -1;
3133 dirhint->dh_threadhint = cp->c_dirthreadhint;
3137 error = cat_getdirentries(hfsmp, cp->c_entries, dirhint, uio, extended, &items, &eofflag);
3140 cp->c_dirthreadhint = dirhint->dh_threadhint;
3160 dirhint->dh_index |= tag;
3176 if ((dirhint != NULL) &&
3177 (dirhint != &localhint) &&
3179 hfs_reldirhint(cp, dirhint);
3185 if (dirhint == &localhint) {