|
XenevaOS
|


Go to the source code of this file.
Macros | |
| #define | __has_builtin(x) (0) |
| #define | ___PASTE(a, b) a##b |
| #define | __PASTE(a, b) ___PASTE(a, b) |
| #define | auto __auto_type |
| #define | BTF_TYPE_TAG(value) /* nothing */ |
| #define | __kernel |
| #define | __user BTF_TYPE_TAG(user) |
| #define | __iomem |
| #define | __percpu __percpu_qual BTF_TYPE_TAG(percpu) |
| #define | __rcu BTF_TYPE_TAG(rcu) |
| #define | __chk_user_ptr(x) (void)0 |
| #define | __chk_io_ptr(x) (void)0 |
| #define | __force |
| #define | __nocast |
| #define | __safe |
| #define | __private |
| #define | ACCESS_PRIVATE(p, member) ((p)->member) |
| #define | __builtin_warning(x, y...) (1) |
| #define | __latent_entropy |
| #define | __randomize_layout __designated_init |
| #define | __no_randomize_layout |
| #define | randomized_struct_fields_start |
| #define | randomized_struct_fields_end |
| #define | __no_kstack_erase |
| #define | __noscs |
| #define | __nocfi |
| #define | __nocfi_generic |
| #define | __alloc_size(x, ...) __malloc |
| #define | __realloc_size(x, ...) |
| #define | __struct_size(p) __builtin_object_size(p, 0) |
| #define | __member_size(p) __builtin_object_size(p, 1) |
| #define | __flex_counter(FAM) ((void *)NULL) |
| #define | asm_goto_output(x...) asm volatile goto(x) |
| #define | ASM_INPUT_G "g" |
| #define | ASM_INPUT_RM "rm" |
| #define | ASM_OUTPUT_RM "=rm" |
| #define | asm_inline asm |
| #define | __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) |
| #define | __scalar_type_to_expr_cases(type) |
| #define | __unqual_scalar_typeof(x) |
| #define | __scalar_type_to_signed_cases(type) |
| #define | __signed_scalar_typeof(x) |
| #define | __native_word(t) |
| #define | __compiletime_assert(condition, msg, prefix, suffix) ((void)(condition)) |
| #define | _compiletime_assert(condition, msg, prefix, suffix) __compiletime_assert(condition, msg, prefix, suffix) |
| #define | compiletime_assert(condition, msg) _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) |
| #define | compiletime_assert_atomic_type(t) |
| #define | __diag(string) |
| #define | __diag_GCC(version, severity, string) |
| #define | __diag_clang(version, severity, string) |
| #define | __diag_push() __diag(push) |
| #define | __diag_pop() __diag(pop) |
| #define | __diag_ignore(compiler, version, option, comment) __diag_ ## compiler(version, ignore, option) |
| #define | __diag_warn(compiler, version, option, comment) __diag_ ## compiler(version, warn, option) |
| #define | __diag_error(compiler, version, option, comment) __diag_ ## compiler(version, error, option) |
| #define | __diag_ignore_all(option, comment) |
| #define __alloc_size | ( | x, | |
| ... | |||
| ) | __malloc |
| #define __builtin_warning | ( | x, | |
| y... | |||
| ) | (1) |
| #define __chk_io_ptr | ( | x | ) | (void)0 |
| #define __chk_user_ptr | ( | x | ) | (void)0 |
| #define __compiletime_assert | ( | condition, | |
| msg, | |||
| prefix, | |||
| suffix | |||
| ) | ((void)(condition)) |
| #define __diag | ( | string | ) |
| #define __diag_clang | ( | version, | |
| severity, | |||
| string | |||
| ) |
| #define __diag_error | ( | compiler, | |
| version, | |||
| option, | |||
| comment | |||
| ) | __diag_ ## compiler(version, error, option) |
| #define __diag_GCC | ( | version, | |
| severity, | |||
| string | |||
| ) |
| #define __diag_ignore | ( | compiler, | |
| version, | |||
| option, | |||
| comment | |||
| ) | __diag_ ## compiler(version, ignore, option) |
| #define __diag_ignore_all | ( | option, | |
| comment | |||
| ) |
| #define __diag_pop | ( | ) | __diag(pop) |
| #define __diag_push | ( | ) | __diag(push) |
| #define __diag_warn | ( | compiler, | |
| version, | |||
| option, | |||
| comment | |||
| ) | __diag_ ## compiler(version, warn, option) |
| #define __flex_counter | ( | FAM | ) | ((void *)NULL) |
| #define __force |
| #define __has_builtin | ( | x | ) | (0) |
| #define __iomem |
| #define __kernel |
| #define __latent_entropy |
| #define __member_size | ( | p | ) | __builtin_object_size(p, 1) |
| #define __native_word | ( | t | ) |
| #define __no_kstack_erase |
| #define __no_randomize_layout |
| #define __nocast |
| #define __nocfi |
| #define __nocfi_generic |
| #define __noscs |
| #define __percpu __percpu_qual BTF_TYPE_TAG(percpu) |
| #define __private |
| #define __randomize_layout __designated_init |
| #define __rcu BTF_TYPE_TAG(rcu) |
| #define __realloc_size | ( | x, | |
| ... | |||
| ) |
| #define __safe |
| #define __scalar_type_to_expr_cases | ( | type | ) |
| #define __scalar_type_to_signed_cases | ( | type | ) |
| #define __signed_scalar_typeof | ( | x | ) |
| #define __struct_size | ( | p | ) | __builtin_object_size(p, 0) |
| #define __unqual_scalar_typeof | ( | x | ) |
| #define __user BTF_TYPE_TAG(user) |
| #define _compiletime_assert | ( | condition, | |
| msg, | |||
| prefix, | |||
| suffix | |||
| ) | __compiletime_assert(condition, msg, prefix, suffix) |
| #define ACCESS_PRIVATE | ( | p, | |
| member | |||
| ) | ((p)->member) |
| #define asm_goto_output | ( | x... | ) | asm volatile goto(x) |
| #define asm_inline asm |
| #define ASM_INPUT_G "g" |
| #define ASM_INPUT_RM "rm" |
| #define ASM_OUTPUT_RM "=rm" |
| #define auto __auto_type |
| #define BTF_TYPE_TAG | ( | value | ) | /* nothing */ |
| #define compiletime_assert | ( | condition, | |
| msg | |||
| ) | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) |
compiletime_assert - break build and emit msg if condition is false @condition: a compile-time constant condition to check @msg: a message to emit if condition is false
In tradition of POSIX assert, this macro will break the build if the supplied condition is false, emitting the supplied error message if the compiler has support to do so.
| #define compiletime_assert_atomic_type | ( | t | ) |
| #define randomized_struct_fields_end |
| #define randomized_struct_fields_start |