/linux-6.1.9/include/net/ |
D | codel_impl.h | 64 static void codel_vars_init(struct codel_vars *vars) in codel_vars_init() argument 66 memset(vars, 0, sizeof(*vars)); in codel_vars_init() 80 static void codel_Newton_step(struct codel_vars *vars) in codel_Newton_step() argument 82 u32 invsqrt = ((u32)vars->rec_inv_sqrt) << REC_INV_SQRT_SHIFT; in codel_Newton_step() 84 u64 val = (3LL << 32) - ((u64)vars->count * invsqrt2); in codel_Newton_step() 89 vars->rec_inv_sqrt = val >> REC_INV_SQRT_SHIFT; in codel_Newton_step() 106 struct codel_vars *vars, in codel_should_drop() argument 118 vars->first_above_time = 0; in codel_should_drop() 123 vars->ldelay = now - skb_time_func(skb); in codel_should_drop() 128 if (codel_time_before(vars->ldelay, params->target) || in codel_should_drop() [all …]
|
D | pie.h | 101 static inline void pie_vars_init(struct pie_vars *vars) in pie_vars_init() argument 103 vars->burst_time = PSCHED_NS2TICKS(150 * NSEC_PER_MSEC); /* 150 ms */ in pie_vars_init() 104 vars->dq_tstamp = DTIME_INVALID; in pie_vars_init() 105 vars->accu_prob = 0; in pie_vars_init() 106 vars->dq_count = DQCOUNT_INVALID; in pie_vars_init() 107 vars->avg_dq_rate = 0; in pie_vars_init() 127 struct pie_vars *vars, u32 backlog, u32 packet_size); 130 struct pie_vars *vars, u32 backlog); 132 void pie_calculate_probability(struct pie_params *params, struct pie_vars *vars,
|
/linux-6.1.9/net/sched/ |
D | sch_pie.c | 26 struct pie_vars vars; member 34 struct pie_vars *vars, u32 backlog, u32 packet_size) in pie_drop_early() argument 37 u64 local_prob = vars->prob; in pie_drop_early() 41 if (vars->burst_time > 0) in pie_drop_early() 47 if ((vars->qdelay < params->target / 2) && in pie_drop_early() 48 (vars->prob < MAX_PROB / 5)) in pie_drop_early() 63 local_prob = vars->prob; in pie_drop_early() 66 vars->accu_prob = 0; in pie_drop_early() 68 vars->accu_prob += local_prob; in pie_drop_early() 70 if (vars->accu_prob < (MAX_PROB / 100) * 85) in pie_drop_early() [all …]
|
D | sch_choke.c | 56 struct red_vars vars; member 220 q->vars.qavg = red_calc_qavg(p, &q->vars, sch->q.qlen); in choke_enqueue() 221 if (red_is_idling(&q->vars)) in choke_enqueue() 222 red_end_of_idle_period(&q->vars); in choke_enqueue() 225 if (q->vars.qavg <= p->qth_min) in choke_enqueue() 226 q->vars.qcount = -1; in choke_enqueue() 238 if (q->vars.qavg > p->qth_max) { in choke_enqueue() 239 q->vars.qcount = -1; in choke_enqueue() 249 } else if (++q->vars.qcount) { in choke_enqueue() 250 if (red_mark_probability(p, &q->vars, q->vars.qavg)) { in choke_enqueue() [all …]
|
D | sch_codel.c | 60 struct codel_vars vars; member 69 static struct sk_buff *dequeue_func(struct codel_vars *vars, void *ctx) in dequeue_func() argument 94 skb = codel_dequeue(sch, &sch->qstats.backlog, &q->params, &q->vars, in codel_qdisc_dequeue() 194 codel_vars_init(&q->vars); in codel_init() 247 .count = q->vars.count, in codel_dump_stats() 248 .lastcount = q->vars.lastcount, in codel_dump_stats() 250 .ldelay = codel_time_to_us(q->vars.ldelay), in codel_dump_stats() 251 .dropping = q->vars.dropping, in codel_dump_stats() 256 if (q->vars.dropping) { in codel_dump_stats() 257 codel_tdiff_t delta = q->vars.drop_next - codel_get_time(); in codel_dump_stats() [all …]
|
D | sch_cake.c | 372 static void cobalt_newton_step(struct cobalt_vars *vars) in cobalt_newton_step() argument 377 invsqrt = vars->rec_inv_sqrt; in cobalt_newton_step() 379 val = (3LL << 32) - ((u64)vars->count * invsqrt2); in cobalt_newton_step() 384 vars->rec_inv_sqrt = val; in cobalt_newton_step() 387 static void cobalt_invsqrt(struct cobalt_vars *vars) in cobalt_invsqrt() argument 389 if (vars->count < REC_INV_SQRT_CACHE) in cobalt_invsqrt() 390 vars->rec_inv_sqrt = cobalt_rec_inv_sqrt_cache[vars->count]; in cobalt_invsqrt() 392 cobalt_newton_step(vars); in cobalt_invsqrt() 423 static void cobalt_vars_init(struct cobalt_vars *vars) in cobalt_vars_init() argument 425 memset(vars, 0, sizeof(*vars)); in cobalt_vars_init() [all …]
|
D | sch_red.c | 46 struct red_vars vars; member 78 q->vars.qavg = red_calc_qavg(&q->parms, in red_enqueue() 79 &q->vars, in red_enqueue() 82 if (red_is_idling(&q->vars)) in red_enqueue() 83 red_end_of_idle_period(&q->vars); in red_enqueue() 85 switch (red_action(&q->parms, &q->vars, q->vars.qavg)) { in red_enqueue() 162 if (!red_is_idling(&q->vars)) in red_dequeue() 163 red_start_of_idle_period(&q->vars); in red_dequeue() 181 red_restart(&q->vars); in red_reset() 296 red_set_vars(&q->vars); in __red_change() [all …]
|
D | sch_gred.c | 43 struct red_vars vars; member 131 q->vars.qavg = table->wred_set.qavg; in gred_load_wred_set() 132 q->vars.qidlestart = table->wred_set.qidlestart; in gred_load_wred_set() 138 table->wred_set.qavg = q->vars.qavg; in gred_store_wred_set() 139 table->wred_set.qidlestart = q->vars.qidlestart; in gred_store_wred_set() 200 !red_is_idling(&t->tab[i]->vars)) in gred_enqueue() 201 qavg += t->tab[i]->vars.qavg; in gred_enqueue() 212 q->vars.qavg = red_calc_qavg(&q->parms, in gred_enqueue() 213 &q->vars, in gred_enqueue() 216 if (red_is_idling(&q->vars)) in gred_enqueue() [all …]
|
D | sch_fq_pie.c | 45 struct pie_vars vars; member 162 if (!pie_drop_early(sch, &q->p_params, &sel_flow->vars, in fq_pie_qdisc_enqueue() 166 sel_flow->vars.prob <= (MAX_PROB / 100) * q->ecn_prob && in fq_pie_qdisc_enqueue() 198 sel_flow->vars.accu_prob = 0; in fq_pie_qdisc_enqueue() 273 pie_process_dequeue(skb, &q->p_params, &flow->vars, flow->backlog); in fq_pie_qdisc_dequeue() 380 pie_calculate_probability(&q->p_params, &q->flows[idx].vars, in fq_pie_timer() 431 pie_vars_init(&flow->vars); in fq_pie_init() 519 pie_vars_init(&flow->vars); in fq_pie_reset()
|
/linux-6.1.9/tools/perf/util/ |
D | setup.py | 15 vars = get_config_vars() variable 17 vars[var] = sub("-specs=[^ ]+", "", vars[var]) 19 vars[var] = sub("-mcet", "", vars[var]) 21 vars[var] = sub("-fcf-protection", "", vars[var]) 23 vars[var] = sub("-fstack-clash-protection", "", vars[var]) 25 vars[var] = sub("-fstack-protector-strong", "", vars[var]) 27 vars[var] = sub("-fno-semantic-interposition", "", vars[var]) 29 vars[var] = sub("-ffat-lto-objects", "", vars[var])
|
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.c | 216 struct link_vars *vars, u8 notify); 498 static u32 bnx2x_ets_get_min_w_val_nig(const struct link_vars *vars) in bnx2x_ets_get_min_w_val_nig() argument 502 if (vars->link_up) { in bnx2x_ets_get_min_w_val_nig() 503 if (vars->line_speed == SPEED_20000) in bnx2x_ets_get_min_w_val_nig() 570 const struct link_vars *vars) in bnx2x_ets_e3b0_nig_disabled() argument 574 const u32 min_w_val = bnx2x_ets_get_min_w_val_nig(vars); in bnx2x_ets_e3b0_nig_disabled() 745 const struct link_vars *vars) in bnx2x_ets_e3b0_disabled() argument 755 bnx2x_ets_e3b0_nig_disabled(params, vars); in bnx2x_ets_e3b0_disabled() 768 struct link_vars *vars) in bnx2x_ets_disabled() argument 776 bnx2x_status = bnx2x_ets_e3b0_disabled(params, vars); in bnx2x_ets_disabled() [all …]
|
D | bnx2x_link.h | 131 struct link_vars *vars); 133 struct link_vars *vars); 378 int bnx2x_phy_init(struct link_params *params, struct link_vars *vars); 383 int bnx2x_link_reset(struct link_params *params, struct link_vars *vars, 385 int bnx2x_lfa_reset(struct link_params *params, struct link_vars *vars); 387 int bnx2x_link_update(struct link_params *params, struct link_vars *vars); 412 struct link_vars *vars, u8 mode, u32 speed); 424 int bnx2x_test_link(struct link_params *params, struct link_vars *vars, 520 struct link_vars *vars, 526 struct link_vars *vars); [all …]
|
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | map_lock.c | 24 int vars[17], i, j, rnd, key = 0; in parallel_map_access() local 27 err = bpf_map_lookup_elem_flags(map_fd, &key, vars, BPF_F_LOCK); in parallel_map_access() 32 if (CHECK_FAIL(vars[0] != 0)) { in parallel_map_access() 33 printf("lookup #%d var[0]=%d\n", i, vars[0]); in parallel_map_access() 36 rnd = vars[1]; in parallel_map_access() 38 if (vars[j] == rnd) in parallel_map_access() 41 i, rnd, j, vars[j]); in parallel_map_access() 42 CHECK_FAIL(vars[j] != rnd); in parallel_map_access() 53 int prog_fd, map_fd[2], vars[17] = {}; in test_map_lock() local 71 bpf_map_update_elem(map_fd[0], &key, vars, BPF_F_LOCK); in test_map_lock()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_mst_types.c | 640 struct dsc_mst_fairness_vars *vars, in set_dsc_configs_from_fairness_vars() argument 648 if (vars[i + k].dsc_enabled && dc_dsc_compute_config( in set_dsc_configs_from_fairness_vars() 661 params[i].timing->dsc_cfg.bits_per_pixel = vars[i + k].bpp_x16; in set_dsc_configs_from_fairness_vars() 671 params[i].timing->dsc_cfg.mst_pbn = vars[i + k].pbn; in set_dsc_configs_from_fairness_vars() 685 vars[i + k].pbn); in set_dsc_configs_from_fairness_vars() 709 struct dsc_mst_fairness_vars *vars, in increase_dsc_bpp() argument 724 if (vars[i + k].dsc_enabled) { in increase_dsc_bpp() 726 kbps_to_peak_pbn(params[i].bw_range.max_kbps) - vars[i + k].pbn; in increase_dsc_bpp() 753 link_timeslots_used += DIV_ROUND_UP(vars[i + k].pbn, mst_state->pbn_div); in increase_dsc_bpp() 759 vars[next_index].pbn += fair_pbn_alloc; in increase_dsc_bpp() [all …]
|
D | amdgpu_dm_mst_types.h | 58 struct dsc_mst_fairness_vars *vars); 64 struct dsc_mst_fairness_vars *vars);
|
/linux-6.1.9/fs/cifs/ |
D | smb2inode.c | 64 struct cop_vars *vars = NULL; in smb2_compound_op() local 83 vars = kzalloc(sizeof(*vars), GFP_ATOMIC); in smb2_compound_op() 84 if (vars == NULL) in smb2_compound_op() 86 rqst = &vars->rqst[0]; in smb2_compound_op() 87 rsp_iov = &vars->rsp_iov[0]; in smb2_compound_op() 107 vars->oparms.tcon = tcon; in smb2_compound_op() 108 vars->oparms.desired_access = desired_access; in smb2_compound_op() 109 vars->oparms.disposition = create_disposition; in smb2_compound_op() 110 vars->oparms.create_options = cifs_create_options(cifs_sb, create_options); in smb2_compound_op() 111 vars->oparms.fid = &fid; in smb2_compound_op() [all …]
|
/linux-6.1.9/drivers/misc/altera-stapl/ |
D | altera.c | 226 long *vars = NULL; in altera_execute() local 293 vars = kcalloc(sym_count, sizeof(long), GFP_KERNEL); in altera_execute() 295 if (vars == NULL) in altera_execute() 353 vars[i] = value; in altera_execute() 359 vars[i] = (long)kzalloc(uncomp_size, GFP_KERNEL); in altera_execute() 360 if (vars[i] == 0L) in altera_execute() 369 (u8 *)vars[i], in altera_execute() 380 vars[i] = value + data_sect + (long)p; in altera_execute() 383 vars[i] = value + data_sect; in altera_execute() 400 vars[i] = (long)kzalloc(size, GFP_KERNEL); in altera_execute() [all …]
|
/linux-6.1.9/drivers/parport/ |
D | procfs.c | 261 struct ctl_table vars[12]; member 375 struct ctl_table vars[2]; member 428 struct ctl_table vars[3]; member 462 .child = parport_default_sysctl_table.vars 489 t->vars[i].extra1 = port; in parport_proc_register() 491 t->vars[0].data = &port->spintime; in parport_proc_register() 492 t->vars[5].child = t->device_dir; in parport_proc_register() 495 t->vars[6 + i].extra2 = &port->probe_info[i]; in parport_proc_register() 499 t->port_dir[0].child = t->vars; in parport_proc_register() 539 t->device_dir[0].child = t->vars; in parport_device_proc_register() [all …]
|
/linux-6.1.9/Documentation/ABI/testing/ |
D | sysfs-secvar | 8 What: /sys/firmware/secvar/vars 21 What: /sys/firmware/secvar/vars/<variable name> 29 What: /sys/firmware/secvar/vars/<variable_name>/size 35 What: /sys/firmware/secvar/vars/<variable_name>/data 41 What: /sys/firmware/secvar/vars/<variable_name>/update
|
/linux-6.1.9/drivers/accessibility/speakup/ |
D | speakup_txprt.c | 19 static struct var_t vars[] = { variable 89 .vars = vars,
|
D | speakup_bns.c | 19 static struct var_t vars[] = { variable 90 .vars = vars,
|
D | speakup_spkout.c | 21 static struct var_t vars[] = { variable 95 .vars = vars,
|
D | speakup_acntsa.c | 22 static struct var_t vars[] = { variable 93 .vars = vars,
|
D | speakup_dummy.c | 21 static struct var_t vars[] = { variable 106 .vars = vars,
|
/linux-6.1.9/Documentation/trace/ |
D | histogram-design.rst | 376 maps them to an index in a new map_elt.vars[] array added to the 451 into the tracing_map_elts' .vars[] array containing variable values. | | | 453 The map_elt.vars idx assigned to the given variable is assigned and | | | 462 hist_data.fields[] and the map_elt.fields[] and map_elt.vars[] with | | | 465 or val and the .vars[] members point to the value of a variable. The | | | 491 . +--| .vars | +---------------+ | | | 535 +--| .vars | +---------------+ | | | 569 .vars containing the current value of the variables associated with | | 735 index into the tracing_map_elt.vars[] array of the actual variable 765 var.idx (into tracing_map_elt.vars[]): 0 [all …]
|