Searched refs:last_clu (Results 1 – 2 of 2) sorted by relevance
/drivers/staging/exfat/ |
D | exfat_super.c | 816 u32 clu, last_clu; in ffsWriteFile() local 867 clu = last_clu = fid->start_clu; in ffsWriteFile() 871 last_clu += clu_offset - 1; in ffsWriteFile() 887 last_clu = clu; in ffsWriteFile() 900 new_clu.dir = (last_clu == CLUSTER_32(~0)) ? in ffsWriteFile() 901 CLUSTER_32(~0) : last_clu + 1; in ffsWriteFile() 917 if (last_clu == CLUSTER_32(~0)) { in ffsWriteFile() 931 FAT_write(sb, last_clu, new_clu.dir); in ffsWriteFile() 1069 u32 last_clu = CLUSTER_32(0); in ffsTruncateFile() local 1116 last_clu = clu.dir; in ffsTruncateFile() [all …]
|
D | exfat_core.c | 174 u32 new_clu, last_clu = CLUSTER_32(~0), read_clu; in fat_alloc_cluster() local 199 if (FAT_write(sb, last_clu, new_clu) < 0) in fat_alloc_cluster() 203 last_clu = new_clu; in fat_alloc_cluster() 228 u32 hint_clu, new_clu, last_clu = CLUSTER_32(~0); in exfat_alloc_cluster() local 268 if (FAT_write(sb, last_clu, new_clu) < 0) in exfat_alloc_cluster() 272 last_clu = new_clu; in exfat_alloc_cluster() 2057 u32 last_clu; in find_empty_entry() local 2078 last_clu = find_last_cluster(sb, p_dir); in find_empty_entry() 2079 clu.dir = last_clu + 1; in find_empty_entry() 2098 if (FAT_write(sb, last_clu, clu.dir) < 0) in find_empty_entry()
|