Lines Matching refs:parms
39 struct tcf_connmark_parms *parms; in tcf_connmark_act() local
47 parms = rcu_dereference_bh(ca->parms); in tcf_connmark_act()
72 if (!nf_ct_get_tuplepr(skb, skb_network_offset(skb), proto, parms->net, in tcf_connmark_act()
76 zone.id = parms->zone; in tcf_connmark_act()
79 thash = nf_conntrack_find_get(parms->net, &zone, &tuple); in tcf_connmark_act()
91 return parms->action; in tcf_connmark_act()
157 nparms->net = rtnl_dereference(ci->parms)->net; in tcf_connmark_init()
174 oparms = rcu_replace_pointer(ci->parms, nparms, lockdep_is_held(&ci->tcf_lock)); in tcf_connmark_init()
197 const struct tcf_connmark_parms *parms; in tcf_connmark_dump() local
206 parms = rcu_dereference(ci->parms); in tcf_connmark_dump()
208 opt.action = parms->action; in tcf_connmark_dump()
209 opt.zone = parms->zone; in tcf_connmark_dump()
230 struct tcf_connmark_parms *parms; in tcf_connmark_cleanup() local
232 parms = rcu_dereference_protected(ci->parms, 1); in tcf_connmark_cleanup()
233 if (parms) in tcf_connmark_cleanup()
234 kfree_rcu(parms, rcu); in tcf_connmark_cleanup()