Searched refs:resv_sz (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/tools/testing/selftests/arm64/signal/testcases/ |
H A D | testcases.c | 10 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() 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() 322 resv_sz - offs); in get_starting_head() [all …]
|
H A D | fake_sigreturn_missing_fpsimd.c | 22 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()
|
H A D | testcases.h | 88 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,
|
H A D | fake_sigreturn_bad_size.c | 23 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()
|
H A D | sme_vl.c | 32 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()
|
H A D | sve_vl.c | 32 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()
|
H A D | fake_sigreturn_sve_change_vl.c | 36 size_t resv_sz, offset; in fake_sigreturn_sve_change_vl() local 44 resv_sz = GET_SF_RESV_SIZE(sf); in fake_sigreturn_sve_change_vl() 45 head = get_header(head, SVE_MAGIC, resv_sz, &offset); in fake_sigreturn_sve_change_vl()
|
H A D | fake_sigreturn_sme_change_vl.c | 36 size_t resv_sz, offset; in fake_sigreturn_ssve_change_vl() local 44 resv_sz = GET_SF_RESV_SIZE(sf); in fake_sigreturn_ssve_change_vl() 45 head = get_header(head, ZA_MAGIC, resv_sz, &offset); in fake_sigreturn_ssve_change_vl()
|