/linux-4.1.27/include/net/ |
D | codel.h | 180 static void codel_vars_init(struct codel_vars *vars) in codel_vars_init() argument 182 memset(vars, 0, sizeof(*vars)); in codel_vars_init() 196 static void codel_Newton_step(struct codel_vars *vars) in codel_Newton_step() argument 198 u32 invsqrt = ((u32)vars->rec_inv_sqrt) << REC_INV_SQRT_SHIFT; in codel_Newton_step() 200 u64 val = (3LL << 32) - ((u64)vars->count * invsqrt2); in codel_Newton_step() 205 vars->rec_inv_sqrt = val >> REC_INV_SQRT_SHIFT; in codel_Newton_step() 222 struct codel_vars *vars, in codel_should_drop() argument 230 vars->first_above_time = 0; in codel_should_drop() 234 vars->ldelay = now - codel_get_enqueue_time(skb); in codel_should_drop() 240 if (codel_time_before(vars->ldelay, params->target) || in codel_should_drop() [all …]
|
/linux-4.1.27/net/sched/ |
D | sch_pie.c | 74 struct pie_vars vars; member 90 static void pie_vars_init(struct pie_vars *vars) in pie_vars_init() argument 92 vars->dq_count = DQCOUNT_INVALID; in pie_vars_init() 93 vars->avg_dq_rate = 0; in pie_vars_init() 95 vars->burst_time = PSCHED_NS2TICKS(100 * NSEC_PER_MSEC); in pie_vars_init() 102 u32 local_prob = q->vars.prob; in drop_early() 106 if (q->vars.burst_time > 0) in drop_early() 112 if ((q->vars.qdelay < q->params.target / 2) in drop_early() 113 && (q->vars.prob < MAX_PROB / 5)) in drop_early() 128 local_prob = q->vars.prob; in drop_early() [all …]
|
D | sch_codel.c | 58 struct codel_vars vars; member 67 static struct sk_buff *dequeue(struct codel_vars *vars, struct Qdisc *sch) in dequeue() argument 80 skb = codel_dequeue(sch, &q->params, &q->vars, &q->stats, dequeue); in codel_qdisc_dequeue() 168 codel_vars_init(&q->vars); in codel_init() 217 .count = q->vars.count, in codel_dump_stats() 218 .lastcount = q->vars.lastcount, in codel_dump_stats() 220 .ldelay = codel_time_to_us(q->vars.ldelay), in codel_dump_stats() 221 .dropping = q->vars.dropping, in codel_dump_stats() 225 if (q->vars.dropping) { in codel_dump_stats() 226 codel_tdiff_t delta = q->vars.drop_next - codel_get_time(); in codel_dump_stats() [all …]
|
D | sch_choke.c | 59 struct red_vars vars; member 284 q->vars.qavg = red_calc_qavg(p, &q->vars, sch->q.qlen); in choke_enqueue() 285 if (red_is_idling(&q->vars)) in choke_enqueue() 286 red_end_of_idle_period(&q->vars); in choke_enqueue() 289 if (q->vars.qavg <= p->qth_min) in choke_enqueue() 290 q->vars.qcount = -1; in choke_enqueue() 302 if (q->vars.qavg > p->qth_max) { in choke_enqueue() 303 q->vars.qcount = -1; in choke_enqueue() 313 } else if (++q->vars.qcount) { in choke_enqueue() 314 if (red_mark_probability(p, &q->vars, q->vars.qavg)) { in choke_enqueue() [all …]
|
D | sch_red.c | 44 struct red_vars vars; member 65 q->vars.qavg = red_calc_qavg(&q->parms, in red_enqueue() 66 &q->vars, in red_enqueue() 69 if (red_is_idling(&q->vars)) in red_enqueue() 70 red_end_of_idle_period(&q->vars); in red_enqueue() 72 switch (red_action(&q->parms, &q->vars, q->vars.qavg)) { in red_enqueue() 123 if (!red_is_idling(&q->vars)) in red_dequeue() 124 red_start_of_idle_period(&q->vars); in red_dequeue() 150 if (!red_is_idling(&q->vars)) in red_drop() 151 red_start_of_idle_period(&q->vars); in red_drop() [all …]
|
D | sch_gred.c | 44 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() 185 !red_is_idling(&t->tab[i]->vars)) in gred_enqueue() 186 qavg += t->tab[i]->vars.qavg; in gred_enqueue() 197 q->vars.qavg = red_calc_qavg(&q->parms, in gred_enqueue() 198 &q->vars, in gred_enqueue() 201 if (red_is_idling(&q->vars)) in gred_enqueue() [all …]
|
D | sch_sfq.c | 114 struct red_vars vars; member 398 red_set_vars(&slot->vars); in sfq_enqueue() 402 slot->vars.qavg = red_calc_qavg_no_idle_time(q->red_parms, in sfq_enqueue() 403 &slot->vars, in sfq_enqueue() 406 &slot->vars, in sfq_enqueue() 407 slot->vars.qavg)) { in sfq_enqueue() 576 red_set_vars(&slot->vars); in sfq_rehash() 603 slot->vars.qavg = red_calc_qavg(q->red_parms, in sfq_rehash() 604 &slot->vars, in sfq_rehash()
|
D | sch_fq_codel.c | 220 static struct sk_buff *dequeue(struct codel_vars *vars, struct Qdisc *sch) in dequeue() argument 226 flow = container_of(vars, struct fq_codel_flow, cvars); in dequeue()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.c | 220 struct link_vars *vars, u8 notify); 502 static u32 bnx2x_ets_get_min_w_val_nig(const struct link_vars *vars) in bnx2x_ets_get_min_w_val_nig() argument 506 if (vars->link_up) { in bnx2x_ets_get_min_w_val_nig() 507 if (vars->line_speed == SPEED_20000) in bnx2x_ets_get_min_w_val_nig() 574 const struct link_vars *vars) in bnx2x_ets_e3b0_nig_disabled() argument 578 const u32 min_w_val = bnx2x_ets_get_min_w_val_nig(vars); in bnx2x_ets_e3b0_nig_disabled() 749 const struct link_vars *vars) in bnx2x_ets_e3b0_disabled() argument 759 bnx2x_ets_e3b0_nig_disabled(params, vars); in bnx2x_ets_e3b0_disabled() 772 struct link_vars *vars) in bnx2x_ets_disabled() argument 780 bnx2x_status = bnx2x_ets_e3b0_disabled(params, vars); in bnx2x_ets_disabled() [all …]
|
D | bnx2x_link.h | 128 struct link_vars *vars); 130 struct link_vars *vars); 375 int bnx2x_phy_init(struct link_params *params, struct link_vars *vars); 380 int bnx2x_link_reset(struct link_params *params, struct link_vars *vars, 382 int bnx2x_lfa_reset(struct link_params *params, struct link_vars *vars); 384 int bnx2x_link_update(struct link_params *params, struct link_vars *vars); 409 struct link_vars *vars, u8 mode, u32 speed); 421 int bnx2x_test_link(struct link_params *params, struct link_vars *vars, 517 struct link_vars *vars, 523 struct link_vars *vars); [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/ |
D | libcfs_mem.c | 49 cfs_percpt_free(void *vars) in cfs_percpt_free() argument 54 arr = container_of(vars, struct cfs_var_array, va_ptrs[0]); in cfs_percpt_free() 111 cfs_percpt_number(void *vars) in cfs_percpt_number() argument 115 arr = container_of(vars, struct cfs_var_array, va_ptrs[0]); in cfs_percpt_number() 125 cfs_percpt_current(void *vars) in cfs_percpt_current() argument 130 arr = container_of(vars, struct cfs_var_array, va_ptrs[0]); in cfs_percpt_current() 140 cfs_percpt_index(void *vars, int idx) in cfs_percpt_index() argument 144 arr = container_of(vars, struct cfs_var_array, va_ptrs[0]); in cfs_percpt_index() 155 cfs_array_free(void *vars) in cfs_array_free() argument 160 arr = container_of(vars, struct cfs_var_array, va_ptrs[0]); in cfs_array_free()
|
/linux-4.1.27/drivers/misc/altera-stapl/ |
D | altera.c | 240 long *vars = NULL; in altera_execute() local 307 vars = kzalloc(sym_count * sizeof(long), GFP_KERNEL); in altera_execute() 309 if (vars == NULL) in altera_execute() 367 vars[i] = value; in altera_execute() 373 vars[i] = (long)kzalloc(uncomp_size, GFP_KERNEL); in altera_execute() 374 if (vars[i] == 0L) in altera_execute() 383 (u8 *)vars[i], in altera_execute() 394 vars[i] = value + data_sect + (long)p; in altera_execute() 397 vars[i] = value + data_sect; in altera_execute() 414 vars[i] = (long)kzalloc(size, GFP_KERNEL); in altera_execute() [all …]
|
/linux-4.1.27/drivers/parport/ |
D | procfs.c | 258 struct ctl_table vars[12]; member 372 struct ctl_table vars[2]; member 425 struct ctl_table vars[3]; member 459 .child = parport_default_sysctl_table.vars 486 t->vars[i].extra1 = port; in parport_proc_register() 488 t->vars[0].data = &port->spintime; in parport_proc_register() 489 t->vars[5].child = t->device_dir; in parport_proc_register() 492 t->vars[6 + i].extra2 = &port->probe_info[i]; in parport_proc_register() 496 t->port_dir[0].child = t->vars; in parport_proc_register() 536 t->device_dir[0].child = t->vars; in parport_device_proc_register() [all …]
|
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/ |
D | libcfs_private.h | 230 void cfs_percpt_free(void *vars); 231 int cfs_percpt_number(void *vars); 232 void *cfs_percpt_current(void *vars); 233 void *cfs_percpt_index(void *vars, int idx); 235 #define cfs_percpt_for_each(var, i, vars) \ argument 236 for (i = 0; i < cfs_percpt_number(vars) && \ 237 ((var) = (vars)[i]) != NULL; i++) 244 void cfs_array_free(void *vars);
|
/linux-4.1.27/arch/um/os-Linux/ |
D | mem.c | 49 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-4.1.27/drivers/staging/speakup/ |
D | speakup_txprt.c | 32 static struct var_t vars[] = { variable 102 .vars = vars,
|
D | speakup_bns.c | 32 static struct var_t vars[] = { variable 102 .vars = vars,
|
D | speakup_dummy.c | 34 static struct var_t vars[] = { variable 104 .vars = vars,
|
D | speakup_spkout.c | 35 static struct var_t vars[] = { variable 109 .vars = vars,
|
D | speakup_acntsa.c | 35 static struct var_t vars[] = { variable 105 .vars = vars,
|
D | speakup_ltlk.c | 35 static struct var_t vars[] = { variable 117 .vars = vars,
|
D | speakup_audptr.c | 36 static struct var_t vars[] = { variable 110 .vars = vars,
|
D | speakup_soft.c | 46 static struct var_t vars[] = { variable 135 .vars = vars, 165 var = synth_soft.vars; in get_initstring()
|
D | speakup_apollo.c | 40 static struct var_t vars[] = { variable 114 .vars = vars,
|
D | speakup_decext.c | 58 static struct var_t vars[] = { variable 133 .vars = vars,
|
D | speakup_keypc.c | 49 static struct var_t vars[] = { variable 111 .vars = vars,
|
D | speakup_acntpc.c | 50 static struct var_t vars[] = { variable 120 .vars = vars,
|
D | speakup_dectlk.c | 57 static struct var_t vars[] = { variable 134 .vars = vars,
|
D | speakup_dtlk.c | 52 static struct var_t vars[] = { variable 134 .vars = vars,
|
D | speakup_decpc.c | 151 static struct var_t vars[] = { variable 225 .vars = vars,
|
D | synth.c | 404 for (var = synth->vars; in do_synth_init() 433 for (var = synth->vars; var->var_id != MAXVARS; var++) in synth_release()
|
D | spk_types.h | 166 struct var_t *vars; member
|
/linux-4.1.27/Documentation/ABI/testing/ |
D | sysfs-firmware-gsmi | 19 /sys/firmware/gsmi/vars: 22 underlying implementation as /sys/firmware/efi/vars. 23 See Documentation/ABI/*/sysfs-firmware-efi-vars
|
/linux-4.1.27/scripts/kconfig/ |
D | streamline_config.pl | 273 my ($line, %vars) = @_; 282 if (defined($vars{$var})) { 283 $process .= $start . $vars{$var};
|
/linux-4.1.27/tools/perf/Documentation/ |
D | perf-probe.txt | 21 'perf probe' [options] --vars='PROBEPOINT' 76 --vars=:: 81 (Only for --vars) Show external defined variables in addition to local 90 (Only for --vars and --funcs) Set filter. FILTER is a combination of glob 92 Default FILTER is "!__k???tab_* & !__crc_*" for --vars, and "!_*" 151 '$vars' special argument is also available for NAME, it is expanded to the local variables which ca…
|
/linux-4.1.27/drivers/firmware/efi/ |
D | Makefile | 4 obj-$(CONFIG_EFI) += efi.o vars.o reboot.o
|
/linux-4.1.27/tools/perf/util/ |
D | probe-event.h | 96 struct strlist *vars; /* Available variables */ member
|
D | probe-finder.c | 1262 strlist__add(vl->vars, buf); in collect_variables_cb() 1298 vl->vars = strlist__new(true, NULL); in add_available_vars() 1299 if (vl->vars == NULL) in add_available_vars() 1312 if (strlist__empty(vl->vars)) { in add_available_vars() 1313 strlist__delete(vl->vars); in add_available_vars() 1314 vl->vars = NULL; in add_available_vars() 1349 strlist__delete(af.vls[af.nvls].vars); in debuginfo__find_available_vars_at()
|
D | probe-event.c | 859 if (vl->vars) { in show_available_vars_at() 860 strlist__for_each(node, vl->vars) { in show_available_vars_at() 867 strlist__delete(vl->vars); in show_available_vars_at()
|
/linux-4.1.27/Documentation/ABI/stable/ |
D | sysfs-firmware-efi-vars | 1 What: /sys/firmware/efi/vars
|
/linux-4.1.27/Documentation/pti/ |
D | pti_intel_mid.txt | 58 // these two vars used to grab LDISC values from loaded ldisc drivers
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/ |
D | genops.c | 159 struct lprocfs_vars *vars, const char *name, in class_register_type() argument 195 vars, type); in class_register_type()
|
/linux-4.1.27/sound/core/ |
D | pcm_lib.c | 1734 static int vars[] = { in snd_pcm_hw_params_choose() local 1747 for (v = vars; *v != -1; v++) { in snd_pcm_hw_params_choose()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
D | sdio.c | 3346 void *vars, u32 varsz) in brcmf_sdio_download_nvram() argument 3354 err = brcmf_sdiod_ramrw(bus->sdiodev, true, address, vars, varsz); in brcmf_sdio_download_nvram() 3358 else if (!brcmf_sdio_verifymemory(bus->sdiodev, address, vars, varsz)) in brcmf_sdio_download_nvram()
|
/linux-4.1.27/Documentation/ |
D | edac.txt | 713 All inject vars can be read. root permission is needed for write.
|
/linux-4.1.27/Documentation/mtd/ |
D | nand_ecc.txt | 325 we need to adapt the code generation for the fact that rp vars are now
|
/linux-4.1.27/Documentation/RCU/ |
D | RTFP.txt | 1039 https://lkml.org/lkml/2004/5/20/49 (split vars into cachelines)
|