Lines Matching refs:cp_new
165 struct tcf_ctinfo_params *cp_new; in tcf_ctinfo_init() local
239 cp_new = kzalloc(sizeof(*cp_new), GFP_KERNEL); in tcf_ctinfo_init()
240 if (unlikely(!cp_new)) { in tcf_ctinfo_init()
245 cp_new->net = net; in tcf_ctinfo_init()
246 cp_new->zone = tb[TCA_CTINFO_ZONE] ? in tcf_ctinfo_init()
249 cp_new->dscpmask = dscpmask; in tcf_ctinfo_init()
250 cp_new->dscpmaskshift = dscpmaskshift; in tcf_ctinfo_init()
251 cp_new->dscpstatemask = dscpstatemask; in tcf_ctinfo_init()
252 cp_new->mode |= CTINFO_MODE_DSCP; in tcf_ctinfo_init()
256 cp_new->cpmarkmask = in tcf_ctinfo_init()
258 cp_new->mode |= CTINFO_MODE_CPMARK; in tcf_ctinfo_init()
263 cp_new = rcu_replace_pointer(ci->params, cp_new, in tcf_ctinfo_init()
269 if (cp_new) in tcf_ctinfo_init()
270 kfree_rcu(cp_new, rcu); in tcf_ctinfo_init()