Home
last modified time | relevance | path

Searched refs:local_cnt (Results 1 – 7 of 7) sorted by relevance

/drivers/block/drbd/
Ddrbd_actlog.c268 D_ASSERT(atomic_read(&mdev->local_cnt) > 0); in drbd_al_begin_io_fastpath()
287 D_ASSERT(atomic_read(&mdev->local_cnt) > 0); in drbd_al_begin_io_prepare()
710 D_ASSERT(atomic_read(&mdev->local_cnt)); in drbd_try_clear_on_disk_bm()
Ddrbd_proc.c278 atomic_read(&mdev->local_cnt), in drbd_seq_show()
Ddrbd_int.h954 atomic_t local_cnt; /* Waiting for local completion */ member
2046 int i = atomic_dec_return(&mdev->local_cnt); in put_ldev()
2075 atomic_inc(&mdev->local_cnt); in _get_ldev_if_state()
Ddrbd_main.c173 atomic_inc(&mdev->local_cnt); in _get_ldev_if_state()
176 if (atomic_dec_and_test(&mdev->local_cnt)) in _get_ldev_if_state()
1884 atomic_set(&mdev->local_cnt, 0); in drbd_init_set_defaults()
Ddrbd_req.c805 return atomic_read(&mdev->local_cnt) > in remote_due_to_read_balancing()
Ddrbd_state.c994 atomic_inc(&mdev->local_cnt); in __drbd_set_state()
Ddrbd_nl.c1335 wait_event(mdev->misc_wait, !atomic_read(&mdev->local_cnt)); in drbd_adm_attach()