Searched refs:policy (Results 126 - 150 of 505) sorted by relevance

1234567891011>>

/linux-master/include/acpi/
H A Dprocessor.h318 void acpi_processor_ppc_init(struct cpufreq_policy *policy);
319 void acpi_processor_ppc_exit(struct cpufreq_policy *policy);
327 static inline void acpi_processor_ppc_init(struct cpufreq_policy *policy) argument
331 static inline void acpi_processor_ppc_exit(struct cpufreq_policy *policy) argument
450 void acpi_thermal_cpufreq_init(struct cpufreq_policy *policy);
451 void acpi_thermal_cpufreq_exit(struct cpufreq_policy *policy);
453 static inline void acpi_thermal_cpufreq_init(struct cpufreq_policy *policy) argument
457 static inline void acpi_thermal_cpufreq_exit(struct cpufreq_policy *policy) argument
/linux-master/block/
H A Dblk-flush.c105 unsigned int policy = 0; local
108 policy |= REQ_FSEQ_DATA;
112 policy |= REQ_FSEQ_PREFLUSH;
115 policy |= REQ_FSEQ_POSTFLUSH;
117 return policy;
400 unsigned int policy = blk_flush_policy(fflags, rq); local
407 * @policy now records what operations need to be done. Adjust
421 switch (policy) {
456 blk_flush_complete_seq(rq, fq, REQ_FSEQ_ACTIONS & ~policy, 0);
/linux-master/tools/testing/selftests/kvm/include/x86_64/
H A Dsev.h30 void sev_vm_launch(struct kvm_vm *vm, uint32_t policy);
34 struct kvm_vm *vm_sev_create_with_one_vcpu(uint32_t policy, void *guest_code,
/linux-master/drivers/net/wireless/st/cw1200/
H A Dtxrx.c45 /* TX policy cache implementation */
47 static void tx_policy_dump(struct tx_policy *policy) argument
49 pr_debug("[TX policy] %.1X%.1X%.1X%.1X%.1X%.1X%.1X%.1X %.1X%.1X%.1X%.1X%.1X%.1X%.1X%.1X %.1X%.1X%.1X%.1X%.1X%.1X%.1X%.1X: %d\n",
50 policy->raw[0] & 0x0F, policy->raw[0] >> 4,
51 policy->raw[1] & 0x0F, policy->raw[1] >> 4,
52 policy->raw[2] & 0x0F, policy->raw[2] >> 4,
53 policy
65 tx_policy_build(const struct cw1200_common *priv, struct tx_policy *policy, struct ieee80211_tx_rate *rates, size_t count) argument
[all...]
/linux-master/fs/crypto/
H A Dhooks.c22 * encryption policy. This is needed as part of the enforcement that all files
23 * in an encrypted directory tree use the same encryption policy, as a
125 * the encryption policy is unsupported by this kernel; that is treated
174 * if the directory uses a v2 encryption policy.
222 const union fscrypt_policy *policy; local
227 * the encryption policy which will be inherited from the directory.
229 policy = fscrypt_policy_to_inherit(dir);
230 if (policy == NULL) {
238 if (IS_ERR(policy))
239 return PTR_ERR(policy);
[all...]
H A Dkeysetup.c82 select_encryption_mode(const union fscrypt_policy *policy, argument
88 return &fscrypt_modes[fscrypt_policy_contents_mode(policy)];
91 return &fscrypt_modes[fscrypt_policy_fnames_mode(policy)];
394 * If the file uses a v1 encryption policy, then the master key must be at least
556 const union fscrypt_policy *policy,
574 crypt_info->ci_policy = *policy;
628 * @allow_unsupported: if %true, treat an unsupported encryption policy (or
647 union fscrypt_policy policy; local
660 res = fscrypt_policy_from_context(&policy, &ctx, res);
669 if (!fscrypt_supported_policy(&policy, inod
555 fscrypt_setup_encryption_info(struct inode *inode, const union fscrypt_policy *policy, const u8 nonce[FSCRYPT_FILE_NONCE_SIZE], bool need_dirhash_key) argument
711 const union fscrypt_policy *policy; local
[all...]
/linux-master/tools/testing/selftests/netfilter/
H A Dnft_queue.sh101 type filter hook prerouting priority $prio; policy accept;
105 type filter hook input priority $prio; policy accept;
109 type filter hook forward priority $prio; policy accept;
114 type filter hook output priority $prio; policy accept;
120 type filter hook postrouting priority $prio; policy accept;
133 type filter hook prerouting priority $prio; policy accept;
137 type filter hook input priority $prio; policy accept;
141 type filter hook forward priority $prio; policy accept;
145 type filter hook output priority $prio; policy accept;
149 type filter hook postrouting priority $prio; policy accep
[all...]
/linux-master/drivers/clk/bcm/
H A Dclk-kona-setup.c20 struct ccu_policy *ccu_policy = &ccu->policy;
27 pr_err("%s: bad policy enable offset for %s "
33 pr_err("%s: bad policy control offset for %s "
72 struct bcm_clk_policy *policy; local
90 policy = &peri->policy;
91 if (policy_exists(policy)) {
92 if (policy->offset > limit) {
93 pr_err("%s: bad policy offset for %s (%u > %u)\n",
94 __func__, name, policy
231 policy_valid(struct bcm_clk_policy *policy, const char *clock_name) argument
395 struct bcm_clk_policy *policy; local
[all...]
H A Dclk-iproc-armpll.c69 unsigned int policy, fid, active_fid; local
73 policy = val & IPROC_CLK_ARM_DIV_ARM_PLL_SELECT_MASK;
75 policy = 0;
78 BUG_ON(policy > IPROC_CLK_MAX_FREQ_POLICY);
81 fid = (val >> (IPROC_CLK_POLICY_FREQ_POLICY_FREQ_SHIFT * policy)) &
/linux-master/tools/testing/selftests/net/
H A Dl2tp.sh228 run_cmd $host_1 ip xfrm policy add \
232 run_cmd $host_1 ip xfrm policy add \
236 run_cmd $host_2 ip xfrm policy add \
240 run_cmd $host_2 ip xfrm policy add \
267 run_cmd $host_1 ip -6 xfrm policy add \
271 run_cmd $host_1 ip -6 xfrm policy add \
275 run_cmd $host_2 ip -6 xfrm policy add \
279 run_cmd $host_2 ip -6 xfrm policy add \
307 run_cmd $host_1 ip xfrm policy flush
309 run_cmd $host_2 ip xfrm policy flus
[all...]
/linux-master/drivers/cpufreq/
H A Dlonghaul.c245 static int longhaul_setstate(struct cpufreq_policy *policy, argument
619 static int longhaul_target(struct cpufreq_policy *policy, argument
628 retval = longhaul_setstate(policy, table_index);
643 retval = longhaul_setstate(policy, i);
652 retval = longhaul_setstate(policy, table_index);
759 static int longhaul_cpu_init(struct cpufreq_policy *policy) argument
896 policy->transition_delay_us = 200000; /* usec */
897 policy->freq_table = longhaul_table;
953 struct cpufreq_policy *policy = cpufreq_cpu_get(0); local
960 freqs.old = policy
[all...]
H A Dpmac32-cpufreq.c333 static int do_set_cpu_speed(struct cpufreq_policy *policy, int speed_mode) argument
363 static int pmac_cpufreq_target( struct cpufreq_policy *policy, argument
368 rc = do_set_cpu_speed(policy, index);
374 static int pmac_cpufreq_cpu_init(struct cpufreq_policy *policy) argument
376 cpufreq_generic_init(policy, pmac_cpu_freqs, transition_latency);
397 static int pmac_cpufreq_suspend(struct cpufreq_policy *policy) argument
409 do_set_cpu_speed(policy, CPUFREQ_HIGH);
413 static int pmac_cpufreq_resume(struct cpufreq_policy *policy) argument
425 do_set_cpu_speed(policy, sleep_freq == low_freq ?
H A Dspeedstep-smi.c215 * speedstep_target - set a new CPUFreq policy
216 * @policy: new policy
219 * Sets a new CPUFreq policy/freq.
221 static int speedstep_target(struct cpufreq_policy *policy, unsigned int index) argument
229 static int speedstep_cpu_init(struct cpufreq_policy *policy) argument
235 if (policy->cpu != 0)
267 policy->freq_table = speedstep_freqs;
280 static int speedstep_resume(struct cpufreq_policy *policy) argument
H A Dmaple-cpufreq.c130 static int maple_cpufreq_target(struct cpufreq_policy *policy, argument
141 static int maple_cpufreq_cpu_init(struct cpufreq_policy *policy) argument
143 cpufreq_generic_init(policy, maple_cpu_freqs, 12000);
H A Dkirkwood-cpufreq.c50 static int kirkwood_cpufreq_target(struct cpufreq_policy *policy, argument
86 static int kirkwood_cpufreq_cpu_init(struct cpufreq_policy *policy) argument
88 cpufreq_generic_init(policy, kirkwood_freq_table, 5000);
H A Dimx-cpufreq-dt.c55 static unsigned int imx7ulp_get_intermediate(struct cpufreq_policy *policy, argument
61 static int imx7ulp_target_intermediate(struct cpufreq_policy *policy, argument
64 unsigned int newfreq = policy->freq_table[index].frequency;
/linux-master/include/net/
H A Dgenetlink.h35 * @policy: netlink policy
63 * Attribute policies (the combination of @policy and @maxattr fields)
65 * If both are present the per-operation policy takes precedence.
66 * For operations before @resv_start_op lack of policy means that the core
68 * if policy is not provided core will reject all TLV attributes.
82 const struct nla_policy *policy; member in struct:genl_family
194 * @policy: netlink policy (takes precedence over family policy)
208 const struct nla_policy *policy; member in struct:genl_ops
260 const struct nla_policy *policy; member in struct:genl_split_ops
375 genlmsg_parse_deprecated(const struct nlmsghdr *nlh, const struct genl_family *family, struct nlattr *tb[], int maxtype, const struct nla_policy *policy, struct netlink_ext_ack *extack) argument
394 genlmsg_parse(const struct nlmsghdr *nlh, const struct genl_family *family, struct nlattr *tb[], int maxtype, const struct nla_policy *policy, struct netlink_ext_ack *extack) argument
[all...]
/linux-master/security/safesetid/
H A Dlsm.c32 /* Compute a decision for a transition from @src to @dst under @policy. */
33 enum sid_policy_type _setid_policy_lookup(struct setid_ruleset *policy, argument
39 if (policy->type == UID) {
40 hash_for_each_possible(policy->rules, rule, next, __kuid_val(src.uid)) {
47 } else if (policy->type == GID) {
48 hash_for_each_possible(policy->rules, rule, next, __kgid_val(src.gid)) {
65 * policy.
111 * If no policy applies to this task, allow the use of CAP_SETUID for
125 * If no policy applies to this task, allow the use of CAP_SETGID for
165 * Transitions to new UIDs require a check against the policy o
[all...]
/linux-master/drivers/cxl/
H A Dpci.c654 struct cxl_event_interrupt_policy *policy)
658 .payload_out = policy,
659 .size_out = sizeof(*policy),
666 "Failed to get event interrupt policy : %d", rc);
672 struct cxl_event_interrupt_policy *policy)
677 *policy = (struct cxl_event_interrupt_policy) {
686 .payload_in = policy,
687 .size_in = sizeof(*policy),
692 dev_err(mds->cxlds.dev, "Failed to set event interrupt policy : %d",
698 return cxl_event_get_int_policy(mds, policy);
653 cxl_event_get_int_policy(struct cxl_memdev_state *mds, struct cxl_event_interrupt_policy *policy) argument
671 cxl_event_config_msgnums(struct cxl_memdev_state *mds, struct cxl_event_interrupt_policy *policy) argument
704 struct cxl_event_interrupt_policy policy; local
748 struct cxl_event_interrupt_policy policy; local
[all...]
/linux-master/drivers/acpi/
H A Dprocessor_driver.c242 struct cpufreq_policy *policy = data; local
245 acpi_thermal_cpufreq_init(policy);
246 acpi_processor_ppc_init(policy);
248 acpi_processor_ppc_exit(policy);
249 acpi_thermal_cpufreq_exit(policy);
/linux-master/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddisplay_mode_util.c327 void dml_print_dml_policy(const struct dml_mode_eval_policy_st *policy) argument
331 dml_print("DML: Policy: UseUnboundedRequesting = 0x%x\n", policy->UseUnboundedRequesting);
332 dml_print("DML: Policy: UseMinimumRequiredDCFCLK = 0x%x\n", policy->UseMinimumRequiredDCFCLK);
333 dml_print("DML: Policy: DRAMClockChangeRequirementFinal = 0x%x\n", policy->DRAMClockChangeRequirementFinal);
334 dml_print("DML: Policy: FCLKChangeRequirementFinal = 0x%x\n", policy->FCLKChangeRequirementFinal);
335 dml_print("DML: Policy: USRRetrainingRequiredFinal = 0x%x\n", policy->USRRetrainingRequiredFinal);
336 dml_print("DML: Policy: EnhancedPrefetchScheduleAccelerationFinal = 0x%x\n", policy->EnhancedPrefetchScheduleAccelerationFinal);
337 dml_print("DML: Policy: NomDETInKByteOverrideEnable = 0x%x\n", policy->NomDETInKByteOverrideEnable);
338 dml_print("DML: Policy: NomDETInKByteOverrideValue = 0x%x\n", policy->NomDETInKByteOverrideValue);
339 dml_print("DML: Policy: DCCProgrammingAssumesScanDirectionUnknownFinal = 0x%x\n", policy
[all...]
/linux-master/drivers/net/wireless/ti/wlcore/
H A Dvendor_cmd.c160 .policy = wlcore_vendor_attr_policy,
170 .policy = wlcore_vendor_attr_policy,
180 .policy = wlcore_vendor_attr_policy,
/linux-master/tools/lib/bpf/
H A Dnlattr.h23 * Standard attribute types to specify validation policy
42 * Attribute validation policy.
124 int len, struct libbpf_nla_policy *policy);
127 struct libbpf_nla_policy *policy);
/linux-master/security/apparmor/
H A Dipc.c16 #include "include/policy.h"
95 state = aa_dfa_next(rules->policy->dfa,
96 rules->policy->start[AA_CLASS_SIGNAL],
/linux-master/drivers/net/
H A Dnetkit.c22 enum netkit_action policy; member in struct:netkit
68 enum netkit_action ret = READ_ONCE(nk->policy);
268 static int netkit_check_policy(int policy, struct nlattr *tb, argument
271 switch (policy) {
277 "Provided default xmit policy not supported");
389 nk->policy = default_peer;
414 nk->policy = default_prim;
838 enum netkit_action policy; local
862 policy = nla_get_u32(attr);
863 err = netkit_check_policy(policy, att
[all...]

Completed in 330 milliseconds

1234567891011>>