Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/arm64/signal/testcases/
Dtestcases.c10 size_t resv_sz, size_t *offset) in get_header() argument
15 if (!head || resv_sz < HDR_SZ) in get_header()
18 while (offs <= resv_sz - HDR_SZ && in get_header()
131 bool validate_reserved(ucontext_t *uc, size_t resv_sz, char **err) in validate_reserved() argument
150 while (head && !terminated && offs < resv_sz) { in validate_reserved()
165 resv_sz = extra_sz; in validate_reserved()
254 if (resv_sz < offs + sizeof(*head)) { in validate_reserved()
310 size_t need_sz, size_t resv_sz, in get_starting_head() argument
316 head = get_terminator(shead, resv_sz, &offs); in get_starting_head()
320 if (resv_sz - offs < need_sz) { 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.h88 bool validate_reserved(ucontext_t *uc, size_t resv_sz, char **err);
91 size_t resv_sz, size_t *offset);
94 size_t resv_sz, in get_terminator() argument
97 return get_header(head, 0, resv_sz, offset); in get_terminator()
109 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()
Dsve_vl.c32 size_t resv_sz, offset; in sve_vl() local
40 resv_sz = GET_SF_RESV_SIZE(sf); in sve_vl()
41 head = get_header(head, SVE_MAGIC, resv_sz, &offset); in sve_vl()
Dsme_vl.c32 size_t resv_sz, offset; in sme_vl() local
40 resv_sz = GET_SF_RESV_SIZE(sf); in sme_vl()
41 head = get_header(head, ZA_MAGIC, resv_sz, &offset); in sme_vl()
Dfake_sigreturn_sme_change_vl.c52 size_t resv_sz, offset; in fake_sigreturn_ssve_change_vl() local
60 resv_sz = GET_SF_RESV_SIZE(sf); in fake_sigreturn_ssve_change_vl()
61 head = get_header(head, SVE_MAGIC, resv_sz, &offset); in fake_sigreturn_ssve_change_vl()
Dfake_sigreturn_sve_change_vl.c54 size_t resv_sz, offset; in fake_sigreturn_sve_change_vl() local
62 resv_sz = GET_SF_RESV_SIZE(sf); in fake_sigreturn_sve_change_vl()
63 head = get_header(head, SVE_MAGIC, resv_sz, &offset); in fake_sigreturn_sve_change_vl()