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

Function rte_bitmap_reset

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

* Bitmap reset * * @param bmp * Handle to bitmap instance */

Source from the content-addressed store, hash-verified

305 * Handle to bitmap instance
306 */
307static inline void
308rte_bitmap_reset(struct rte_bitmap *bmp)
309{
310 memset(bmp->array1, 0, bmp->array1_size * sizeof(uint64_t));
311 memset(bmp->array2, 0, bmp->array2_size * sizeof(uint64_t));
312 __rte_bitmap_scan_init(bmp);
313}
314
315/**
316 * Bitmap location prefetch into CPU L1 cache

Callers 10

bcmfs_qp_releaseFunction · 0.85
bcmfs_qp_setupFunction · 0.85
bond_ethdev_closeFunction · 0.85
dlb2_bitmap_zeroFunction · 0.85
test_bitmap_slab_set_getFunction · 0.85
eh_do_capability_checkFunction · 0.85

Calls 2

memsetFunction · 0.85
__rte_bitmap_scan_initFunction · 0.85

Tested by 3

test_bitmap_slab_set_getFunction · 0.68