Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddml2_internal_types.h46 struct dml_mode_eval_policy_st *new_policy; member
54 struct dml_mode_eval_policy_st new_policy; member
87 struct dml_mode_eval_policy_st new_policy; member
Ddml2_wrapper.c125 if (p->new_policy != p->cur_policy) in optimize_configuration()
126 *p->new_policy = *p->cur_policy; in optimize_configuration()
196 p->new_policy->ImmediateFlipRequirement[new_surface_index] = dml_immediate_flip_not_required; in optimize_configuration()
215 p->new_policy->ODMUse[0] = dml_odm_use_policy_combine_2to1; in optimize_configuration()
218 p->new_policy->ODMUse[0] = dml_odm_use_policy_combine_4to1; in optimize_configuration()
387 s->optimize_configuration_params.new_policy = &s->new_policy; in dml_mode_support_wrapper()
390 dml2->v20.dml_core_ctx.policy = s->new_policy; in dml_mode_support_wrapper()
401 s->cur_policy = s->new_policy; in dml_mode_support_wrapper()
/linux-6.12.1/mm/
Dutil.c931 int new_policy = -1; in overcommit_policy_handler() local
947 t.data = &new_policy; in overcommit_policy_handler()
949 if (ret || new_policy == -1) in overcommit_policy_handler()
952 mm_compute_batch(new_policy); in overcommit_policy_handler()
953 if (new_policy == OVERCOMMIT_NEVER) in overcommit_policy_handler()
955 sysctl_overcommit_memory = new_policy; in overcommit_policy_handler()
/linux-6.12.1/security/ipe/
Dfs.c137 static ssize_t new_policy(struct file *f, const char __user *data, in new_policy() function
171 .write = new_policy,
/linux-6.12.1/drivers/cpufreq/
Dcpufreq.c1361 bool new_policy; in cpufreq_online() local
1376 new_policy = false; in cpufreq_online()
1381 new_policy = true; in cpufreq_online()
1388 if (!new_policy && cpufreq_driver->online) { in cpufreq_online()
1435 if (new_policy) { in cpufreq_online()
1528 if (new_policy) { in cpufreq_online()
1569 if (new_policy && cpufreq_thermal_control_enabled(cpufreq_driver)) in cpufreq_online()
/linux-6.12.1/Documentation/admin-guide/LSM/
Dipe.rst242 ``new_policy`` node. To deploy a policy, simply cat the file into the
245 cat "$MY_POLICY.p7b" > /sys/kernel/security/ipe/new_policy
280 Similarly, writing to both ``update`` and ``new_policy`` could result in