Home
last modified time | relevance | path

Searched refs:bitmap_counter_t (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/md/
Dmd-bitmap.h86 typedef __u16 bitmap_counter_t; typedef
91 #define NEEDED_MASK ((bitmap_counter_t) (1 << (COUNTER_BITS - 1)))
92 #define RESYNC_MASK ((bitmap_counter_t) (1 << (COUNTER_BITS - 2)))
93 #define COUNTER_MAX ((bitmap_counter_t) RESYNC_MASK - 1)
94 #define NEEDED(x) (((bitmap_counter_t) x) & NEEDED_MASK)
95 #define RESYNC(x) (((bitmap_counter_t) x) & RESYNC_MASK)
96 #define COUNTER(x) (((bitmap_counter_t) x) & COUNTER_MAX)
Dmd-bitmap.c1265 static bitmap_counter_t *md_bitmap_get_counter(struct bitmap_counts *bitmap,
1355 bitmap_counter_t *bmc; in md_bitmap_daemon_work()
1414 static bitmap_counter_t *md_bitmap_get_counter(struct bitmap_counts *bitmap, in md_bitmap_get_counter()
1457 return &((bitmap_counter_t *) in md_bitmap_get_counter()
1460 return (bitmap_counter_t *) in md_bitmap_get_counter()
1482 bitmap_counter_t *bmc; in md_bitmap_startwrite()
1544 bitmap_counter_t *bmc; in md_bitmap_endwrite()
1584 bitmap_counter_t *bmc; in __bitmap_start_sync()
1635 bitmap_counter_t *bmc; in md_bitmap_end_sync()
1740 bitmap_counter_t *bmc; in md_bitmap_set_memory_bits()
[all …]