Searched refs:ap_pending_cnt (Results 1 – 5 of 5) sorted by relevance
294 atomic_read(&device->ap_pending_cnt) + in drbd_seq_show()
868 atomic_t ap_pending_cnt; /* AP data packets on the wire, ack expected */ member1996 atomic_inc(&device->ap_pending_cnt); in inc_ap_pending()2008 if (atomic_dec_and_test(&device->ap_pending_cnt)) in _dec_ap_pending()2010 ERR_IF_CNT_IS_NEGATIVE(ap_pending_cnt, func, line); in _dec_ap_pending()
714 wait_event(device->misc_wait, atomic_read(&device->ap_pending_cnt) == 0); in drbd_set_role()1962 wait_event(device->misc_wait, !atomic_read(&device->ap_pending_cnt) || drbd_suspended(device)); in drbd_adm_attach()3632 s->peer_dev_pending = atomic_read(&device->ap_pending_cnt) + in peer_device_to_statistics()3830 nla_put_u32(skb, T_ap_pending_cnt, atomic_read(&device->ap_pending_cnt)) || in nla_put_status_info()
914 atomic_read(&device->ap_pending_cnt) + atomic_read(&device->rs_pending_cnt); in remote_due_to_read_balancing()
1988 atomic_set(&device->ap_pending_cnt, 0); in drbd_init_set_defaults()