Home
last modified time | relevance | path

Searched refs:_Static_assert (Results 1 – 17 of 17) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgv_sriovmsg.h314 _Static_assert(
318 _Static_assert(
322 _Static_assert(AMD_SRIOV_MSG_RESERVE_UCODE % 4 == 0,
325 _Static_assert(AMD_SRIOV_MSG_RESERVE_UCODE > AMD_SRIOV_UCODE_ID__MAX,
/linux-6.6.21/drivers/hid/bpf/entrypoints/
Dentrypoints.lskel.h241 #define _Static_assert static_assert in entrypoints_bpf__assert() macro
244 #undef _Static_assert in entrypoints_bpf__assert()
/linux-6.6.21/kernel/bpf/preload/iterators/
Diterators.lskel-big-endian.h412 #define _Static_assert static_assert in iterators_bpf__assert() macro
415 #undef _Static_assert in iterators_bpf__assert()
Diterators.lskel-little-endian.h428 #define _Static_assert static_assert in iterators_bpf__assert() macro
431 #undef _Static_assert in iterators_bpf__assert()
/linux-6.6.21/include/linux/
Dbuild_bug.h78 #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
/linux-6.6.21/tools/include/linux/
Dbuild_bug.h79 #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
/linux-6.6.21/tools/perf/util/bpf_skel/
Daugmented_raw_syscalls.bpf.c165_Static_assert(is_power_of_2(sizeof(augmented_arg->value)), "sizeof(augmented_arg->value) needs to… in augmented_arg__read_str()
203_Static_assert(is_power_of_2(sizeof(augmented_args->saddr)), "sizeof(augmented_args->saddr) needs … in sys_enter_connect()
/linux-6.6.21/scripts/mod/
Dlist.h20 _Static_assert(__same_type(*(ptr), ((type *)0)->member) || \
/linux-6.6.21/tools/lib/bpf/
Dhashmap.h116 _Static_assert((__builtin_constant_p((p)) ? (p) == NULL : 0) || \
Dbpf_helpers.h186 _Static_assert(!__builtin_constant_p(!!sym), #sym " should be marked as __weak"); \
/linux-6.6.21/tools/perf/util/
Dhashmap.h116 _Static_assert((__builtin_constant_p((p)) ? (p) == NULL : 0) || \
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dtest_cls_redirect_dynptr.c84 _Static_assert(
89 _Static_assert(
175 _Static_assert(sizeof(struct iphdr) == 20, "iphdr must be 20 bytes"); in pkt_ipv4_checksum()
Dtest_cls_redirect.c89 _Static_assert(
94 _Static_assert(
266 _Static_assert(sizeof(struct iphdr) == 20, "iphdr must be 20 bytes"); in pkt_ipv4_checksum()
Dmap_ptr_kern.c11 _Static_assert(MAX_ENTRIES < LOOP_BOUND, "MAX_ENTRIES must be < LOOP_BOUND");
/linux-6.6.21/tools/testing/selftests/kvm/lib/
Dtest_util.c285 _Static_assert(ARRAY_SIZE(aliases) == NUM_SRC_TYPES, in vm_mem_backing_src_alias()
Dkvm_util.c166 _Static_assert(sizeof(strings)/sizeof(char *) == NUM_VM_MODES, in vm_guest_mode_string()
191 _Static_assert(sizeof(vm_guest_mode_params)/sizeof(struct vm_guest_mode_params) == NUM_VM_MODES,
/linux-6.6.21/tools/testing/selftests/kvm/include/
Dkvm_util_base.h35 #define __kvm_static_assert(expr, msg, ...) _Static_assert(expr, msg)