Lines Matching refs:fold
2040 struct cls_fl_filter *fold, in fl_check_assign_mask() argument
2058 if (fold) { in fl_check_assign_mask()
2073 } else if (fold && fold->mask != fnew->mask) { in fl_check_assign_mask()
2128 struct cls_fl_filter *fold, in fl_ht_insert_unique() argument
2142 return fold && err == -EEXIST ? 0 : err; in fl_ht_insert_unique()
2157 struct cls_fl_filter *fold = *arg; in fl_change() local
2186 if (fold && handle && fold->handle != handle) { in fl_change()
2209 if (!fold) { in fl_change()
2248 err = fl_check_assign_mask(head, fnew, fold, mask); in fl_change()
2252 err = fl_ht_insert_unique(fnew, fold, &in_ht); in fl_change()
2275 if (fold) { in fl_change()
2277 if (fold->deleted) { in fl_change()
2297 rhashtable_remove_fast(&fold->mask->ht, in fl_change()
2298 &fold->ht_node, in fl_change()
2299 fold->mask->filter_ht_params); in fl_change()
2301 list_replace_rcu(&fold->list, &fnew->list); in fl_change()
2302 fold->deleted = true; in fl_change()
2306 fl_mask_put(head, fold->mask); in fl_change()
2307 if (!tc_skip_hw(fold->flags)) in fl_change()
2308 fl_hw_destroy_filter(tp, fold, rtnl_held, NULL); in fl_change()
2309 tcf_unbind_filter(tp, &fold->res); in fl_change()
2313 refcount_dec(&fold->refcnt); in fl_change()
2314 __fl_put(fold); in fl_change()
2349 if (fold) in fl_change()
2350 __fl_put(fold); in fl_change()