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

Function ccp_ffz

dpdk/drivers/crypto/ccp/ccp_dev.c:137–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135
136
137static inline uint32_t
138ccp_ffz(unsigned long word)
139{
140 unsigned long first_zero;
141
142 first_zero = __builtin_ffsl(~word);
143 return first_zero ? (first_zero - 1) :
144 BITS_PER_WORD;
145}
146
147static inline uint32_t
148ccp_find_first_zero_bit(unsigned long *addr, uint32_t limit)

Callers 1

ccp_find_first_zero_bitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected