Home
last modified time | relevance | path

Searched refs:last_clu (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/fs/exfat/
Dinode.c109 unsigned int last_clu; in exfat_map_cluster() local
130 *clu = last_clu = ei->start_clu; in exfat_map_cluster()
134 last_clu += clu_offset - 1; in exfat_map_cluster()
144 &fclus, clu, &last_clu, 1); in exfat_map_cluster()
160 last_clu = *clu; in exfat_map_cluster()
170 new_clu.dir = (last_clu == EXFAT_EOF_CLUSTER) ? in exfat_map_cluster()
171 EXFAT_EOF_CLUSTER : last_clu + 1; in exfat_map_cluster()
190 last_clu, new_clu.dir); in exfat_map_cluster()
195 if (last_clu == EXFAT_EOF_CLUSTER) { in exfat_map_cluster()
212 if (exfat_ent_set(sb, last_clu, new_clu.dir)) in exfat_map_cluster()
Dfile.c98 unsigned int last_clu = EXFAT_FREE_CLUSTER; in __exfat_truncate() local
134 last_clu = clu.dir; in __exfat_truncate()
198 if (ei->flags == ALLOC_FAT_CHAIN && last_clu != EXFAT_FREE_CLUSTER && in __exfat_truncate()
199 last_clu != EXFAT_EOF_CLUSTER) { in __exfat_truncate()
200 if (exfat_ent_set(sb, last_clu, EXFAT_EOF_CLUSTER)) in __exfat_truncate()
Dfatent.c284 unsigned int hint_clu, new_clu, last_clu = EXFAT_EOF_CLUSTER; in exfat_alloc_cluster() local
360 if (exfat_ent_set(sb, last_clu, new_clu)) { in exfat_alloc_cluster()
365 last_clu = new_clu; in exfat_alloc_cluster()
Dnamei.c308 unsigned int ret, last_clu; in exfat_find_empty_entry() local
334 if (exfat_find_last_cluster(sb, p_dir, &last_clu)) in exfat_find_empty_entry()
340 exfat_chain_set(&clu, last_clu + 1, 0, p_dir->flags); in exfat_find_empty_entry()
361 if (exfat_ent_set(sb, last_clu, clu.dir)) in exfat_find_empty_entry()