Searched refs:clus_size (Results 1 – 6 of 6) sorted by relevance
/third_party/exfatprogs/lib/ |
D | exfat_dir.c | 61 clus_count = iter->parent->size / exfat->clus_size; in read_ahead_first_blocks() 66 size = exfat->clus_size; in read_ahead_first_blocks() 94 clus_count = iter->parent->size / exfat->clus_size; in read_ahead_next_blocks() 109 exfat->clus_size : iter->ra_partial_size; in read_ahead_next_blocks() 119 exfat->clus_size) { in read_ahead_next_blocks() 187 exfat->clus_size) { in read_block() 213 (block * iter->read_size) / exfat->clus_size, in read_block() 214 (block * iter->read_size) % exfat->clus_size, in read_block() 227 iter->read_size = exfat->clus_size <= 4*KB ? exfat->clus_size : 4*KB; in exfat_de_iter_init() 228 if (exfat->clus_size <= 32 * KB) in exfat_de_iter_init() [all …]
|
D | exfat_fs.c | 138 exfat->clus_size = EXFAT_CLUSTER_SIZE(bs); in exfat_alloc_exfat() 163 exfat->zero_cluster = calloc(1, exfat->clus_size); in exfat_alloc_exfat()
|
D | libexfat.c | 769 exfat->clus_size) + EXFAT_FIRST_CLUSTER; in exfat_o2c() 772 *offset = (device_offset - heap_offset) % exfat->clus_size; in exfat_o2c() 810 node->size = clus_count * exfat->clus_size; in exfat_root_clus_count()
|
/third_party/exfatprogs/exfat2img/ |
D | exfat2img.c | 122 ei->exfat->clus_size, in create_exfat2img() 130 ei->exfat->clus_size, in create_exfat2img() 180 len = (size_t)MIN(end - start, exfat->clus_size); in dump_range() 250 max_count = DIV_ROUND_UP(inode->size, exfat->clus_size); in dump_directory() 257 dump_size = MIN(size, exfat->clus_size); in dump_directory() 291 root->size = clus_count * exfat->clus_size; in dump_root() 394 exfat->clus_size)); in read_bitmap() 420 DIV_ROUND_UP(size, exfat->clus_size)); in read_upcase_table() 569 len = (size_t)MIN(end_excl - start, exfat->clus_size); in dump_bytes_to_stdout() 651 ei->stdout_offset += (off_t)cc_clu_count * ei->exfat->clus_size; in dump_clusters_to_stdout() [all …]
|
/third_party/exfatprogs/fsck/ |
D | fsck.c | 116 max_count = DIV_ROUND_UP(node->size, exfat->clus_size); in check_clus_chain() 141 count * exfat->clus_size)) in check_clus_chain() 156 count * exfat->clus_size)) in check_clus_chain() 178 count * exfat->clus_size)) in check_clus_chain() 189 (count + 1) * exfat->clus_size)) { in check_clus_chain() 211 count * exfat->clus_size)) in check_clus_chain() 219 node->size = count * exfat->clus_size; in check_clus_chain() 224 if (count * exfat->clus_size < in check_clus_chain() 227 count * exfat->clus_size); in check_clus_chain() 231 count * exfat->clus_size); in check_clus_chain() [all …]
|
/third_party/exfatprogs/include/ |
D | exfat_fs.h | 39 unsigned int clus_size; member
|