Home
last modified time | relevance | path

Searched refs:HDR_SZ (Results 1 - 15 of 15) sorted by relevance

/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtest_xdp_do_redirect.c6 #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 Dfake_sigreturn_bad_magic.c27 /* 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 Dfake_sigreturn_bad_size_for_magic0.c27 /* 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 Dtestcases.c11 if (!head || resv_sz < HDR_SZ) in get_header()
14 while (offs <= resv_sz - HDR_SZ && in get_header()
H A Dfake_sigreturn_missing_fpsimd.c31 if (head && resv_sz - offset >= HDR_SZ) { in fake_sigreturn_missing_fpsimd_run()
H A Dfake_sigreturn_duplicated_fpsimd.c27 head = get_starting_head(shead, sizeof(struct fpsimd_context) + HDR_SZ, in fake_sigreturn_duplicated_fpsimd_run()
H A Dfake_sigreturn_bad_size.c31 /* 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 Dtestcases.h23 #define HDR_SZ \ macro
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/signal/testcases/
H A Dfake_sigreturn_bad_magic.c27 /* 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 Dfake_sigreturn_bad_size_for_magic0.c27 /* 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 Dfake_sigreturn_missing_fpsimd.c31 if (head && resv_sz - offset >= HDR_SZ) { in fake_sigreturn_missing_fpsimd_run()
H A Dfake_sigreturn_duplicated_fpsimd.c27 head = get_starting_head(shead, sizeof(struct fpsimd_context) + HDR_SZ, in fake_sigreturn_duplicated_fpsimd_run()
H A Dfake_sigreturn_bad_size.c31 /* 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 Dtestcases.c15 if (!head || resv_sz < HDR_SZ) in get_header()
18 while (offs <= resv_sz - HDR_SZ && in get_header()
H A Dtestcases.h25 #define HDR_SZ \ macro

Completed in 5 milliseconds