Home
last modified time | relevance | path

Searched refs:resv_sz (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/tools/testing/selftests/arm64/signal/testcases/
Dtestcases.c6 size_t resv_sz, size_t *offset) in get_header() argument
11 if (!head || resv_sz < HDR_SZ) in get_header()
14 while (offs <= resv_sz - HDR_SZ && in get_header()
53 bool validate_reserved(ucontext_t *uc, size_t resv_sz, char **err) in validate_reserved() argument
65 while (head && !terminated && offs < resv_sz) { in validate_reserved()
132 if (resv_sz < offs + sizeof(*head)) { in validate_reserved()
171 size_t need_sz, size_t resv_sz, in get_starting_head() argument
177 head = get_terminator(shead, resv_sz, &offs); in get_starting_head()
181 if (resv_sz - offs < need_sz) { in get_starting_head()
183 resv_sz - offs); in get_starting_head()
[all …]
Dfake_sigreturn_missing_fpsimd.c22 size_t resv_sz, offset; in fake_sigreturn_missing_fpsimd_run() local
29 resv_sz = GET_SF_RESV_SIZE(sf); in fake_sigreturn_missing_fpsimd_run()
30 head = get_header(head, FPSIMD_MAGIC, resv_sz, &offset); in fake_sigreturn_missing_fpsimd_run()
31 if (head && resv_sz - offset >= HDR_SZ) { in fake_sigreturn_missing_fpsimd_run()
33 resv_sz - offset); in fake_sigreturn_missing_fpsimd_run()
Dtestcases.h79 bool validate_reserved(ucontext_t *uc, size_t resv_sz, char **err);
84 size_t resv_sz, size_t *offset);
87 size_t resv_sz, in get_terminator() argument
90 return get_header(head, 0, resv_sz, offset); in get_terminator()
102 size_t need_sz, size_t resv_sz,
Dfake_sigreturn_bad_size.c23 size_t resv_sz, need_sz, offset; in fake_sigreturn_bad_size_run() local
30 resv_sz = GET_SF_RESV_SIZE(sf); in fake_sigreturn_bad_size_run()
33 head = get_starting_head(shead, need_sz, resv_sz, &offset); in fake_sigreturn_bad_size_run()
60 head->size = (resv_sz - offset - need_sz + MIN_SZ_ALIGN) & ~0xfUL; in fake_sigreturn_bad_size_run()