Lines Matching refs:last_startbit
477 int bit, last_bit, last_startbit, rc; in ebitmap_write() local
483 last_startbit = -1; in ebitmap_write()
485 if (rounddown(bit, (int)BITS_PER_U64) > last_startbit) { in ebitmap_write()
487 last_startbit = rounddown(bit, BITS_PER_U64); in ebitmap_write()
499 last_startbit = INT_MIN; in ebitmap_write()
501 if (rounddown(bit, (int)BITS_PER_U64) > last_startbit) { in ebitmap_write()
506 last_startbit = rounddown(bit, BITS_PER_U64); in ebitmap_write()
507 map = (u64)1 << (bit - last_startbit); in ebitmap_write()
512 buf[0] = cpu_to_le32(last_startbit); in ebitmap_write()
524 last_startbit = rounddown(bit, BITS_PER_U64); in ebitmap_write()
526 map |= (u64)1 << (bit - last_startbit); in ebitmap_write()
533 buf[0] = cpu_to_le32(last_startbit); in ebitmap_write()