Searched refs:HDR_SZ (Results 1 - 15 of 15) sorted by relevance
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | test_xdp_do_redirect.c | 6 #define HDR_SZ (sizeof(struct ethhdr) + sizeof(struct ipv6hdr) + sizeof(struct udphdr)) macro 35 __u8 *payload = data + HDR_SZ; in xdp_redirect() 70 __u8 *payload = data + HDR_SZ; in check_pkt()
|
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/signal/testcases/ |
H A D | fake_sigreturn_bad_magic.c | 27 /* need at least 2*HDR_SZ space: KSFT_BAD_MAGIC + terminator. */ in fake_sigreturn_bad_magic_run() 28 head = get_starting_head(shead, HDR_SZ * 2, GET_SF_RESV_SIZE(sf), NULL); in fake_sigreturn_bad_magic_run() 37 head->size = HDR_SZ; in fake_sigreturn_bad_magic_run()
|
H A D | fake_sigreturn_bad_size_for_magic0.c | 27 /* at least HDR_SZ for the badly sized terminator. */ in fake_sigreturn_bad_size_for_magic0_run() 28 head = get_starting_head(shead, HDR_SZ, GET_SF_RESV_SIZE(sf), NULL); in fake_sigreturn_bad_size_for_magic0_run() 33 head->size = HDR_SZ; in fake_sigreturn_bad_size_for_magic0_run()
|
H A D | testcases.c | 11 if (!head || resv_sz < HDR_SZ) in get_header() 14 while (offs <= resv_sz - HDR_SZ && in get_header()
|
H A D | fake_sigreturn_missing_fpsimd.c | 31 if (head && resv_sz - offset >= HDR_SZ) { in fake_sigreturn_missing_fpsimd_run()
|
H A D | fake_sigreturn_duplicated_fpsimd.c | 27 head = get_starting_head(shead, sizeof(struct fpsimd_context) + HDR_SZ, in fake_sigreturn_duplicated_fpsimd_run()
|
H A D | fake_sigreturn_bad_size.c | 31 /* at least HDR_SZ + bad sized esr_context needed */ in fake_sigreturn_bad_size_run() 32 need_sz = sizeof(struct esr_context) + HDR_SZ; in fake_sigreturn_bad_size_run() 39 * size greater then the free __reserved area minus HDR_SZ; in fake_sigreturn_bad_size_run()
|
H A D | testcases.h | 23 #define HDR_SZ \ macro
|
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/signal/testcases/ |
H A D | fake_sigreturn_bad_magic.c | 27 /* need at least 2*HDR_SZ space: KSFT_BAD_MAGIC + terminator. */ in fake_sigreturn_bad_magic_run() 28 head = get_starting_head(shead, HDR_SZ * 2, GET_SF_RESV_SIZE(sf), NULL); in fake_sigreturn_bad_magic_run() 37 head->size = HDR_SZ; in fake_sigreturn_bad_magic_run()
|
H A D | fake_sigreturn_bad_size_for_magic0.c | 27 /* at least HDR_SZ for the badly sized terminator. */ in fake_sigreturn_bad_size_for_magic0_run() 28 head = get_starting_head(shead, HDR_SZ, GET_SF_RESV_SIZE(sf), NULL); in fake_sigreturn_bad_size_for_magic0_run() 33 head->size = HDR_SZ; in fake_sigreturn_bad_size_for_magic0_run()
|
H A D | fake_sigreturn_missing_fpsimd.c | 31 if (head && resv_sz - offset >= HDR_SZ) { in fake_sigreturn_missing_fpsimd_run()
|
H A D | fake_sigreturn_duplicated_fpsimd.c | 27 head = get_starting_head(shead, sizeof(struct fpsimd_context) + HDR_SZ, in fake_sigreturn_duplicated_fpsimd_run()
|
H A D | fake_sigreturn_bad_size.c | 31 /* at least HDR_SZ + bad sized esr_context needed */ in fake_sigreturn_bad_size_run() 32 need_sz = sizeof(struct esr_context) + HDR_SZ; in fake_sigreturn_bad_size_run() 39 * size greater then the free __reserved area minus HDR_SZ; in fake_sigreturn_bad_size_run()
|
H A D | testcases.c | 15 if (!head || resv_sz < HDR_SZ) in get_header() 18 while (offs <= resv_sz - HDR_SZ && in get_header()
|
H A D | testcases.h | 25 #define HDR_SZ \ macro
|
Completed in 5 milliseconds