Home
last modified time | relevance | path

Searched refs:vars (Results 1 – 25 of 74) sorted by relevance

123

/linux/include/net/
A Dcodel_impl.h64 memset(vars, 0, sizeof(*vars)); in codel_vars_init()
159 vars->dropping = false; in codel_dequeue()
165 if (vars->dropping) { in codel_dequeue()
168 vars->dropping = false; in codel_dequeue()
186 vars->drop_next = in codel_dequeue()
205 vars->drop_next = in codel_dequeue()
227 vars->dropping = true; in codel_dequeue()
232 delta = vars->count - vars->lastcount; in codel_dequeue()
236 vars->count = delta; in codel_dequeue()
243 vars->count = 1; in codel_dequeue()
[all …]
A Dpie.h101 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/net/sched/
A Dsch_pie.c26 struct pie_vars vars; member
41 if (vars->burst_time > 0) in pie_drop_early()
66 vars->accu_prob = 0; in pie_drop_early()
77 vars->accu_prob = 0; in pie_drop_early()
123 q->vars.accu_prob = 0; in pie_qdisc_enqueue()
226 vars->qdelay = 0; in pie_process_dequeue()
240 vars->dq_count = 0; in pie_process_dequeue()
313 vars->qdelay_old = vars->qdelay; in pie_calculate_probability()
375 vars->prob += delta; in pie_calculate_probability()
391 vars->prob = 0; in pie_calculate_probability()
[all …]
A Dsch_choke.c56 struct red_vars vars; member
221 q->vars.qavg = red_calc_qavg(p, &q->vars, sch->q.qlen); in choke_enqueue()
222 if (red_is_idling(&q->vars)) in choke_enqueue()
227 q->vars.qcount = -1; in choke_enqueue()
240 q->vars.qcount = -1; in choke_enqueue()
251 if (red_mark_probability(p, &q->vars, q->vars.qavg)) { in choke_enqueue()
252 q->vars.qcount = 0; in choke_enqueue()
253 q->vars.qR = red_random(p); in choke_enqueue()
264 q->vars.qR = red_random(p); in choke_enqueue()
323 red_restart(&q->vars); in choke_reset()
[all …]
A Dsch_codel.c60 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()
197 codel_vars_init(&q->vars); in codel_init()
250 .count = q->vars.count, in codel_dump_stats()
251 .lastcount = q->vars.lastcount, in codel_dump_stats()
253 .ldelay = codel_time_to_us(q->vars.ldelay), in codel_dump_stats()
254 .dropping = q->vars.dropping, in codel_dump_stats()
259 if (q->vars.dropping) { in codel_dump_stats()
260 codel_tdiff_t delta = q->vars.drop_next - codel_get_time(); in codel_dump_stats()
[all …]
A Dsch_cake.c390 vars->rec_inv_sqrt = cobalt_rec_inv_sqrt_cache[vars->count]; in cobalt_invsqrt()
425 memset(vars, 0, sizeof(*vars)); in cobalt_vars_init()
463 if (!vars->count) in cobalt_queue_full()
464 vars->count = 1; in cobalt_queue_full()
490 vars->count--; in cobalt_queue_empty()
492 vars->drop_next = cobalt_control(vars->drop_next, in cobalt_queue_empty()
554 vars->count++; in cobalt_should_drop()
556 vars->count--; in cobalt_should_drop()
558 vars->drop_next = cobalt_control(vars->drop_next, in cobalt_should_drop()
564 vars->count--; in cobalt_should_drop()
[all …]
A Dsch_red.c46 struct red_vars vars; member
77 q->vars.qavg = red_calc_qavg(&q->parms, in red_enqueue()
78 &q->vars, in red_enqueue()
81 if (red_is_idling(&q->vars)) in red_enqueue()
82 red_end_of_idle_period(&q->vars); in red_enqueue()
84 switch (red_action(&q->parms, &q->vars, q->vars.qavg)) { in red_enqueue()
160 if (!red_is_idling(&q->vars)) in red_dequeue()
161 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 …]
A Dsch_gred.c43 struct red_vars vars; member
131 q->vars.qavg = table->wred_set.qavg; in gred_load_wred_set()
138 table->wred_set.qavg = q->vars.qavg; in gred_store_wred_set()
201 qavg += t->tab[i]->vars.qavg; in gred_enqueue()
213 &q->vars, in gred_enqueue()
216 if (red_is_idling(&q->vars)) in gred_enqueue()
217 red_end_of_idle_period(&q->vars); in gred_enqueue()
222 switch (red_action(&q->parms, &q->vars, q->vars.qavg + qavg)) { in gred_enqueue()
306 red_restart(&q->vars); in gred_reset()
509 red_end_of_idle_period(&q->vars); in gred_change_vq()
[all …]
A Dsch_fq_pie.c45 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()
383 pie_calculate_probability(&q->p_params, &q->flows[idx].vars, in fq_pie_timer()
434 pie_vars_init(&flow->vars); in fq_pie_init()
522 pie_vars_init(&flow->vars); in fq_pie_reset()
/linux/drivers/net/ethernet/broadcom/bnx2x/
A Dbnx2x_link.c4407 vars->turn_to_run_wc_rt = vars->turn_to_run_wc_rt ? 0 : 1; in bnx2x_warpcore_config_runtime()
4705 vars->link_up = (vars->link_status & LINK_STATUS_LINK_UP); in bnx2x_sync_link()
4866 vars->link_status, vars->phy_link_up, vars->aeu_int_mask); in bnx2x_link_status_update()
4868 vars->line_speed, vars->duplex, vars->flow_ctrl); in bnx2x_link_status_update()
5614 vars->phy_link_up, vars->line_speed); in bnx2x_get_link_speed_duplex()
5688 vars->duplex, vars->flow_ctrl, vars->link_status); in bnx2x_link_settings_status()
5814 vars->duplex, vars->flow_ctrl, vars->link_status); in bnx2x_warpcore_read_status()
5899 bnx2x_set_led(params, vars, LED_MODE_OPER, vars->line_speed); in bnx2x_emac_program()
7024 vars); in bnx2x_link_update()
7030 vars->link_up = (vars->phy_link_up && in bnx2x_link_update()
[all …]
A Dbnx2x_link.h131 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);
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);
538 const struct link_vars *vars,
[all …]
/linux/tools/perf/util/
A Dsetup.py13 vars = get_config_vars() variable
15 vars[var] = sub("-specs=[^ ]+", "", vars[var])
17 vars[var] = sub("-mcet", "", vars[var])
19 vars[var] = sub("-fcf-protection", "", vars[var])
21 vars[var] = sub("-fstack-clash-protection", "", vars[var])
23 vars[var] = sub("-fstack-protector-strong", "", vars[var])
25 vars[var] = sub("-fno-semantic-interposition", "", vars[var])
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm_mst_types.c656 vars[next_index].pbn, in increase_dsc_bpp()
660 vars[next_index].bpp_x16 = bpp_x16_from_pbn(params[next_index], vars[next_index].pbn); in increase_dsc_bpp()
675 vars[next_index].pbn, in increase_dsc_bpp()
711 if (vars[i + k].dsc_enabled in try_disable_dsc()
742 vars[next_index].pbn, in try_disable_dsc()
754 vars[next_index].pbn, in try_disable_dsc()
836 vars[i + k].bpp_x16 = 0; in compute_mst_dsc_configs_for_link()
840 vars[i + k].pbn, in compute_mst_dsc_configs_for_link()
858 vars[i + k].pbn, in compute_mst_dsc_configs_for_link()
864 vars[i + k].bpp_x16 = 0; in compute_mst_dsc_configs_for_link()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
A Dmap_lock.c21 int vars[17], i, j, rnd, key = 0; in parallel_map_access() local
24 err = bpf_map_lookup_elem_flags(map_fd, &key, vars, BPF_F_LOCK); in parallel_map_access()
29 if (CHECK_FAIL(vars[0] != 0)) { in parallel_map_access()
30 printf("lookup #%d var[0]=%d\n", i, vars[0]); in parallel_map_access()
33 rnd = vars[1]; in parallel_map_access()
35 if (vars[j] == rnd) in parallel_map_access()
38 i, rnd, j, vars[j]); in parallel_map_access()
39 CHECK_FAIL(vars[j] != rnd); in parallel_map_access()
50 int prog_fd, map_fd[2], vars[17] = {}; in test_map_lock() local
68 bpf_map_update_elem(map_fd[0], &key, vars, BPF_F_LOCK); in test_map_lock()
/linux/fs/cifs/
A Dsmb2inode.c60 struct cop_vars *vars = NULL; in smb2_compound_op() local
78 vars = kzalloc(sizeof(*vars), GFP_ATOMIC); in smb2_compound_op()
79 if (vars == NULL) in smb2_compound_op()
81 rqst = &vars->rqst[0]; in smb2_compound_op()
82 rsp_iov = &vars->rsp_iov[0]; in smb2_compound_op()
102 vars->oparms.tcon = tcon; in smb2_compound_op()
106 vars->oparms.fid = &fid; in smb2_compound_op()
107 vars->oparms.reconnect = false; in smb2_compound_op()
108 vars->oparms.mode = mode; in smb2_compound_op()
325 data[0] = &vars->link_info; in smb2_compound_op()
[all …]
/linux/drivers/misc/altera-stapl/
A Daltera.c226 long *vars = NULL; in altera_execute() local
295 if (vars == NULL) in altera_execute()
353 vars[i] = value; in altera_execute()
360 if (vars[i] == 0L) in altera_execute()
369 (u8 *)vars[i], in altera_execute()
402 if (vars[i] == 0) { in altera_execute()
411 vars[i] = 0; in altera_execute()
414 vars[i] = 0; in altera_execute()
1583 vars[variable_id] = 0; in altera_execute()
2105 kfree((void *)vars[i]); in altera_execute()
[all …]
/linux/drivers/parport/
A Dprocfs.c261 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/Documentation/ABI/testing/
A Dsysfs-secvar8 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/Documentation/trace/
A Dhistogram-design.rst765 var.idx (into tracing_map_elt.vars[]): 0
822 var.idx (into tracing_map_elt.vars[]): 0
843 var.idx (into tracing_map_elt.vars[]): 0
1071 variable at elt->vars[var.idx].
1146 var.idx (into tracing_map_elt.vars[]): 0
1210 var.idx (into tracing_map_elt.vars[]): 0
1231 var.idx (into tracing_map_elt.vars[]): 0
1242 var.idx (into tracing_map_elt.vars[]): 0
1253 var.idx (into tracing_map_elt.vars[]): 1
1264 var.idx (into tracing_map_elt.vars[]): 2
[all …]
/linux/arch/um/os-Linux/
A Dmem.c49 static const char * const vars[] = { in choose_tempdir() local
65 for (i = 0; vars[i]; i++) { in choose_tempdir()
66 dir = getenv(vars[i]); in choose_tempdir()
/linux/drivers/accessibility/speakup/
A Dspeakup_txprt.c19 static struct var_t vars[] = { variable
89 .vars = vars,
A Dspeakup_bns.c19 static struct var_t vars[] = { variable
90 .vars = vars,
A Dspeakup_spkout.c21 static struct var_t vars[] = { variable
95 .vars = vars,
A Dspeakup_acntsa.c22 static struct var_t vars[] = { variable
93 .vars = vars,
A Dspeakup_dummy.c21 static struct var_t vars[] = { variable
102 .vars = vars,

Completed in 102 milliseconds

123