Lines Matching refs:resv_sz
6 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()
184 head = get_header(shead, EXTRA_MAGIC, resv_sz, &offs); in get_starting_head()
185 if (!head || resv_sz - offs < need_sz) { in get_starting_head()
192 fprintf(stderr, "Available space:%zd\n", resv_sz - offs); in get_starting_head()