Lines Matching refs:params
278 static int tcf_ct_flow_table_get(struct tcf_ct_params *params)
284 ct_ft = rhashtable_lookup_fast(&zones_ht, ¶ms->zone, zones_params);
293 ct_ft->zone = params->zone;
306 params->ct_ft = ct_ft;
307 params->nf_ft = &ct_ft->nf_ft;
344 static void tcf_ct_flow_table_put(struct tcf_ct_params *params)
346 struct tcf_ct_flow_table *ct_ft = params->ct_ft;
348 if (refcount_dec_and_test(¶ms->ct_ft->ref)) {
750 struct tcf_ct_params *params = container_of(head,
753 tcf_ct_flow_table_put(params);
755 if (params->tmpl)
756 nf_conntrack_put(¶ms->tmpl->ct_general);
757 kfree(params);
945 p = rcu_dereference_bh(c->params);
1234 struct tcf_ct_params *params = NULL;
1284 params = kzalloc(sizeof(*params), GFP_KERNEL);
1285 if (unlikely(!params)) {
1290 err = tcf_ct_fill_params(net, params, parm, tb, extack);
1294 err = tcf_ct_flow_table_get(params);
1300 params = rcu_replace_pointer(c->params, params,
1306 if (params)
1307 call_rcu(¶ms->rcu, tcf_ct_params_free);
1312 if (params->tmpl)
1313 nf_ct_put(params->tmpl);
1317 kfree(params);
1324 struct tcf_ct_params *params;
1327 params = rcu_dereference_protected(c->params, 1);
1328 if (params)
1329 call_rcu(¶ms->rcu, tcf_ct_params_free);
1410 p = rcu_dereference_protected(c->params,