Home
last modified time | relevance | path

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

12345678910>>...90

/linux/arch/arm64/include/asm/
H A Dcpucaps.h23 return IS_ENABLED(CONFIG_ARM64_EPAN); in cpucap_is_possible()
25 return IS_ENABLED(CONFIG_ARM64_SVE); in cpucap_is_possible()
29 return IS_ENABLED(CONFIG_ARM64_SME); in cpucap_is_possible()
31 return IS_ENABLED(CONFIG_ARM64_CNP); in cpucap_is_possible()
34 return IS_ENABLED(CONFIG_ARM64_PTR_AUTH); in cpucap_is_possible()
36 return IS_ENABLED(CONFIG_ARM64_PSEUDO_NMI); in cpucap_is_possible()
38 return IS_ENABLED(CONFIG_ARM64_MTE); in cpucap_is_possible()
40 return IS_ENABLED(CONFIG_ARM64_BTI); in cpucap_is_possible()
42 return IS_ENABLED(CONFIG_ARM64_TLB_RANGE); in cpucap_is_possible()
44 return IS_ENABLED(CONFIG_ARM64_POE); in cpucap_is_possible()
[all …]
/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 Dpreempt.h61 #define NMI_BITS (1 + 3*IS_ENABLED(CONFIG_HAS_SEPARATE_PREEMPT_RESCHED_BITS))
481 if (IS_ENABLED(CONFIG_PREEMPT_RT)) \
492 if (IS_ENABLED(CONFIG_PREEMPT_RT)) in preempt_enable_nested()
508 return IS_ENABLED(CONFIG_PREEMPT);
513 return IS_ENABLED(CONFIG_PREEMPT_LAZY);
520 return IS_ENABLED(CONFIG_PREEMPT_NONE); in preempt_model_none()
525 return IS_ENABLED(CONFIG_PREEMPT_VOLUNTARY); in preempt_model_voluntary()
530 return IS_ENABLED(CONFIG_PREEMPT_RT); in preempt_model_rt()
/linux/drivers/gpio/
H A Dgpiolib-of.c92 if (!IS_ENABLED(CONFIG_SPI_MASTER)) in of_gpio_spi_cs_get_count()
188 #if IS_ENABLED(CONFIG_LCD_HX8357) in of_gpio_try_fixup_polarity()
197 #if IS_ENABLED(CONFIG_MTD_NAND_JZ4780) in of_gpio_try_fixup_polarity()
208 #if IS_ENABLED(CONFIG_IEEE802154_CA8210) in of_gpio_try_fixup_polarity()
217 #if IS_ENABLED(CONFIG_PCI_LANTIQ) in of_gpio_try_fixup_polarity()
227 #if IS_ENABLED(CONFIG_REGULATOR_S5M8767) in of_gpio_try_fixup_polarity()
236 #if IS_ENABLED(CONFIG_TOUCHSCREEN_TSC2005) in of_gpio_try_fixup_polarity()
244 #if IS_ENABLED(CONFIG_SND_SOC_WSA881X) in of_gpio_try_fixup_polarity()
275 #if IS_ENABLED(CONFIG_FEC) in of_gpio_set_polarity_by_property()
288 #if IS_ENABLED(CONFIG_MMC_ATMELMC in of_gpio_set_polarity_by_property()
[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/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/drivers/hid/
H A Dhid-quirks.c249 #if IS_ENABLED(CONFIG_USB_APPLEDISPLAY)
258 #if IS_ENABLED(CONFIG_HID_A4TECH)
264 #if IS_ENABLED(CONFIG_HID_ACCUTOUCH)
267 #if IS_ENABLED(CONFIG_HID_ACRUX)
271 #if IS_ENABLED(CONFIG_HID_ALPS)
274 #if IS_ENABLED(CONFIG_HID_APPLE)
362 #if IS_ENABLED(CONFIG_HID_APPLEIR)
369 #if IS_ENABLED(CONFIG_HID_APPLETB_BL)
372 #if IS_ENABLED(CONFIG_HID_APPLETB_KBD)
375 #if IS_ENABLED(CONFIG_HID_ASU
[all...]
/linux/arch/riscv/include/asm/
H A Dvendor_extensions.h54 if (!IS_ENABLED(CONFIG_RISCV_ISA_VENDOR_EXT)) in riscv_has_vendor_extension_likely()
65 if (!IS_ENABLED(CONFIG_RISCV_ISA_VENDOR_EXT)) in riscv_has_vendor_extension_unlikely()
76 if (!IS_ENABLED(CONFIG_RISCV_ISA_VENDOR_EXT))
89 if (!IS_ENABLED(CONFIG_RISCV_ISA_VENDOR_EXT))
/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/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/crypto/
H A Daes.c155 #if IS_ENABLED(CONFIG_CRYPTO_CMAC)
172 #if IS_ENABLED(CONFIG_CRYPTO_XCBC)
193 #if IS_ENABLED(CONFIG_CRYPTO_CCM)
238 return !IS_ENABLED(CONFIG_HIGHMEM) && in skcipher_request_is_linear_lowmem()
298 if (IS_ENABLED(CONFIG_HIGHMEM) && \
609 #if IS_ENABLED(CONFIG_CRYPTO_ECB)
613 .base.cra_priority = (IS_ENABLED(CONFIG_RISCV) ||
614 IS_ENABLED(CONFIG_X86)) ? 500 : 110,
625 #if IS_ENABLED(CONFIG_CRYPTO_CBC)
629 .base.cra_priority = (IS_ENABLED(CONFIG_RISC
[all...]
/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/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/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/net/dsa/
H A Dtag_brcm.c86 #if IS_ENABLED(CONFIG_NET_DSA_TAG_BRCM) || \
87 IS_ENABLED(CONFIG_NET_DSA_TAG_BRCM_PREPEND)
199 #if IS_ENABLED(CONFIG_NET_DSA_TAG_BRCM) in brcm_tag_xmit()
234 #if IS_ENABLED(CONFIG_NET_DSA_TAG_BRCM_LEGACY) || \ in brcm_leg_tag_rcv()
235 IS_ENABLED(CONFIG_NET_DSA_TAG_BRCM_LEGACY_FCS) in brcm_leg_tag_rcv()
280 #if IS_ENABLED(CONFIG_NET_DSA_TAG_BRCM_LEGACY) in brcm_leg_tag_xmit()
328 #if IS_ENABLED(CONFIG_NET_DSA_TAG_BRCM_LEGACY_FCS) in brcm_leg_fcs_tag_xmit()
388 #if IS_ENABLED(CONFIG_NET_DSA_TAG_BRCM_PREPEND) in brcm_tag_xmit_prepend()
416 #if IS_ENABLED(CONFIG_NET_DSA_TAG_BRCM)
419 #if IS_ENABLED(CONFIG_NET_DSA_TAG_BRCM_LEGAC
[all...]
/linux/include/net/
H A Dnet_namespace.h29 #if IS_ENABLED(CONFIG_NF_FLOW_TABLE)
140 #if IS_ENABLED(CONFIG_UNIX)
145 #if IS_ENABLED(CONFIG_IPV6)
148 #if IS_ENABLED(CONFIG_IEEE802154_6LOWPAN)
162 #if IS_ENABLED(CONFIG_NF_FLOW_TABLE)
181 #if IS_ENABLED(CONFIG_IP_VS)
184 #if IS_ENABLED(CONFIG_MPLS)
187 #if IS_ENABLED(CONFIG_CAN)
193 #if IS_ENABLED(CONFIG_MCTP)
196 #if IS_ENABLED(CONFIG_CRYPTO_USE
[all...]
/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()
259 if (!IS_ENABLED(CONFIG_PREEMPT_RT)) in irq_work_run()
271 if (!IS_ENABLED(CONFIG_PREEMPT_RT)) in irq_work_run_cpu()
284 if (!IS_ENABLED(CONFIG_PREEMPT_RT)) in irq_work_tick()
299 if ((IS_ENABLED(CONFIG_PREEMPT_RT) && !irq_work_is_hard(work)) || in irq_work_sync()
338 if (IS_ENABLED(CONFIG_PREEMPT_RT)) in irq_work_init_threads()
/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/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_MOD in riscv_cpuinfo_starting()
[all...]
/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/include/linux/ns/
H A Dns_common_types.h180 struct cgroup_namespace *: (IS_ENABLED(CONFIG_CGROUPS) ? &cgroupns_operations : NULL), \
181 struct ipc_namespace *: (IS_ENABLED(CONFIG_IPC_NS) ? &ipcns_operations : NULL), \
183 struct net *: (IS_ENABLED(CONFIG_NET_NS) ? &netns_operations : NULL), \
184 struct pid_namespace *: (IS_ENABLED(CONFIG_PID_NS) ? &pidns_operations : NULL), \
185 struct time_namespace *: (IS_ENABLED(CONFIG_TIME_NS) ? &timens_operations : NULL), \
186 struct user_namespace *: (IS_ENABLED(CONFIG_USER_NS) ? &userns_operations : NULL), \
187 struct uts_namespace *: (IS_ENABLED(CONFIG_UTS_NS) ? &utsns_operations : NULL))
/linux/arch/powerpc/net/
H A Dbpf_jit_comp.c75 stub_sz = IS_ENABLED(CONFIG_PPC_FTRACE_OUT_OF_LINE) ? 44 : 40; in bpf_jit_build_fentry_stubs()
90 if (IS_ENABLED(CONFIG_PPC_FTRACE_OUT_OF_LINE)) in bpf_jit_build_fentry_stubs()
473 if (IS_ENABLED(CONFIG_PPC32)) in bpf_arch_text_invalidate()
559 return IS_ENABLED(CONFIG_PPC64); in bpf_jit_supports_insn()
564 return IS_ENABLED(CONFIG_PPC64); in bpf_jit_supports_insn()
569 return IS_ENABLED(CONFIG_PPC64); in bpf_jit_supports_insn()
574 return IS_ENABLED(CONFIG_PPC64); in bpf_jit_supports_percpu_insn()
579 return IS_ENABLED(CONFIG_PPC64); in bpf_jit_inlines_helper_call()
588 if (IS_ENABLED(CONFIG_PPC32))
595 return IS_ENABLED(CONFIG_PPC6 in arch_free_bpf_trampoline()
[all...]

12345678910>>...90