Lines Matching +full:8 +full:x
22 uint32_t idx = index / 8; in ext2_bitmap_set()
23 uint32_t off = index % 8; in ext2_bitmap_set()
32 LOG_DBG("Bitmap %d: %x", idx, bm[idx]); in ext2_bitmap_set()
34 LOG_DBG("Bitmap %d: %x", idx, bm[idx]); in ext2_bitmap_set()
43 uint32_t idx = index / 8; in ext2_bitmap_unset()
44 uint32_t off = index % 8; in ext2_bitmap_unset()
53 LOG_DBG("Bitmap %d: %x", idx, bm[idx]); in ext2_bitmap_unset()
55 LOG_DBG("Bitmap %d: %x", idx, bm[idx]); in ext2_bitmap_unset()
63 LOG_DBG("Bitmap %d: %x (%x)", i, bm[i], ~bm[i]); in ext2_bitmap_find_free()
69 return off + i * 8; in ext2_bitmap_find_free()
79 for (uint32_t i = 0; i < size; i += 8) { in ext2_bitmap_count_set()
80 uint8_t val = bm[i / 8]; in ext2_bitmap_count_set()
82 for (int b = 0; b < 8 && i + b < size; ++b) { in ext2_bitmap_count_set()