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

Function test_bit

dpdk/drivers/net/pfe/base/pfe.h:20–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20static inline int
21test_bit(int nr, const void *addr)
22{
23 return (1UL & (((const int *)addr)[nr >> 5] >> (nr & 31))) != 0UL;
24}
25
26/*
27 * WARNING: non atomic version.

Callers 4

pfe_eth_openFunction · 0.50
pfe_hif_client_registerFunction · 0.50
pfe_hif_rx_processFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected