Home
last modified time | relevance | path

Searched refs:NR_BG_LOCKS (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/include/linux/
H A Dblockgroup_lock.h14 #define NR_BG_LOCKS (4 << ilog2(NR_CPUS < 32 ? NR_CPUS : 32)) macro
16 #define NR_BG_LOCKS 1 macro
24 struct bgl_lock locks[NR_BG_LOCKS];
31 for (i = 0; i < NR_BG_LOCKS; i++) in bgl_lock_init()
38 return &bgl->locks[block_group & (NR_BG_LOCKS-1)].lock; in bgl_lock_ptr()