Home
last modified time | relevance | path

Searched refs:params_new (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/net/sched/
Dact_skbedit.c124 struct tcf_skbedit_params *params_new; in tcf_skbedit_init() local
243 params_new = kzalloc(sizeof(*params_new), GFP_KERNEL); in tcf_skbedit_init()
244 if (unlikely(!params_new)) { in tcf_skbedit_init()
249 params_new->flags = flags; in tcf_skbedit_init()
251 params_new->priority = *priority; in tcf_skbedit_init()
253 params_new->queue_mapping = *queue_mapping; in tcf_skbedit_init()
254 params_new->mapping_mod = mapping_mod; in tcf_skbedit_init()
257 params_new->mark = *mark; in tcf_skbedit_init()
259 params_new->ptype = *ptype; in tcf_skbedit_init()
261 params_new->mask = 0xffffffff; in tcf_skbedit_init()
[all …]
Dact_csum.c50 struct tcf_csum_params *params_new; in tcf_csum_init() local
96 params_new = kzalloc(sizeof(*params_new), GFP_KERNEL); in tcf_csum_init()
97 if (unlikely(!params_new)) { in tcf_csum_init()
101 params_new->update_flags = parm->update_flags; in tcf_csum_init()
105 params_new = rcu_replace_pointer(p->params, params_new, in tcf_csum_init()
111 if (params_new) in tcf_csum_init()
112 kfree_rcu(params_new, rcu); in tcf_csum_init()
Dact_tunnel_key.c365 struct tcf_tunnel_key_params *params_new; in tunnel_key_init() local
525 params_new = kzalloc(sizeof(*params_new), GFP_KERNEL); in tunnel_key_init()
526 if (unlikely(!params_new)) { in tunnel_key_init()
532 params_new->tcft_action = parm->t_action; in tunnel_key_init()
533 params_new->tcft_enc_metadata = metadata; in tunnel_key_init()
537 params_new = rcu_replace_pointer(t->params, params_new, in tunnel_key_init()
540 tunnel_key_release_params(params_new); in tunnel_key_init()