Searched refs:policy (Results 1 - 25 of 505) sorted by last modified time

1234567891011>>

/linux-master/fs/btrfs/
H A Dvolumes.c6049 const enum btrfs_read_policy policy = READ_ONCE(fs_info->fs_devices->read_policy); local
6064 switch (policy) {
6068 policy);
/linux-master/drivers/net/vxlan/
H A Dvxlan_core.c3770 "Label policy only applies to IPv6 VXLAN devices");
4574 .policy = vxlan_policy,
/linux-master/drivers/net/dsa/mv88e6xxx/
H A Dchip.c2292 const struct mv88e6xxx_policy *policy)
2294 enum mv88e6xxx_policy_mapping mapping = policy->mapping;
2295 enum mv88e6xxx_policy_action action = policy->action;
2296 const u8 *addr = policy->addr;
2297 u16 vid = policy->vid;
2328 /* Skip the port's policy clearing if the mapping is still in use */
2330 idr_for_each_entry(&chip->policies, policy, id)
2331 if (policy->port == port &&
2332 policy->mapping == mapping &&
2333 policy
2291 mv88e6xxx_policy_apply(struct mv88e6xxx_chip *chip, int port, const struct mv88e6xxx_policy *policy) argument
2346 struct mv88e6xxx_policy *policy; local
2426 struct mv88e6xxx_policy *policy; local
2473 struct mv88e6xxx_policy *policy; local
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c4076 struct dc_state *context, struct pipe_split_policy_backup *policy)
4079 /* restore previous pipe split and odm policy */
4081 dc->debug.pipe_split_policy = policy->mpc_policy;
4082 dc->debug.enable_single_display_2to1_odm_policy = policy->dynamic_odm_policy;
4083 dc->debug.force_disable_subvp = policy->subvp_policy;
4087 struct dc_state *base_context, struct pipe_split_policy_backup *policy)
4093 policy->mpc_policy = dc->debug.pipe_split_policy;
4096 policy->dynamic_odm_policy = dc->debug.enable_single_display_2to1_odm_policy;
4098 policy->subvp_policy = dc->debug.force_disable_subvp;
4121 release_minimal_transition_state(dc, minimal_transition_context, policy);
4075 release_minimal_transition_state(struct dc *dc, struct dc_state *context, struct pipe_split_policy_backup *policy) argument
4086 create_minimal_transition_state(struct dc *dc, struct dc_state *base_context, struct pipe_split_policy_backup *policy) argument
4150 struct pipe_split_policy_backup policy; local
4211 struct pipe_split_policy_backup policy; local
[all...]
/linux-master/net/sunrpc/
H A Dxprtsock.c2589 switch (xprtsec->policy) {
2665 .policy = RPC_XPRTSEC_NONE,
3461 switch (args->xprtsec.policy) {
/linux-master/kernel/sched/
H A Dfair.c8331 if (unlikely(p->policy != SCHED_NORMAL) || !sched_feat(WAKEUP_PREEMPTION))
12780 /* Account for a task changing its policy or group.
H A Dsched.h172 static inline int idle_policy(int policy) argument
174 return policy == SCHED_IDLE;
176 static inline int fair_policy(int policy) argument
178 return policy == SCHED_NORMAL || policy == SCHED_BATCH;
181 static inline int rt_policy(int policy) argument
183 return policy == SCHED_FIFO || policy == SCHED_RR;
186 static inline int dl_policy(int policy) argument
188 return policy
190 valid_policy(int policy) argument
[all...]
/linux-master/net/wireless/
H A Dnl80211.c297 /* policy for the attributes */
831 /* policy for the key attributes */
844 /* policy for the key default flags */
852 /* policy for WoWLAN attributes */
887 /* policy for coalesce rule attributes */
898 /* policy for GTK rekey offload attributes */
936 /* policy for NAN function attributes */
960 /* policy for Service Response Filter attributes */
970 /* policy for packet pattern attributes */
7096 * channels) tuple for each subband (checked in policy),
[all...]
/linux-master/net/openvswitch/
H A Dconntrack.c1384 "Failed to associated timeout policy '%s'",
1959 .policy = ct_limit_policy,
/linux-master/net/bridge/
H A Dbr_netlink.c1902 .policy = br_policy,
/linux-master/net/bluetooth/
H A Dhci_sync.c2339 /* Select filter policy to accept all advertising */
2692 * just abort and return filer policy value to not use the
2760 /* Select filter policy to use accept list */
4072 cp.policy = cpu_to_le16(link_policy);
H A Dhci_event.c201 conn->link_policy = __le16_to_cpu(rp->policy);
245 hdev->link_policy = __le16_to_cpu(rp->policy);
/linux-master/include/linux/
H A Dpage-flags.h411 #define TESTPAGEFLAG(uname, lname, policy) \
412 FOLIO_TEST_FLAG(lname, FOLIO_##policy) \
414 { return test_bit(PG_##lname, &policy(page, 0)->flags); }
416 #define SETPAGEFLAG(uname, lname, policy) \
417 FOLIO_SET_FLAG(lname, FOLIO_##policy) \
419 { set_bit(PG_##lname, &policy(page, 1)->flags); }
421 #define CLEARPAGEFLAG(uname, lname, policy) \
422 FOLIO_CLEAR_FLAG(lname, FOLIO_##policy) \
424 { clear_bit(PG_##lname, &policy(page, 1)->flags); }
426 #define __SETPAGEFLAG(uname, lname, policy) \
[all...]
H A Dmm.h616 * to hold the policy upon return. Caller should pass NULL @new to
617 * remove a policy and fall back to surrounding context--i.e. do not
618 * install a MPOL_DEFAULT policy, nor the task or system default
624 * get_policy() op must add reference [mpol_get()] to any policy at
625 * (vma,addr) marked as MPOL_SHARED. The shared policy infrastructure
627 * get_policy() must NOT add a ref if the policy at (vma,addr) is not
631 * policy.
3293 struct mempolicy *policy,
3324 /* We are about to modify the VMA's memory policy. */
/linux-master/drivers/vdpa/
H A Dvdpa.c1506 .policy = vdpa_nl_policy,
/linux-master/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c629 .policy = hwsim_vendor_test_policy,
790 /* MAC80211_HWSIM netlink policy */
6329 .policy = hwsim_genl_policy,
/linux-master/drivers/net/
H A Dmacsec.c3435 .policy = macsec_genl_policy,
4430 .policy = macsec_rtnl_policy,
H A Dgtp.c1158 .policy = gtp_policy,
1849 .policy = gtp_genl_policy,
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_env.c602 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/arch/x86/kvm/
H A Dx86.c9554 for_each_cpu(cpu, freq->policy->cpus)
9576 struct cpufreq_policy *policy; local
9580 policy = cpufreq_cpu_get(cpu);
9581 if (policy) {
9582 if (policy->cpuinfo.max_freq)
9583 max_tsc_khz = policy->cpuinfo.max_freq;
9584 cpufreq_cpu_put(policy);
/linux-master/arch/x86/kvm/svm/
H A Dsev.c370 start.policy = params.policy;
787 params.policy = data.policy;
1257 params.policy = data.policy;
1442 start.policy = params.policy;
/linux-master/tools/arch/x86/include/uapi/asm/
H A Dkvm.h705 __u32 policy; member in struct:kvm_sev_launch_start
741 __u32 policy; member in struct:kvm_sev_guest_status
760 __u32 policy; member in struct:kvm_sev_send_start
790 __u32 policy; member in struct:kvm_sev_receive_start
/linux-master/net/netfilter/
H A Dnf_tables_api.c1853 htonl(basechain->policy)))
2415 basechain->policy = NF_ACCEPT;
2444 u8 policy, u32 flags,
2564 nft_trans_chain_policy(trans) = policy;
2589 static int nf_tables_updchain(struct nft_ctx *ctx, u8 genmask, u8 policy, argument
2710 nft_trans_chain_policy(trans) = policy;
2799 u8 policy = NF_ACCEPT; local
2850 policy = ntohl(nla_get_be32(nla[NFTA_CHAIN_POLICY]));
2851 switch (policy) {
2882 return nf_tables_updchain(&ctx, genmask, policy, flag
2443 nf_tables_addchain(struct nft_ctx *ctx, u8 family, u8 genmask, u8 policy, u32 flags, struct netlink_ext_ack *extack) argument
[all...]
H A Dnft_lookup.c262 .policy = nft_lookup_policy,
/linux-master/mm/
H A Dshmem.c2359 return mpol_set_shared_policy(&SHMEM_I(inode)->policy, vma, mpol);
2376 return mpol_shared_policy_lookup(&SHMEM_I(inode)->policy, index);
2387 mpol = mpol_shared_policy_lookup(&info->policy, index);
2543 mpol_shared_policy_init(&info->policy,
2559 mpol_shared_policy_init(&info->policy, NULL);
4486 mpol_free_shared_policy(&SHMEM_I(inode)->policy);

Completed in 644 milliseconds

1234567891011>>