Searched refs:cpu_mult (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/lib/ |
H A D | bucket_locks.c | 15 size_t max_size, unsigned int cpu_mult, gfp_t gfp, in __alloc_bucket_spinlocks() argument 26 if (cpu_mult) { in __alloc_bucket_spinlocks() 28 size = min_t(unsigned int, nr_pcpus * cpu_mult, max_size); in __alloc_bucket_spinlocks()
|
/openbmc/linux/include/linux/ |
H A D | spinlock.h | 490 size_t max_size, unsigned int cpu_mult, 494 #define alloc_bucket_spinlocks(locks, lock_mask, max_size, cpu_mult, gfp) \ argument 500 cpu_mult, gfp, #locks, &key); \
|