Lines Matching refs:eb_used
61 unsigned char *eb_used;
91 eb->eb_used = eb->eb_start + PAGE_SIZE / 4;
116 if (size > (size_t)(eb->eb_used - eb->eb_start)) {
124 PJDLOG_ASSERT(size <= (size_t)(eb->eb_used - eb->eb_start));
127 eb->eb_used -= size;
132 bcopy(data, eb->eb_used, size);
143 if (size > (size_t)(eb->eb_end - (eb->eb_used + eb->eb_size))) {
152 (size_t)(eb->eb_end - (eb->eb_used + eb->eb_size)));
158 bcopy(data, eb->eb_used + eb->eb_size, size);
171 eb->eb_used += size;
196 return (eb->eb_size > 0 ? eb->eb_used : NULL);
228 newstart + (PAGE_SIZE / 4) + size + (eb->eb_used - eb->eb_start);
230 bcopy(eb->eb_used, newused, eb->eb_size);
233 eb->eb_used = newused;
256 eb->eb_used = newstart + (eb->eb_used - eb->eb_start);