• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/hfs/

Lines Matching defs:dirhint

2434 cat_getentriesattr(struct hfsmount *hfsmp, directoryhint_t *dirhint, struct cat_entrylist *ce_list)
2451 parentcnid = dirhint->dh_desc.cd_parentcnid;
2463 iterator->hint.nodeNum = dirhint->dh_desc.cd_hint;
2464 index = dirhint->dh_index + 1;
2469 if (dirhint->dh_desc.cd_namelen != 0) {
2470 if (buildkey(hfsmp, &dirhint->dh_desc, (HFSPlusCatalogKey *)key, 0) == 0) {
2483 buildthreadkey(dirhint->dh_desc.cd_parentcnid, (hfsmp->hfs_flags & HFS_STANDARD), key);
2500 ps.parentID = dirhint->dh_desc.cd_parentcnid;
2983 cat_getdirentries(struct hfsmount *hfsmp, int entrycnt, directoryhint_t *dirhint,
3023 index = dirhint->dh_index + 1;
3032 if (dirhint->dh_desc.cd_namelen != 0) {
3033 if (buildkey(hfsmp, &dirhint->dh_desc, (HFSPlusCatalogKey *)key, 0) == 0) {
3034 iterator->hint.nodeNum = dirhint->dh_desc.cd_hint;
3039 if (index == 0 && dirhint->dh_threadhint != 0) {
3044 buildthreadkey(dirhint->dh_desc.cd_parentcnid, (hfsmp->hfs_flags & HFS_STANDARD), key);
3045 iterator->hint.nodeNum = dirhint->dh_threadhint;
3058 buildthreadkey(dirhint->dh_desc.cd_parentcnid, (hfsmp->hfs_flags & HFS_STANDARD), key);
3065 dirhint->dh_threadhint = iterator->hint.nodeNum;
3077 ps.parentID = dirhint->dh_desc.cd_parentcnid;
3096 state.cbs_desc = &dirhint->dh_desc;
3099 state.cbs_parentID = dirhint->dh_desc.cd_parentcnid;
3102 if (dirhint->dh_desc.cd_namelen > 0 && dirhint->dh_desc.cd_nameptr != NULL) {
3103 bcopy(dirhint->dh_desc.cd_nameptr, buffer, dirhint->dh_desc.cd_namelen+1);
3104 if (dirhint->dh_desc.cd_flags & CD_HASBUF) {
3105 dirhint->dh_desc.cd_flags &= ~CD_HASBUF;
3106 vfs_removename((const char *)dirhint->dh_desc.cd_nameptr);
3109 dirhint->dh_desc.cd_nameptr = (u_int8_t *)buffer;
3154 dirhint->dh_desc.cd_hint = iterator->hint.nodeNum;
3155 dirhint->dh_desc.cd_flags |= CD_DECOMPOSED;
3156 dirhint->dh_index = index - 1;
3159 if (dirhint->dh_desc.cd_namelen > 0) {
3160 dirhint->dh_desc.cd_nameptr = (const u_int8_t *)vfs_addname((char *)buffer, dirhint->dh_desc.cd_namelen, 0, 0);
3161 dirhint->dh_desc.cd_flags |= CD_HASBUF;
3163 dirhint->dh_desc.cd_nameptr = NULL;
3164 dirhint->dh_desc.cd_namelen = 0;