Home
last modified time | relevance | path

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

/openbmc/linux/fs/exfat/
H A Dinode.c115 unsigned int last_clu; in exfat_map_cluster() local
135 *clu = last_clu = ei->start_clu; in exfat_map_cluster()
139 last_clu += clu_offset - 1; in exfat_map_cluster()
149 &fclus, clu, &last_clu, 1); in exfat_map_cluster()
165 last_clu = *clu; 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()
196 last_clu, new_clu.dir); in exfat_map_cluster()
201 if (last_clu == EXFAT_EOF_CLUSTER) { in exfat_map_cluster()
216 if (exfat_ent_set(sb, last_clu, new_clu.dir)) in exfat_map_cluster()
H A Dfile.c99 unsigned int last_clu = EXFAT_FREE_CLUSTER; in __exfat_truncate() local
133 last_clu = clu.dir; in __exfat_truncate()
164 if (ei->flags == ALLOC_FAT_CHAIN && last_clu != EXFAT_FREE_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()
H A Dfatent.c311 unsigned int hint_clu, new_clu, last_clu = EXFAT_EOF_CLUSTER; in exfat_alloc_cluster() local
385 if (exfat_ent_set(sb, last_clu, new_clu)) { in exfat_alloc_cluster()
392 last_clu = new_clu; in exfat_alloc_cluster()
H A Dnamei.c331 unsigned int ret, last_clu; in exfat_find_empty_entry() local
359 if (exfat_find_last_cluster(sb, p_dir, &last_clu)) in exfat_find_empty_entry()
362 exfat_chain_set(&clu, last_clu + 1, 0, p_dir->flags); in exfat_find_empty_entry()
393 if (exfat_ent_set(sb, last_clu, clu.dir)) in exfat_find_empty_entry()