Home
last modified time | relevance | path

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

/openbmc/linux/lib/
H A Dsbitmap.c371 unsigned int byte_bits = 0; in sbitmap_bitmap_show() local
383 unsigned int bits = min(8 - byte_bits, word_bits); in sbitmap_bitmap_show()
385 byte |= (word & (BIT(bits) - 1)) << byte_bits; in sbitmap_bitmap_show()
386 byte_bits += bits; in sbitmap_bitmap_show()
387 if (byte_bits == 8) { in sbitmap_bitmap_show()
390 byte_bits = 0; in sbitmap_bitmap_show()
397 if (byte_bits) { in sbitmap_bitmap_show()