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

Function rte_ctz32

dpdk/lib/eal/include/rte_bitops.h:286–294  ·  view source on GitHub ↗

* Get the count of trailing 0-bits in v. * * @param v * The value. * @return * The count of trailing zero bits. */

Source from the content-addressed store, hash-verified

284 * The count of trailing zero bits.
285 */
286static inline unsigned int
287rte_ctz32(uint32_t v)
288{
289 unsigned long rv;
290
291 (void)_BitScanForward(&rv, v);
292
293 return (unsigned int)rv;
294}
295
296/**
297 * Get the count of trailing 0-bits in v.

Callers 15

rte_sched_port_configFunction · 0.85
update_entry_search_avxFunction · 0.85
search_bucket_single_avxFunction · 0.85
search_bucket_multi_avxFunction · 0.85
rte_member_create_vbfFunction · 0.85
rte_member_lookup_vbfFunction · 0.85
__table_createFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_ctz32Function · 0.68