Searched refs:locks (Results 1 – 4 of 4) sorted by relevance
| /include/linux/ |
| A 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()
|
| A D | spinlock.h | 518 int __alloc_bucket_spinlocks(spinlock_t **locks, unsigned int *lock_mask, 523 #define alloc_bucket_spinlocks(locks, lock_mask, max_size, cpu_mult, gfp) \ argument 528 ret = __alloc_bucket_spinlocks(locks, lock_mask, max_size, \ 529 cpu_mult, gfp, #locks, &key); \ 533 void free_bucket_spinlocks(spinlock_t *locks);
|
| /include/asm-generic/ |
| A D | rqspinlock.h | 71 void *locks[RES_NR_HELD]; member 95 this_cpu_write(rqspinlock_held_locks.locks[cnt - 1], lock); in grab_held_lock_entry() 116 WRITE_ONCE(rqh->locks[rqh->cnt - 1], NULL); in release_held_lock_entry() 197 WRITE_ONCE(rqh->locks[rqh->cnt - 1], NULL); in res_spin_unlock()
|
| /include/net/netns/ |
| A D | unix.h | 11 spinlock_t *locks; member
|
Completed in 6 milliseconds