Lines Matching refs:parms
147 struct tcf_pedit_parms *parms = in tcf_pedit_cleanup_rcu() local
150 kfree(parms->tcfp_keys_ex); in tcf_pedit_cleanup_rcu()
151 kfree(parms->tcfp_keys); in tcf_pedit_cleanup_rcu()
153 kfree(parms); in tcf_pedit_cleanup_rcu()
285 oparms = rcu_replace_pointer(p->parms, nparms, 1); in tcf_pedit_init()
313 struct tcf_pedit_parms *parms; in tcf_pedit_cleanup() local
315 parms = rcu_dereference_protected(p->parms, 1); in tcf_pedit_cleanup()
317 if (parms) in tcf_pedit_cleanup()
318 call_rcu(&parms->rcu, tcf_pedit_cleanup_rcu); in tcf_pedit_cleanup()
394 struct tcf_pedit_parms *parms; in tcf_pedit_act() local
399 parms = rcu_dereference_bh(p->parms); in tcf_pedit_act()
404 parms->tcfp_off_max_hint; in tcf_pedit_act()
411 tkey = parms->tcfp_keys; in tcf_pedit_act()
412 tkey_ex = parms->tcfp_keys_ex; in tcf_pedit_act()
414 for (i = parms->tcfp_nkeys; i > 0; i--, tkey++) { in tcf_pedit_act()
504 struct tcf_pedit_parms *parms; in tcf_pedit_dump() local
510 parms = rcu_dereference_protected(p->parms, 1); in tcf_pedit_dump()
511 s = struct_size(opt, keys, parms->tcfp_nkeys); in tcf_pedit_dump()
519 memcpy(opt->keys, parms->tcfp_keys, in tcf_pedit_dump()
520 flex_array_size(opt, keys, parms->tcfp_nkeys)); in tcf_pedit_dump()
522 opt->nkeys = parms->tcfp_nkeys; in tcf_pedit_dump()
523 opt->flags = parms->tcfp_flags; in tcf_pedit_dump()
528 if (parms->tcfp_keys_ex) { in tcf_pedit_dump()
529 if (tcf_pedit_key_ex_dump(skb, parms->tcfp_keys_ex, in tcf_pedit_dump()
530 parms->tcfp_nkeys)) in tcf_pedit_dump()