Searched refs:to_sample (Results 1 – 2 of 2) sorted by relevance
18 #define to_sample(a) ((struct tcf_sample *)a) macro31 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()
107 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()