Lines Matching refs:hint_femp

202 		struct exfat_hint_femp *hint_femp, struct exfat_chain *p_dir,  in exfat_search_empty_slot()  argument
215 if (hint_femp->eidx != EXFAT_HINT_NONE) { in exfat_search_empty_slot()
216 dentry = hint_femp->eidx; in exfat_search_empty_slot()
217 if (num_entries <= hint_femp->count) { in exfat_search_empty_slot()
218 hint_femp->eidx = EXFAT_HINT_NONE; in exfat_search_empty_slot()
222 exfat_chain_dup(&clu, &hint_femp->cur); in exfat_search_empty_slot()
240 if (hint_femp->eidx == EXFAT_HINT_NONE) { in exfat_search_empty_slot()
241 hint_femp->eidx = dentry; in exfat_search_empty_slot()
242 hint_femp->count = CNT_UNUSED_NOHIT; in exfat_search_empty_slot()
243 exfat_chain_set(&hint_femp->cur, in exfat_search_empty_slot()
248 hint_femp->count != CNT_UNUSED_HIT) in exfat_search_empty_slot()
249 hint_femp->count = CNT_UNUSED_HIT; in exfat_search_empty_slot()
251 if (hint_femp->eidx != EXFAT_HINT_NONE && in exfat_search_empty_slot()
252 hint_femp->count == CNT_UNUSED_HIT) { in exfat_search_empty_slot()
259 dentry, hint_femp->eidx, in exfat_search_empty_slot()
265 hint_femp->eidx = EXFAT_HINT_NONE; in exfat_search_empty_slot()
270 hint_femp->eidx = EXFAT_HINT_NONE; in exfat_search_empty_slot()
316 struct exfat_hint_femp hint_femp; in exfat_find_empty_entry() local
318 hint_femp.eidx = EXFAT_HINT_NONE; in exfat_find_empty_entry()
320 if (ei->hint_femp.eidx != EXFAT_HINT_NONE) { in exfat_find_empty_entry()
321 hint_femp = ei->hint_femp; in exfat_find_empty_entry()
322 ei->hint_femp.eidx = EXFAT_HINT_NONE; in exfat_find_empty_entry()
325 while ((dentry = exfat_search_empty_slot(sb, &hint_femp, p_dir, in exfat_find_empty_entry()
357 hint_femp.cur.flags = ALLOC_FAT_CHAIN; in exfat_find_empty_entry()
364 if (hint_femp.eidx == EXFAT_HINT_NONE) { in exfat_find_empty_entry()
368 hint_femp.eidx = EXFAT_B_TO_DEN_IDX(p_dir->size, sbi); in exfat_find_empty_entry()
369 hint_femp.count = sbi->dentries_per_clu; in exfat_find_empty_entry()
371 exfat_chain_set(&hint_femp.cur, clu.dir, 0, clu.flags); in exfat_find_empty_entry()
373 hint_femp.cur.size++; in exfat_find_empty_entry()
617 ei->hint_femp.eidx = EXFAT_HINT_NONE; in exfat_find()