/linux-master/drivers/cpufreq/ |
H A D | imx6q-cpufreq.c | 60 static int imx6q_set_target(struct cpufreq_policy *policy, unsigned int index) argument 192 static int imx6q_cpufreq_init(struct cpufreq_policy *policy) argument 194 policy->clk = clks[ARM].clk; 195 cpufreq_generic_init(policy, freq_table, transition_latency); 196 policy->suspend_freq = max_freq;
|
/linux-master/tools/tracing/latency/ |
H A D | latency-collector.c | 136 struct policy { struct 138 int policy; member in struct:policy 142 static const struct policy policies[] = { 880 static const struct policy *policy_from_name(const char *name) 882 const struct policy *p = &policies[0]; 892 static const char *policy_name(int policy) argument 894 const struct policy *p = &policies[0]; 898 if (p->policy == policy) 1055 int policy; local [all...] |
/linux-master/drivers/md/ |
H A D | dm-cache-metadata.c | 1295 struct dm_cache_policy *policy) 1297 const char *policy_name = dm_cache_policy_get_name(policy); 1298 const unsigned int *policy_version = dm_cache_policy_get_version(policy); 1299 size_t policy_hint_size = dm_cache_policy_get_hint_size(policy); 1302 * Ensure policy names match. 1308 * Ensure policy major versions match. 1314 * Ensure policy hint sizes match. 1328 struct dm_cache_policy *policy) 1330 return cmd->clean_when_opened && policy_unchanged(cmd, policy) && 1367 DMERR("policy could 1294 policy_unchanged(struct dm_cache_metadata *cmd, struct dm_cache_policy *policy) argument 1327 hints_array_available(struct dm_cache_metadata *cmd, struct dm_cache_policy *policy) argument 1417 __load_mappings(struct dm_cache_metadata *cmd, struct dm_cache_policy *policy, load_mapping_fn fn, void *context) argument 1506 dm_cache_load_mappings(struct dm_cache_metadata *cmd, struct dm_cache_policy *policy, load_mapping_fn fn, void *context) argument 1706 struct dm_cache_policy *policy = context; local 1718 write_hints(struct dm_cache_metadata *cmd, struct dm_cache_policy *policy) argument 1748 dm_cache_write_hints(struct dm_cache_metadata *cmd, struct dm_cache_policy *policy) argument [all...] |
H A D | dm-cache-target.c | 383 struct dm_cache_policy *policy; member in struct:cache 617 policy_set_dirty(cache->policy, cblock); 622 * These two are called when setting after migrations to force the policy 629 policy_set_dirty(cache->policy, cblock); 639 policy_clear_dirty(cache->policy, cblock); 1182 policy_complete_background_work(cache->policy, op, success); 1205 policy_complete_background_work(cache->policy, op, success); 1212 policy_complete_background_work(cache->policy, op, success); 1433 policy_complete_background_work(cache->policy, op, false); 1483 r = policy_invalidate_mapping(cache->policy, cbloc [all...] |
H A D | dm-cache-policy-smq.c | 9 #include "dm-cache-policy-internal.h" 10 #include "dm-cache-policy.h" 20 #define DM_MSG_PREFIX "cache-policy-smq" 798 struct dm_cache_policy policy; member in struct:smq_policy 863 * If this is set the policy will try and clean the whole cache 1352 * Public interface, via the policy struct. See dm-cache-policy.h for a 1358 return container_of(p, struct smq_policy, policy); 1648 * smq has no config values, but the old mq policy did. To avoid breaking 1649 * software we continue to accept these configurables for the mq policy, [all...] |
/linux-master/drivers/net/fddi/skfp/ |
H A D | pcmplc.c | 1415 int policy ; local 1419 policy = smc->mib.fddiSMTConnectionPolicy ; 1425 ((policy & POLICY_AA) && ne == TA) || 1426 ((policy & POLICY_AB) && ne == TB) || 1427 ((policy & POLICY_AS) && ne == TS) || 1428 ((policy & POLICY_AM) && ne == TM) ) 1433 ((policy & POLICY_BA) && ne == TA) || 1434 ((policy & POLICY_BB) && ne == TB) || 1435 ((policy & POLICY_BS) && ne == TS) || 1436 ((policy [all...] |
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | cn10k_macsec.c | 264 u64 policy; local 276 policy = FIELD_PREP(MCS_RX_SECY_PLCY_RW_MASK, secy->replay_window); 278 policy |= MCS_RX_SECY_PLCY_RP; 280 policy |= MCS_RX_SECY_PLCY_AUTH_ENA; 295 policy |= FIELD_PREP(MCS_RX_SECY_PLCY_CIP, cipher); 296 policy |= FIELD_PREP(MCS_RX_SECY_PLCY_VAL, secy->validate_frames); 298 policy |= MCS_RX_SECY_PLCY_ENA; 300 req->plcy = policy; 506 u64 policy; local 536 policy [all...] |
/linux-master/tools/testing/selftests/netfilter/ |
H A D | nft_flowtable.sh | 170 type filter hook forward priority 0; policy drop; 197 type filter hook input priority 0; policy accept; 409 type filter hook ingress device "veth0" priority 0; policy accept 426 type filter hook egress device "veth1" priority 0; policy accept 505 type nat hook prerouting priority 0; policy accept; 510 type nat hook postrouting priority 0; policy accept; 563 type nat hook prerouting priority 0; policy accept; 568 type nat hook postrouting priority 0; policy accept; 647 ip -net $ns xfrm policy add src $lnet dst $rnet dir out tmpl src $me dst $remote proto esp mode tunnel priority 1 action allow 649 ip -net $ns xfrm policy ad [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core_env.c | 602 params->policy = module_info->power_mode_policy; 711 enum ethtool_module_power_mode_policy policy, 726 if (module_info->power_mode_policy == policy) 733 low_power = policy == ETHTOOL_MODULE_POWER_MODE_POLICY_AUTO; 740 module_info->power_mode_policy = policy; 748 enum ethtool_module_power_mode_policy policy, 754 if (policy != ETHTOOL_MODULE_POWER_MODE_POLICY_HIGH && 755 policy != ETHTOOL_MODULE_POWER_MODE_POLICY_AUTO) { 756 NL_SET_ERR_MSG_MOD(extack, "Unsupported power mode policy"); 762 module, policy, extac 709 mlxsw_env_set_module_power_mode_apply(struct mlxsw_core *mlxsw_core, u8 slot_index, u8 module, enum ethtool_module_power_mode_policy policy, struct netlink_ext_ack *extack) argument 746 mlxsw_env_set_module_power_mode(struct mlxsw_core *mlxsw_core, u8 slot_index, u8 module, enum ethtool_module_power_mode_policy policy, struct netlink_ext_ack *extack) argument 1276 enum ethtool_module_power_mode_policy policy; local [all...] |
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | vendor.c | 115 .policy = VENDOR_CMD_RAW_DATA,
|
/linux-master/net/netfilter/ |
H A D | nft_reject_inet.c | 90 .policy = nft_reject_policy,
|
H A D | nft_dup_netdev.c | 92 .policy = nft_dup_netdev_policy,
|
/linux-master/arch/mips/kernel/ |
H A D | time.c | 40 struct cpumask *cpus = freq->policy->cpus;
|
/linux-master/tools/testing/selftests/kexec/ |
H A D | kexec_common_lib.sh | 191 # The policy rule format is an "action" followed by key-value pairs. This 204 local ima_policy=$SECURITYFS/ima/policy
|
/linux-master/net/ipv4/netfilter/ |
H A D | nft_dup_ipv4.c | 91 .policy = nft_dup_ipv4_policy,
|
/linux-master/net/ipv6/netfilter/ |
H A D | nft_dup_ipv6.c | 89 .policy = nft_dup_ipv6_policy,
|
/linux-master/security/apparmor/ |
H A D | Makefile | 7 path.o domain.o policy.o policy_unpack.o procattr.o lsm.o \ 75 # required by policy load to map policy ordering of RLIMITs to internal
|
/linux-master/include/linux/netfilter/ |
H A D | nfnetlink.h | 28 const struct nla_policy *policy; member in struct:nfnl_callback
|
/linux-master/include/uapi/linux/ |
H A D | fscrypt.h | 14 /* Encryption policy flags */ 36 * Legacy policy version; ad-hoc KDF and no key verification. 65 * New policy version with HKDF and key verification (recommended). 86 } policy; /* output */ member in struct:fscrypt_get_policy_ex_arg 90 * v1 policy keys are specified by an arbitrary 8-byte key "descriptor", 96 * v2 policy keys are specified by a 16-byte key "identifier" which the kernel
|
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | plpks_sed_ops.c | 60 var->policy = PLPKS_WORLDREADABLE;
|
/linux-master/tools/include/uapi/linux/ |
H A D | fscrypt.h | 14 /* Encryption policy flags */ 36 * Legacy policy version; ad-hoc KDF and no key verification. 65 * New policy version with HKDF and key verification (recommended). 86 } policy; /* output */ member in struct:fscrypt_get_policy_ex_arg 90 * v1 policy keys are specified by an arbitrary 8-byte key "descriptor", 96 * v2 policy keys are specified by a 16-byte key "identifier" which the kernel
|
/linux-master/drivers/ata/ |
H A D | libata-sata.c | 354 * @policy: LPM policy to configure 358 * according to @policy. If @policy is ATA_LPM_MAX_POWER and 369 int sata_link_scr_lpm(struct ata_link *link, enum ata_lpm_policy policy, argument 381 switch (policy) { 775 /* ignore the first PHY event after the LPM policy changed 803 enum ata_lpm_policy policy; local 807 for (policy = ATA_LPM_MAX_POWER; 808 policy < ARRAY_SIZ [all...] |
/linux-master/kernel/sched/ |
H A D | core.c | 496 * - __sched_setscheduler(): p->sched_class, p->policy, p->*prio, 2160 static inline int __normal_prio(int policy, int rt_prio, int nice) argument 2164 if (dl_policy(policy)) 2166 else if (rt_policy(policy)) 2183 return __normal_prio(p->policy, p->rt_priority, PRIO_TO_NICE(p->static_prio)); 4775 * Revert to default priority/policy on fork if requested. 4779 p->policy = SCHED_NORMAL; 7394 * sched policy return value kernel prio user prio/nice 7598 * sched_setparam() passes in -1 for its policy, to let the functions 7606 int policy local 7646 user_check_sched_setscheduler(struct task_struct *p, const struct sched_attr *attr, int policy, int reset_on_fork) argument 7708 int oldpolicy = -1, policy = attr->sched_policy; local 7935 _sched_setscheduler(struct task_struct *p, int policy, const struct sched_param *param, bool check) argument 7965 sched_setscheduler(struct task_struct *p, int policy, const struct sched_param *param) argument 7995 sched_setscheduler_nocheck(struct task_struct *p, int policy, const struct sched_param *param) argument 8047 do_sched_setscheduler(pid_t pid, int policy, struct sched_param __user *param) argument [all...] |
/linux-master/drivers/net/wireless/realtek/rtw89/ |
H A D | chan.c | 528 struct rtw89_mcc_policy *policy = &mcc_role->policy; local 530 policy->c2h_rpt = RTW89_FW_MCC_C2H_RPT_ALL; 531 policy->tx_null_early = RTW89_MCC_DFLT_TX_NULL_EARLY; 532 policy->in_curr_ch = false; 533 policy->dis_sw_retry = true; 534 policy->sw_retry_count = false; 537 policy->dis_tx_null = true; 539 policy->dis_tx_null = false; 1366 struct rtw89_mcc_policy *policy local 1419 struct rtw89_mcc_policy *policy = &role->policy; local [all...] |
/linux-master/drivers/net/wireless/quantenna/qtnfmac/ |
H A D | qlink_util.c | 175 qacl->policy = 179 qacl->policy = cpu_to_le32(QLINK_ACL_POLICY_DENY_UNLESS_LISTED);
|