Searched refs:bgl (Results 1 – 1 of 1) sorted by relevance
44 static inline void bgl_lock_init(struct blockgroup_lock *bgl) in bgl_lock_init() argument49 spin_lock_init(&bgl->locks[i].lock); in bgl_lock_init()57 bgl_lock_ptr(struct blockgroup_lock *bgl, unsigned int block_group) in bgl_lock_ptr() argument59 return &bgl->locks[(block_group) & (NR_BG_LOCKS-1)].lock; in bgl_lock_ptr()