Lines Matching refs:last_startbit
484 u32 bit, count, last_bit, last_startbit; in ebitmap_write() local
493 last_startbit = U32_MAX; in ebitmap_write()
496 if (last_startbit == U32_MAX || in ebitmap_write()
497 rounddown(bit, BITS_PER_U64) > last_startbit) { in ebitmap_write()
499 last_startbit = rounddown(bit, BITS_PER_U64); in ebitmap_write()
511 last_startbit = U32_MAX; in ebitmap_write()
514 if (last_startbit == U32_MAX || in ebitmap_write()
515 rounddown(bit, BITS_PER_U64) > last_startbit) { in ebitmap_write()
520 last_startbit = rounddown(bit, BITS_PER_U64); in ebitmap_write()
521 map = (u64)1 << (bit - last_startbit); in ebitmap_write()
526 buf[0] = cpu_to_le32(last_startbit); in ebitmap_write()
538 last_startbit = rounddown(bit, BITS_PER_U64); in ebitmap_write()
540 map |= (u64)1 << (bit - last_startbit); in ebitmap_write()
547 buf[0] = cpu_to_le32(last_startbit); in ebitmap_write()