Home
last modified time | relevance | path

Searched refs:new_policy (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/net/netfilter/
Dnfnetlink_cthelper.c285 struct nf_conntrack_expect_policy *new_policy, in nfnl_cthelper_update_policy_one() argument
304 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() local
322 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 …]
/kernel/linux/linux-5.10/mm/
Dutil.c812 int new_policy = -1; in overcommit_policy_handler() local
828 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()
/kernel/linux/linux-5.10/drivers/cpufreq/
Dcpufreq.c1319 bool new_policy; in cpufreq_online() local
1334 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()