| /linux/include/linux/ |
| H A D | cgroup_subsys.h | 12 #if IS_ENABLED(CONFIG_CPUSETS) 16 #if IS_ENABLED(CONFIG_CGROUP_SCHED) 20 #if IS_ENABLED(CONFIG_CGROUP_CPUACCT) 24 #if IS_ENABLED(CONFIG_BLK_CGROUP) 28 #if IS_ENABLED(CONFIG_MEMCG) 32 #if IS_ENABLED(CONFIG_CGROUP_DEVICE) 36 #if IS_ENABLED(CONFIG_CGROUP_FREEZER) 40 #if IS_ENABLED(CONFIG_CGROUP_NET_CLASSID) 44 #if IS_ENABLED(CONFIG_CGROUP_PERF) 48 #if IS_ENABLED(CONFIG_CGROUP_NET_PRIO) [all …]
|
| H A D | lsm_count.h | 21 #if IS_ENABLED(CONFIG_SECURITY) 27 #if IS_ENABLED(CONFIG_SECURITY_SELINUX) 33 #if IS_ENABLED(CONFIG_SECURITY_SMACK) 39 #if IS_ENABLED(CONFIG_SECURITY_APPARMOR) 45 #if IS_ENABLED(CONFIG_SECURITY_TOMOYO) 51 #if IS_ENABLED(CONFIG_SECURITY_YAMA) 57 #if IS_ENABLED(CONFIG_SECURITY_LOADPIN) 63 #if IS_ENABLED(CONFIG_SECURITY_LOCKDOWN_LSM) 69 #if IS_ENABLED(CONFIG_SECURITY_SAFESETID) 75 #if IS_ENABLED(CONFIG_BPF_LSM) [all …]
|
| /linux/arch/powerpc/include/asm/ |
| H A D | hw_irq.h | 66 if (IS_ENABLED(CONFIG_BOOKE)) in __hard_irq_enable() 68 else if (IS_ENABLED(CONFIG_PPC_8xx)) in __hard_irq_enable() 70 else if (IS_ENABLED(CONFIG_PPC_BOOK3S_64)) in __hard_irq_enable() 78 if (IS_ENABLED(CONFIG_BOOKE)) in __hard_irq_disable() 80 else if (IS_ENABLED(CONFIG_PPC_8xx)) in __hard_irq_disable() 82 else if (IS_ENABLED(CONFIG_PPC_BOOK3S_64)) in __hard_irq_disable() 90 if (IS_ENABLED(CONFIG_BOOKE)) in __hard_EE_RI_disable() 92 else if (IS_ENABLED(CONFIG_PPC_8xx)) in __hard_EE_RI_disable() 94 else if (IS_ENABLED(CONFIG_PPC_BOOK3S_64)) in __hard_EE_RI_disable() 102 if (IS_ENABLED(CONFIG_BOOKE)) in __hard_RI_enable() [all …]
|
| /linux/sound/hda/core/ |
| H A D | intel-dsp-config.c | 52 #if IS_ENABLED(CONFIG_SND_SOC_SOF_MERRIFIELD) 63 #if IS_ENABLED(CONFIG_SND_SOC_INTEL_AVS) 127 #if IS_ENABLED(CONFIG_SND_SOC_SOF_APOLLOLAKE) 154 #if IS_ENABLED(CONFIG_SND_SOC_SOF_GEMINILAKE) 187 #if IS_ENABLED(CONFIG_SND_SOC_SOF_CANNONLAKE) 219 #if IS_ENABLED(CONFIG_SND_SOC_SOF_COFFEELAKE) 239 #if IS_ENABLED(CONFIG_SND_SOC_SOF_COMETLAKE) 308 #if IS_ENABLED(CONFIG_SND_SOC_SOF_ICELAKE) 334 #if IS_ENABLED(CONFIG_SND_SOC_SOF_JASPERLAKE) 366 #if IS_ENABLED(CONFIG_SND_SOC_SOF_TIGERLAK [all...] |
| /linux/net/ipv4/ |
| H A D | tunnel4.c | 113 #if IS_ENABLED(CONFIG_INET_XFRM_TUNNEL) 140 #if IS_ENABLED(CONFIG_IPV6) 160 #if IS_ENABLED(CONFIG_MPLS) 191 #if IS_ENABLED(CONFIG_IPV6) 204 #if IS_ENABLED(CONFIG_MPLS) 223 #if IS_ENABLED(CONFIG_IPV6) 231 #if IS_ENABLED(CONFIG_MPLS) 243 #if IS_ENABLED(CONFIG_IPV6) in tunnel4_init() 249 #if IS_ENABLED(CONFIG_MPLS) in tunnel4_init() 252 #if IS_ENABLED(CONFIG_IPV6) in tunnel4_init() [all …]
|
| /linux/drivers/hid/ |
| H A D | hid-quirks.c | 238 #if IS_ENABLED(CONFIG_APPLEDISPLAY) 247 #if IS_ENABLED(CONFIG_HID_A4TECH) 253 #if IS_ENABLED(CONFIG_HID_ACCUTOUCH) 256 #if IS_ENABLED(CONFIG_HID_ACRUX) 260 #if IS_ENABLED(CONFIG_HID_ALPS) 263 #if IS_ENABLED(CONFIG_HID_APPLE) 351 #if IS_ENABLED(CONFIG_HID_APPLEIR) 358 #if IS_ENABLED(CONFIG_HID_APPLETB_BL) 361 #if IS_ENABLED(CONFIG_HID_APPLETB_KBD) 364 #if IS_ENABLED(CONFIG_HID_ASUS) [all …]
|
| /linux/arch/riscv/include/asm/ |
| H A D | vendor_extensions.h | 54 if (!IS_ENABLED(CONFIG_RISCV_ISA_VENDOR_EXT)) in riscv_has_vendor_extension_likely() 57 if (IS_ENABLED(CONFIG_RISCV_ALTERNATIVE)) in riscv_has_vendor_extension_likely() 67 if (!IS_ENABLED(CONFIG_RISCV_ISA_VENDOR_EXT)) in riscv_has_vendor_extension_unlikely() 70 if (IS_ENABLED(CONFIG_RISCV_ALTERNATIVE)) in riscv_has_vendor_extension_unlikely() 80 if (!IS_ENABLED(CONFIG_RISCV_ISA_VENDOR_EXT)) in riscv_cpu_has_vendor_extension_likely() 83 if (IS_ENABLED(CONFIG_RISCV_ALTERNATIVE) && in riscv_cpu_has_vendor_extension_likely() 94 if (!IS_ENABLED(CONFIG_RISCV_ISA_VENDOR_EXT)) in riscv_cpu_has_vendor_extension_unlikely() 97 if (IS_ENABLED(CONFIG_RISCV_ALTERNATIVE) && in riscv_cpu_has_vendor_extension_unlikely()
|
| /linux/security/integrity/ima/ |
| H A D | ima_efi.c | 11 #if !IS_ENABLED(CONFIG_KEXEC_SIG) 15 #if !IS_ENABLED(CONFIG_MODULE_SIG) in get_sb_mode() 18 #if IS_ENABLED(CONFIG_INTEGRITY_MACHINE_KEYRING) && IS_ENABLED(CONFIG_IMA_KEYRINGS_PERMIT_SIGNED_BY_BUILTIN_OR_SECONDARY) in get_sb_mode() 27 if (IS_ENABLED(CONFIG_IMA_ARCH_POLICY) && arch_get_secureboot()) { in get_sb_mode()
|
| /linux/drivers/gpu/drm/exynos/ |
| H A D | exynos_drm_dma.c | 55 if (IS_ENABLED(CONFIG_ARM_DMA_USE_IOMMU)) { in drm_iommu_attach_device() 67 } else if (IS_ENABLED(CONFIG_IOMMU_DMA)) { in drm_iommu_attach_device() 88 if (IS_ENABLED(CONFIG_ARM_DMA_USE_IOMMU)) { in drm_iommu_detach_device() 91 } else if (IS_ENABLED(CONFIG_IOMMU_DMA)) in drm_iommu_detach_device() 106 if (!IS_ENABLED(CONFIG_EXYNOS_IOMMU)) in exynos_drm_register_dma() 112 if (IS_ENABLED(CONFIG_ARM_DMA_USE_IOMMU)) in exynos_drm_register_dma() 115 else if (IS_ENABLED(CONFIG_IOMMU_DMA)) in exynos_drm_register_dma() 129 if (IS_ENABLED(CONFIG_EXYNOS_IOMMU)) in exynos_drm_unregister_dma() 137 if (!IS_ENABLED(CONFIG_EXYNOS_IOMMU)) in exynos_drm_cleanup_dma()
|
| /linux/drivers/hv/ |
| H A D | mshv_debugfs_counters.c | 67 #if IS_ENABLED(CONFIG_X86_64) 89 #elif IS_ENABLED(CONFIG_ARM64) 137 #if IS_ENABLED(CONFIG_X86_64) 158 #elif IS_ENABLED(CONFIG_ARM64) 186 #if IS_ENABLED(CONFIG_X86_64) 391 #elif IS_ENABLED(CONFIG_ARM64)
|
| /linux/arch/arm/mach-tegra/ |
| H A D | pm.c | 52 if (IS_ENABLED(CONFIG_ARCH_TEGRA_2x_SOC)) in tegra_tear_down_cpu_init() 58 if (IS_ENABLED(CONFIG_ARCH_TEGRA_3x_SOC) || in tegra_tear_down_cpu_init() 59 IS_ENABLED(CONFIG_ARCH_TEGRA_114_SOC) || in tegra_tear_down_cpu_init() 60 IS_ENABLED(CONFIG_ARCH_TEGRA_124_SOC)) in tegra_tear_down_cpu_init() 268 if (IS_ENABLED(CONFIG_ARCH_TEGRA_2x_SOC)) in tegra_lp1_iram_hook() 274 if (IS_ENABLED(CONFIG_ARCH_TEGRA_3x_SOC) || in tegra_lp1_iram_hook() 275 IS_ENABLED(CONFIG_ARCH_TEGRA_114_SOC) || in tegra_lp1_iram_hook() 276 IS_ENABLED(CONFIG_ARCH_TEGRA_124_SOC)) in tegra_lp1_iram_hook() 298 if (IS_ENABLED(CONFIG_ARCH_TEGRA_2x_SOC)) in tegra_sleep_core_init() 304 if (IS_ENABLED(CONFIG_ARCH_TEGRA_3x_SOC) || in tegra_sleep_core_init() [all …]
|
| H A D | hotplug.c | 57 if (!IS_ENABLED(CONFIG_HOTPLUG_CPU)) in tegra_hotplug_init() 63 if (IS_ENABLED(CONFIG_ARCH_TEGRA_2x_SOC) && tegra_get_chip_id() == TEGRA20) in tegra_hotplug_init() 65 if (IS_ENABLED(CONFIG_ARCH_TEGRA_3x_SOC) && tegra_get_chip_id() == TEGRA30) in tegra_hotplug_init() 67 if (IS_ENABLED(CONFIG_ARCH_TEGRA_114_SOC) && tegra_get_chip_id() == TEGRA114) in tegra_hotplug_init() 69 if (IS_ENABLED(CONFIG_ARCH_TEGRA_124_SOC) && tegra_get_chip_id() == TEGRA124) in tegra_hotplug_init()
|
| /linux/arch/powerpc/kernel/ |
| H A D | irq_64.c | 73 if (IS_ENABLED(CONFIG_PPC_IRQ_SOFT_MASK_DEBUG)) { in next_interrupt() 106 if (IS_ENABLED(CONFIG_PPC_IRQ_SOFT_MASK_DEBUG)) { in __replay_soft_interrupts() 137 if (IS_ENABLED(CONFIG_PPC_BOOK3S) && in __replay_soft_interrupts() 156 if (IS_ENABLED(CONFIG_PPC_DOORBELL) && in __replay_soft_interrupts() 164 if (IS_ENABLED(CONFIG_PPC_BOOK3S) && in __replay_soft_interrupts() 216 if (IS_ENABLED(CONFIG_PPC_IRQ_SOFT_MASK_DEBUG)) { in arch_local_irq_restore() 246 if (IS_ENABLED(CONFIG_PPC_IRQ_SOFT_MASK_DEBUG)) in arch_local_irq_restore() 259 if (IS_ENABLED(CONFIG_PPC_IRQ_SOFT_MASK_DEBUG)) in arch_local_irq_restore() 263 if (IS_ENABLED(CONFIG_PPC_IRQ_SOFT_MASK_DEBUG)) in arch_local_irq_restore() 274 if (IS_ENABLED(CONFIG_PPC_IRQ_SOFT_MASK_DEBUG)) { in arch_local_irq_restore() [all …]
|
| /linux/arch/powerpc/kernel/trace/ |
| H A D | ftrace.c | 40 if (IS_ENABLED(CONFIG_ARCH_USING_PATCHABLE_FUNCTION_ENTRY)) { in ftrace_call_adjust() 41 if (!IS_ENABLED(CONFIG_PPC_FTRACE_OUT_OF_LINE)) { in ftrace_call_adjust() 43 if (IS_ENABLED(CONFIG_DYNAMIC_FTRACE_WITH_CALL_OPS)) in ftrace_call_adjust() 45 } else if (IS_ENABLED(CONFIG_CC_IS_CLANG) && IS_ENABLED(CONFIG_PPC64)) { in ftrace_call_adjust() 164 if (IS_ENABLED(CONFIG_PPC_FTRACE_OUT_OF_LINE)) in ftrace_get_call_inst() 172 if (!IS_ENABLED(CONFIG_DYNAMIC_FTRACE_WITH_DIRECT_CALLS)) { in ftrace_get_call_inst() 315 if (IS_ENABLED(CONFIG_PPC_FTRACE_OUT_OF_LINE)) in ftrace_rec_set_ops() 353 if (WARN_ON(!IS_ENABLED(CONFIG_MODULES) || core_kernel_text(ip))) in ftrace_make_call() 357 if (IS_ENABLED(CONFIG_PPC_FTRACE_OUT_OF_LINE)) { in ftrace_make_call() 371 if (!ret && IS_ENABLED(CONFIG_PPC_FTRACE_OUT_OF_LINE)) in ftrace_make_call() [all …]
|
| /linux/tools/testing/cxl/ |
| H A D | config_check.c | 10 BUILD_BUG_ON(!IS_ENABLED(CONFIG_64BIT)); in check() 14 BUILD_BUG_ON(!IS_ENABLED(CONFIG_CXL_REGION_INVALIDATION_TEST)); in check() 15 BUILD_BUG_ON(!IS_ENABLED(CONFIG_NVDIMM_SECURITY_TEST)); in check() 16 BUILD_BUG_ON(!IS_ENABLED(CONFIG_DEBUG_FS)); in check() 17 BUILD_BUG_ON(!IS_ENABLED(CONFIG_MEMORY_HOTPLUG)); in check()
|
| /linux/net/dsa/ |
| H A D | tag_brcm.c | 86 #if IS_ENABLED(CONFIG_NET_DSA_TAG_BRCM) || \ 87 IS_ENABLED(CONFIG_NET_DSA_TAG_BRCM_PREPEND) 186 #if IS_ENABLED(CONFIG_NET_DSA_TAG_BRCM) 221 #if IS_ENABLED(CONFIG_NET_DSA_TAG_BRCM_LEGACY) || \ 222 IS_ENABLED(CONFIG_NET_DSA_TAG_BRCM_LEGACY_FCS) 263 #if IS_ENABLED(CONFIG_NET_DSA_TAG_BRCM_LEGACY) 313 #if IS_ENABLED(CONFIG_NET_DSA_TAG_BRCM_LEGACY_FCS) 373 #if IS_ENABLED(CONFIG_NET_DSA_TAG_BRCM_PREPEND) 401 #if IS_ENABLED(CONFIG_NET_DSA_TAG_BRCM) 404 #if IS_ENABLED(CONFIG_NET_DSA_TAG_BRCM_LEGACY) [all …]
|
| /linux/include/net/ |
| H A D | net_namespace.h | 29 #if IS_ENABLED(CONFIG_NF_FLOW_TABLE) 134 #if IS_ENABLED(CONFIG_UNIX) 139 #if IS_ENABLED(CONFIG_IPV6) 142 #if IS_ENABLED(CONFIG_IEEE802154_6LOWPAN) 156 #if IS_ENABLED(CONFIG_NF_FLOW_TABLE) 175 #if IS_ENABLED(CONFIG_IP_VS) 178 #if IS_ENABLED(CONFIG_MPLS) 181 #if IS_ENABLED(CONFIG_CAN) 187 #if IS_ENABLED(CONFIG_MCTP) 190 #if IS_ENABLED(CONFIG_CRYPTO_USER) [all …]
|
| /linux/net/bridge/ |
| H A D | br_mrp_switchdev.c | 42 if (!IS_ENABLED(CONFIG_NET_SWITCHDEV)) in br_mrp_switchdev_add() 58 if (!IS_ENABLED(CONFIG_NET_SWITCHDEV)) in br_mrp_switchdev_del() 78 if (!IS_ENABLED(CONFIG_NET_SWITCHDEV)) in br_mrp_switchdev_set_ring_role() 116 if (!IS_ENABLED(CONFIG_NET_SWITCHDEV)) in br_mrp_switchdev_send_ring_test() 133 if (!IS_ENABLED(CONFIG_NET_SWITCHDEV)) in br_mrp_switchdev_set_ring_state() 156 if (!IS_ENABLED(CONFIG_NET_SWITCHDEV)) in br_mrp_switchdev_set_in_role() 189 if (!IS_ENABLED(CONFIG_NET_SWITCHDEV)) in br_mrp_switchdev_set_in_state() 208 if (!IS_ENABLED(CONFIG_NET_SWITCHDEV)) in br_mrp_switchdev_send_in_test() 222 if (!IS_ENABLED(CONFIG_NET_SWITCHDEV)) in br_mrp_port_switchdev_set_state() 237 if (!IS_ENABLED(CONFIG_NET_SWITCHDEV)) in br_mrp_port_switchdev_set_role()
|
| /linux/arch/riscv/kernel/ |
| H A D | cpu.c | 71 if (IS_ENABLED(CONFIG_32BIT) && strncasecmp(isa, "rv32i", 5)) { in riscv_early_of_processor_hartid() 76 if (IS_ENABLED(CONFIG_64BIT) && strncasecmp(isa, "rv64i", 5)) { in riscv_early_of_processor_hartid() 106 if (IS_ENABLED(CONFIG_32BIT) && strncasecmp(isa, "rv32ima", 7)) { in riscv_early_of_processor_hartid() 111 if (IS_ENABLED(CONFIG_64BIT) && strncasecmp(isa, "rv64ima", 7)) { in riscv_early_of_processor_hartid() 145 #if IS_ENABLED(CONFIG_RISCV_SBI) in riscv_get_marchid() 147 #elif IS_ENABLED(CONFIG_RISCV_M_MODE) in riscv_get_marchid() 159 #if IS_ENABLED(CONFIG_RISCV_SBI) in riscv_get_mvendorid() 161 #elif IS_ENABLED(CONFIG_RISCV_M_MODE) in riscv_get_mvendorid() 199 #if IS_ENABLED(CONFIG_RISCV_SBI) in riscv_cpuinfo_starting() 205 #elif IS_ENABLED(CONFIG_RISCV_M_MODE) in riscv_cpuinfo_starting() [all …]
|
| H A D | setup.c | 282 if (IS_ENABLED(CONFIG_RISCV_TICKET_SPINLOCKS)) { in riscv_spinlock_init() 287 if (IS_ENABLED(CONFIG_RISCV_ISA_ZABHA) && in riscv_spinlock_init() 288 IS_ENABLED(CONFIG_RISCV_ISA_ZACAS) && in riscv_spinlock_init() 289 IS_ENABLED(CONFIG_TOOLCHAIN_HAS_ZACAS) && in riscv_spinlock_init() 331 #if IS_ENABLED(CONFIG_BUILTIN_DTB) in setup_arch() 360 if (IS_ENABLED(CONFIG_RISCV_ISA_ZICBOM) && in setup_arch() 368 if (!IS_ENABLED(CONFIG_RISCV_ISA_ZBB) || !riscv_isa_extension_available(NULL, ZBB)) in setup_arch() 379 if (IS_ENABLED(CONFIG_STRICT_KERNEL_RWX)) { in free_initmem() 381 if (IS_ENABLED(CONFIG_64BIT)) in free_initmem() 404 if (IS_ENABLED(CONFIG_RANDOMIZE_BASE)) in register_kernel_offset_dumper()
|
| /linux/include/net/netfilter/ |
| H A D | nf_conntrack_bpf.h | 13 #if (IS_BUILTIN(CONFIG_NF_CONNTRACK) && IS_ENABLED(CONFIG_DEBUG_INFO_BTF)) || \ 14 (IS_MODULE(CONFIG_NF_CONNTRACK) && IS_ENABLED(CONFIG_DEBUG_INFO_BTF_MODULES)) 32 #if (IS_BUILTIN(CONFIG_NF_NAT) && IS_ENABLED(CONFIG_DEBUG_INFO_BTF)) || \ 33 (IS_MODULE(CONFIG_NF_NAT) && IS_ENABLED(CONFIG_DEBUG_INFO_BTF_MODULES))
|
| /linux/net/netfilter/ |
| H A D | nf_conntrack_extend.c | 34 #if IS_ENABLED(CONFIG_NF_NAT) 51 #if IS_ENABLED(CONFIG_NETFILTER_SYNPROXY) 54 #if IS_ENABLED(CONFIG_NET_ACT_CT) 66 #if IS_ENABLED(CONFIG_NF_NAT) in total_extension_size() 83 #if IS_ENABLED(CONFIG_NETFILTER_SYNPROXY) in total_extension_size() 86 #if IS_ENABLED(CONFIG_NET_ACT_CT) in total_extension_size()
|
| /linux/arch/arm64/kernel/pi/ |
| H A D | map_kernel.c | 41 bool enable_scs = IS_ENABLED(CONFIG_UNWIND_PATCH_PAC_INTO_SCS); in map_kernel() 42 bool twopass = IS_ENABLED(CONFIG_RELOCATABLE); in map_kernel() 63 if (IS_ENABLED(CONFIG_ARM64_PTR_AUTH_KERNEL) && cpu_has_pac()) in map_kernel() 66 if (IS_ENABLED(CONFIG_ARM64_BTI_KERNEL) && cpu_has_bti()) { in map_kernel() 102 if (IS_ENABLED(CONFIG_RELOCATABLE)) in map_kernel() 258 if (IS_ENABLED(CONFIG_ARM64_64K_PAGES) && !cpu_has_lva()) { in early_map_kernel() 260 } else if (IS_ENABLED(CONFIG_ARM64_LPA2) && !cpu_has_lpa2()) { in early_map_kernel() 275 if (IS_ENABLED(CONFIG_RANDOMIZE_BASE)) { in early_map_kernel() 284 if (IS_ENABLED(CONFIG_ARM64_LPA2) && va_bits > VA_BITS_MIN) in early_map_kernel()
|
| /linux/lib/crypto/ |
| H A D | utils.c | 22 if (!IS_ENABLED(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS)) { in __crypto_xor() 42 while (IS_ENABLED(CONFIG_64BIT) && len >= 8 && !(relalign & 7)) { in __crypto_xor() 43 if (IS_ENABLED(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS)) { in __crypto_xor() 57 if (IS_ENABLED(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS)) { in __crypto_xor() 71 if (IS_ENABLED(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS)) { in __crypto_xor()
|
| /linux/arch/powerpc/net/ |
| H A D | bpf_jit_comp.c | 66 if (IS_ENABLED(CONFIG_PPC_FTRACE_OUT_OF_LINE)) in bpf_jit_build_fentry_stubs() 426 if (IS_ENABLED(CONFIG_PPC32)) in bpf_add_extable_entry() 512 return IS_ENABLED(CONFIG_PPC64); in bpf_jit_supports_exceptions() 517 return IS_ENABLED(CONFIG_PPC64); in bpf_jit_supports_subprog_tailcalls() 522 return IS_ENABLED(CONFIG_PPC64); in bpf_jit_supports_kfunc_call() 527 return IS_ENABLED(CONFIG_PPC64); in bpf_jit_supports_private_stack() 536 if (IS_ENABLED(CONFIG_PPC32)) in bpf_jit_supports_fsession() 543 return IS_ENABLED(CONFIG_PPC64); in bpf_jit_supports_arena() 548 return IS_ENABLED(CONFIG_PPC64); in bpf_jit_supports_far_kfunc_call() 562 return IS_ENABLED(CONFIG_PPC64); in bpf_jit_supports_insn() [all …]
|