Searched refs:ap_bio_cnt (Results 1 - 5 of 5) sorted by relevance

/linux-master/drivers/block/drbd/
H A Ddrbd_proc.c297 atomic_read(&device->ap_bio_cnt),
H A Ddrbd_int.h798 atomic_t ap_bio_cnt; /* Requests we need to complete */ member in struct:drbd_device
2178 if (atomic_read(&device->ap_bio_cnt) > mxb)
2192 atomic_inc(&device->ap_bio_cnt);
2214 int ap_bio = atomic_dec_return(&device->ap_bio_cnt);
H A Ddrbd_nl.c892 * waits for ap_bio_cnt == 0. -> deadlock.
896 * see drbd_fail_request_early, ap_bio_cnt is zero.
913 wait_event(device->misc_wait, !atomic_read(&device->ap_bio_cnt));
1481 if (atomic_read(&device->ap_bio_cnt))
3322 s->dev_upper_pending = atomic_read(&device->ap_bio_cnt);
3764 nla_put_u32(skb, T_ap_bio_cnt, atomic_read(&device->ap_bio_cnt)) ||
H A Ddrbd_main.c1957 atomic_set(&device->ap_bio_cnt, 0);
3471 int cnt = atomic_read(&device->ap_bio_cnt);
3473 drbd_err(device, "FIXME: ap_bio_cnt %d, expected 0; queued for '%s'\n",
3538 if (flags == BM_LOCKED_CHANGE_ALLOWED || atomic_read(&device->ap_bio_cnt) == 0) {
/linux-master/include/linux/
H A Ddrbd_genl.h230 __u32_field(21, 0, ap_bio_cnt)

Completed in 251 milliseconds