Home | History | Annotate | Download | only in unit

Lines Matching refs:binfo

9 		bitmap_info_t binfo;
12 bitmap_info_init(&binfo, i);
13 size = bitmap_size(&binfo);
26 bitmap_info_t binfo;
27 bitmap_info_init(&binfo, i);
31 bitmap_size(&binfo));
32 bitmap_init(bitmap, &binfo);
35 assert_false(bitmap_get(bitmap, &binfo, j),
49 bitmap_info_t binfo;
50 bitmap_info_init(&binfo, i);
54 bitmap_size(&binfo));
55 bitmap_init(bitmap, &binfo);
58 bitmap_set(bitmap, &binfo, j);
59 assert_true(bitmap_full(bitmap, &binfo),
72 bitmap_info_t binfo;
73 bitmap_info_init(&binfo, i);
77 bitmap_size(&binfo));
78 bitmap_init(bitmap, &binfo);
81 bitmap_set(bitmap, &binfo, j);
82 assert_true(bitmap_full(bitmap, &binfo),
85 bitmap_unset(bitmap, &binfo, j);
87 bitmap_set(bitmap, &binfo, j);
88 assert_true(bitmap_full(bitmap, &binfo),
101 bitmap_info_t binfo;
102 bitmap_info_init(&binfo, i);
106 bitmap_size(&binfo));
107 bitmap_init(bitmap, &binfo);
111 assert_zd_eq(bitmap_sfu(bitmap, &binfo), j,
115 assert_true(bitmap_full(bitmap, &binfo),
123 bitmap_unset(bitmap, &binfo, j);
124 assert_zd_eq(bitmap_sfu(bitmap, &binfo), j,
127 bitmap_unset(bitmap, &binfo, j);
129 assert_false(bitmap_get(bitmap, &binfo, 0),
137 bitmap_set(bitmap, &binfo, j - 1);
138 assert_zd_eq(bitmap_sfu(bitmap, &binfo), j,
141 bitmap_unset(bitmap, &binfo, j);
143 assert_zd_eq(bitmap_sfu(bitmap, &binfo), i - 1,
145 assert_true(bitmap_full(bitmap, &binfo),