Searched refs:new_policy (Results 1 – 3 of 3) sorted by relevance
285 struct nf_conntrack_expect_policy *new_policy, in nfnl_cthelper_update_policy_one() argument304 new_policy->max_expected = in nfnl_cthelper_update_policy_one()306 if (new_policy->max_expected > NF_CT_EXPECT_MAX_CNT) in nfnl_cthelper_update_policy_one()309 new_policy->timeout = in nfnl_cthelper_update_policy_one()318 struct nf_conntrack_expect_policy *new_policy; in nfnl_cthelper_update_policy_all() local322 new_policy = kmalloc_array(helper->expect_class_max + 1, in nfnl_cthelper_update_policy_all()323 sizeof(*new_policy), GFP_KERNEL); in nfnl_cthelper_update_policy_all()324 if (!new_policy) in nfnl_cthelper_update_policy_all()338 &new_policy[i], in nfnl_cthelper_update_policy_all()347 policy->max_expected = new_policy->max_expected; in nfnl_cthelper_update_policy_all()[all …]
812 int new_policy = -1; in overcommit_policy_handler() local828 t.data = &new_policy; in overcommit_policy_handler()830 if (ret || new_policy == -1) in overcommit_policy_handler()833 mm_compute_batch(new_policy); in overcommit_policy_handler()834 if (new_policy == OVERCOMMIT_NEVER) in overcommit_policy_handler()836 sysctl_overcommit_memory = new_policy; in overcommit_policy_handler()
1319 bool new_policy; in cpufreq_online() local1334 new_policy = false; in cpufreq_online()1340 new_policy = true; in cpufreq_online()1346 if (!new_policy && cpufreq_driver->online) { in cpufreq_online()1390 if (new_policy) { in cpufreq_online()1480 if (new_policy) { in cpufreq_online()