Home
last modified time | relevance | path

Searched refs:max_win (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/net/ipv4/
Dtcp_nv.c247 u32 rate, max_win, cwnd_by_slope; in tcpnv_acked() local
369 max_win = cwnd_by_slope + nv_pad; in tcpnv_acked()
375 if (tp->snd_cwnd > max_win) { in tcpnv_acked()
401 (nv_ssthresh_factor * max_win) >> 3; in tcpnv_acked()
402 if (tp->snd_cwnd - max_win > 2) { in tcpnv_acked()
406 dec = max(2U, ((tp->snd_cwnd - max_win) * in tcpnv_acked()
410 tp->snd_cwnd = max_win; in tcpnv_acked()
415 } else if (tp->snd_cwnd <= max_win - nv_pad_buffer) { in tcpnv_acked()
/kernel/linux/linux-5.10/net/tipc/
Dlink.h76 u32 min_win, u32 max_win, u32 session, u32 ownnode,
84 int mtu, u32 min_win, u32 max_win, u16 peer_caps,
127 void tipc_link_set_queue_limits(struct tipc_link *l, u32 min_win, u32 max_win);
Dbcast.c111 int max_win = tipc_link_max_win(bb->link); in tipc_bcbase_select_primary() local
130 max_win); in tipc_bcbase_select_primary()
583 static int tipc_bc_link_set_queue_limits(struct net *net, u32 max_win) in tipc_bc_link_set_queue_limits() argument
589 if (max_win < BCLINK_WIN_MIN) in tipc_bc_link_set_queue_limits()
590 max_win = BCLINK_WIN_MIN; in tipc_bc_link_set_queue_limits()
591 if (max_win > TIPC_MAX_LINK_WIN) in tipc_bc_link_set_queue_limits()
594 tipc_link_set_queue_limits(l, tipc_link_min_win(l), max_win); in tipc_bc_link_set_queue_limits()
Dbearer.h123 u32 max_win; member
163 u32 max_win; member
Dib_media.c100 .max_win = TIPC_MAX_IB_LINK_WIN,
Deth_media.c94 .max_win = TIPC_MAX_LINK_WIN,
Dlink.c180 u16 max_win; member
324 return l->max_win; in tipc_link_max_win()
466 u32 min_win, u32 max_win, u32 session, u32 self, in tipc_link_create() argument
510 tipc_link_set_queue_limits(l, min_win, max_win); in tipc_link_create()
539 int mtu, u32 min_win, u32 max_win, u16 peer_caps, in tipc_link_bc_create() argument
548 max_win, 0, ownnode, peer, NULL, peer_caps, in tipc_link_bc_create()
1120 l->window = min_t(u16, cwin + released, l->max_win); in tipc_link_update_cwin()
1126 l->window = min_t(u16, ++cwin, l->max_win); in tipc_link_update_cwin()
2505 void tipc_link_set_queue_limits(struct tipc_link *l, u32 min_win, u32 max_win) in tipc_link_set_queue_limits() argument
2510 l->ssthresh = max_win; in tipc_link_set_queue_limits()
[all …]
Dbearer.c331 b->max_win = m->max_win; in tipc_enable_bearer()
817 if (nla_put_u32(msg->skb, TIPC_NLA_PROP_WIN, bearer->max_win)) in __tipc_nl_add_bearer()
1116 b->max_win = nla_get_u32(props[TIPC_NLA_PROP_WIN]); in __tipc_nl_bearer_set()
1176 if (nla_put_u32(msg->skb, TIPC_NLA_PROP_WIN, media->max_win)) in __tipc_nl_add_media()
1311 m->max_win = nla_get_u32(props[TIPC_NLA_PROP_WIN]); in __tipc_nl_media_set()
Dnode.c1250 b->min_win, b->max_win, session, in tipc_node_check_dest()
2423 u32 max_win; in tipc_nl_node_set_link() local
2425 max_win = nla_get_u32(props[TIPC_NLA_PROP_WIN]); in tipc_nl_node_set_link()
2428 max_win); in tipc_nl_node_set_link()
Dudp_media.c845 .max_win = TIPC_DEF_LINK_WIN,
/kernel/linux/linux-5.10/mm/
Dswap_state.c759 unsigned int max_win, hits, prev_win, win, left; in swap_ra_info() local
764 max_win = 1 << min_t(unsigned int, READ_ONCE(page_cluster), in swap_ra_info()
766 if (max_win == 1) { in swap_ra_info()
785 max_win, prev_win); in swap_ra_info()