45 for (
n = 1;
n < 3; ++
n) {
49 for (
i = 1;
i < dst_nr;
i += 2)
56 for (;
i < dst_nr; ++
i)
96 (idx == 1 || idx == 2 || idx == 64));
103 (idx == 1 || idx == 64));
M0_INTERNAL int m0_bitmap_init(struct m0_bitmap *map, size_t nr)
static void ub_fini(void)
M0_INTERNAL void m0_bitmap_fini(struct m0_bitmap *map)
static struct m0_bitmap ub_bm
static void test_bitmap_copy(void)
static int ub_init(const char *opts M0_UNUSED)
M0_INTERNAL void m0_bitmap_store(const struct m0_bitmap *im_map, struct m0_bitmap_onwire *ow_map)
M0_INTERNAL void m0_bitmap_onwire_fini(struct m0_bitmap_onwire *ow_map)
M0_INTERNAL int m0_bitmap_onwire_init(struct m0_bitmap_onwire *ow_map, size_t nr)
static void ub_set1(int i)
M0_INTERNAL void m0_bitmap_set(struct m0_bitmap *map, size_t idx, bool val)
M0_INTERNAL int m0_bitmap_ffs(const struct m0_bitmap *map)
M0_INTERNAL void m0_bitmap_copy(struct m0_bitmap *dst, const struct m0_bitmap *src)
#define m0_forall(var, nr,...)
struct m0_ub_set m0_bitmap_ub
M0_INTERNAL bool m0_bitmap_get(const struct m0_bitmap *map, size_t idx)
static void ub_get(int i)
M0_INTERNAL void m0_bitmap_load(const struct m0_bitmap_onwire *ow_map, struct m0_bitmap *im_map)
struct m0_pdclust_src_addr src
static void ub_set0(int i)
void test_bitmap_onwire(void)