/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_… 116 …_Static_assert(false, "__COMPAT_scx_bpf_dispatch_from_dsq_set_vtime() renamed to __COMPAT_scx_bpf_… 119 …_Static_assert(false, "__COMPAT_scx_bpf_dispatch_from_dsq() renamed to __COMPAT_scx_bpf_dsq_move()… [all …]
|
H A D | common.bpf.h | 33 _Static_assert(SCX_DSQ_FLAG_BUILTIN, in ___vmlinux_h_sanity_check___() 197 _Static_assert(sizeof(base) >= sizeof((base) member), \
|
/linux/tools/testing/selftests/bpf/ |
H A D | bpf_experimental.h | 252 _Static_assert(sizeof(&(LHS)), "1st argument must be an lvalue expression"); \ 253 _Static_assert(sizeof(LHS) == 8, "Only 8-byte integers are supported\n"); \ 254 _Static_assert(__builtin_constant_p(__bpf_assert_signed(LHS)), "internal static assert"); \ 255 _Static_assert(__builtin_constant_p((RHS)), "2nd argument must be a constant expression") 310 _Static_assert(sizeof(&(LHS)), "1st argument must be an lvalue expression"); \ 535 _Static_assert(BEG <= END, "BEG must be <= END"); \ 553 _Static_assert(BEG <= END, "BEG must be <= END"); \
|
/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 | 413 _Static_assert( 417 _Static_assert( 421 _Static_assert(AMD_SRIOV_MSG_RESERVE_UCODE % 4 == 0, 424 _Static_assert(AMD_SRIOV_MSG_RESERVE_UCODE > AMD_SRIOV_UCODE_ID__MAX,
|
/linux/kernel/bpf/preload/iterators/ |
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()
|
H A D | iterators.lskel-big-endian.h | 412 #define _Static_assert static_assert in iterators_bpf__assert() macro 415 #undef _Static_assert in iterators_bpf__assert()
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | exceptions_assert.c | 68 _Static_assert(_Generic((sk->rx_queue_mapping), s32: 1, default: 0), "type match"); in check_assert_range_s64() 95 _Static_assert(_Generic((sk->rx_queue_mapping), s32: 1, default: 0), "type match"); in check_assert_single_range_s64()
|
H A D | test_cls_redirect.c | 92 _Static_assert( 97 _Static_assert( 269 _Static_assert(sizeof(struct iphdr) == 20, "iphdr must be 20 bytes"); in pkt_ipv4_checksum()
|
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()
|
H A D | map_ptr_kern.c | 11 _Static_assert(MAX_ENTRIES < LOOP_BOUND, "MAX_ENTRIES must be < LOOP_BOUND");
|
/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 | 14 #define __kvm_static_assert(expr, msg, ...) _Static_assert(expr, msg)
|
/linux/include/linux/ |
H A D | build_bug.h | 78 #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
|
H A D | compiler.h | 260 #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 | 79 #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
|
/linux/tools/lib/bpf/ |
H A D | bpf_helpers.h | 192 _Static_assert(!__builtin_constant_p(!!sym), \ 198 _Static_assert(__builtin_has_attribute (*sym, __weak__), \
|
/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 | augmented_raw_syscalls.bpf.c | 178 …_Static_assert(is_power_of_2(sizeof(augmented_arg->value)), "sizeof(augmented_arg->value) needs to… in augmented_arg__read_str() 216 …_Static_assert(is_power_of_2(sizeof(augmented_args->arg.saddr)), "sizeof(augmented_args->arg.saddr… in sys_enter_connect()
|
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()
|
/linux/tools/perf/util/ |
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/include/ |
H A D | list.h | 21 _Static_assert(__same_type(*(ptr), ((type *)0)->member) || \
|
/linux/tools/testing/selftests/kvm/lib/ |
H A D | test_util.c | 283 _Static_assert(ARRAY_SIZE(aliases) == NUM_SRC_TYPES, in vm_mem_backing_src_alias()
|
H A D | kvm_util.c | 221 _Static_assert(sizeof(strings)/sizeof(char *) == NUM_VM_MODES, in vm_guest_mode_string() 247 _Static_assert(sizeof(vm_guest_mode_params)/sizeof(struct vm_guest_mode_params) == NUM_VM_MODES,
|