Home
last modified time | relevance | path

Searched refs:idx_lock (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_io.c57 sema_init(&free_db_area->idx_lock, 1); in init_db_area_idx()
65 down(&free_db_area->idx_lock); in get_db_area()
71 up(&free_db_area->idx_lock); in get_db_area()
82 up(&free_db_area->idx_lock); in get_db_area()
93 down(&free_db_area->idx_lock); in return_db_area()
102 up(&free_db_area->idx_lock); in return_db_area()
H A Dhinic_hw_io.h47 struct semaphore idx_lock; member
/linux/kernel/bpf/
H A Dbpf_local_storage.c606 spin_lock(&cache->idx_lock); in bpf_local_storage_update()
620 spin_unlock(&cache->idx_lock); in bpf_local_storage_update()
628 spin_lock(&cache->idx_lock); in bpf_local_storage_update()
630 spin_unlock(&cache->idx_lock); in bpf_local_storage_update()
/linux/drivers/md/bcache/
H A Dwriteback.h42 spinlock_t idx_lock; member
H A Dbtree.h234 spinlock_t idx_lock; member