/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | arb.c | 38 int burst; member 103 fifo->burst = cbs; in nv04_calc_arb() 117 * to the CRTC FIFO burst. (ns) */ in nv10_calc_arb() 169 /* FIFO burst */ in nv10_calc_arb() 171 /* Max burst not leading to overflows. */ in nv10_calc_arb() 174 fifo->burst = min(max_burst_o, 1024); in nv10_calc_arb() 176 /* Max burst value with an acceptable latency. */ in nv10_calc_arb() 178 fifo->burst = min(max_burst_l, fifo->burst); in nv10_calc_arb() 180 fifo->burst in nv10_calc_arb() 193 nv04_update_arb(struct drm_device *dev, int VClk, int bpp, int *burst, int *lwm) nv04_update_arb() argument 238 nv20_update_arb(int *burst, int *lwm) nv20_update_arb() argument 251 nouveau_calc_arb(struct drm_device *dev, int vclk, int bpp, int *burst, int *lwm) nouveau_calc_arb() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | arb.c | 38 int burst; member 103 fifo->burst = cbs; in nv04_calc_arb() 117 * to the CRTC FIFO burst. (ns) */ in nv10_calc_arb() 169 /* FIFO burst */ in nv10_calc_arb() 171 /* Max burst not leading to overflows. */ in nv10_calc_arb() 174 fifo->burst = min(max_burst_o, 1024); in nv10_calc_arb() 176 /* Max burst value with an acceptable latency. */ in nv10_calc_arb() 178 fifo->burst = min(max_burst_l, fifo->burst); in nv10_calc_arb() 180 fifo->burst in nv10_calc_arb() 193 nv04_update_arb(struct drm_device *dev, int VClk, int bpp, int *burst, int *lwm) nv04_update_arb() argument 239 nv20_update_arb(int *burst, int *lwm) nv20_update_arb() argument 252 nouveau_calc_arb(struct drm_device *dev, int vclk, int bpp, int *burst, int *lwm) nouveau_calc_arb() argument [all...] |
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | xt_limit.c | 104 if (r->burst == 0 in limit_mt_check() 105 || user2credits(r->avg * r->burst) < user2credits(r->avg)) { in limit_mt_check() 107 r->avg, r->burst); in limit_mt_check() 120 priv->credit = user2credits(r->avg * r->burst); /* Credits full. */ in limit_mt_check() 140 u_int32_t burst; member 156 .burst = cm->burst, in limit_mt_compat_from_user() 170 .burst = m->burst, in limit_mt_compat_to_user()
|
/kernel/linux/linux-6.6/include/net/tc_act/ |
H A D | tc_police.h | 41 u32 burst; member 70 u32 burst; in tcf_police_burst() local 76 * "rate" bytes "burst" nanoseconds in tcf_police_burst() 85 * "rate" bytes "burst" nanoseconds 2^6 ticks in tcf_police_burst() 89 * "rate" * "burst" in tcf_police_burst() 94 * "rate" * "burst" in tcf_police_burst() 98 burst = div_u64(params->tcfp_burst * params->rate.rate_bytes_ps, in tcf_police_burst() 101 return burst; in tcf_police_burst() 118 u32 burst; in tcf_police_burst_pkt() local 124 * "rate" pkts "burst" nanosecond in tcf_police_burst_pkt() [all...] |
/kernel/linux/linux-5.10/drivers/dma/dw-edma/ |
H A D | dw-edma-core.c | 45 struct dw_edma_burst *burst; in dw_edma_alloc_burst() local 47 burst = kzalloc(sizeof(*burst), GFP_NOWAIT); in dw_edma_alloc_burst() 48 if (unlikely(!burst)) in dw_edma_alloc_burst() 51 INIT_LIST_HEAD(&burst->list); in dw_edma_alloc_burst() 52 if (chunk->burst) { in dw_edma_alloc_burst() 55 list_add_tail(&burst->list, &chunk->burst->list); in dw_edma_alloc_burst() 59 chunk->burst = burst; in dw_edma_alloc_burst() 335 struct dw_edma_burst *burst; dw_edma_device_transfer() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_police.c | 15 u32 burst; member 26 /* Avoid zero burst size */ in lan966x_police_add() 27 pol->burst = pol->burst ?: 1; in lan966x_police_add() 29 pol->burst = DIV_ROUND_UP(pol->burst, 4096); in lan966x_police_add() 32 pol->burst > GENMASK(6, 0)) in lan966x_police_add() 46 ANA_POL_PIR_CFG_PIR_BURST_SET(pol->burst), in lan966x_police_add() 153 pol.burst = act->police.burst; in lan966x_police_port_add() [all...] |
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | xt_limit.c | 111 if (r->burst == 0 in limit_mt_check() 112 || user2credits(r->avg * r->burst) < user2credits(r->avg)) { in limit_mt_check() 114 r->avg, r->burst); in limit_mt_check() 127 priv->credit = user2credits(r->avg * r->burst); /* Credits full. */ in limit_mt_check() 146 u_int32_t burst; member 162 .burst = cm->burst, in limit_mt_compat_from_user() 176 .burst = m->burst, in limit_mt_compat_to_user()
|
/kernel/linux/linux-5.10/lib/ |
H A D | ratelimit.c | 20 * This enforces a rate limit: not more than @rs->burst callbacks 34 int burst = READ_ONCE(rs->burst); in ___ratelimit() local 65 if (burst && burst > rs->printed) { in ___ratelimit()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_police.c | 13 u32 idx, pup_tokens, max_pup_tokens, burst, thres; in sparx5_policer_service_conf_set() local 21 burst = pol->burst; in sparx5_policer_service_conf_set() 27 thres = DIV_ROUND_UP(burst, g->min_burst); in sparx5_policer_service_conf_set()
|
/kernel/linux/linux-6.6/lib/ |
H A D | ratelimit.c | 20 * This enforces a rate limit: not more than @rs->burst callbacks 34 int burst = READ_ONCE(rs->burst); in ___ratelimit() local 65 if (burst && burst > rs->printed) { in ___ratelimit()
|
/kernel/linux/linux-5.10/net/bridge/netfilter/ |
H A D | ebt_limit.c | 74 if (info->burst == 0 || in ebt_limit_mt_check() 75 user2credits(info->avg * info->burst) < user2credits(info->avg)) { in ebt_limit_mt_check() 77 info->avg, info->burst); in ebt_limit_mt_check() 83 info->credit = user2credits(info->avg * info->burst); in ebt_limit_mt_check() 84 info->credit_cap = user2credits(info->avg * info->burst); in ebt_limit_mt_check() 93 * only avg/burst have meaningful values in userspace. 96 compat_uint_t avg, burst; member
|
/kernel/linux/linux-6.6/net/bridge/netfilter/ |
H A D | ebt_limit.c | 74 if (info->burst == 0 || in ebt_limit_mt_check() 75 user2credits(info->avg * info->burst) < user2credits(info->avg)) { in ebt_limit_mt_check() 77 info->avg, info->burst); in ebt_limit_mt_check() 83 info->credit = user2credits(info->avg * info->burst); in ebt_limit_mt_check() 84 info->credit_cap = user2credits(info->avg * info->burst); in ebt_limit_mt_check() 93 * only avg/burst have meaningful values in userspace. 96 compat_uint_t avg, burst; member
|
/kernel/linux/linux-6.6/drivers/dma/dw-edma/ |
H A D | dw-edma-core.c | 56 struct dw_edma_burst *burst; in dw_edma_alloc_burst() local 58 burst = kzalloc(sizeof(*burst), GFP_NOWAIT); in dw_edma_alloc_burst() 59 if (unlikely(!burst)) in dw_edma_alloc_burst() 62 INIT_LIST_HEAD(&burst->list); in dw_edma_alloc_burst() 63 if (chunk->burst) { in dw_edma_alloc_burst() 66 list_add_tail(&burst->list, &chunk->burst->list); in dw_edma_alloc_burst() 70 chunk->burst = burst; in dw_edma_alloc_burst() 368 struct dw_edma_burst *burst; dw_edma_device_transfer() local [all...] |
/kernel/linux/linux-5.10/include/net/tc_act/ |
H A D | tc_police.h | 37 u32 burst; member 66 u32 burst; in tcf_police_burst() local 72 * "rate" bytes "burst" nanoseconds in tcf_police_burst() 81 * "rate" bytes "burst" nanoseconds 2^6 ticks in tcf_police_burst() 85 * "rate" * "burst" in tcf_police_burst() 90 * "rate" * "burst" in tcf_police_burst() 94 burst = div_u64(params->tcfp_burst * params->rate.rate_bytes_ps, in tcf_police_burst() 97 return burst; in tcf_police_burst()
|
/kernel/linux/linux-5.10/include/uapi/linux/netfilter/ |
H A D | xt_hashlimit.h | 35 __u32 burst; /* Period multiplier for upper limit. */ member 59 __u32 burst; /* Period multiplier for upper limit. */ member 72 __u64 burst; /* Period multiplier for upper limit. */ member 86 __u64 burst; /* Period multiplier for upper limit. */ member
|
/kernel/linux/linux-6.6/include/uapi/linux/netfilter/ |
H A D | xt_hashlimit.h | 35 __u32 burst; /* Period multiplier for upper limit. */ member 59 __u32 burst; /* Period multiplier for upper limit. */ member 72 __u64 burst; /* Period multiplier for upper limit. */ member 86 __u64 burst; /* Period multiplier for upper limit. */ member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/netfilter/ |
H A D | xt_hashlimit.h | 40 __u32 burst; member 58 __u32 burst; member 67 __u64 burst; member 77 __u64 burst; member
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/netfilter/ |
H A D | xt_hashlimit.h | 40 __u32 burst; member 58 __u32 burst; member 67 __u64 burst; member 77 __u64 burst; member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/netfilter/ |
H A D | xt_hashlimit.h | 27 __u32 burst; member 47 __u32 burst; member 57 __u64 burst; member 68 __u64 burst; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
H A D | meter.c | 120 u64 rate, burst; in mlx5e_tc_meter_modify() local 125 burst = meter_params->burst; in mlx5e_tc_meter_modify() 130 burst <<= 7; in mlx5e_tc_meter_modify() 133 if (!rate || rate > MLX5_MAX_CIR || !burst || burst > MLX5_MAX_CBS) in mlx5e_tc_meter_modify() 137 if (burst > MLX5_MAX_HW_CBS) { in mlx5e_tc_meter_modify() 139 "burst(%lld) is too large, use HW allowed value(%d)\n", in mlx5e_tc_meter_modify() 140 burst, MLX5_MAX_HW_CBS); in mlx5e_tc_meter_modify() 141 burst in mlx5e_tc_meter_modify() [all...] |
/kernel/linux/linux-6.6/drivers/dma/qcom/ |
H A D | qcom_adm.c | 190 * adm_get_blksize - Get block size from burst value 192 * @burst: Burst size of transaction 194 static int adm_get_blksize(unsigned int burst) in adm_get_blksize() argument 198 switch (burst) { in adm_get_blksize() 203 ret = ffs(burst >> 4) - 1; in adm_get_blksize() 226 * @burst: Burst size of transaction 231 u32 burst, in adm_process_fc_descriptors() 244 row_offset = burst; in adm_process_fc_descriptors() 249 row_offset = burst << 16; in adm_process_fc_descriptors() 254 while (remainder >= burst) { in adm_process_fc_descriptors() 229 adm_process_fc_descriptors(struct adm_chan *achan, void *desc, struct scatterlist *sg, u32 crci, u32 burst, enum dma_transfer_direction direction) adm_process_fc_descriptors() argument 358 u32 i, burst; adm_prep_slave_sg() local [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | devlink_trap_policer.sh | 162 devlink trap policer set $DEVLINK_DEV policer 1 burst 0 &> /dev/null 163 check_fail $? "Policer burst size was changed to 0" 164 devlink trap policer set $DEVLINK_DEV policer 1 burst 17 &> /dev/null 165 check_fail $? "Policer burst size was changed to burst size that is not power of 2" 166 devlink trap policer set $DEVLINK_DEV policer 1 burst 8 &> /dev/null 167 check_fail $? "Policer burst size was changed to burst size lower than limit" 169 burst $((2**25)) &> /dev/null 170 check_fail $? "Policer burst siz [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | devlink_trap_policer.sh | 162 devlink trap policer set $DEVLINK_DEV policer 1 burst 0 &> /dev/null 163 check_fail $? "Policer burst size was changed to 0" 164 devlink trap policer set $DEVLINK_DEV policer 1 burst 17 &> /dev/null 165 check_fail $? "Policer burst size was changed to burst size that is not power of 2" 166 devlink trap policer set $DEVLINK_DEV policer 1 burst 8 &> /dev/null 167 check_fail $? "Policer burst size was changed to burst size lower than limit" 169 burst $((2**25)) &> /dev/null 170 check_fail $? "Policer burst siz [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_tc.c | 49 u32 burst; member 53 static void otx2_get_egress_burst_cfg(struct otx2_nic *nic, u32 burst, in otx2_get_egress_burst_cfg() argument 69 * Max supported burst size is 130,816 bytes. in otx2_get_egress_burst_cfg() 71 burst = min_t(u32, burst, max_burst); in otx2_get_egress_burst_cfg() 72 if (burst) { in otx2_get_egress_burst_cfg() 73 *burst_exp = ilog2(burst) ? ilog2(burst) - 1 : 0; in otx2_get_egress_burst_cfg() 74 tmp = burst - rounddown_pow_of_two(burst); in otx2_get_egress_burst_cfg() 117 otx2_get_txschq_rate_regval(struct otx2_nic *nic, u64 maxrate, u32 burst) otx2_get_txschq_rate_regval() argument 145 otx2_set_matchall_egress_rate(struct otx2_nic *nic, u32 burst, u64 maxrate) otx2_set_matchall_egress_rate() argument 323 otx2_tc_act_set_police(struct otx2_nic *nic, struct otx2_tc_flow *node, struct flow_cls_offload *f, u64 rate, u32 burst, u32 mark, struct npc_install_flow_req *req, bool pps) otx2_tc_act_set_police() argument 366 u32 burst, mark = 0; otx2_tc_parse_actions() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | qos_conf.c | 87 bool pps, u32 id, u32 rate, u32 burst) in nfp_flower_offload_one_police() 109 config->bkt_tkn_p = cpu_to_be32(burst); in nfp_flower_offload_one_police() 110 config->bkt_tkn_c = cpu_to_be32(burst); in nfp_flower_offload_one_police() 111 config->pbs = cpu_to_be32(burst); in nfp_flower_offload_one_police() 112 config->cbs = cpu_to_be32(burst); in nfp_flower_offload_one_police() 179 u32 burst; in nfp_flower_install_rate_limiter() local 260 burst = action->police.burst; in nfp_flower_install_rate_limiter() 263 burst = action->police.burst_pkt; in nfp_flower_install_rate_limiter() 276 rate, burst); in nfp_flower_install_rate_limiter() 86 nfp_flower_offload_one_police(struct nfp_app *app, bool ingress, bool pps, u32 id, u32 rate, u32 burst) nfp_flower_offload_one_police() argument 701 u32 burst, i, meter_id; nfp_act_install_actions() local [all...] |