Searched refs:cpu_mult (Results 1 – 2 of 2) sorted by relevance
/linux/lib/ |
H A D | bucket_locks.c | 9 * gives the maximum number of elements to allocate. cpu_mult gives 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()
|
/linux/include/linux/ |
H A D | spinlock.h | 519 size_t max_size, unsigned int cpu_mult, 523 #define alloc_bucket_spinlocks(locks, lock_mask, max_size, cpu_mult, gfp) \ argument 529 cpu_mult, gfp, #locks, &key); \
|