Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/block/drbd/
Ddrbd_proc.c293 atomic_read(&device->local_cnt), in drbd_seq_show()
Ddrbd_actlog.c249 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()
Ddrbd_int.h867 atomic_t local_cnt; /* Waiting for local completion */ member
2087 int i = atomic_dec_return(&device->local_cnt); in put_ldev()
2115 atomic_inc(&device->local_cnt); in _get_ldev_if_state()
Ddrbd_main.c149 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()
Ddrbd_req.c920 return atomic_read(&device->local_cnt) > in remote_due_to_read_balancing()
Ddrbd_state.c1320 atomic_inc(&device->local_cnt); in _drbd_set_state()
Ddrbd_nl.c3309 s->dev_lower_pending = atomic_read(&device->local_cnt); in device_to_statistics()