Searched refs:local_cnt (Results 1 – 7 of 7) sorted by relevance
293 atomic_read(&device->local_cnt), in drbd_seq_show()
249 D_ASSERT(device, atomic_read(&device->local_cnt) > 0); in drbd_al_begin_io_fastpath()268 D_ASSERT(device, atomic_read(&device->local_cnt) > 0); in drbd_al_begin_io_prepare()657 D_ASSERT(device, atomic_read(&device->local_cnt)); in update_rs_extent()
867 atomic_t local_cnt; /* Waiting for local completion */ member2087 int i = atomic_dec_return(&device->local_cnt); in put_ldev()2115 atomic_inc(&device->local_cnt); in _get_ldev_if_state()
149 atomic_inc(&device->local_cnt); in _get_ldev_if_state()152 if (atomic_dec_and_test(&device->local_cnt)) in _get_ldev_if_state()1950 atomic_set(&device->local_cnt, 0); in drbd_init_set_defaults()
920 return atomic_read(&device->local_cnt) > in remote_due_to_read_balancing()
1320 atomic_inc(&device->local_cnt); in _drbd_set_state()
3309 s->dev_lower_pending = atomic_read(&device->local_cnt); in device_to_statistics()