Searched refs:bitmap_counter_t (Results 1 – 2 of 2) sorted by relevance
83 typedef __u16 bitmap_counter_t; typedef88 #define NEEDED_MASK ((bitmap_counter_t) (1 << (COUNTER_BITS - 1)))89 #define RESYNC_MASK ((bitmap_counter_t) (1 << (COUNTER_BITS - 2)))90 #define COUNTER_MAX ((bitmap_counter_t) RESYNC_MASK - 1)91 #define NEEDED(x) (((bitmap_counter_t) x) & NEEDED_MASK)92 #define RESYNC(x) (((bitmap_counter_t) x) & RESYNC_MASK)93 #define COUNTER(x) (((bitmap_counter_t) x) & COUNTER_MAX)
1092 static bitmap_counter_t *bitmap_get_counter(struct bitmap_counts *bitmap,1161 bitmap_counter_t *bmc; in bitmap_daemon_work()1223 static bitmap_counter_t *bitmap_get_counter(struct bitmap_counts *bitmap, in bitmap_get_counter()1258 return &((bitmap_counter_t *) in bitmap_get_counter()1261 return (bitmap_counter_t *) in bitmap_get_counter()1283 bitmap_counter_t *bmc; in bitmap_startwrite()1345 bitmap_counter_t *bmc; in bitmap_endwrite()1385 bitmap_counter_t *bmc; in __bitmap_start_sync()1436 bitmap_counter_t *bmc; in bitmap_end_sync()1520 bitmap_counter_t *bmc; in bitmap_set_memory_bits()[all …]