Lines Matching refs:new
191 struct cls_mall_head *new; in mall_change() local
212 new = kzalloc(sizeof(*new), GFP_KERNEL); in mall_change()
213 if (!new) in mall_change()
216 err = tcf_exts_init(&new->exts, net, TCA_MATCHALL_ACT, 0); in mall_change()
222 new->handle = handle; in mall_change()
223 new->flags = flags; in mall_change()
224 new->pf = alloc_percpu(struct tc_matchall_pcnt); in mall_change()
225 if (!new->pf) { in mall_change()
230 err = mall_set_parms(net, tp, new, base, tb, tca[TCA_RATE], ovr, in mall_change()
235 if (!tc_skip_hw(new->flags)) { in mall_change()
236 err = mall_replace_hw_filter(tp, new, (unsigned long)new, in mall_change()
242 if (!tc_in_hw(new->flags)) in mall_change()
243 new->flags |= TCA_CLS_FLAGS_NOT_IN_HW; in mall_change()
246 rcu_assign_pointer(tp->root, new); in mall_change()
251 free_percpu(new->pf); in mall_change()
253 tcf_exts_destroy(&new->exts); in mall_change()
255 kfree(new); in mall_change()