Home
last modified time | relevance | path

Searched refs:to_sample (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/include/net/tc_act/
Dtc_sample.h18 #define to_sample(a) ((struct tcf_sample *)a) macro
31 return to_sample(a)->rate; in tcf_sample_rate()
36 return to_sample(a)->truncate; in tcf_sample_truncate()
41 return to_sample(a)->trunc_size; in tcf_sample_trunc_size()
/linux-6.6.21/net/sched/
Dact_sample.c107 s = to_sample(*a); in tcf_sample_init()
138 struct tcf_sample *s = to_sample(a); in tcf_sample_cleanup()
168 struct tcf_sample *s = to_sample(a); in tcf_sample_act()
205 struct tcf_sample *s = to_sample(a); in tcf_sample_stats_update()
216 struct tcf_sample *s = to_sample(a); in tcf_sample_dump()
263 struct tcf_sample *s = to_sample(a); in tcf_sample_get_group()