Searched refs:_Static_assert (Results 1 – 17 of 17) sorted by relevance
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgv_sriovmsg.h | 314 _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/ |
D | entrypoints.lskel.h | 241 #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/ |
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()
|
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-6.6.21/include/linux/ |
D | build_bug.h | 78 #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
|
/linux-6.6.21/tools/include/linux/ |
D | build_bug.h | 79 #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
|
/linux-6.6.21/tools/perf/util/bpf_skel/ |
D | augmented_raw_syscalls.bpf.c | 165 …_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/ |
D | list.h | 20 _Static_assert(__same_type(*(ptr), ((type *)0)->member) || \
|
/linux-6.6.21/tools/lib/bpf/ |
D | hashmap.h | 116 _Static_assert((__builtin_constant_p((p)) ? (p) == NULL : 0) || \
|
D | bpf_helpers.h | 186 _Static_assert(!__builtin_constant_p(!!sym), #sym " should be marked as __weak"); \
|
/linux-6.6.21/tools/perf/util/ |
D | hashmap.h | 116 _Static_assert((__builtin_constant_p((p)) ? (p) == NULL : 0) || \
|
/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | test_cls_redirect_dynptr.c | 84 _Static_assert( 89 _Static_assert( 175 _Static_assert(sizeof(struct iphdr) == 20, "iphdr must be 20 bytes"); in pkt_ipv4_checksum()
|
D | test_cls_redirect.c | 89 _Static_assert( 94 _Static_assert( 266 _Static_assert(sizeof(struct iphdr) == 20, "iphdr must be 20 bytes"); in pkt_ipv4_checksum()
|
D | map_ptr_kern.c | 11 _Static_assert(MAX_ENTRIES < LOOP_BOUND, "MAX_ENTRIES must be < LOOP_BOUND");
|
/linux-6.6.21/tools/testing/selftests/kvm/lib/ |
D | test_util.c | 285 _Static_assert(ARRAY_SIZE(aliases) == NUM_SRC_TYPES, in vm_mem_backing_src_alias()
|
D | kvm_util.c | 166 _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/ |
D | kvm_util_base.h | 35 #define __kvm_static_assert(expr, msg, ...) _Static_assert(expr, msg)
|