MCPcopy Create free account
hub / github.com/F-Stack/f-stack / __rte_bitmap_scan_init

Function __rte_bitmap_scan_init

dpdk/lib/eal/include/rte_bitmap.h:128–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128static inline void
129__rte_bitmap_scan_init(struct rte_bitmap *bmp)
130{
131 bmp->index1 = bmp->array1_size - 1;
132 bmp->offset1 = RTE_BITMAP_SLAB_BIT_SIZE - 1;
133 __rte_bitmap_index2_set(bmp);
134 bmp->index2 += RTE_BITMAP_CL_SLAB_SIZE;
135
136 bmp->go2 = 0;
137}
138
139/**
140 * Bitmap memory footprint calculation

Callers 10

rte_bitmap_initFunction · 0.85
rte_bitmap_resetFunction · 0.85
pdcp_cnt_report_fillFunction · 0.85
bitmap_ffsFunction · 0.85
ice_acl_alloc_slot_idFunction · 0.85

Calls 1

__rte_bitmap_index2_setFunction · 0.85

Tested by 1