Home
last modified time | relevance | path

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

/linux/fs/exfat/
H A Dfatent.c61 *content = EXFAT_EOF_CLUSTER; in __exfat_ent_get()
127 if (*content != EXFAT_EOF_CLUSTER && !is_valid_cluster(sbi, *content)) { in exfat_ent_get()
158 if (exfat_ent_set(sb, chain, EXFAT_EOF_CLUSTER)) in exfat_chain_cont_cluster()
188 p_chain->dir == EXFAT_EOF_CLUSTER || in __exfat_free_cluster()
241 if (err || n_clu == EXFAT_EOF_CLUSTER) in __exfat_free_cluster()
279 } while (clu != EXFAT_EOF_CLUSTER); in __exfat_free_cluster()
315 } while (next != EXFAT_EOF_CLUSTER && count <= p_chain->size); in exfat_find_last_cluster()
372 unsigned int hint_clu, new_clu, last_clu = EXFAT_EOF_CLUSTER; in exfat_alloc_cluster()
392 if (hint_clu == EXFAT_EOF_CLUSTER) { in exfat_alloc_cluster()
400 if (hint_clu == EXFAT_EOF_CLUSTER) { in exfat_alloc_cluster()
[all …]
H A Dinode.c75 if (ei->start_clu == EXFAT_EOF_CLUSTER) in __exfat_write_inode()
144 *clu = EXFAT_EOF_CLUSTER; in exfat_map_cluster()
150 if (*clu == EXFAT_EOF_CLUSTER) { in exfat_map_cluster()
158 *clu = EXFAT_EOF_CLUSTER; in exfat_map_cluster()
168 if (*clu == EXFAT_EOF_CLUSTER) { in exfat_map_cluster()
171 new_clu.dir = (last_clu == EXFAT_EOF_CLUSTER) ? in exfat_map_cluster()
172 EXFAT_EOF_CLUSTER : last_clu + 1; in exfat_map_cluster()
188 if (new_clu.dir == EXFAT_EOF_CLUSTER || in exfat_map_cluster()
197 if (last_clu == EXFAT_EOF_CLUSTER) { in exfat_map_cluster()
280 if (cluster == EXFAT_EOF_CLUSTER) in exfat_get_block()
[all …]
H A Dnamei.c236 clu.dir != EXFAT_EOF_CLUSTER) { in exfat_search_empty_slot()
253 clu.dir = EXFAT_EOF_CLUSTER; in exfat_search_empty_slot()
265 if (dentry == total_entries || clu.dir == EXFAT_EOF_CLUSTER) in exfat_search_empty_slot()
266 exfat_chain_set(&hint_femp->cur, EXFAT_EOF_CLUSTER, 0, in exfat_search_empty_slot()
337 if (ei->start_clu != EXFAT_EOF_CLUSTER) { in exfat_find_empty_entry()
345 exfat_chain_set(&clu, EXFAT_EOF_CLUSTER, 0, in exfat_find_empty_entry()
357 if (ei->start_clu == EXFAT_EOF_CLUSTER) { in exfat_find_empty_entry()
377 if (hint_femp.cur.dir == EXFAT_EOF_CLUSTER) in exfat_find_empty_entry()
524 info->start_clu = EXFAT_EOF_CLUSTER; in exfat_add_entry()
530 info->start_clu = EXFAT_EOF_CLUSTER; in exfat_add_entry()
[all …]
H A Dcache.c168 if (new->fcluster == EXFAT_EOF_CLUSTER) /* dummy cache */ in exfat_cache_add()
288 if (*dclus == EXFAT_EOF_CLUSTER) { in exfat_get_cluster()
319 if (content == EXFAT_EOF_CLUSTER) in exfat_get_cluster()
330 if (*dclus != EXFAT_EOF_CLUSTER) { in exfat_get_cluster()
347 if (fclus < end && content != EXFAT_EOF_CLUSTER) { in exfat_get_cluster()
H A Ddir.c101 if (clu_offset > 0 && ei->hint_bmap.off != EXFAT_EOF_CLUSTER && in exfat_readdir()
107 while (clu_offset > 0 && clu.dir != EXFAT_EOF_CLUSTER) { in exfat_readdir()
115 while (clu.dir != EXFAT_EOF_CLUSTER && dentry < max_dentries) { in exfat_readdir()
167 clu.dir = EXFAT_EOF_CLUSTER; in exfat_readdir()
309 exfat_chain_set(clu, EXFAT_EOF_CLUSTER, 0, ALLOC_NO_FAT_CHAIN); in exfat_alloc_new_dir()
581 if (cur_clu == EXFAT_EOF_CLUSTER) { in exfat_walk_fat_chain()
1028 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_find_dir_entry()
1140 clu.dir = EXFAT_EOF_CLUSTER; in exfat_find_dir_entry()
1168 ei->hint_femp.cur.dir = EXFAT_EOF_CLUSTER; in exfat_find_dir_entry()
1187 clu.dir = EXFAT_EOF_CLUSTER; in exfat_find_dir_entry()
[all …]
H A Dballoc.c144 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_load_bitmap()
294 return EXFAT_EOF_CLUSTER; in exfat_find_free_bitmap()
349 if (trim_begin == EXFAT_EOF_CLUSTER) in exfat_trim_fs()
353 if (next_free_clu == EXFAT_EOF_CLUSTER) in exfat_trim_fs()
386 } while (next_free_clu != EXFAT_EOF_CLUSTER && in exfat_trim_fs()
H A Dfile.c49 last_clu = EXFAT_EOF_CLUSTER; in exfat_cont_expand()
50 clu.dir = EXFAT_EOF_CLUSTER; in exfat_cont_expand()
194 ei->start_clu = EXFAT_EOF_CLUSTER; in __exfat_truncate()
219 last_clu != EXFAT_EOF_CLUSTER) { in __exfat_truncate()
220 if (exfat_ent_set(sb, last_clu, EXFAT_EOF_CLUSTER)) in __exfat_truncate()
229 ei->hint_bmap.off = EXFAT_EOF_CLUSTER; in __exfat_truncate()
230 ei->hint_bmap.clu = EXFAT_EOF_CLUSTER; in __exfat_truncate()
H A Dexfat_raw.h20 #define EXFAT_EOF_CLUSTER 0xFFFFFFFFu macro
H A Dnls.c753 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_create_upcase_table()
H A Dsuper.c367 ei->hint_bmap.off = EXFAT_EOF_CLUSTER; in exfat_read_root()