Home
last modified time | relevance | path

Searched refs:feature_bit (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.1/arch/x86/include/asm/
Dcpufeature.h76 #define REQUIRED_MASK_BIT_SET(feature_bit) \ argument
77 ( CHECK_BIT_IN_MASK_WORD(REQUIRED_MASK, 0, feature_bit) || \
78 CHECK_BIT_IN_MASK_WORD(REQUIRED_MASK, 1, feature_bit) || \
79 CHECK_BIT_IN_MASK_WORD(REQUIRED_MASK, 2, feature_bit) || \
80 CHECK_BIT_IN_MASK_WORD(REQUIRED_MASK, 3, feature_bit) || \
81 CHECK_BIT_IN_MASK_WORD(REQUIRED_MASK, 4, feature_bit) || \
82 CHECK_BIT_IN_MASK_WORD(REQUIRED_MASK, 5, feature_bit) || \
83 CHECK_BIT_IN_MASK_WORD(REQUIRED_MASK, 6, feature_bit) || \
84 CHECK_BIT_IN_MASK_WORD(REQUIRED_MASK, 7, feature_bit) || \
85 CHECK_BIT_IN_MASK_WORD(REQUIRED_MASK, 8, feature_bit) || \
[all …]
/Linux-v6.1/tools/testing/selftests/kvm/x86_64/
Dset_sregs_test.c26 uint64_t feature_bit) in test_cr4_feature_bit() argument
32 if (orig->cr4 & feature_bit) in test_cr4_feature_bit()
36 sregs.cr4 |= feature_bit; in test_cr4_feature_bit()
39 TEST_ASSERT(rc, "KVM allowed unsupported CR4 bit (0x%lx)", feature_bit); in test_cr4_feature_bit()
/Linux-v6.1/fs/btrfs/
Dsysfs.c49 u64 feature_bit; member
86 .feature_bit = _feature_prefix ##_## _feature_bit, \
165 if (set & fa->feature_bit) in can_modify_feature()
167 if (clear & fa->feature_bit) in can_modify_feature()
181 if (features & fa->feature_bit) in btrfs_feature_attr_show()
224 if ((val && (features & fa->feature_bit)) || in btrfs_feature_attr_store()
225 (!val && !(features & fa->feature_bit))) in btrfs_feature_attr_store()
228 if ((val && !(set & fa->feature_bit)) || in btrfs_feature_attr_store()
229 (!val && !(clear & fa->feature_bit))) { in btrfs_feature_attr_store()
242 features |= fa->feature_bit; in btrfs_feature_attr_store()
[all …]
/Linux-v6.1/arch/x86/kvm/
Dreverse_cpuid.h104 #define feature_bit(name) __feature_bit(X86_FEATURE_##name) macro
Dcpuid.c38 int feature_bit = 0; in xstate_required_size() local
45 cpuid_count(0xD, feature_bit, &eax, &ebx, &ecx, &edx); in xstate_required_size()
55 feature_bit++; in xstate_required_size()
67 #define F feature_bit
/Linux-v6.1/arch/x86/kvm/vmx/
Dvmx.c7515 cr4_fixed1_update(X86_CR4_VME, edx, feature_bit(VME)); in nested_vmx_cr_fixed1_bits_update()
7516 cr4_fixed1_update(X86_CR4_PVI, edx, feature_bit(VME)); in nested_vmx_cr_fixed1_bits_update()
7517 cr4_fixed1_update(X86_CR4_TSD, edx, feature_bit(TSC)); in nested_vmx_cr_fixed1_bits_update()
7518 cr4_fixed1_update(X86_CR4_DE, edx, feature_bit(DE)); in nested_vmx_cr_fixed1_bits_update()
7519 cr4_fixed1_update(X86_CR4_PSE, edx, feature_bit(PSE)); in nested_vmx_cr_fixed1_bits_update()
7520 cr4_fixed1_update(X86_CR4_PAE, edx, feature_bit(PAE)); in nested_vmx_cr_fixed1_bits_update()
7521 cr4_fixed1_update(X86_CR4_MCE, edx, feature_bit(MCE)); in nested_vmx_cr_fixed1_bits_update()
7522 cr4_fixed1_update(X86_CR4_PGE, edx, feature_bit(PGE)); in nested_vmx_cr_fixed1_bits_update()
7523 cr4_fixed1_update(X86_CR4_OSFXSR, edx, feature_bit(FXSR)); in nested_vmx_cr_fixed1_bits_update()
7524 cr4_fixed1_update(X86_CR4_OSXMMEXCPT, edx, feature_bit(XMM)); in nested_vmx_cr_fixed1_bits_update()
[all …]
/Linux-v6.1/drivers/scsi/smartpqi/
Dsmartpqi_init.c7697 unsigned int feature_bit; member
7726 switch (firmware_feature->feature_bit) { in pqi_ctrl_update_feature_flags()
7774 .feature_bit = PQI_FIRMWARE_FEATURE_OFA,
7779 .feature_bit = PQI_FIRMWARE_FEATURE_SMP,
7784 .feature_bit = PQI_FIRMWARE_FEATURE_MAX_KNOWN_FEATURE,
7789 .feature_bit = PQI_FIRMWARE_FEATURE_RAID_0_READ_BYPASS,
7794 .feature_bit = PQI_FIRMWARE_FEATURE_RAID_1_READ_BYPASS,
7799 .feature_bit = PQI_FIRMWARE_FEATURE_RAID_5_READ_BYPASS,
7804 .feature_bit = PQI_FIRMWARE_FEATURE_RAID_6_READ_BYPASS,
7809 .feature_bit = PQI_FIRMWARE_FEATURE_RAID_0_WRITE_BYPASS,
[all …]
/Linux-v6.1/drivers/net/ethernet/intel/iavf/
Diavf_main.c4602 #define IAVF_NETDEV_VLAN_FEATURE_ALLOWED(requested, allowed, feature_bit) \ argument
4603 (!(((requested) & (feature_bit)) && \
4604 !((allowed) & (feature_bit))))
/Linux-v6.1/net/core/
Ddev.c9552 int feature_bit; in netdev_sync_upper_features() local
9554 for_each_netdev_feature(upper_disables, feature_bit) { in netdev_sync_upper_features()
9555 feature = __NETIF_F_BIT(feature_bit); in netdev_sync_upper_features()
9572 int feature_bit; in netdev_sync_lower_features() local
9574 for_each_netdev_feature(upper_disables, feature_bit) { in netdev_sync_lower_features()
9575 feature = __NETIF_F_BIT(feature_bit); in netdev_sync_lower_features()