Searched refs:policy (Results 176 - 200 of 505) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/net/
H A Dvrf-xfrm-tests.sh195 for x in state policy
212 # policy
216 ip -netns $host1 xfrm policy add \
221 ip -netns $host2 xfrm policy add \
226 ip -netns $host1 xfrm policy add \
231 ip -netns $host2 xfrm policy add \
237 ip -6 -netns $host1 xfrm policy add \
242 ip -6 -netns $host2 xfrm policy add \
247 ip -6 -netns $host1 xfrm policy add \
252 ip -6 -netns $host2 xfrm policy ad
[all...]
/linux-master/kernel/power/
H A Denergy_model.c460 struct cpufreq_policy *policy; local
470 dev_warn(dev, "EM: No online CPU for CPUFreq policy\n");
474 policy = cpufreq_cpu_get(cpu);
475 if (!policy) {
476 dev_warn(dev, "EM: Access to CPUFreq policy failed\n");
484 if (!cpufreq_table_set_inefficient(policy, table[i].frequency))
488 cpufreq_cpu_put(policy);
541 * obligatory. It can be taken from i.e. 'policy->cpus'. For other
740 struct cpufreq_policy *policy; local
747 policy
[all...]
/linux-master/lib/
H A Dnlattr.c54 * policy in some cases, and userspace could try to
61 const struct nla_policy *policy,
90 const struct nla_policy *policy,
104 NL_SET_ERR_MSG_ATTR_POL(extack, entry, policy,
110 maxtype, policy, validate, extack,
394 const struct nla_policy *policy, unsigned int validate,
397 u16 strict_start_type = policy[0].strict_start_type;
409 pt = &policy[type];
600 "Attribute failed policy validation");
605 const struct nla_policy *policy,
89 nla_validate_array(const struct nlattr *head, int len, int maxtype, const struct nla_policy *policy, struct netlink_ext_ack *extack, unsigned int validate, unsigned int depth) argument
393 validate_nla(const struct nlattr *nla, int maxtype, const struct nla_policy *policy, unsigned int validate, struct netlink_ext_ack *extack, unsigned int depth) argument
604 __nla_validate_parse(const struct nlattr *head, int len, int maxtype, const struct nla_policy *policy, unsigned int validate, struct netlink_ext_ack *extack, struct nlattr **tb, unsigned int depth) argument
673 __nla_validate(const struct nlattr *head, int len, int maxtype, const struct nla_policy *policy, unsigned int validate, struct netlink_ext_ack *extack) argument
727 __nla_parse(struct nlattr **tb, int maxtype, const struct nlattr *head, int len, const struct nla_policy *policy, unsigned int validate, struct netlink_ext_ack *extack) argument
[all...]
/linux-master/security/apparmor/
H A Dpolicy_unpack.c5 * This file contains AppArmor functions for unpacking policy loaded from
11 * AppArmor uses a serialized binary format for loading policy. To find
12 * policy format documentation see Documentation/admin-guide/LSM/apparmor.rst
13 * All policy is validated before it is used.
29 #include "include/policy.h"
52 * audit_iface - do audit message for policy unpacking/load/replace/remove
674 * policy perms are optional, in which case perms are embedded
708 static int unpack_pdb(struct aa_ext *e, struct aa_policydb **policy, argument
778 *policy = pdb;
988 /* generic policy df
[all...]
/linux-master/drivers/cpufreq/
H A Dpowernow-k7.c248 static int powernow_target(struct cpufreq_policy *policy, unsigned int index) argument
593 static int powernow_cpu_init(struct cpufreq_policy *policy) argument
598 if (policy->cpu != 0)
640 policy->cpuinfo.transition_latency =
642 policy->freq_table = powernow_table;
647 static int powernow_cpu_exit(struct cpufreq_policy *policy) argument
/linux-master/tools/testing/selftests/netfilter/
H A Dconntrack_icmp_related.sh137 type filter hook forward priority 0; policy accept;
154 type filter hook input priority 0; policy accept;
174 type filter hook input priority 0; policy accept;
182 type filter hook output priority 0; policy accept;
199 type nat hook postrouting priority 0; policy accept;
205 type nat hook postrouting priority 0; policy accept;
H A Dnft_meta.sh52 type filter hook input priority 0; policy accept;
67 type filter hook output priority 0; policy accept;
H A Dnft_synproxy.sh84 type filter hook prerouting priority -300; policy accept;
89 type filter hook forward priority 0; policy accept;
H A Dnft_nat.sh187 type nat hook output priority 0; policy accept;
262 type nat hook output priority 0; policy accept;
388 type nat hook output priority 0; policy accept;
455 type nat hook postrouting priority 0; policy accept;
556 type nat hook postrouting priority 0; policy accept;
655 type nat hook prerouting priority 0; policy accept;
737 type nat hook prerouting priority 0; policy accept;
842 type filter hook forward priority 0; policy accept;
860 type filter hook prerouting priority -300; policy accept;
864 type filter hook output priority -300; policy accep
[all...]
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dvendor-cmd.c91 .policy = iwl_mvm_vendor_attr_policy,
101 .policy = iwl_mvm_vendor_attr_policy,
/linux-master/tools/testing/selftests/futex/functional/
H A Dfutex_requeue_pi_signal_restart.c50 int policy, int prio)
65 ret = pthread_attr_setschedpolicy(&attr, policy);
49 create_rt_thread(pthread_t *pth, void*(*func)(void *), void *arg, int policy, int prio) argument
/linux-master/tools/testing/selftests/net/forwarding/
H A Dip6_forward_instats_vrf.sh150 # Add a policy to discard
151 ip xfrm policy add dst 2001:1:2::2/128 dir fwd action block
154 ip xfrm policy del dst 2001:1:2::2/128 dir fwd
/linux-master/net/netfilter/
H A Dnft_fib_netdev.c68 .policy = nft_fib_policy,
H A Dnft_redir.c157 .policy = nft_redir_policy,
185 .policy = nft_redir_policy,
214 .policy = nft_redir_policy,
H A Dnft_masq.c154 .policy = nft_masq_policy,
182 .policy = nft_masq_policy,
224 .policy = nft_masq_policy,
/linux-master/drivers/clk/bcm/
H A Dclk-kona.h44 #define policy_exists(policy) ((policy)->offset != 0)
77 * CCU policy control for clocks. Clocks can be enabled or disabled
78 * based on the CCU policy in effect. One bit in each policy mask
79 * register (one per CCU policy) represents whether the clock is
80 * enabled when that policy is effect or not. The CCU policy engine
85 u32 offset; /* first policy mask register offset */
383 struct bcm_clk_policy policy; member in struct:peri_clk_data
474 struct ccu_policy policy; member in struct:ccu_data
[all...]
H A Dclk-bcm21664.c22 /* no policy control */
44 .policy = {
127 .policy = {
230 .policy = {
/linux-master/drivers/md/
H A Ddm-cache-metadata.h12 #include "dm-cache-policy-internal.h"
95 struct dm_cache_policy *policy,
129 * The policy is invited to save a 32bit hint value for every cblock (eg,
130 * for a hit count). These are stored against the policy name. If
136 * rather than querying the policy for each cblock, we let it walk its data
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dsriov.c46 /* Restore sriov guid and policy settings */
49 sriov->vfs_ctx[vf].policy != MLX5_POLICY_INVALID) {
56 in->policy = sriov->vfs_ctx[vf].policy;
60 !!(in->policy) * MLX5_HCA_VPORT_SEL_STATE_POLICY;
/linux-master/net/ipv6/ila/
H A Dila_main.c51 .policy = ila_nl_policy,
/linux-master/net/bridge/netfilter/
H A Debtable_broute.c26 .policy = EBT_ACCEPT,
/linux-master/include/linux/
H A Dnetlink.h74 * @policy: policy for a bad attribute
85 const struct nla_policy *policy; member in struct:netlink_ext_ack
146 (extack)->policy = (pol); \
161 __extack->policy = (pol); \
181 __extack->policy = (pol); \
H A Dpsp-sev.h247 * @policy: policy information for the VM
253 u32 policy; /* Out */ member in struct:sev_data_guest_status
262 * @policy: guest launch policy
270 u32 policy; /* In */ member in struct:sev_data_launch_start
357 * @policy: policy information for the VM
369 u32 policy; /* Out */ member in struct:sev_data_send_start
459 u32 policy; /* I member in struct:sev_data_receive_start
601 u64 policy; /* In */ member in struct:sev_data_snp_launch_start
[all...]
/linux-master/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_submission.c2613 static u32 __guc_context_policy_action_size(struct context_policy *policy) argument
2615 size_t bytes = sizeof(policy->h2g.header) +
2616 (sizeof(policy->h2g.klv[0]) * policy->count);
2621 static void __guc_context_policy_start_klv(struct context_policy *policy, u16 guc_id) argument
2623 policy->h2g.header.action = INTEL_GUC_ACTION_HOST2GUC_UPDATE_CONTEXT_POLICIES;
2624 policy->h2g.header.ctx_id = guc_id;
2625 policy->count = 0;
2629 static void __guc_context_policy_add_##func(struct context_policy *policy, u32 data) \
2631 GEM_BUG_ON(policy
2646 __guc_context_set_context_policies(struct intel_guc *guc, struct context_policy *policy, bool loop) argument
2659 struct context_policy policy; local
3174 struct context_policy policy; local
3551 struct context_policy policy; local
4598 __guc_scheduling_policy_action_size(struct scheduling_policy *policy) argument
4607 __guc_scheduling_policy_start_klv(struct scheduling_policy *policy) argument
4617 __guc_scheduling_policy_add_klv(struct scheduling_policy *policy, u32 action, u32 *data, u32 len) argument
4630 __guc_action_set_scheduling_policies(struct intel_guc *guc, struct scheduling_policy *policy) argument
4655 struct scheduling_policy policy; local
[all...]
/linux-master/include/trace/events/
H A Dpower.h176 TP_PROTO(struct cpufreq_policy *policy),
178 TP_ARGS(policy),
187 __entry->min_freq = policy->min;
188 __entry->max_freq = policy->max;
189 __entry->cpu_id = policy->cpu;

Completed in 231 milliseconds

1234567891011>>