Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/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
Dlink.c193 u16 max_win; member
330 return l->max_win; in tipc_link_max_win()
478 u32 min_win, u32 max_win, u32 session, u32 self, in tipc_link_create() argument
522 tipc_link_set_queue_limits(l, min_win, max_win); in tipc_link_create()
556 int mtu, u32 min_win, u32 max_win, u16 peer_caps, in tipc_link_bc_create() argument
565 max_win, 0, ownnode, peer, NULL, peer_caps, in tipc_link_bc_create()
1138 l->window = min_t(u16, cwin + released, l->max_win); in tipc_link_update_cwin()
1144 l->window = min_t(u16, ++cwin, l->max_win); in tipc_link_update_cwin()
2530 void tipc_link_set_queue_limits(struct tipc_link *l, u32 min_win, u32 max_win) in tipc_link_set_queue_limits() argument
2535 l->ssthresh = max_win; in tipc_link_set_queue_limits()
[all …]
Dib_media.c100 .max_win = TIPC_MAX_IB_LINK_WIN,
Deth_media.c94 .max_win = TIPC_MAX_LINK_WIN,
Dbearer.c342 b->max_win = m->max_win; in tipc_enable_bearer()
849 if (nla_put_u32(msg->skb, TIPC_NLA_PROP_WIN, bearer->max_win)) in __tipc_nl_add_bearer()
1151 b->max_win = nla_get_u32(props[TIPC_NLA_PROP_WIN]); in __tipc_nl_bearer_set()
1211 if (nla_put_u32(msg->skb, TIPC_NLA_PROP_WIN, media->max_win)) in __tipc_nl_add_media()
1346 m->max_win = nla_get_u32(props[TIPC_NLA_PROP_WIN]); in __tipc_nl_media_set()
Dnode.c1281 b->min_win, b->max_win, session, in tipc_node_check_dest()
2481 u32 max_win; in tipc_nl_node_set_link() local
2483 max_win = nla_get_u32(props[TIPC_NLA_PROP_WIN]); in tipc_nl_node_set_link()
2486 max_win); in tipc_nl_node_set_link()
Dudp_media.c853 .max_win = TIPC_DEF_LINK_WIN,
/linux-6.12.1/mm/
Dswap_state.c751 unsigned int max_win, hits, prev_win, win; in swap_vma_ra_win() local
753 max_win = 1 << min(READ_ONCE(page_cluster), SWAP_RA_ORDER_CEILING); in swap_vma_ra_win()
754 if (max_win == 1) in swap_vma_ra_win()
763 max_win, prev_win); in swap_vma_ra_win()
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_hwmon.c328 u64 tau4, r, max_win; in xe_hwmon_power_max_interval_store() local
356 max_win = mul_u64_u32_shr(tau4, SF_TIME, hwmon->scl_shift_time + x_w); in xe_hwmon_power_max_interval_store()
358 if (val > max_win) in xe_hwmon_power_max_interval_store()
/linux-6.12.1/drivers/gpu/drm/i915/
Di915_hwmon.c203 u64 tau4, r, max_win; in hwm_power1_max_interval_store() local
225 max_win = mul_u64_u32_shr(tau4, SF_TIME, hwmon->scl_shift_time + x_w); in hwm_power1_max_interval_store()
227 if (val > max_win) in hwm_power1_max_interval_store()