Searched refs:new_policy (Results 1 – 7 of 7) sorted by relevance
289 struct nf_conntrack_expect_policy *new_policy, in nfnl_cthelper_update_policy_one() argument308 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() local326 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 …]
46 struct dml_mode_eval_policy_st *new_policy; member54 struct dml_mode_eval_policy_st new_policy; member87 struct dml_mode_eval_policy_st new_policy; member
125 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()
931 int new_policy = -1; in overcommit_policy_handler() local947 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()
137 static ssize_t new_policy(struct file *f, const char __user *data, in new_policy() function171 .write = new_policy,
1361 bool new_policy; in cpufreq_online() local1376 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()
242 ``new_policy`` node. To deploy a policy, simply cat the file into the245 cat "$MY_POLICY.p7b" > /sys/kernel/security/ipe/new_policy280 Similarly, writing to both ``update`` and ``new_policy`` could result in