Searched refs:feature_bit (Results 1 – 5 of 5) sorted by relevance
| /linux/arch/x86/kvm/ |
| H A D | cpuid.c | 741 kvm_cpu_cap_features |= feature_bit(name); \ 767 kvm_cpu_cap_emulated |= feature_bit(name); \ 778 kvm_cpu_cap_synthesized |= feature_bit(name); \ 793 kvm_cpu_cap_passthrough |= feature_bit(name); \ 805 kvm_cpu_cap_features |= feature_bit(name); \ 1385 entry->ecx = feature_bit(MOVBE); in cpuid_func_emulated() 1395 entry->ecx |= feature_bit(MWAIT); in cpuid_func_emulated() 1401 entry->ecx = feature_bit(RDPID); in cpuid_func_emulated() 1555 if (entry->eax & (feature_bit(XSAVES) | feature_bit(XSAVEC))) in __do_cpuid_func() 2113 if ((*ebx & (feature_bit(RTM) | feature_bit(HLE))) && in kvm_cpuid() [all …]
|
| /linux/fs/btrfs/ |
| H A D | sysfs.c | 52 u64 feature_bit; member 89 .feature_bit = _feature_prefix ##_## _feature_bit, \ 167 if (set & fa->feature_bit) in can_modify_feature() 169 if (clear & fa->feature_bit) in can_modify_feature() 183 if (features & fa->feature_bit) in btrfs_feature_attr_show() 226 if ((val && (features & fa->feature_bit)) || in btrfs_feature_attr_store() 227 (!val && !(features & fa->feature_bit))) in btrfs_feature_attr_store() 230 if ((val && !(set & fa->feature_bit)) || in btrfs_feature_attr_store() 231 (!val && !(clear & fa->feature_bit))) { in btrfs_feature_attr_store() 244 features |= fa->feature_bit; in btrfs_feature_attr_store() [all …]
|
| /linux/arch/x86/kvm/vmx/ |
| H A D | vmx.c | 2892 if (!(cpuid_ecx(1) & feature_bit(VMX))) { in __kvm_is_vmx_supported() 7882 cr4_fixed1_update(X86_CR4_VME, edx, feature_bit(VME)); in nested_vmx_cr_fixed1_bits_update() 7883 cr4_fixed1_update(X86_CR4_PVI, edx, feature_bit(VME)); in nested_vmx_cr_fixed1_bits_update() 7884 cr4_fixed1_update(X86_CR4_TSD, edx, feature_bit(TSC)); in nested_vmx_cr_fixed1_bits_update() 7885 cr4_fixed1_update(X86_CR4_DE, edx, feature_bit(DE)); in nested_vmx_cr_fixed1_bits_update() 7886 cr4_fixed1_update(X86_CR4_PSE, edx, feature_bit(PSE)); in nested_vmx_cr_fixed1_bits_update() 7887 cr4_fixed1_update(X86_CR4_PAE, edx, feature_bit(PAE)); in nested_vmx_cr_fixed1_bits_update() 7888 cr4_fixed1_update(X86_CR4_MCE, edx, feature_bit(MCE)); in nested_vmx_cr_fixed1_bits_update() 7889 cr4_fixed1_update(X86_CR4_PGE, edx, feature_bit(PGE)); in nested_vmx_cr_fixed1_bits_update() 7890 cr4_fixed1_update(X86_CR4_OSFXSR, edx, feature_bit(FXSR)); in nested_vmx_cr_fixed1_bits_update() [all …]
|
| /linux/drivers/net/ethernet/intel/iavf/ |
| H A D | iavf_main.c | 4891 #define IAVF_NETDEV_VLAN_FEATURE_ALLOWED(requested, allowed, feature_bit) \ argument 4892 (!(((requested) & (feature_bit)) && \ 4893 !((allowed) & (feature_bit))))
|
| /linux/net/core/ |
| H A D | dev.c | 10831 int feature_bit; in netdev_sync_upper_features() local 10833 for_each_netdev_feature(upper_disables, feature_bit) { in netdev_sync_upper_features() 10834 feature = __NETIF_F_BIT(feature_bit); in netdev_sync_upper_features() 10851 int feature_bit; in netdev_sync_lower_features() local 10853 for_each_netdev_feature(upper_disables, feature_bit) { in netdev_sync_lower_features() 10854 feature = __NETIF_F_BIT(feature_bit); in netdev_sync_lower_features()
|