Home
last modified time | relevance | path

Searched refs:EXFAT_EOF_CLUSTER (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.10/fs/exfat/
Dfatent.c55 *content = EXFAT_EOF_CLUSTER; in __exfat_ent_get()
126 if (*content != EXFAT_EOF_CLUSTER && !is_valid_cluster(sbi, *content)) { in exfat_ent_get()
149 if (exfat_ent_set(sb, chain, EXFAT_EOF_CLUSTER)) in exfat_chain_cont_cluster()
163 p_chain->dir == EXFAT_EOF_CLUSTER || in exfat_free_cluster()
194 } while (clu != EXFAT_EOF_CLUSTER); in exfat_free_cluster()
219 } while (next != EXFAT_EOF_CLUSTER); in exfat_find_last_cluster()
284 unsigned int hint_clu, new_clu, last_clu = EXFAT_EOF_CLUSTER; in exfat_alloc_cluster()
302 if (hint_clu == EXFAT_EOF_CLUSTER) { in exfat_alloc_cluster()
310 if (hint_clu == EXFAT_EOF_CLUSTER) in exfat_alloc_cluster()
327 p_chain->dir = EXFAT_EOF_CLUSTER; in exfat_alloc_cluster()
[all …]
Dcache.c90 unsigned int offset = EXFAT_EOF_CLUSTER; in exfat_cache_lookup()
143 if (new->fcluster == EXFAT_EOF_CLUSTER) /* dummy cache */ in exfat_cache_add()
261 if (cluster == 0 || *dclus == EXFAT_EOF_CLUSTER) in exfat_get_cluster()
264 cache_init(&cid, EXFAT_EOF_CLUSTER, EXFAT_EOF_CLUSTER); in exfat_get_cluster()
267 EXFAT_EOF_CLUSTER) { in exfat_get_cluster()
273 cid.fcluster != EXFAT_EOF_CLUSTER || in exfat_get_cluster()
274 cid.dcluster != EXFAT_EOF_CLUSTER || in exfat_get_cluster()
297 if (content == EXFAT_EOF_CLUSTER) { in exfat_get_cluster()
Dinode.c73 if (ei->start_clu == EXFAT_EOF_CLUSTER) in __exfat_write_inode()
126 *clu = EXFAT_EOF_CLUSTER; in exfat_map_cluster()
133 if (clu_offset > 0 && *clu != EXFAT_EOF_CLUSTER) { in exfat_map_cluster()
137 *clu = EXFAT_EOF_CLUSTER; in exfat_map_cluster()
151 if (clu_offset > 0 && ei->hint_bmap.off != EXFAT_EOF_CLUSTER && in exfat_map_cluster()
159 while (clu_offset > 0 && *clu != EXFAT_EOF_CLUSTER) { in exfat_map_cluster()
167 if (*clu == EXFAT_EOF_CLUSTER) { in exfat_map_cluster()
170 new_clu.dir = (last_clu == EXFAT_EOF_CLUSTER) ? in exfat_map_cluster()
171 EXFAT_EOF_CLUSTER : last_clu + 1; in exfat_map_cluster()
186 if (new_clu.dir == EXFAT_EOF_CLUSTER || in exfat_map_cluster()
[all …]
Dfile.c144 ei->start_clu = EXFAT_EOF_CLUSTER; in __exfat_truncate()
175 if (ei->start_clu == EXFAT_EOF_CLUSTER) { in __exfat_truncate()
199 last_clu != EXFAT_EOF_CLUSTER) { in __exfat_truncate()
200 if (exfat_ent_set(sb, last_clu, EXFAT_EOF_CLUSTER)) in __exfat_truncate()
209 ei->hint_bmap.off = EXFAT_EOF_CLUSTER; in __exfat_truncate()
210 ei->hint_bmap.clu = EXFAT_EOF_CLUSTER; in __exfat_truncate()
Ddir.c97 if (clu_offset > 0 && ei->hint_bmap.off != EXFAT_EOF_CLUSTER && in exfat_readdir()
111 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_readdir()
175 clu.dir = EXFAT_EOF_CLUSTER; in exfat_readdir()
316 exfat_chain_set(clu, EXFAT_EOF_CLUSTER, 0, ALLOC_NO_FAT_CHAIN); in exfat_alloc_new_dir()
637 if (cur_clu == EXFAT_EOF_CLUSTER) { in exfat_walk_fat_chain()
942 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_find_dir_entry()
1071 clu.dir = EXFAT_EOF_CLUSTER; in exfat_find_dir_entry()
1107 clu.dir = EXFAT_EOF_CLUSTER; in exfat_find_dir_entry()
1112 if (ret || clu.dir == EXFAT_EOF_CLUSTER) { in exfat_find_dir_entry()
1162 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_count_dir_entries()
[all …]
Dballoc.c103 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_load_bitmap()
243 return EXFAT_EOF_CLUSTER; in exfat_find_free_bitmap()
Dnamei.c228 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_search_empty_slot()
279 clu.dir = EXFAT_EOF_CLUSTER; in exfat_search_empty_slot()
528 info->start_clu = EXFAT_EOF_CLUSTER; in exfat_add_entry()
642 info->start_clu = EXFAT_EOF_CLUSTER; in exfat_find()
888 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_check_dir_empty()
908 clu.dir = EXFAT_EOF_CLUSTER; in exfat_check_dir_empty()
1306 new_ei->start_clu = EXFAT_EOF_CLUSTER; in __exfat_rename()
Dexfat_raw.h20 #define EXFAT_EOF_CLUSTER 0xFFFFFFFFu macro
Dnls.c762 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_create_upcase_table()
Dsuper.c344 ei->hint_bmap.off = EXFAT_EOF_CLUSTER; in exfat_read_root()