Lines Matching refs:cp_new
164 struct tcf_ctinfo_params *cp_new; in tcf_ctinfo_init() local
238 cp_new = kzalloc(sizeof(*cp_new), GFP_KERNEL); in tcf_ctinfo_init()
239 if (unlikely(!cp_new)) { in tcf_ctinfo_init()
244 cp_new->net = net; in tcf_ctinfo_init()
245 cp_new->zone = tb[TCA_CTINFO_ZONE] ? in tcf_ctinfo_init()
248 cp_new->dscpmask = dscpmask; in tcf_ctinfo_init()
249 cp_new->dscpmaskshift = dscpmaskshift; in tcf_ctinfo_init()
250 cp_new->dscpstatemask = dscpstatemask; in tcf_ctinfo_init()
251 cp_new->mode |= CTINFO_MODE_DSCP; in tcf_ctinfo_init()
255 cp_new->cpmarkmask = in tcf_ctinfo_init()
257 cp_new->mode |= CTINFO_MODE_CPMARK; in tcf_ctinfo_init()
262 cp_new = rcu_replace_pointer(ci->params, cp_new, in tcf_ctinfo_init()
268 if (cp_new) in tcf_ctinfo_init()
269 kfree_rcu(cp_new, rcu); in tcf_ctinfo_init()