Lines Matching refs:dirhint
4505 directoryhint_t *dirhint = NULL;
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 for us.
4692 if (dirhint->dh_desc.cd_flags & CD_EOF) {
4703 error = cat_getdirentries(hfsmp, cp->c_entries, dirhint, uio, ap->a_flags, &items, &eofflag);
4706 cp->c_dirthreadhint = dirhint->dh_threadhint;
4726 dirhint->dh_index |= tag;
4742 if ((dirhint != NULL) &&
4743 (dirhint != &localhint) &&
4745 hfs_reldirhint(cp, dirhint);
4751 if (dirhint == &localhint) {