Searched refs:locks (Results 1 – 2 of 2) sorted by relevance
/include/linux/ |
D | blockgroup_lock.h | 24 struct bgl_lock locks[NR_BG_LOCKS]; member 32 spin_lock_init(&bgl->locks[i].lock); in bgl_lock_init() 38 return &bgl->locks[block_group & (NR_BG_LOCKS-1)].lock; in bgl_lock_ptr()
|
D | spinlock.h | 492 int __alloc_bucket_spinlocks(spinlock_t **locks, unsigned int *lock_mask, 497 #define alloc_bucket_spinlocks(locks, lock_mask, max_size, cpu_mult, gfp) \ argument 502 ret = __alloc_bucket_spinlocks(locks, lock_mask, max_size, \ 503 cpu_mult, gfp, #locks, &key); \ 507 void free_bucket_spinlocks(spinlock_t *locks);
|