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()
871 atomic_t local_cnt; /* Waiting for local completion */ member2096 int i = atomic_dec_return(&device->local_cnt); in put_ldev()2124 atomic_inc(&device->local_cnt); in _get_ldev_if_state()
162 atomic_inc(&device->local_cnt); in _get_ldev_if_state()165 if (atomic_dec_and_test(&device->local_cnt)) in _get_ldev_if_state()1991 atomic_set(&device->local_cnt, 0); in drbd_init_set_defaults()
913 return atomic_read(&device->local_cnt) > in remote_due_to_read_balancing()
1320 atomic_inc(&device->local_cnt); in _drbd_set_state()
3388 s->dev_lower_pending = atomic_read(&device->local_cnt); in device_to_statistics()