Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/md/
Dmd-bitmap.h93 #define COUNTER_MAX ((bitmap_counter_t) RESYNC_MASK - 1) macro
96 #define COUNTER(x) (((bitmap_counter_t) x) & COUNTER_MAX)
Dmd-bitmap.c559 if (write_behind > COUNTER_MAX) in md_bitmap_new_disk_sb()
560 write_behind = COUNTER_MAX / 2; in md_bitmap_new_disk_sb()
666 else if (write_behind > COUNTER_MAX) in md_bitmap_read_sb()
1423 if (unlikely(COUNTER(*bmc) == COUNTER_MAX)) { in md_bitmap_startwrite()
1495 if (COUNTER(*bmc) == COUNTER_MAX) in md_bitmap_endwrite()
2475 if (backlog > COUNTER_MAX) in backlog_store()
Ddm-raid.c1350 if (value < 0 || value / 2 > COUNTER_MAX) { in parse_raid_params()