Searched refs:policy (Results 276 - 300 of 505) sorted by relevance

<<11121314151617181920>>

/linux-master/include/net/netfilter/
H A Dnf_tables.h345 * @policy: set policy
359 u32 policy; member in struct:nft_set_desc
560 * @policy: set parameterization (see enum nft_set_policies)
594 u16 policy; member in struct:nft_set
877 * @policy: netlink attribute policy
891 const struct nla_policy *policy; member in struct:nft_expr_type
1194 * @policy: default policy
1204 u8 policy; member in struct:nft_base_chain
1392 const struct nla_policy *policy; member in struct:nft_object_type
1675 u8 policy; member in struct:nft_trans_chain
[all...]
/linux-master/tools/testing/selftests/net/
H A Dnettest.c1454 struct xfrm_userpolicy_info policy = {}; local
1464 policy.action = XFRM_POLICY_ALLOW;
1465 policy.sel.family = args->version;
1471 policy.dir = XFRM_POLICY_OUT;
1472 if (setsockopt(sd, level, xfrm_af, &policy, sizeof(policy)) < 0)
1475 policy.dir = XFRM_POLICY_IN;
1476 if (setsockopt(sd, level, xfrm_af, &policy, sizeof(policy)) < 0)
1540 log_err_errno("Failed to set xfrm policy");
[all...]
/linux-master/security/apparmor/
H A Dlabel.c17 #include "include/policy.h"
1273 return aa_dfa_match(rules->policy->dfa, state, tp->base.hname);
1277 state = aa_dfa_match_len(rules->policy->dfa, state, ":", 1);
1278 state = aa_dfa_match(rules->policy->dfa, state, ns_name);
1279 state = aa_dfa_match_len(rules->policy->dfa, state, ":", 1);
1280 return aa_dfa_match(rules->policy->dfa, state, tp->base.hname);
1326 state = aa_dfa_match(rules->policy->dfa, state, "//&");
1331 *perms = *aa_lookup_perms(rules->policy, state);
1384 tmp = *aa_lookup_perms(rules->policy, state);
1393 tmp = *aa_lookup_perms(rules->policy, stat
[all...]
/linux-master/include/net/
H A Dxfrm.h65 - policy rule, struct xfrm_policy (=SPD entry)
79 policy entry has list of up to XFRM_MAX_DEPTH transformations,
786 static inline void xfrm_pol_hold(struct xfrm_policy *policy) argument
788 if (likely(policy != NULL))
789 refcount_inc(&policy->refcnt);
792 void xfrm_policy_destroy(struct xfrm_policy *policy);
794 static inline void xfrm_pol_put(struct xfrm_policy *policy) argument
796 if (refcount_dec_and_test(&policy->refcnt))
797 xfrm_policy_destroy(policy);
948 * policy rul
[all...]
/linux-master/net/ipv6/
H A Dioam6.c562 .policy = ioam6_genl_policy_addns,
570 .policy = ioam6_genl_policy_delns,
586 .policy = ioam6_genl_policy_addsc,
594 .policy = ioam6_genl_policy_delsc,
610 .policy = ioam6_genl_policy_ns_sc,
/linux-master/net/xfrm/
H A Dxfrm_compat.c49 struct compat_xfrm_userpolicy_info policy; member in struct:compat_xfrm_user_acquire
584 int maxtype, const struct nla_policy *policy,
606 maxtype ? : XFRMA_MAX, policy ? : compat_policy, extack);
583 xfrm_user_rcv_msg_compat(const struct nlmsghdr *h32, int maxtype, const struct nla_policy *policy, struct netlink_ext_ack *extack) argument
/linux-master/tools/testing/selftests/netfilter/
H A Dnft_fib.sh62 type filter hook prerouting priority 0; policy accept;
89 type filter hook prerouting priority 0; policy accept;
272 echo "PASS: fib expression forward check with policy based routing"
/linux-master/drivers/net/dsa/mv88e6xxx/
H A Dglobal1_vtu.c31 entry->policy = !!(val & MV88E6352_G1_VTU_FID_VID_POLICY);
40 if (entry->policy)
/linux-master/net/hsr/
H A Dhsr_netlink.c157 .policy = hsr_policy,
165 /* attribute policy */
518 .policy = hsr_genl_policy,
/linux-master/drivers/cpufreq/
H A Darmada-37xx-cpufreq.c366 static int armada37xx_cpufreq_suspend(struct cpufreq_policy *policy) argument
379 static int armada37xx_cpufreq_resume(struct cpufreq_policy *policy) argument
/linux-master/net/netfilter/
H A Dnfnetlink_osf.c391 .policy = nfnl_osf_policy,
397 .policy = nfnl_osf_policy,
H A Dnft_limit.c322 .policy = nft_limit_policy,
447 .policy = nft_limit_policy,
H A Dnft_nat.c330 .policy = nft_nat_policy,
362 .policy = nft_nat_policy,
H A Dnft_synproxy.c302 .policy = nft_synproxy_policy,
362 .policy = nft_synproxy_policy,
H A Dnf_tables_core.c346 if (nft_base_chain(basechain)->policy == NF_DROP)
349 return nft_base_chain(basechain)->policy;
H A Dnft_queue.c229 .policy = nft_queue_policy,
H A Dnft_numgen.c236 .policy = nft_ng_policy,
/linux-master/fs/crypto/
H A Dfname.c263 bool __fscrypt_fname_encrypted_size(const union fscrypt_policy *policy, argument
267 int padding = 4 << (fscrypt_policy_flags(policy) &
609 * encryption policy can be deleted.
/linux-master/drivers/ata/
H A Dahci.c667 MODULE_PARM_DESC(mobile_lpm_policy, "Default LPM policy for mobile chipsets");
1728 int policy = CONFIG_SATA_MOBILE_LPM_POLICY; local
1739 /* user modified policy via module param */
1741 policy = mobile_lpm_policy;
1745 if (policy > ATA_LPM_MED_POWER && pm_suspend_default_s2idle()) {
1747 policy = ATA_LPM_MIN_POWER_WITH_PARTIAL;
1749 policy = ATA_LPM_MIN_POWER;
1753 if (policy >= ATA_LPM_UNKNOWN && policy <= ATA_LPM_MIN_POWER)
1754 ap->target_lpm_policy = policy;
[all...]
H A Dlibahci.c46 static int ahci_set_lpm(struct ata_link *link, enum ata_lpm_policy policy,
807 static int ahci_set_lpm(struct ata_link *link, enum ata_lpm_policy policy, argument
815 if (policy != ATA_LPM_MAX_POWER) {
816 /* wakeup flag only applies to the max power policy */
827 sata_link_scr_lpm(link, policy, false);
833 if (policy == ATA_LPM_MAX_POWER || !(hints & ATA_LPM_HIPM)) {
848 if (policy == ATA_LPM_MIN_POWER)
850 else if (policy == ATA_LPM_MIN_POWER_WITH_PARTIAL)
862 if (policy == ATA_LPM_MIN_POWER ||
863 policy
[all...]
/linux-master/net/bridge/netfilter/
H A Dnft_reject_bridge.c195 .policy = nft_reject_policy,
/linux-master/kernel/
H A Dtsacct.c57 stats->ac_sched = tsk->policy;
/linux-master/drivers/net/ethernet/netronome/nfp/
H A Dnfp_main.c485 int err, reset, policy, ifcs = 0; local
527 NFP_NSP_APP_FW_LOAD_PREF, &policy);
545 if (fw && policy != NFP_NSP_APP_FW_LOAD_FLASH) {
557 } else if (policy != NFP_NSP_APP_FW_LOAD_DISK &&
/linux-master/net/ipv4/netfilter/
H A Dnft_fib_ipv4.c201 .policy = nft_fib_policy,
/linux-master/arch/mips/kernel/
H A Dcevt-r4k.c269 for_each_cpu(cpu, freq->policy->cpus) {

Completed in 513 milliseconds

<<11121314151617181920>>