src/dpdk/lib/librte_eal/include/rte_bitmap.h
static inline uint64_t
rte_bitmap_get(struct rte_bitmap *bmp, uint32_t pos)
{
	uint64_t *slab2;
	uint32_t index2, offset2;

	index2 = pos >> RTE_BITMAP_SLAB_BIT_SIZE_LOG2;
	offset2 = pos & RTE_BITMAP_SLAB_BIT_MASK;
	slab2 = bmp->array2 + index2;
	return (*slab2) & (1llu << offset2);
}
/**
 * Bitmap bit get
 *
 * @param bmp
 *   Handle to bitmap instance
 * @param pos
 *   Bit position
 * @return
 *   0 when bit is cleared, non-zero when bit is set
 */
Bitmap bit get
@param bmp
Handle to bitmap instance
@param pos
Bit position
@return
0 when bit is cleared, non-zero when bit is set
Bitmap bit get @param bmp Handle to bitmap instance @param pos Bit position @return 0 when bit is cleared non - zero when bit is set
static inline uint64_t
rte_bitmap_get(struct rte_bitmap *bmp, uint32_t pos)
{
	uint64_t *slab2;
	uint32_t index2, offset2;
	index2 = pos >> RTE_BITMAP_SLAB_BIT_SIZE_LOG2;
	offset2 = pos & RTE_BITMAP_SLAB_BIT_MASK;
	slab2 = bmp->array2 + index2;
	return (*slab2) & (1llu << offset2);
}
static inline uint64_t rte_bitmap_get ( struct rte_bitmap * bmp , uint32_t pos ) { uint64_t * slab2 ; uint32_t index2 , offset2 ; index2 = pos >> RTE_BITMAP_SLAB_BIT_SIZE_LOG2 ; offset2 = pos & RTE_BITMAP_SLAB_BIT_MASK ; slab2 = bmp -> array2 + index2 ; return ( * slab2 ) & ( 1llu << offset2 ) ; }
Bitmap bit get
 @param bmp
   Handle to bitmap instance
 @param pos
   Bit position
 @return
   0 when bit is cleared, non-zero when bit is set
Bitmap bit get @param bmp Handle to bitmap instance @param pos Bit position @return 0 when bit is cleared non - zero when bit is set