Searched refs:policy (Results 151 - 175 of 505) sorted by relevance

1234567891011>>

/linux-master/net/netlink/
H A Dgenetlink.c109 if (op->policy || op->cmd < family->resv_start_op)
112 op->policy = genl_policy_reject_all;
120 if (op->policy)
123 op->policy = genl_policy_reject_all;
161 if (!op->policy)
162 op->policy = family->policy;
193 op->policy = family->policy;
280 op->policy
[all...]
/linux-master/security/apparmor/
H A Dpolicy.c5 * This file contains AppArmor policy manipulation functions
10 * AppArmor policy is based around profiles, which contain the rules a
22 * namespace://profile - used by policy
47 * eg. if a mail program starts an editor, the policy might make the
51 * is preserved. This feature isn't exploited by AppArmor reference policy
85 #include "include/policy.h"
248 aa_put_pdb(rules->policy);
441 * Returns: unrefcounted policy or NULL if not found
446 struct aa_policy *policy; local
450 policy
481 struct aa_policy *policy; local
1132 struct aa_policy *policy; local
[all...]
/linux-master/mm/
H A Dmempolicy.c3 * Simple NUMA memory policy for the Linux kernel.
8 * NUMA policy allows the user to give hints in which node(s) memory should
13 * The VMA policy has priority over the process policy for a page fault.
19 * for anonymous memory. For process policy an process counter
39 * process policy.
45 * use the process policy. This is what Linux always did
48 * The process policy is applied for most non interrupt memory allocations
50 * try to allocate on the local CPU. The VMA policy is only applied for memory
53 * Currently there are a few corner cases in swapping where the policy
302 struct mempolicy *policy; local
926 do_get_mempolicy(int *policy, nodemask_t *nmask, unsigned long addr, unsigned long flags) argument
1730 kernel_get_mempolicy(int __user *policy, unsigned long __user *nmask, unsigned long maxnode, unsigned long addr, unsigned long flags) argument
1856 apply_policy_zone(struct mempolicy *policy, enum zone_type zone) argument
1876 weighted_interleave_nodes(struct mempolicy *policy) argument
1899 interleave_nodes(struct mempolicy *policy) argument
1921 struct mempolicy *policy; local
[all...]
/linux-master/include/linux/mfd/wm8350/
H A Dsupply.h108 /* charger state machine policy - set in machine driver */
124 struct wm8350_charger_policy *policy; member in struct:wm8350_power
/linux-master/drivers/net/wireless/st/cw1200/
H A Dtxrx.h33 struct tx_policy policy; member in struct:tx_policy_cache_entry
42 spinlock_t lock; /* Protect policy cache */
46 /* TX policy cache */
47 /* Intention of TX policy cache is an overcomplicated WSM API.
49 * It uses "tx retry policy id" instead, so driver code has to sync
50 * linux tx retry sequences with a retry policy table in the device.
/linux-master/net/ipv6/netfilter/
H A Dnft_reject_ipv6.c56 .policy = nft_reject_policy,
/linux-master/net/ipv4/netfilter/
H A Dnft_reject_ipv4.c55 .policy = nft_reject_policy,
/linux-master/net/netfilter/
H A Dnft_fib_inet.c59 .policy = nft_fib_policy,
H A Dnfnetlink_cthelper.c288 nfnl_cthelper_update_policy_one(const struct nf_conntrack_expect_policy *policy, argument
305 if (nla_strcmp(tb[NFCTH_POLICY_NAME], policy->name))
323 struct nf_conntrack_expect_policy *policy; local
331 /* Check first that all policy attributes are well-formed, so we don't
349 policy = (struct nf_conntrack_expect_policy *)
351 policy->max_expected = new_policy->max_expected;
352 policy->timeout = new_policy->timeout;
748 .policy = nfnl_cthelper_policy
754 .policy = nfnl_cthelper_policy
760 .policy
[all...]
H A Dnf_tables_offload.c494 u8 policy; local
500 policy = ppolicy ? *ppolicy : basechain->policy;
502 /* Only default policy to accept is supported for now. */
503 if (cmd == FLOW_BLOCK_BIND && policy == NF_DROP)
564 u8 policy; local
576 policy = nft_trans_chain_policy(trans);
577 err = nft_flow_offload_chain(trans->ctx.chain, &policy,
584 policy = nft_trans_chain_policy(trans);
585 err = nft_flow_offload_chain(trans->ctx.chain, &policy,
[all...]
/linux-master/tools/testing/selftests/bpf/
H A Dima_setup.sh8 IMA_POLICY_FILE="/sys/kernel/security/ima/policy"
15 echo "Usage: $0 <setup|cleanup|run|modify-bin|restore-bin|load-policy> <existing_tmp_dir>"
139 elif [[ "${action}" == "load-policy" ]]; then
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_env.h44 enum ethtool_module_power_mode_policy policy,
/linux-master/include/linux/
H A Dkernel_read_file.h15 id(POLICY, security-policy) \
H A Dioprio.h41 if (task->policy == SCHED_IDLE)
H A Damd-pstate.h63 * @epp_policy: Last saved policy used to set energy-performance preference
65 * @policy: Cpufreq policy value
102 u32 policy; member in struct:amd_cpudata
/linux-master/drivers/cpufreq/
H A Dsa1110-cpufreq.c229 static int sa1110_target(struct cpufreq_policy *policy, unsigned int ppcr) argument
244 if (policy->max < 147500) {
304 static int __init sa1110_cpu_init(struct cpufreq_policy *policy) argument
306 cpufreq_generic_init(policy, sa11x0_freq_table, 0);
/linux-master/arch/powerpc/include/asm/
H A Dplpks.h17 // Object policy flags from supported_policies
55 u32 policy; member in struct:plpks_var
/linux-master/fs/smb/client/
H A Dnetlink.c51 .policy = cifs_genl_policy,
/linux-master/drivers/gpu/drm/amd/display/dc/
H A Ddc_dsc.h99 * It should be decoupled from DM specific policy and named differently.
103 struct dc_dsc_policy *policy);
/linux-master/net/dsa/
H A Dnetlink.c59 .policy = dsa_policy,
/linux-master/tools/testing/selftests/net/
H A Dsrv6_hencap_red_l3vpn_test.sh97 # connected host. SRv6 policy enforcement consists of encapsulating the
451 # build and install the SRv6 policy into the ingress SRv6 router.
469 local policy=''
475 policy="${policy}${VPN_LOCATOR_SERVICE}:${n}::${END_FUNC},"
478 policy="${policy}${VPN_LOCATOR_SERVICE}:${dec_rt}::${DT46_FUNC}"
480 # add SRv6 policy to incoming traffic sent by connected hosts
484 encap seg6 mode "${mode}" segs "${policy}" \
495 encap seg6 mode "${mode}" segs "${policy}" \
[all...]
H A Dsrv6_hl2encap_red_l2vpn_test.sh87 # connected host. SRv6 policy enforcement consists of encapsulating the
389 # build and install the SRv6 policy into the ingress SRv6 router.
407 local policy=''
413 policy="${policy}${VPN_LOCATOR_SERVICE}:${n}::${END_FUNC},"
416 policy="${policy}${VPN_LOCATOR_SERVICE}:${dec_rt}::${DX2_FUNC}"
418 # add SRv6 policy to incoming traffic sent by connected hosts
422 encap seg6 mode "${mode}" segs "${policy}" \
427 encap seg6 mode "${mode}" segs "${policy}" \
[all...]
H A Dsrv6_end_flavors_test.sh24 # listed in the SRv6 policy to remove (i.e. pop) the outermost SRH from the IPv6
38 # for a given SRv6 policy.
41 # For example, given the SRv6 policy (SID List := <X, Y, Z>):
513 local policy=''
529 policy="${policy}${LOCATOR_SERVICE}:${node}::${END_FUNC},"
535 policy="${policy}${LOCATOR_SERVICE}:${node}::${END_PSP_FUNC},"
560 policy="${policy
[all...]
/linux-master/security/selinux/include/
H A Dsecurity.h28 /* Identify specific policy version changes */
50 /* Range of policy versions we understand*/
82 * available at the kernel policy version >= POLICYDB_VERSION_BOUNDARY
102 struct selinux_policy __rcu *policy; member in struct:selinux_state
201 struct selinux_policy *policy; member in struct:selinux_load_state
311 int security_get_classes(struct selinux_policy *policy, char ***classes,
313 int security_get_permissions(struct selinux_policy *policy, const char *class,
332 int selinux_policy_genfs_sid(struct selinux_policy *policy, const char *fstype,
366 u32 policyload; /* times of policy reloaded */
/linux-master/drivers/gpu/drm/xe/
H A Dxe_guc_submit.c378 static u32 __guc_exec_queue_policy_action_size(struct exec_queue_policy *policy) argument
380 size_t bytes = sizeof(policy->h2g.header) +
381 (sizeof(policy->h2g.klv[0]) * policy->count);
386 static void __guc_exec_queue_policy_start_klv(struct exec_queue_policy *policy, argument
389 policy->h2g.header.action =
391 policy->h2g.header.guc_id = guc_id;
392 policy->count = 0;
396 static void __guc_exec_queue_policy_add_##func(struct exec_queue_policy *policy, \
399 XE_WARN_ON(policy
423 struct exec_queue_policy policy; local
442 struct exec_queue_policy policy; local
[all...]

Completed in 248 milliseconds

1234567891011>>