Home
last modified time | relevance | path

Searched refs:psample_group (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/net/sched/
Dact_sample.c43 struct psample_group *psample_group; in tcf_sample_init() local
93 psample_group = psample_group_get(net, psample_group_num); in tcf_sample_init()
94 if (!psample_group) { in tcf_sample_init()
105 psample_group = rcu_replace_pointer(s->psample_group, psample_group, in tcf_sample_init()
114 if (psample_group) in tcf_sample_init()
115 psample_group_put(psample_group); in tcf_sample_init()
131 struct psample_group *psample_group; in tcf_sample_cleanup() local
134 psample_group = rcu_dereference_protected(s->psample_group, 1); in tcf_sample_cleanup()
135 RCU_INIT_POINTER(s->psample_group, NULL); in tcf_sample_cleanup()
136 if (psample_group) in tcf_sample_cleanup()
[all …]
Dcls_api.c3533 entry->sample.psample_group = in tcf_sample_get_group()
3535 entry->destructor_priv = entry->sample.psample_group; in tcf_sample_get_group()
/kernel/linux/linux-5.10/include/net/
Dpsample.h8 struct psample_group { struct
17 struct psample_group *psample_group_get(struct net *net, u32 group_num); argument
18 void psample_group_take(struct psample_group *group);
19 void psample_group_put(struct psample_group *group);
25 void psample_sample_packet(struct psample_group *group, struct sk_buff *skb,
31 static inline void psample_sample_packet(struct psample_group *group, in psample_sample_packet()
Dflow_offload.h228 struct psample_group *psample_group; member
Dact_api.h113 struct psample_group *
/kernel/linux/linux-5.10/net/psample/
Dpsample.c39 struct psample_group *group, in psample_group_nl_fill()
73 struct psample_group *group; in psample_nl_cmd_get_group_dumpit()
120 static void psample_group_notify(struct psample_group *group, in psample_group_notify()
138 static struct psample_group *psample_group_create(struct net *net, in psample_group_create()
141 struct psample_group *group; in psample_group_create()
155 static void psample_group_destroy(struct psample_group *group) in psample_group_destroy()
162 static struct psample_group *
165 struct psample_group *group; in psample_group_lookup()
173 struct psample_group *psample_group_get(struct net *net, u32 group_num) in psample_group_get()
175 struct psample_group *group; in psample_group_get()
[all …]
/kernel/linux/linux-5.10/include/net/tc_act/
Dtc_sample.h14 struct psample_group __rcu *psample_group; member
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_matchall.c258 mall_entry->sample.psample_group = act->sample.psample_group; in mlxsw_sp_mall_replace()
Dspectrum.h236 struct psample_group *psample_group; member
Dspectrum.c2183 psample_sample_packet(sample->psample_group, skb, size, in mlxsw_sp_sample_receive()