Home
last modified time | relevance | path

Searched refs:new_clu (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/fs/exfat/
Dfatent.c311 unsigned int hint_clu, new_clu, last_clu = EXFAT_EOF_CLUSTER; in exfat_alloc_cluster() local
362 while ((new_clu = exfat_find_free_bitmap(sb, hint_clu)) != in exfat_alloc_cluster()
364 if (new_clu != hint_clu && in exfat_alloc_cluster()
375 if (exfat_set_bitmap(inode, new_clu, sync_bmap)) { in exfat_alloc_cluster()
384 if (exfat_ent_set(sb, new_clu, EXFAT_EOF_CLUSTER)) { in exfat_alloc_cluster()
391 p_chain->dir = new_clu; in exfat_alloc_cluster()
393 if (exfat_ent_set(sb, last_clu, new_clu)) { in exfat_alloc_cluster()
398 last_clu = new_clu; in exfat_alloc_cluster()
409 hint_clu = new_clu + 1; in exfat_alloc_cluster()
Dinode.c117 struct exfat_chain new_clu; in exfat_map_cluster() local
176 new_clu.dir = (last_clu == EXFAT_EOF_CLUSTER) ? in exfat_map_cluster()
178 new_clu.size = 0; in exfat_map_cluster()
179 new_clu.flags = ei->flags; in exfat_map_cluster()
188 ret = exfat_alloc_cluster(inode, num_to_be_allocated, &new_clu, in exfat_map_cluster()
193 if (new_clu.dir == EXFAT_EOF_CLUSTER || in exfat_map_cluster()
194 new_clu.dir == EXFAT_FREE_CLUSTER) { in exfat_map_cluster()
197 last_clu, new_clu.dir); in exfat_map_cluster()
203 if (new_clu.flags == ALLOC_FAT_CHAIN) in exfat_map_cluster()
205 ei->start_clu = new_clu.dir; in exfat_map_cluster()
[all …]
Dnamei.c1214 struct exfat_chain new_clu; in __exfat_rename() local
1216 new_clu.dir = new_ei->start_clu; in __exfat_rename()
1217 new_clu.size = in __exfat_rename()
1220 new_clu.flags = new_ei->flags; in __exfat_rename()
1222 ret = exfat_check_dir_empty(sb, &new_clu); in __exfat_rename()