Home
last modified time | relevance | path

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

/linux-6.6.21/net/ipv4/
Dtcp_nv.c246 u32 rate, max_win, cwnd_by_slope; in tcpnv_acked() local
368 max_win = cwnd_by_slope + nv_pad; in tcpnv_acked()
374 if (tcp_snd_cwnd(tp) > max_win) { in tcpnv_acked()
400 (nv_ssthresh_factor * max_win) >> 3; in tcpnv_acked()
401 if (tcp_snd_cwnd(tp) - max_win > 2) { in tcpnv_acked()
405 dec = max(2U, ((tcp_snd_cwnd(tp) - max_win) * in tcpnv_acked()
409 tcp_snd_cwnd_set(tp, max_win); in tcpnv_acked()
414 } else if (tcp_snd_cwnd(tp) <= max_win - nv_pad_buffer) { in tcpnv_acked()
/linux-6.6.21/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.h124 u32 max_win; member
168 u32 max_win; member
Dib_media.c100 .max_win = TIPC_MAX_IB_LINK_WIN,
Deth_media.c94 .max_win = TIPC_MAX_LINK_WIN,
Dlink.c208 u16 max_win; member
352 return l->max_win; in tipc_link_max_win()
500 u32 min_win, u32 max_win, u32 session, u32 self, in tipc_link_create() argument
544 tipc_link_set_queue_limits(l, min_win, max_win); in tipc_link_create()
578 int mtu, u32 min_win, u32 max_win, u16 peer_caps, in tipc_link_bc_create() argument
587 max_win, 0, ownnode, peer, NULL, peer_caps, in tipc_link_bc_create()
1160 l->window = min_t(u16, cwin + released, l->max_win); in tipc_link_update_cwin()
1166 l->window = min_t(u16, ++cwin, l->max_win); in tipc_link_update_cwin()
2552 void tipc_link_set_queue_limits(struct tipc_link *l, u32 min_win, u32 max_win) in tipc_link_set_queue_limits() argument
2557 l->ssthresh = max_win; in tipc_link_set_queue_limits()
[all …]
Dbearer.c338 b->max_win = m->max_win; in tipc_enable_bearer()
845 if (nla_put_u32(msg->skb, TIPC_NLA_PROP_WIN, bearer->max_win)) in __tipc_nl_add_bearer()
1150 b->max_win = nla_get_u32(props[TIPC_NLA_PROP_WIN]); in __tipc_nl_bearer_set()
1210 if (nla_put_u32(msg->skb, TIPC_NLA_PROP_WIN, media->max_win)) in __tipc_nl_add_media()
1345 m->max_win = nla_get_u32(props[TIPC_NLA_PROP_WIN]); in __tipc_nl_media_set()
Dnode.c1283 b->min_win, b->max_win, session, in tipc_node_check_dest()
2482 u32 max_win; in tipc_nl_node_set_link() local
2484 max_win = nla_get_u32(props[TIPC_NLA_PROP_WIN]); in tipc_nl_node_set_link()
2487 max_win); in tipc_nl_node_set_link()
Dudp_media.c850 .max_win = TIPC_DEF_LINK_WIN,
/linux-6.6.21/mm/
Dswap_state.c723 unsigned int max_win, hits, prev_win, win; in swap_ra_info() local
725 max_win = 1 << min_t(unsigned int, READ_ONCE(page_cluster), in swap_ra_info()
727 if (max_win == 1) { in swap_ra_info()
739 max_win, prev_win); in swap_ra_info()
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_hwmon.c193 u64 tau4, r, max_win; in hwm_power1_max_interval_store() local
215 max_win = mul_u64_u32_shr(tau4, SF_TIME, hwmon->scl_shift_time + x_w); in hwm_power1_max_interval_store()
217 if (val > max_win) in hwm_power1_max_interval_store()