/linux/net/ipv4/ |
H A D | tcp_nv.c | 246 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/net/tipc/ |
H A D | link.h | 76 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);
|
H A D | bcast.c | 111 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()
|
H A D | bearer.h | 124 u32 max_win; member 168 u32 max_win; member
|
H A D | link.c | 193 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 …]
|
H A D | ib_media.c | 100 .max_win = TIPC_MAX_IB_LINK_WIN,
|
H A D | eth_media.c | 94 .max_win = TIPC_MAX_LINK_WIN,
|
H A D | bearer.c | 342 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()
|
H A D | node.c | 1281 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()
|
H A D | udp_media.c | 853 .max_win = TIPC_DEF_LINK_WIN,
|
/linux/mm/ |
H A D | swap_state.c | 751 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/drivers/gpu/drm/xe/ |
H A D | xe_hwmon.c | 328 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/drivers/gpu/drm/i915/ |
H A D | i915_hwmon.c | 203 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()
|