Home
last modified time | relevance | path

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

/linux-6.1.9/net/netfilter/
Dnfnetlink_cthelper.c289 struct nf_conntrack_expect_policy *new_policy, in nfnl_cthelper_update_policy_one() argument
308 new_policy->max_expected = in nfnl_cthelper_update_policy_one()
310 if (new_policy->max_expected > NF_CT_EXPECT_MAX_CNT) in nfnl_cthelper_update_policy_one()
313 new_policy->timeout = in nfnl_cthelper_update_policy_one()
322 struct nf_conntrack_expect_policy *new_policy; in nfnl_cthelper_update_policy_all() local
326 new_policy = kmalloc_array(helper->expect_class_max + 1, in nfnl_cthelper_update_policy_all()
327 sizeof(*new_policy), GFP_KERNEL); in nfnl_cthelper_update_policy_all()
328 if (!new_policy) in nfnl_cthelper_update_policy_all()
342 &new_policy[i], in nfnl_cthelper_update_policy_all()
351 policy->max_expected = new_policy->max_expected; in nfnl_cthelper_update_policy_all()
[all …]
/linux-6.1.9/mm/
Dutil.c889 int new_policy = -1; in overcommit_policy_handler() local
905 t.data = &new_policy; in overcommit_policy_handler()
907 if (ret || new_policy == -1) in overcommit_policy_handler()
910 mm_compute_batch(new_policy); in overcommit_policy_handler()
911 if (new_policy == OVERCOMMIT_NEVER) in overcommit_policy_handler()
913 sysctl_overcommit_memory = new_policy; in overcommit_policy_handler()
/linux-6.1.9/drivers/cpufreq/
Dcpufreq.c1323 bool new_policy; in cpufreq_online() local
1338 new_policy = false; in cpufreq_online()
1343 new_policy = true; in cpufreq_online()
1350 if (!new_policy && cpufreq_driver->online) { in cpufreq_online()
1393 if (new_policy) { in cpufreq_online()
1486 if (new_policy) { in cpufreq_online()