Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/exfat/
H A Dfatent.c55 *content = EXFAT_EOF_CLUSTER; in __exfat_ent_get()
118 if (*content != EXFAT_EOF_CLUSTER && !is_valid_cluster(sbi, *content)) { in exfat_ent_get()
141 if (exfat_ent_set(sb, chain, EXFAT_EOF_CLUSTER)) in exfat_chain_cont_cluster()
156 p_chain->dir == EXFAT_EOF_CLUSTER || in exfat_free_cluster()
201 if (err || n_clu == EXFAT_EOF_CLUSTER) in exfat_free_cluster()
219 } while (clu != EXFAT_EOF_CLUSTER); in exfat_free_cluster()
244 } while (next != EXFAT_EOF_CLUSTER); in exfat_find_last_cluster()
309 unsigned int hint_clu, new_clu, last_clu = EXFAT_EOF_CLUSTER; in exfat_alloc_cluster()
327 if (hint_clu == EXFAT_EOF_CLUSTER) { in exfat_alloc_cluster()
335 if (hint_clu == EXFAT_EOF_CLUSTER) in exfat_alloc_cluster()
[all …]
H A 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()
H A Dinode.c73 if (ei->start_clu == EXFAT_EOF_CLUSTER) in __exfat_write_inode()
125 *clu = EXFAT_EOF_CLUSTER; in exfat_map_cluster()
132 if (clu_offset > 0 && *clu != EXFAT_EOF_CLUSTER) { in exfat_map_cluster()
136 *clu = EXFAT_EOF_CLUSTER; in exfat_map_cluster()
150 if (clu_offset > 0 && ei->hint_bmap.off != EXFAT_EOF_CLUSTER && in exfat_map_cluster()
158 while (clu_offset > 0 && *clu != EXFAT_EOF_CLUSTER) { in exfat_map_cluster()
166 if (*clu == EXFAT_EOF_CLUSTER) { in exfat_map_cluster()
169 new_clu.dir = (last_clu == EXFAT_EOF_CLUSTER) ? in exfat_map_cluster()
170 EXFAT_EOF_CLUSTER : last_clu + 1; in exfat_map_cluster()
186 if (new_clu.dir == EXFAT_EOF_CLUSTER || in exfat_map_cluster()
[all …]
H A Dfile.c143 ei->start_clu = EXFAT_EOF_CLUSTER; in __exfat_truncate()
174 if (ei->start_clu == EXFAT_EOF_CLUSTER) { in __exfat_truncate()
198 last_clu != EXFAT_EOF_CLUSTER) { in __exfat_truncate()
199 if (exfat_ent_set(sb, last_clu, EXFAT_EOF_CLUSTER)) in __exfat_truncate()
208 ei->hint_bmap.off = EXFAT_EOF_CLUSTER; in __exfat_truncate()
209 ei->hint_bmap.clu = EXFAT_EOF_CLUSTER; in __exfat_truncate()
H A Ddir.c99 if (clu_offset > 0 && ei->hint_bmap.off != EXFAT_EOF_CLUSTER && in exfat_readdir()
113 while (clu.dir != EXFAT_EOF_CLUSTER && dentry < max_dentries) { in exfat_readdir()
177 clu.dir = EXFAT_EOF_CLUSTER; in exfat_readdir()
318 exfat_chain_set(clu, EXFAT_EOF_CLUSTER, 0, ALLOC_NO_FAT_CHAIN); in exfat_alloc_new_dir()
639 if (cur_clu == EXFAT_EOF_CLUSTER) { in exfat_walk_fat_chain()
944 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_find_dir_entry()
1073 clu.dir = EXFAT_EOF_CLUSTER; in exfat_find_dir_entry()
1109 clu.dir = EXFAT_EOF_CLUSTER; in exfat_find_dir_entry()
1114 if (ret || clu.dir == EXFAT_EOF_CLUSTER) { in exfat_find_dir_entry()
1164 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_count_dir_entries()
[all …]
H A Dballoc.c103 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_load_bitmap()
238 return EXFAT_EOF_CLUSTER; in exfat_find_free_bitmap()
H A 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()
H A Dexfat_raw.h20 #define EXFAT_EOF_CLUSTER 0xFFFFFFFFu macro
H A Dnls.c762 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_create_upcase_table()
H A Dsuper.c344 ei->hint_bmap.off = EXFAT_EOF_CLUSTER; in exfat_read_root()