Searched refs:gact (Results 1 - 4 of 4) sorted by relevance
/linux-master/net/sched/ |
H A D | act_gate.c | 21 static ktime_t gate_get_time(struct tcf_gate *gact) argument 25 switch (gact->tk_offset) { 29 return ktime_mono_to_any(mono, gact->tk_offset); 35 static void gate_get_start_time(struct tcf_gate *gact, ktime_t *start) argument 37 struct tcf_gate_params *param = &gact->param; 42 now = gate_get_time(gact); 55 static void gate_start_timer(struct tcf_gate *gact, ktime_t start) argument 59 expires = hrtimer_get_expires(&gact->hitimer); 65 hrtimer_start(&gact->hitimer, start, HRTIMER_MODE_ABS_SOFT); 70 struct tcf_gate *gact local 121 struct tcf_gate *gact = to_gate(a); local 278 gate_setup_timer(struct tcf_gate *gact, u64 basetime, enum tk_offsets tko, s32 clockid, bool do_init) argument 312 struct tcf_gate *gact; local 464 struct tcf_gate *gact = to_gate(a); local 507 struct tcf_gate *gact = to_gate(a); local 574 struct tcf_gate *gact = to_gate(a); local [all...] |
H A D | act_gact.c | 26 static int gact_net_rand(struct tcf_gact *gact) argument 29 if (get_random_u32_below(gact->tcfg_pval)) 30 return gact->tcf_action; 31 return gact->tcfg_paction; 34 static int gact_determ(struct tcf_gact *gact) argument 36 u32 pack = atomic_inc_return(&gact->packets); 39 if (pack % gact->tcfg_pval) 40 return gact->tcf_action; 41 return gact->tcfg_paction; 44 typedef int (*g_rand)(struct tcf_gact *gact); 63 struct tcf_gact *gact; local 153 struct tcf_gact *gact = to_gact(a); local 176 struct tcf_gact *gact = to_gact(a); local 189 struct tcf_gact *gact = to_gact(a); local [all...] |
/linux-master/include/net/tc_act/ |
H A D | tc_gact.h | 23 struct tcf_gact *gact; local 28 gact = to_gact(a); 29 if ((!is_ext && gact->tcf_action == act) || 30 (is_ext && TC_ACT_EXT_CMP(gact->tcf_action, act)))
|
/linux-master/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_selftests.c | 1089 struct tcf_gact *gact; local 1114 gact = kcalloc(nk, sizeof(*gact), GFP_KERNEL); 1115 if (!gact) { 1130 actions[i] = (struct tc_action *)&gact[i]; 1131 gact->tcf_action = TC_ACT_SHOT; 1154 kfree(gact);
|
Completed in 125 milliseconds