Home
last modified time | relevance | path

Searched refs:ko_count (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/block/drbd/
H A Ddrbd_req.c1619 unsigned int ko_count, unsigned int timeout) in net_timeout_reached()
1631 jiffies_to_msecs(now - net_req->pre_send_jif), ko_count, timeout); in net_timeout_reached()
1642 jiffies_to_msecs(now - net_req->pre_send_jif), ko_count, timeout); in net_timeout_reached()
1665 jiffies_to_msecs(now - connection->send.last_sent_barrier_jif), ko_count, timeout); in net_timeout_reached()
1695 unsigned long ent = 0, dt = 0, et, nt; /* effective timeout = ko_count * timeout */ in request_timer_fn()
1697 unsigned int ko_count = 0, timeout = 0; in request_timer_fn() local
1702 ko_count = nc->ko_count; in request_timer_fn()
1713 ent = timeout * HZ/10 * ko_count; in request_timer_fn()
1757 if (ent && req_peer && net_timeout_reached(req_peer, connection, now, ent, ko_count, timeou in request_timer_fn()
1616 net_timeout_reached(struct drbd_request *net_req, struct drbd_connection *connection, unsigned long now, unsigned long ent, unsigned int ko_count, unsigned int timeout) net_timeout_reached() argument
[all...]
H A Ddrbd_main.c1495 drop_it = !--connection->ko_count; in we_should_drop_the_connection()
1498 current->comm, current->pid, connection->ko_count); in we_should_drop_the_connection()
1864 connection->ko_count = rcu_dereference(connection->net_conf)->ko_count; in drbd_send()
3719 timeout = nc->ko_count ? nc->timeout * HZ / 10 * nc->ko_count : MAX_SCHEDULE_TIMEOUT; in drbd_wait_misc()
H A Ddrbd_int.h715 unsigned int ko_count; member
/kernel/linux/linux-6.6/drivers/block/drbd/
H A Ddrbd_req.c1631 unsigned int ko_count, unsigned int timeout) in net_timeout_reached()
1643 jiffies_to_msecs(now - net_req->pre_send_jif), ko_count, timeout); in net_timeout_reached()
1654 jiffies_to_msecs(now - net_req->pre_send_jif), ko_count, timeout); in net_timeout_reached()
1677 jiffies_to_msecs(now - connection->send.last_sent_barrier_jif), ko_count, timeout); in net_timeout_reached()
1707 unsigned long ent = 0, dt = 0, et, nt; /* effective timeout = ko_count * timeout */ in request_timer_fn()
1709 unsigned int ko_count = 0, timeout = 0; in request_timer_fn() local
1714 ko_count = nc->ko_count; in request_timer_fn()
1725 ent = timeout * HZ/10 * ko_count; in request_timer_fn()
1769 if (ent && req_peer && net_timeout_reached(req_peer, connection, now, ent, ko_count, timeou in request_timer_fn()
1628 net_timeout_reached(struct drbd_request *net_req, struct drbd_connection *connection, unsigned long now, unsigned long ent, unsigned int ko_count, unsigned int timeout) net_timeout_reached() argument
[all...]
H A Ddrbd_main.c1484 drop_it = !--connection->ko_count; in we_should_drop_the_connection()
1487 current->comm, current->pid, connection->ko_count); in we_should_drop_the_connection()
1834 connection->ko_count = rcu_dereference(connection->net_conf)->ko_count; in drbd_send()
3691 timeout = nc->ko_count ? nc->timeout * HZ / 10 * nc->ko_count : MAX_SCHEDULE_TIMEOUT; in drbd_wait_misc()
H A Ddrbd_int.h645 unsigned int ko_count; member

Completed in 26 milliseconds