Searched refs:hint_femp (Results 1 - 12 of 12) sorted by relevance
/kernel/linux/linux-6.6/fs/exfat/ |
H A D | namei.c | 212 struct exfat_hint_femp *hint_femp, struct exfat_chain *p_dir, in exfat_search_empty_slot() 225 if (hint_femp->eidx != EXFAT_HINT_NONE) { in exfat_search_empty_slot() 226 dentry = hint_femp->eidx; in exfat_search_empty_slot() 229 * If hint_femp->count is enough, it is needed to check if in exfat_search_empty_slot() 234 if (dentry + hint_femp->count == p_dir->size * dentries_per_clu && in exfat_search_empty_slot() 235 num_entries > hint_femp->count) in exfat_search_empty_slot() 238 hint_femp->eidx = EXFAT_HINT_NONE; in exfat_search_empty_slot() 239 exfat_chain_dup(&clu, &hint_femp->cur); in exfat_search_empty_slot() 257 if (hint_femp->eidx == EXFAT_HINT_NONE) { in exfat_search_empty_slot() 258 hint_femp in exfat_search_empty_slot() 211 exfat_search_empty_slot(struct super_block *sb, struct exfat_hint_femp *hint_femp, struct exfat_chain *p_dir, int num_entries) exfat_search_empty_slot() argument 337 struct exfat_hint_femp hint_femp; exfat_find_empty_entry() local [all...] |
H A D | dir.c | 934 static inline void exfat_reset_empty_hint(struct exfat_hint_femp *hint_femp) in exfat_reset_empty_hint() argument 936 hint_femp->eidx = EXFAT_HINT_NONE; in exfat_reset_empty_hint() 937 hint_femp->count = 0; in exfat_reset_empty_hint() 944 if (ei->hint_femp.eidx == EXFAT_HINT_NONE || in exfat_set_empty_hint() 945 ei->hint_femp.eidx > dentry) { in exfat_set_empty_hint() 960 ei->hint_femp = *candi_empty; in exfat_set_empty_hint() 1010 exfat_reset_empty_hint(&ei->hint_femp); in exfat_find_dir_entry() 1152 if (ei->hint_femp.eidx == EXFAT_HINT_NONE) { in exfat_find_dir_entry() 1153 ei->hint_femp.cur.dir = EXFAT_EOF_CLUSTER; in exfat_find_dir_entry() 1154 ei->hint_femp in exfat_find_dir_entry() [all...] |
H A D | file.c | 181 ei->hint_femp.eidx = EXFAT_HINT_NONE; in __exfat_truncate()
|
H A D | exfat_fs.h | 301 struct exfat_hint_femp hint_femp; member
|
H A D | inode.c | 541 ei->hint_femp.eidx = EXFAT_HINT_NONE; in exfat_fill_inode()
|
H A D | super.c | 347 ei->hint_femp.eidx = EXFAT_HINT_NONE; in exfat_read_root()
|
/kernel/linux/linux-5.10/fs/exfat/ |
H A D | namei.c | 202 struct exfat_hint_femp *hint_femp, struct exfat_chain *p_dir, in exfat_search_empty_slot() 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 in exfat_search_empty_slot() 201 exfat_search_empty_slot(struct super_block *sb, struct exfat_hint_femp *hint_femp, struct exfat_chain *p_dir, int num_entries) exfat_search_empty_slot() argument 316 struct exfat_hint_femp hint_femp; exfat_find_empty_entry() local [all...] |
H A D | dir.c | 995 if (ei->hint_femp.eidx == in exfat_find_dir_entry() 998 ei->hint_femp.eidx) in exfat_find_dir_entry() 999 ei->hint_femp = candi_empty; in exfat_find_dir_entry()
|
H A D | exfat_fs.h | 277 struct exfat_hint_femp hint_femp; member
|
H A D | file.c | 214 ei->hint_femp.eidx = EXFAT_HINT_NONE; in __exfat_truncate()
|
H A D | inode.c | 565 ei->hint_femp.eidx = EXFAT_HINT_NONE; in exfat_fill_inode()
|
H A D | super.c | 347 ei->hint_femp.eidx = EXFAT_HINT_NONE; in exfat_read_root()
|
Completed in 13 milliseconds