Searched refs:idx_lock (Results 1 – 6 of 6) sorted by relevance
57 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()
47 struct semaphore idx_lock; member
42 spinlock_t idx_lock; member
925 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()
234 spinlock_t idx_lock; member
1947 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()