Lines Matching refs:pos
19 uint32_t pos = 0; in test_bitmap_scan_operations() local
26 rte_bitmap_set_slab(bmp, pos, slab1_magic); in test_bitmap_scan_operations()
27 rte_bitmap_set_slab(bmp, pos + RTE_BITMAP_SLAB_BIT_SIZE, slab2_magic); in test_bitmap_scan_operations()
29 if (!rte_bitmap_scan(bmp, &pos, &out_slab)) { in test_bitmap_scan_operations()
39 if (!rte_bitmap_scan(bmp, &pos, &out_slab)) { in test_bitmap_scan_operations()
50 if (!rte_bitmap_scan(bmp, &pos, &out_slab)) { in test_bitmap_scan_operations()
63 if (!rte_bitmap_scan(bmp, &pos, &out_slab)) { in test_bitmap_scan_operations()
79 uint32_t pos = 0; in test_bitmap_slab_set_get() local
84 rte_bitmap_set_slab(bmp, pos, slab_magic); in test_bitmap_slab_set_get()
86 if (!rte_bitmap_scan(bmp, &pos, &out_slab)) { in test_bitmap_slab_set_get()
191 uint32_t pos; in test_bitmap_all_set() local
211 pos = slab = 0; in test_bitmap_all_set()
212 if (!rte_bitmap_scan(bmp, &pos, &slab)) { in test_bitmap_all_set()
216 pos += (slab ? __builtin_ctzll(slab) : 0); in test_bitmap_all_set()
217 rte_bitmap_clear(bmp, pos); in test_bitmap_all_set()
220 if (rte_bitmap_scan(bmp, &pos, &slab)) { in test_bitmap_all_set()