Searched refs:COUNTER_MAX (Results 1 – 5 of 5) sorted by relevance
19 #define COUNTER_MAX ((bitmap_counter_t) RESYNC_MASK - 1) macro
111 #define COUNTER(x) (((bitmap_counter_t) x) & COUNTER_MAX)790 if (write_behind > COUNTER_MAX) in md_bitmap_new_disk_sb()791 write_behind = COUNTER_MAX / 2; in md_bitmap_new_disk_sb()887 else if (write_behind > COUNTER_MAX) in md_bitmap_read_sb()1702 if (unlikely(COUNTER(*bmc) == COUNTER_MAX)) { in bitmap_startwrite()1776 if (COUNTER(*bmc) == COUNTER_MAX) in bitmap_endwrite()2783 if (backlog > COUNTER_MAX) in backlog_store()
1362 if (value < 0 || value / 2 > COUNTER_MAX) { in parse_raid_params()
50 u64 counters[COUNTER_MAX];208 if (index >= COUNTER_MAX) in idxd_user_counter_increment()
144 COUNTER_MAX enumerator