Home
last modified time | relevance | path

Searched refs:__has_attribute (Results 1 - 17 of 17) sorted by relevance

/kernel/linux/linux-6.6/include/linux/
H A Dcompiler_attributes.h8 * the attribute. In that case, __has_attribute is used to check for support
91 #if __has_attribute(__copy__)
104 #if __has_attribute(__counted_by__)
116 #if __has_attribute(__diagnose_as_builtin__)
139 #if __has_attribute(__designated_init__)
150 #if __has_attribute(__error__)
161 #if __has_attribute(__externally_visible__)
198 #if __has_attribute(__no_caller_saved_registers__)
209 #if __has_attribute(__noclone__)
226 #if __has_attribute(__fallthrough_
[all...]
H A Dcompiler_types.h12 __has_attribute(btf_type_tag) && !defined(__BINDGEN__)
131 #if __has_attribute(__preserve_most__) && (defined(CONFIG_X86_64) || defined(CONFIG_ARM64))
H A Dcompiler-gcc.h118 #if defined(CONFIG_KCOV) && __has_attribute(__no_sanitize_coverage__)
/kernel/linux/linux-5.10/include/linux/
H A Dcompiler_attributes.h8 * the attribute. In that case, __has_attribute is used to check for support
24 * __has_attribute is supported on gcc >= 5, clang >= 2.9 and icc >= 17.
25 * In the meantime, to support gcc < 5, we implement __has_attribute
28 #ifndef __has_attribute
29 # define __has_attribute(x) __GCC4_has_attribute_##x macro
84 #if __has_attribute(__assume_aligned__)
110 #if __has_attribute(__copy__)
135 #if __has_attribute(__designated_init__)
146 #if __has_attribute(__error__)
157 #if __has_attribute(__externally_visible_
[all...]
H A Dcompiler-gcc.h119 #if __has_attribute(__no_sanitize_address__)
125 #if defined(__SANITIZE_THREAD__) && __has_attribute(__no_sanitize_thread__)
131 #if __has_attribute(__no_sanitize_undefined__)
137 #if defined(CONFIG_KCOV) && __has_attribute(__no_sanitize_coverage__)
/kernel/linux/linux-6.6/include/acpi/platform/
H A Dacgcc.h49 /* GCC did not support __has_attribute until 5.1. */
51 #ifndef __has_attribute
52 #define __has_attribute(x) 0 macro
60 #if __has_attribute(__fallthrough__)
/kernel/linux/linux-6.6/lib/zstd/common/
H A Dportability_macros.h25 #ifndef __has_attribute
26 #define __has_attribute(x) 0 macro
56 #if ((defined(__clang__) && __has_attribute(__target__)) \
/kernel/linux/linux-6.6/tools/include/nolibc/
H A Dcompiler.h15 #if defined(__has_attribute)
16 # if __has_attribute(no_stack_protector)
23 #endif /* defined(__has_attribute) */
/kernel/linux/linux-6.6/tools/include/linux/
H A Dcompiler-gcc.h15 #if __has_attribute(__fallthrough__)
21 #if __has_attribute(__error__)
/kernel/linux/linux-6.6/tools/perf/util/
H A Dmutex.h10 * `__has_attribute`, which is defined by GCC 5+ and Clang and evaluates to a
13 #ifdef __has_attribute
14 #define HAVE_ATTRIBUTE(x) __has_attribute(x)
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dbtf_type_tag.c7 #if __has_attribute(btf_type_tag)
H A Dtest_btf_decl_tag.c7 #if __has_attribute(btf_decl_tag)
/kernel/linux/linux-6.6/tools/perf/tests/
H A Ddwarf-unwind.c29 #ifdef __has_attribute
30 #if __has_attribute(disable_tail_calls)
/kernel/linux/linux-5.10/arch/loongarch/include/asm/
H A Dpercpu.h16 # if __has_attribute(model)
/kernel/linux/linux-6.6/arch/loongarch/include/asm/
H A Dpercpu.h17 # if __has_attribute(model)
/kernel/linux/linux-6.6/drivers/misc/lkdtm/
H A Dbugs.c391 if (!__has_attribute(__counted_by__)) in lkdtm_FAM_BOUNDS()
/kernel/linux/linux-6.6/init/
H A Dmain.c1079 #if !__has_attribute(__no_stack_protector__) in start_kernel()

Completed in 8 milliseconds