Home
last modified time | relevance | path

Searched refs:IS_ENABLED (Results 1 – 25 of 1835) sorted by relevance

12345678910>>...74

/linux/include/linux/
H A Dcgroup_subsys.h12 #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 Dlsm_count.h21 #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 …]
H A Di2c-smbus.h33 #if IS_ENABLED(CONFIG_I2C_SMBUS) && IS_ENABLED(CONFIG_I2C_SLAVE)
46 #if IS_ENABLED(CONFIG_I2C_SMBUS) && IS_ENABLED(CONFIG_DMI)
/linux/net/ipv4/
H A Dtunnel4.c113 #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/sound/hda/core/
H A Dintel-dsp-config.c52 #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/security/integrity/ima/
H A Dima_efi.c11 #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()
29 if (IS_ENABLED(CONFIG_IMA_ARCH_POLICY) && arch_get_secureboot()) { in get_sb_mode()
/linux/drivers/hv/
H A Dmshv_debugfs_counters.c67 #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/riscv/include/asm/
H A Dvendor_extensions.h54 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()
H A Darch_hweight.h22 if (!(IS_ENABLED(CONFIG_RISCV_ISA_ZBB) && in __arch_hweight32()
23 IS_ENABLED(CONFIG_TOOLCHAIN_HAS_ZBB) && in __arch_hweight32()
49 if (!(IS_ENABLED(CONFIG_RISCV_ISA_ZBB) && in __arch_hweight64()
50 IS_ENABLED(CONFIG_TOOLCHAIN_HAS_ZBB) && in __arch_hweight64()
/linux/arch/arm/mach-tegra/
H A Dpm.c52 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 Dhotplug.c57 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 Dirq_64.c73 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/tools/testing/cxl/
H A Dconfig_check.c10 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/arch/powerpc/kernel/trace/
H A Dftrace.c40 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/lib/vdso/
H A Ddatastore.c56 if (IS_ENABLED(CONFIG_GENERIC_GETTIMEOFDAY)) in vdso_setup_data_pages()
59 if (IS_ENABLED(CONFIG_VDSO_GETRANDOM)) in vdso_setup_data_pages()
62 if (IS_ENABLED(CONFIG_ARCH_HAS_VDSO_ARCH_DATA)) in vdso_setup_data_pages()
79 if (!IS_ENABLED(CONFIG_GENERIC_GETTIMEOFDAY) || !timens_page) in vvar_fault()
102 if (!IS_ENABLED(CONFIG_TIME_NS) || !timens_page) in vvar_fault()
/linux/net/dsa/
H A Dtag_brcm.c86 #if IS_ENABLED(CONFIG_NET_DSA_TAG_BRCM) || \
87 IS_ENABLED(CONFIG_NET_DSA_TAG_BRCM_PREPEND)
194 #if IS_ENABLED(CONFIG_NET_DSA_TAG_BRCM)
229 #if IS_ENABLED(CONFIG_NET_DSA_TAG_BRCM_LEGACY) || \
230 IS_ENABLED(CONFIG_NET_DSA_TAG_BRCM_LEGACY_FCS)
275 #if IS_ENABLED(CONFIG_NET_DSA_TAG_BRCM_LEGACY)
323 #if IS_ENABLED(CONFIG_NET_DSA_TAG_BRCM_LEGACY_FCS)
382 #if IS_ENABLED(CONFIG_NET_DSA_TAG_BRCM_PREPEND)
410 #if IS_ENABLED(CONFIG_NET_DSA_TAG_BRCM)
413 #if IS_ENABLED(CONFIG_NET_DSA_TAG_BRCM_LEGACY)
[all …]
/linux/include/net/
H A Dnet_namespace.h29 #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 Dbr_mrp_switchdev.c42 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/include/net/netfilter/
H A Dnf_conntrack_bpf.h13 #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/arch/riscv/kernel/
H A Dcpu.c71 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 Dsetup.c279 if (IS_ENABLED(CONFIG_RISCV_TICKET_SPINLOCKS)) { in riscv_spinlock_init()
284 if (IS_ENABLED(CONFIG_RISCV_ISA_ZABHA) && in riscv_spinlock_init()
285 IS_ENABLED(CONFIG_RISCV_ISA_ZACAS) && in riscv_spinlock_init()
286 IS_ENABLED(CONFIG_TOOLCHAIN_HAS_ZACAS) && in riscv_spinlock_init()
330 #if IS_ENABLED(CONFIG_BUILTIN_DTB) in setup_arch()
359 if (IS_ENABLED(CONFIG_RISCV_ISA_ZICBOM) && in setup_arch()
367 if (!IS_ENABLED(CONFIG_RISCV_ISA_ZBB) || !riscv_isa_extension_available(NULL, ZBB)) in setup_arch()
378 if (IS_ENABLED(CONFIG_STRICT_KERNEL_RWX)) { in free_initmem()
380 if (IS_ENABLED(CONFIG_64BIT)) in free_initmem()
403 if (IS_ENABLED(CONFIG_RANDOMIZE_BASE)) in register_kernel_offset_dumper()
/linux/kernel/
H A Dirq_work.c98 else if (IS_ENABLED(CONFIG_PREEMPT_RT) && in __irq_work_queue_local()
162 if (IS_ENABLED(CONFIG_PREEMPT_RT) && in irq_work_queue_on()
230 if ((IS_ENABLED(CONFIG_PREEMPT_RT) && !irq_work_is_hard(work)) || in irq_work_single()
245 BUG_ON(!irqs_disabled() && !IS_ENABLED(CONFIG_PREEMPT_RT)); in irq_work_run_list()
262 if (!IS_ENABLED(CONFIG_PREEMPT_RT)) in irq_work_run()
276 if (!IS_ENABLED(CONFIG_PREEMPT_RT)) in irq_work_tick()
291 if ((IS_ENABLED(CONFIG_PREEMPT_RT) && !irq_work_is_hard(work)) || in irq_work_sync()
330 if (IS_ENABLED(CONFIG_PREEMPT_RT)) in irq_work_init_threads()
/linux/lib/crypto/
H A Dutils.c22 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 Dbpf_jit_comp.c66 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_timed_may_goto()
527 return IS_ENABLED(CONFIG_PPC64); in bpf_jit_supports_kfunc_call()
532 return IS_ENABLED(CONFIG_PPC64); in bpf_jit_supports_private_stack()
541 if (IS_ENABLED(CONFIG_PPC32)) in bpf_jit_supports_fsession()
548 return IS_ENABLED(CONFIG_PPC64); in bpf_jit_supports_arena()
553 return IS_ENABLED(CONFIG_PPC64); in bpf_jit_supports_far_kfunc_call()
[all …]
/linux/drivers/usb/mtu3/
H A Dmtu3_dr.h13 #if IS_ENABLED(CONFIG_USB_MTU3_HOST) || IS_ENABLED(CONFIG_USB_MTU3_DUAL_ROLE)
57 #if IS_ENABLED(CONFIG_USB_MTU3_GADGET) || IS_ENABLED(CONFIG_USB_MTU3_DUAL_ROLE)
93 #if IS_ENABLED(CONFIG_USB_MTU3_DUAL_ROLE)

12345678910>>...74