Searched refs:EXFAT_EOF_CLUSTER (Results 1 – 10 of 10) sorted by relevance
/linux-6.6.21/fs/exfat/ |
D | fatent.c | 56 *content = EXFAT_EOF_CLUSTER; in __exfat_ent_get() 119 if (*content != EXFAT_EOF_CLUSTER && !is_valid_cluster(sbi, *content)) { in exfat_ent_get() 142 if (exfat_ent_set(sb, chain, EXFAT_EOF_CLUSTER)) in exfat_chain_cont_cluster() 158 p_chain->dir == EXFAT_EOF_CLUSTER || in __exfat_free_cluster() 202 if (err || n_clu == EXFAT_EOF_CLUSTER) in __exfat_free_cluster() 219 } while (clu != EXFAT_EOF_CLUSTER); in __exfat_free_cluster() 255 } while (next != EXFAT_EOF_CLUSTER); in exfat_find_last_cluster() 311 unsigned int hint_clu, new_clu, last_clu = EXFAT_EOF_CLUSTER; in exfat_alloc_cluster() 331 if (hint_clu == EXFAT_EOF_CLUSTER) { in exfat_alloc_cluster() 339 if (hint_clu == EXFAT_EOF_CLUSTER) { in exfat_alloc_cluster() [all …]
|
D | cache.c | 90 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()
|
D | inode.c | 72 if (ei->start_clu == EXFAT_EOF_CLUSTER) in __exfat_write_inode() 131 *clu = EXFAT_EOF_CLUSTER; in exfat_map_cluster() 138 if (clu_offset > 0 && *clu != EXFAT_EOF_CLUSTER) { in exfat_map_cluster() 142 *clu = EXFAT_EOF_CLUSTER; in exfat_map_cluster() 156 if (clu_offset > 0 && ei->hint_bmap.off != EXFAT_EOF_CLUSTER && in exfat_map_cluster() 164 while (clu_offset > 0 && *clu != EXFAT_EOF_CLUSTER) { in exfat_map_cluster() 172 if (*clu == EXFAT_EOF_CLUSTER) { in exfat_map_cluster() 175 new_clu.dir = (last_clu == EXFAT_EOF_CLUSTER) ? in exfat_map_cluster() 176 EXFAT_EOF_CLUSTER : last_clu + 1; in exfat_map_cluster() 192 if (new_clu.dir == EXFAT_EOF_CLUSTER || in exfat_map_cluster() [all …]
|
D | balloc.c | 103 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_load_bitmap() 238 return EXFAT_EOF_CLUSTER; in exfat_find_free_bitmap() 294 if (trim_begin == EXFAT_EOF_CLUSTER) in exfat_trim_fs() 298 if (next_free_clu == EXFAT_EOF_CLUSTER) in exfat_trim_fs() 331 } while (next_free_clu != EXFAT_EOF_CLUSTER && in exfat_trim_fs()
|
D | file.c | 143 ei->start_clu = EXFAT_EOF_CLUSTER; in __exfat_truncate() 165 last_clu != EXFAT_EOF_CLUSTER) { in __exfat_truncate() 166 if (exfat_ent_set(sb, last_clu, EXFAT_EOF_CLUSTER)) in __exfat_truncate() 175 ei->hint_bmap.off = EXFAT_EOF_CLUSTER; in __exfat_truncate() 176 ei->hint_bmap.clu = EXFAT_EOF_CLUSTER; in __exfat_truncate()
|
D | dir.c | 103 if (clu_offset > 0 && ei->hint_bmap.off != EXFAT_EOF_CLUSTER && in exfat_readdir() 109 while (clu_offset > 0 && clu.dir != EXFAT_EOF_CLUSTER) { in exfat_readdir() 117 while (clu.dir != EXFAT_EOF_CLUSTER && dentry < max_dentries) { in exfat_readdir() 185 clu.dir = EXFAT_EOF_CLUSTER; in exfat_readdir() 325 exfat_chain_set(clu, EXFAT_EOF_CLUSTER, 0, ALLOC_NO_FAT_CHAIN); in exfat_alloc_new_dir() 676 if (cur_clu == EXFAT_EOF_CLUSTER) { in exfat_walk_fat_chain() 1017 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_find_dir_entry() 1129 clu.dir = EXFAT_EOF_CLUSTER; in exfat_find_dir_entry() 1153 ei->hint_femp.cur.dir = EXFAT_EOF_CLUSTER; in exfat_find_dir_entry() 1172 clu.dir = EXFAT_EOF_CLUSTER; in exfat_find_dir_entry() [all …]
|
D | namei.c | 245 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_search_empty_slot() 296 clu.dir = EXFAT_EOF_CLUSTER; in exfat_search_empty_slot() 306 exfat_chain_set(&hint_femp->cur, EXFAT_EOF_CLUSTER, 0, in exfat_search_empty_slot() 357 if (ei->start_clu != EXFAT_EOF_CLUSTER) { in exfat_find_empty_entry() 365 exfat_chain_set(&clu, EXFAT_EOF_CLUSTER, 0, in exfat_find_empty_entry() 377 if (ei->start_clu == EXFAT_EOF_CLUSTER) { in exfat_find_empty_entry() 396 if (hint_femp.cur.dir == EXFAT_EOF_CLUSTER) in exfat_find_empty_entry() 549 info->start_clu = EXFAT_EOF_CLUSTER; in exfat_add_entry() 661 info->start_clu = EXFAT_EOF_CLUSTER; in exfat_find() 902 if (p_dir->dir == EXFAT_EOF_CLUSTER) in exfat_check_dir_empty() [all …]
|
D | exfat_raw.h | 20 #define EXFAT_EOF_CLUSTER 0xFFFFFFFFu macro
|
D | nls.c | 762 while (clu.dir != EXFAT_EOF_CLUSTER) { in exfat_create_upcase_table()
|
D | super.c | 344 ei->hint_bmap.off = EXFAT_EOF_CLUSTER; in exfat_read_root()
|