Searched refs:NR_BG_LOCKS (Results 1 – 1 of 1) sorted by relevance
14 #define NR_BG_LOCKS (4 << ilog2(NR_CPUS < 32 ? NR_CPUS : 32)) macro16 #define NR_BG_LOCKS 1 macro24 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()