Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dbpf_local_storage.h110 spinlock_t idx_lock; member
116 .idx_lock = __SPIN_LOCK_UNLOCKED(name.idx_lock), \
/linux-6.1.9/drivers/net/ethernet/huawei/hinic/
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()
Dhinic_hw_io.h47 struct semaphore idx_lock; member
/linux-6.1.9/kernel/bpf/
Dbpf_local_storage.c499 spin_lock(&cache->idx_lock); in bpf_local_storage_cache_idx_get()
513 spin_unlock(&cache->idx_lock); in bpf_local_storage_cache_idx_get()
521 spin_lock(&cache->idx_lock); in bpf_local_storage_cache_idx_free()
523 spin_unlock(&cache->idx_lock); in bpf_local_storage_cache_idx_free()
/linux-6.1.9/drivers/md/bcache/
Dwriteback.h42 spinlock_t idx_lock; member
Dwriteback.c915 spin_lock(&state->idx_lock); in bch_dirty_init_thread()
918 spin_unlock(&state->idx_lock); in bch_dirty_init_thread()
996 spin_lock_init(&state.idx_lock); in bch_sectors_dirty_init()
Dbtree.h234 spinlock_t idx_lock; member
Dbtree.c1936 spin_lock(&check_state->idx_lock); in bch_btree_check_thread()
1939 spin_unlock(&check_state->idx_lock); in bch_btree_check_thread()
2024 spin_lock_init(&check_state.idx_lock); in bch_btree_check()