Searched refs:nbits (Results 1 – 4 of 4) sorted by relevance
208 unsigned long nbits, in _ccp_find_next_bit() argument214 if (!nbits || start >= nbits) in _ccp_find_next_bit()215 return nbits; in _ccp_find_next_bit()225 if (start >= nbits) in _ccp_find_next_bit()226 return nbits; in _ccp_find_next_bit()231 return RTE_MIN(start + (ffs(tmp) - 1), nbits); in _ccp_find_next_bit()
143 #define CCP_BITMAP_LAST_WORD_MASK(nbits) \ argument144 (~0UL >> (-(nbits) & (BITS_PER_WORD - 1)))
47 uint32_t nbits = (uint32_t)len; in dlb2_bitmap_alloc() local49 if (bitmap == NULL || nbits == 0) in dlb2_bitmap_alloc()61 alloc_size = rte_bitmap_get_memory_footprint(nbits); in dlb2_bitmap_alloc()
878 uint32_t offset, uint8_t nbits) in copy_data_bits() argument883 uint32_t size = offset + nbits; in copy_data_bits()885 if (nbits > (sizeof(data) * BITS_PER_BYTE)) { in copy_data_bits()890 while (nbits - bits_to_set >= 0) { in copy_data_bits()891 set = data >> (nbits - bits_to_set); in copy_data_bits()896 nbits -= bits_to_set; in copy_data_bits()902 if (nbits) { in copy_data_bits()