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()
103 bool validate_reserved(ucontext_t *uc, size_t resv_sz, char **err) in validate_reserved() argument
117 while (head && !terminated && offs < resv_sz) { in validate_reserved()
190 if (resv_sz < offs + sizeof(*head)) { in validate_reserved()
235 size_t need_sz, size_t resv_sz, in get_starting_head() argument
241 head = get_terminator(shead, resv_sz, &offs); in get_starting_head()
245 if (resv_sz - offs < need_sz) { in get_starting_head()
247 resv_sz - offs); in get_starting_head()
248 head = get_header(shead, EXTRA_MAGIC, resv_sz, &offs); in get_starting_head()
249 if (!head || resv_sz - offs < need_sz) { in get_starting_head()
256 fprintf(stderr, "Available space:%zd\n", resv_sz - offs); in get_starting_head()