Home
last modified time | relevance | path

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

/fs/exfat/
A Dcluster.c159 if (ef->cmap.dirty) in exfat_flush()
161 if (exfat_pwrite(ef->dev, ef->cmap.chunk, in exfat_flush()
162 BMAP_SIZE(ef->cmap.chunk_size), in exfat_flush()
168 ef->cmap.dirty = false; in exfat_flush()
199 if (hint >= ef->cmap.chunk_size) in allocate_cluster()
202 cluster = find_bit_and_set(ef->cmap.chunk, hint, ef->cmap.chunk_size); in allocate_cluster()
211 ef->cmap.dirty = true; in allocate_cluster()
219 ef->cmap.size); in free_cluster()
222 ef->cmap.dirty = true; in free_cluster()
450 for (i = 0; i < ef->cmap.size; i++) in exfat_count_free_clusters()
[all …]
A Dnode.c468 if (CLUSTER_INVALID(*ef->sb, ef->cmap.start_cluster)) in readdir()
471 ef->cmap.start_cluster); in readdir()
474 ef->cmap.size = le32_to_cpu(ef->sb->cluster_count); in readdir()
480 DIV_ROUND_UP(ef->cmap.size, 8)); in readdir()
484 ef->cmap.chunk_size = ef->cmap.size; in readdir()
485 ef->cmap.chunk = malloc(BMAP_SIZE(ef->cmap.chunk_size)); in readdir()
486 if (ef->cmap.chunk == NULL) in readdir()
493 if (exfat_pread(ef->dev, ef->cmap.chunk, in readdir()
494 BMAP_SIZE(ef->cmap.chunk_size), in readdir()
495 exfat_c2o(ef, ef->cmap.start_cluster)) < 0) in readdir()
[all …]
A Dmount.c177 free(ef->cmap.chunk); in exfat_free()
178 ef->cmap.chunk = NULL; in exfat_free()
335 if (ef->cmap.chunk == NULL) in exfat_mount()
A Dexfat.h125 cmap; member

Completed in 7 milliseconds