Lines Matching defs:nr_bits
97 u32 bitset_bytes, bitset_mask, nr_hash_funcs, nr_bits;
127 if (check_mul_overflow(attr->max_entries, nr_hash_funcs, &nr_bits) ||
128 check_mul_overflow(nr_bits / 5, (u32)7, &nr_bits) ||
129 nr_bits > (1UL << 31)) {
137 if (nr_bits <= BITS_PER_LONG)
138 nr_bits = BITS_PER_LONG;
140 nr_bits = roundup_pow_of_two(nr_bits);
141 bitset_bytes = BITS_TO_BYTES(nr_bits);
142 bitset_mask = nr_bits - 1;