Searched refs:clus (Results 1 – 7 of 7) sorted by relevance
/third_party/exfatprogs/lib/ |
D | libexfat.c | 30 clus_t clus; in exfat_bitmap_set_range() local 36 clus = start_clus; in exfat_bitmap_set_range() 37 while (clus < start_clus + count) { in exfat_bitmap_set_range() 38 exfat_bitmap_set(bitmap, clus); in exfat_bitmap_set_range() 39 clus++; in exfat_bitmap_set_range() 695 int exfat_get_next_clus(struct exfat *exfat, clus_t clus, clus_t *next) in exfat_get_next_clus() argument 701 if (!exfat_heap_clus(exfat, clus)) in exfat_get_next_clus() 706 offset += sizeof(clus_t) * clus; in exfat_get_next_clus() 716 clus_t clus, clus_t *next) in exfat_get_inode_next_clus() argument 721 if (!exfat_heap_clus(exfat, clus)) in exfat_get_inode_next_clus() [all …]
|
D | exfat_dir.c | 85 clus_t clus, unsigned int offset, clus_t p_clus) in read_ahead_next_blocks() argument 95 if (clus + 1 < clus_count) { in read_ahead_next_blocks() 96 ra_clus = clus + 1; in read_ahead_next_blocks() 755 clus_t clus; in exfat_write_dentry_set() local 759 if (exfat_o2c(exfat, dev_off, &clus, &clus_off)) in exfat_write_dentry_set() 770 if (exfat_get_next_clus(exfat, clus, &next_clus)) in exfat_write_dentry_set()
|
/third_party/exfatprogs/fsck/ |
D | fsck.c | 110 clus_t clus, prev, next; in check_clus_chain() local 113 clus = node->first_clus; in check_clus_chain() 133 while (clus != EXFAT_EOF_CLUSTER) { in check_clus_chain() 151 if (exfat_bitmap_get(exfat->alloc_bitmap, clus)) { in check_clus_chain() 162 if (!exfat_bitmap_get(exfat->disk_bitmap, clus)) { in check_clus_chain() 166 clus)) in check_clus_chain() 171 if (exfat_get_inode_next_clus(exfat, node, clus, &next)) in check_clus_chain() 191 prev = clus; in check_clus_chain() 193 clus); in check_clus_chain() 202 exfat_bitmap_set(exfat->alloc_bitmap, clus); in check_clus_chain() [all …]
|
D | fsck.h | 33 off_t exfat_c2o(struct exfat *exfat, unsigned int clus);
|
/third_party/exfatprogs/include/ |
D | libexfat.h | 162 int exfat_get_next_clus(struct exfat *exfat, clus_t clus, clus_t *next); 164 clus_t clus, clus_t *next); 165 int exfat_set_fat(struct exfat *exfat, clus_t clus, clus_t next_clus); 167 off_t exfat_c2o(struct exfat *exfat, unsigned int clus); 170 bool exfat_heap_clus(struct exfat *exfat, clus_t clus);
|
/third_party/exfatprogs/exfat2img/ |
D | exfat2img.c | 237 clus_t clus, possible_count; in dump_directory() local 248 clus = inode->first_clus; in dump_directory() 256 while (exfat_heap_clus(exfat, clus) && *out_clus_count < possible_count) { in dump_directory() 258 start_off = exfat_c2o(exfat, clus); in dump_directory() 273 if (exfat_get_inode_next_clus(exfat, inode, clus, &clus)) in dump_directory()
|
/third_party/ntfs-3g/ntfsprogs/ |
D | ntfsmove.c | 392 int clus; in find_unused() local 409 clus = vol->lcnbmp_na->allocated_size / bufsize; in find_unused() 412 for (i = 0; i < clus; i++) { in find_unused()
|