Home
last modified time | relevance | path

Searched refs:bitmap_t (Results 1 – 3 of 3) sorted by relevance

/third_party/exfatprogs/include/
Dlibexfat.h93 typedef __u8 bitmap_t; typedef
95 typedef __u32 bitmap_t; typedef
98 #define BITS_PER (sizeof(bitmap_t) * 8)
103 (DIV_ROUND_UP(__c_count, BITS_PER) * sizeof(bitmap_t))
109 return ((bitmap_t *)(bmap))[BIT_ENTRY(cc)] & BIT_MASK(cc); in exfat_bitmap_get()
116 (((bitmap_t *)(bmap))[BIT_ENTRY(cc)] |= BIT_MASK(cc)); in exfat_bitmap_set()
122 (((bitmap_t *)(bmap))[BIT_ENTRY(cc)] &= ~BIT_MASK(cc)); in exfat_bitmap_clear()
/third_party/exfatprogs/fsck/
Dfsck.c1208 bitmap_t *disk_b, *alloc_b, *ohead_b; in write_bitmap()
1215 disk_b = (bitmap_t *)exfat->disk_bitmap; in write_bitmap()
1216 alloc_b = (bitmap_t *)exfat->alloc_bitmap; in write_bitmap()
1217 ohead_b = (bitmap_t *)exfat->ohead_bitmap; in write_bitmap()
1219 for (i = 0; i < bitmap_bytes / sizeof(bitmap_t); i++) in write_bitmap()
1223 while (i < bitmap_bytes / sizeof(bitmap_t)) { in write_bitmap()
1229 byte_offset = ((i * sizeof(bitmap_t)) / 512) * 512; in write_bitmap()
1237 i = (byte_offset + write_bytes) / sizeof(bitmap_t); in write_bitmap()
1379 bitmap_t *disk_b, *alloc_b, *ohead_b; in rescue_orphan_clusters()
1421 disk_b = (bitmap_t *)exfat->disk_bitmap; in rescue_orphan_clusters()
[all …]
/third_party/exfatprogs/mkfs/
Dmkfs.c317 bitmap = calloc(round_up(finfo.bitmap_byte_len, sizeof(bitmap_t)), in exfat_create_bitmap()