/linux/tools/sched_ext/include/scx/ |
H A D | compat.bpf.h | 86 _Static_assert(false, "scx_bpf_dispatch() renamed to scx_bpf_dsq_insert()") 89 _Static_assert(false, "scx_bpf_dispatch_vtime() renamed to scx_bpf_dsq_insert_vtime()") 92 _Static_assert(false, "scx_bpf_consume() renamed to scx_bpf_dsq_move_to_local()"); \ 97 _Static_assert(false, "scx_bpf_dispatch_from_dsq_set_slice() renamed to scx_bpf_dsq_move_set_slice()") 100 _Static_assert(false, "scx_bpf_dispatch_from_dsq_set_vtime() renamed to scx_bpf_dsq_move_set_vtime()") 103 _Static_assert(false, "scx_bpf_dispatch_from_dsq() renamed to scx_bpf_dsq_move()"); \ 108 _Static_assert(false, "scx_bpf_dispatch_vtime_from_dsq() renamed to scx_bpf_dsq_move_vtime()"); \ 113 _Static_assert(false, "__COMPAT_scx_bpf_dispatch_from_dsq_set_slice() renamed to __COMPAT_scx_bpf_dsq_move_set_slice()") 116 _Static_assert(false, "__COMPAT_scx_bpf_dispatch_from_dsq_set_vtime() renamed to __COMPAT_scx_bpf_dsq_move_set_vtime()") 119 _Static_assert(fals [all...] |
H A D | common.bpf.h | 45 _Static_assert(SCX_DSQ_FLAG_BUILTIN, in ___vmlinux_h_sanity_check___() 236 _Static_assert(sizeof(base) >= sizeof((base) member), \
|
/linux/scripts/gendwarfksyms/examples/ |
H A D | kabi_ex.h | 193 _Static_assert(sizeof(struct ex2a) == sizeof(struct ex2b), "ex2a size doesn't match ex2b"); 213 _Static_assert(sizeof(struct ex2a) == sizeof(struct ex2c), "ex2a size doesn't match ex2c"); 246 _Static_assert(sizeof(struct ex3a) == sizeof(struct ex3b), "ex3a size doesn't match ex3b"); 260 _Static_assert(sizeof(struct ex3a) == sizeof(struct ex3c), "ex3a size doesn't match ex3c");
|
H A D | kabi.h | 51 _Static_assert( \ 55 _Static_assert( \
|
/linux/drivers/hid/bpf/progs/ |
H A D | Microsoft__Xbox-Elite-2.bpf.c | 90 _Static_assert(sizeof(rdesc_assign_selection) == sizeof(fixed_rdesc_assign_selection), 92 _Static_assert(sizeof(rdesc_assign_selection) + OFFSET_ASSIGN_SELECTION < ORIGINAL_RDESC_SIZE,
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgv_sriovmsg.h | 433 _Static_assert( 437 _Static_assert( 441 _Static_assert(AMD_SRIOV_MSG_RESERVE_UCODE % 4 == 0, 444 _Static_assert(AMD_SRIOV_MSG_RESERVE_UCODE > AMD_SRIOV_UCODE_ID__MAX,
|
/linux/kernel/bpf/preload/iterators/ |
H A D | iterators.lskel-big-endian.h | 430 #define _Static_assert static_assert in iterators_bpf__assert() macro 433 #undef _Static_assert in iterators_bpf__assert()
|
H A D | iterators.lskel-little-endian.h | 428 #define _Static_assert static_assert in iterators_bpf__assert() macro 431 #undef _Static_assert in iterators_bpf__assert()
|
/linux/arch/x86/include/uapi/asm/ |
H A D | elf.h | 14 _Static_assert(sizeof(struct x86_xfeat_component) % 4 == 0, "x86_xfeat_component is not aligned");
|
/linux/tools/testing/selftests/kvm/include/ |
H A D | kvm_util_types.h | 9 * #defines static_assert() as a direct alias to _Static_assert() (see 14 #define __kvm_static_assert(expr, msg, ...) _Static_assert(expr, msg)
|
/linux/include/linux/ |
H A D | build_bug.h | 64 * static_assert() is a wrapper for the C11 _Static_assert, with a 78 #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
|
H A D | compiler.h | 197 #define __BUILD_BUG_ON_ZERO_MSG(e, msg, ...) ((int)sizeof(struct {_Static_assert(!(e), msg);}))
|
H A D | overflow.h | 402 _Static_assert(__builtin_constant_p(count), \
|
/linux/tools/include/linux/ |
H A D | build_bug.h | 64 * static_assert() is a wrapper for the C11 _Static_assert, with a 79 #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
|
H A D | compiler.h | 251 #define __BUILD_BUG_ON_ZERO_MSG(e, msg, ...) ((int)sizeof(struct {_Static_assert(!(e), msg);}))
|
/linux/lib/tests/ |
H A D | longest_symbol_kunit.c | 33 _Static_assert(sizeof(__stringify(LONGEST_SYM_NAME)) == KSYM_NAME_LEN,
|
H A D | randstruct_kunit.c | 36 _Static_assert(MEMBER_NAME_MAX == 8, "Number of test members changed?!");
|
/linux/tools/perf/util/ |
H A D | thread.c | 461 _Static_assert(offsetof(Elf32_Ehdr, e_machine) == 18, "Unexpected offset"); in read_proc_e_machine_for_pid() 462 _Static_assert(offsetof(Elf64_Ehdr, e_machine) == 18, "Unexpected offset"); in read_proc_e_machine_for_pid() 474 _Static_assert(0 == EM_NONE, "Unexpected EM_NONE"); in thread__e_machine_callback()
|
H A D | hashmap.h | 54 * type is verified by hashmap_cast_ptr using _Static_assert; 116 _Static_assert((__builtin_constant_p((p)) ? (p) == NULL : 0) || \
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | res_spin_lock.c | 92 _Static_assert(ARRAY_SIZE(((struct rqspinlock_held){}).locks) == 31, in res_spin_lock_test_held_lock_max()
|
H A D | test_cls_redirect_dynptr.c | 86 _Static_assert( 91 _Static_assert( 177 _Static_assert(sizeof(struct iphdr) == 20, "iphdr must be 20 bytes"); in pkt_ipv4_checksum()
|
/linux/tools/lib/bpf/ |
H A D | bpf_helpers.h | 200 _Static_assert(!__builtin_constant_p(!!sym), \ 206 _Static_assert(__builtin_has_attribute (*sym, __weak__), \
|
H A D | hashmap.h | 54 * type is verified by hashmap_cast_ptr using _Static_assert; 116 _Static_assert((__builtin_constant_p((p)) ? (p) == NULL : 0) || \
|
/linux/scripts/mod/ |
H A D | modpost.h | 57 _Static_assert(sizeof(x) == 1 || sizeof(x) == 2 || \
|
/linux/tools/perf/util/bpf_skel/ |
H A D | sample_filter.bpf.c | 83 _Static_assert((1 << (PBF_TERM_##x - PBF_TERM_SAMPLE_START)) == PERF_SAMPLE_##x, \ in perf_get_sample()
|