Lines Matching defs:dirhint
5160 directoryhint_t *dirhint = NULL;
5198 /* Note that the dirhint calls require an exclusive lock. */
5316 dirhint = &localhint; /* don't forget to release the descriptor */
5324 if (dirhint == NULL) {
5325 dirhint = hfs_getdirhint(cp, ((index - 1) & HFS_INDEX_MASK) | tag, 0);
5328 dirhint->dh_index &= HFS_INDEX_MASK;
5329 if (dirhint->dh_index == HFS_INDEX_MASK) {
5330 dirhint->dh_index = -1;
5335 dirhint->dh_threadhint = cp->c_dirthreadhint;
5343 * code at the end of the function will release the dirhint for us.
5347 if (dirhint->dh_desc.cd_flags & CD_EOF) {
5358 error = cat_getdirentries(hfsmp, cp->c_entries, dirhint, uio, ap->a_flags, &items, &eofflag);
5361 cp->c_dirthreadhint = dirhint->dh_threadhint;
5381 dirhint->dh_index |= tag;
5397 if ((dirhint != NULL) &&
5398 (dirhint != &localhint) &&
5400 hfs_reldirhint(cp, dirhint);
5406 if (dirhint == &localhint) {