Lines Matching defs:pb_bit
339 static __always_inline bool is_standalone_pb_bit(enum pageblock_bits pb_bit)
341 return pb_bit >= PB_compact_skip && pb_bit < __NR_PAGEBLOCK_BITS;
398 * @pb_bit: pageblock bit to check
403 enum pageblock_bits pb_bit)
408 if (WARN_ON_ONCE(!is_standalone_pb_bit(pb_bit)))
413 return test_bit(bitidx + pb_bit, bitmap_word);
470 * @pb_bit: pageblock bit to set
473 enum pageblock_bits pb_bit)
478 if (WARN_ON_ONCE(!is_standalone_pb_bit(pb_bit)))
483 set_bit(bitidx + pb_bit, bitmap_word);
490 * @pb_bit: pageblock bit to clear
493 enum pageblock_bits pb_bit)
498 if (WARN_ON_ONCE(!is_standalone_pb_bit(pb_bit)))
503 clear_bit(bitidx + pb_bit, bitmap_word);