Lines Matching refs:eb_start
57 unsigned char *eb_start;
79 eb->eb_start = malloc(size);
80 if (eb->eb_start == NULL) {
86 eb->eb_end = eb->eb_start + size;
91 eb->eb_used = eb->eb_start + PAGE_SIZE / 4;
106 free(eb->eb_start);
116 if (size > (size_t)(eb->eb_used - eb->eb_start)) {
124 PJDLOG_ASSERT(size <= (size_t)(eb->eb_used - eb->eb_start));
222 newsize = eb->eb_end - eb->eb_start + (PAGE_SIZE / 4) + size;
228 newstart + (PAGE_SIZE / 4) + size + (eb->eb_used - eb->eb_start);
232 eb->eb_start = newstart;
250 newsize = eb->eb_end - eb->eb_start + size + ((3 * PAGE_SIZE) / 4);
252 newstart = realloc(eb->eb_start, newsize);
256 eb->eb_used = newstart + (eb->eb_used - eb->eb_start);
257 eb->eb_start = newstart;