Lines Matching defs:dirhint
5453 directoryhint_t *dirhint = NULL;
5492 /* Note that the dirhint calls require an exclusive lock. */
5609 dirhint = &localhint; /* don't forget to release the descriptor */
5617 if (dirhint == NULL) {
5618 dirhint = hfs_getdirhint(cp, ((index - 1) & HFS_INDEX_MASK) | tag, 0);
5621 dirhint->dh_index &= HFS_INDEX_MASK;
5622 if (dirhint->dh_index == HFS_INDEX_MASK) {
5623 dirhint->dh_index = -1;
5628 dirhint->dh_threadhint = cp->c_dirthreadhint;
5636 * code at the end of the function will release the dirhint for us.
5640 if (dirhint->dh_desc.cd_flags & CD_EOF) {
5651 error = cat_getdirentries(hfsmp, cp->c_entries, dirhint, uio, ap->a_flags, &items, &eofflag);
5654 cp->c_dirthreadhint = dirhint->dh_threadhint;
5699 dirhint->dh_index |= tag;
5715 if ((dirhint != NULL) &&
5716 (dirhint != &localhint) &&
5718 hfs_reldirhint(cp, dirhint);
5724 if (dirhint == &localhint) {