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