Searched refs:hash_slots (Results 1 – 1 of 1) sorted by relevance
1840 static int futex_hash_allocate(unsigned int hash_slots, unsigned int flags) in futex_hash_allocate() argument1847 if (hash_slots && (hash_slots == 1 || !is_power_of_2(hash_slots))) in futex_hash_allocate()1877 fph = kvzalloc_flex(*fph, queues, hash_slots, in futex_hash_allocate()1882 fph->hash_mask = hash_slots ? hash_slots - 1 : 0; in futex_hash_allocate()1886 for (i = 0; i < hash_slots; i++) in futex_hash_allocate()