Lines Matching refs:fold
1869 struct cls_fl_filter *fold,
1887 if (fold) {
1902 } else if (fold && fold->mask != fnew->mask) {
1956 struct cls_fl_filter *fold,
1970 return fold && err == -EEXIST ? 0 : err;
1984 struct cls_fl_filter *fold = *arg;
2013 if (fold && handle && fold->handle != handle) {
2044 err = fl_check_assign_mask(head, fnew, fold, mask);
2048 err = fl_ht_insert_unique(fnew, fold, &in_ht);
2071 if (fold) {
2073 if (fold->deleted) {
2093 rhashtable_remove_fast(&fold->mask->ht,
2094 &fold->ht_node,
2095 fold->mask->filter_ht_params);
2097 list_replace_rcu(&fold->list, &fnew->list);
2098 fold->deleted = true;
2102 fl_mask_put(head, fold->mask);
2103 if (!tc_skip_hw(fold->flags))
2104 fl_hw_destroy_filter(tp, fold, rtnl_held, NULL);
2105 tcf_unbind_filter(tp, &fold->res);
2106 /* Caller holds reference to fold, so refcnt is always > 0
2109 refcount_dec(&fold->refcnt);
2110 __fl_put(fold);
2164 if (fold)
2165 __fl_put(fold);