Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/md/
Dmd-bitmap.h12 typedef __u16 bitmap_counter_t; typedef
17 #define NEEDED_MASK ((bitmap_counter_t) (1 << (COUNTER_BITS - 1)))
18 #define RESYNC_MASK ((bitmap_counter_t) (1 << (COUNTER_BITS - 2)))
19 #define COUNTER_MAX ((bitmap_counter_t) RESYNC_MASK - 1)
Dmd-bitmap.c109 #define NEEDED(x) (((bitmap_counter_t) x) & NEEDED_MASK)
110 #define RESYNC(x) (((bitmap_counter_t) x) & RESYNC_MASK)
111 #define COUNTER(x) (((bitmap_counter_t) x) & COUNTER_MAX)
1475 static bitmap_counter_t *md_bitmap_get_counter(struct bitmap_counts *bitmap,
1563 bitmap_counter_t *bmc; in bitmap_daemon_work()
1622 static bitmap_counter_t *md_bitmap_get_counter(struct bitmap_counts *bitmap, in md_bitmap_get_counter()
1665 return &((bitmap_counter_t *) in md_bitmap_get_counter()
1668 return (bitmap_counter_t *) in md_bitmap_get_counter()
1693 bitmap_counter_t *bmc; in bitmap_startwrite()
1757 bitmap_counter_t *bmc; in bitmap_endwrite()
[all …]