Home
last modified time | relevance | path

Searched refs:new_clu (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/fs/exfat/
H A Dfatent.c276 unsigned int hint_clu, new_clu, last_clu = EXFAT_EOF_CLUSTER; in exfat_alloc_cluster() local
321 while ((new_clu = exfat_find_free_bitmap(sb, hint_clu)) != in exfat_alloc_cluster()
323 if (new_clu != hint_clu && in exfat_alloc_cluster()
334 if (exfat_set_bitmap(inode, new_clu)) { in exfat_alloc_cluster()
343 if (exfat_ent_set(sb, new_clu, EXFAT_EOF_CLUSTER)) { in exfat_alloc_cluster()
350 p_chain->dir = new_clu; in exfat_alloc_cluster()
352 if (exfat_ent_set(sb, last_clu, new_clu)) { in exfat_alloc_cluster()
357 last_clu = new_clu; in exfat_alloc_cluster()
367 hint_clu = new_clu + 1; in exfat_alloc_cluster()
H A Dinode.c110 struct exfat_chain new_clu; in exfat_map_cluster() local
169 new_clu.dir = (last_clu == EXFAT_EOF_CLUSTER) ? in exfat_map_cluster()
171 new_clu.size = 0; in exfat_map_cluster()
172 new_clu.flags = ei->flags; in exfat_map_cluster()
181 ret = exfat_alloc_cluster(inode, num_to_be_allocated, &new_clu); in exfat_map_cluster()
185 if (new_clu.dir == EXFAT_EOF_CLUSTER || in exfat_map_cluster()
186 new_clu.dir == EXFAT_FREE_CLUSTER) { in exfat_map_cluster()
188 "bogus cluster new allocated (last_clu : %u, new_clu : %u)", in exfat_map_cluster()
189 last_clu, new_clu.dir); in exfat_map_cluster()
195 if (new_clu in exfat_map_cluster()
[all...]
H A Dnamei.c1262 struct exfat_chain new_clu; in __exfat_rename() local
1264 new_clu.dir = new_ei->start_clu; in __exfat_rename()
1265 new_clu.size = in __exfat_rename()
1268 new_clu.flags = new_ei->flags; in __exfat_rename()
1270 ret = exfat_check_dir_empty(sb, &new_clu); in __exfat_rename()
/kernel/linux/linux-6.6/fs/exfat/
H A Dinode.c116 struct exfat_chain new_clu; in exfat_map_cluster() local
175 new_clu.dir = (last_clu == EXFAT_EOF_CLUSTER) ? in exfat_map_cluster()
177 new_clu.size = 0; in exfat_map_cluster()
178 new_clu.flags = ei->flags; in exfat_map_cluster()
187 ret = exfat_alloc_cluster(inode, num_to_be_allocated, &new_clu, in exfat_map_cluster()
192 if (new_clu.dir == EXFAT_EOF_CLUSTER || in exfat_map_cluster()
193 new_clu.dir == EXFAT_FREE_CLUSTER) { in exfat_map_cluster()
195 "bogus cluster new allocated (last_clu : %u, new_clu : %u)", in exfat_map_cluster()
196 last_clu, new_clu.dir); in exfat_map_cluster()
202 if (new_clu in exfat_map_cluster()
[all...]
H A Dfatent.c311 unsigned int hint_clu, new_clu, last_clu = EXFAT_EOF_CLUSTER; in exfat_alloc_cluster() local
356 while ((new_clu = exfat_find_free_bitmap(sb, hint_clu)) != in exfat_alloc_cluster()
358 if (new_clu != hint_clu && in exfat_alloc_cluster()
369 if (exfat_set_bitmap(inode, new_clu, sync_bmap)) { in exfat_alloc_cluster()
376 if (exfat_ent_set(sb, new_clu, EXFAT_EOF_CLUSTER)) { in exfat_alloc_cluster()
383 p_chain->dir = new_clu; in exfat_alloc_cluster()
385 if (exfat_ent_set(sb, last_clu, new_clu)) { in exfat_alloc_cluster()
392 last_clu = new_clu; in exfat_alloc_cluster()
402 hint_clu = new_clu + 1; in exfat_alloc_cluster()
H A Dnamei.c1221 struct exfat_chain new_clu; in __exfat_rename() local
1223 new_clu.dir = new_ei->start_clu; in __exfat_rename()
1224 new_clu.size = in __exfat_rename()
1227 new_clu.flags = new_ei->flags; in __exfat_rename()
1229 ret = exfat_check_dir_empty(sb, &new_clu); in __exfat_rename()

Completed in 7 milliseconds