Home
last modified time | relevance | path

Searched refs:idx_lock (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
H A Dbpf_local_storage.h106 spinlock_t idx_lock; member
112 .idx_lock = __SPIN_LOCK_UNLOCKED(name.idx_lock), \
/kernel/linux/linux-6.6/include/linux/
H A Dbpf_local_storage.h115 spinlock_t idx_lock; member
121 .idx_lock = __SPIN_LOCK_UNLOCKED(name.idx_lock), \
/kernel/linux/linux-5.10/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
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/kernel/bpf/
H A Dbpf_local_storage.c452 spin_lock(&cache->idx_lock); in bpf_local_storage_cache_idx_get()
466 spin_unlock(&cache->idx_lock); in bpf_local_storage_cache_idx_get()
474 spin_lock(&cache->idx_lock); in bpf_local_storage_cache_idx_free()
476 spin_unlock(&cache->idx_lock); in bpf_local_storage_cache_idx_free()
/kernel/linux/linux-6.6/kernel/bpf/
H A Dbpf_local_storage.c670 spin_lock(&cache->idx_lock); in bpf_local_storage_cache_idx_get()
684 spin_unlock(&cache->idx_lock); in bpf_local_storage_cache_idx_get()
692 spin_lock(&cache->idx_lock); in bpf_local_storage_cache_idx_free()
694 spin_unlock(&cache->idx_lock); in bpf_local_storage_cache_idx_free()
/kernel/linux/linux-5.10/drivers/md/bcache/
H A Dwriteback.h38 spinlock_t idx_lock; member
H A Dwriteback.c869 spin_lock(&state->idx_lock); in bch_dirty_init_thread()
872 spin_unlock(&state->idx_lock); in bch_dirty_init_thread()
961 spin_lock_init(&state.idx_lock); in bch_sectors_dirty_init()
H A Dbtree.h234 spinlock_t idx_lock; member
H A Dbtree.c1947 spin_lock(&check_state->idx_lock); in bch_btree_check_thread()
1950 spin_unlock(&check_state->idx_lock); in bch_btree_check_thread()
2044 spin_lock_init(&check_state.idx_lock); in bch_btree_check()
/kernel/linux/linux-6.6/drivers/md/bcache/
H A Dwriteback.h42 spinlock_t idx_lock; member
H A Dwriteback.c925 spin_lock(&state->idx_lock); in bch_dirty_init_thread()
928 spin_unlock(&state->idx_lock); in bch_dirty_init_thread()
1017 spin_lock_init(&state.idx_lock); in bch_sectors_dirty_init()
H A Dbtree.h234 spinlock_t idx_lock; member
H A Dbtree.c1968 spin_lock(&check_state->idx_lock); in bch_btree_check_thread()
1971 spin_unlock(&check_state->idx_lock); in bch_btree_check_thread()
2065 spin_lock_init(&check_state.idx_lock); in bch_btree_check()

Completed in 16 milliseconds