• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/apr/memory/unix/

Lines Matching refs:first_avail

427     node->first_avail = (char *)node + APR_MEMNODE_T_SIZE;
429 APR_VALGRIND_UNDEFINED(node->first_avail, size - APR_MEMNODE_T_SIZE);
751 #define node_free_space(node_) ((apr_size_t)(node_->endp - node_->first_avail))
842 mem = active->first_avail;
843 active->first_avail += size;
863 mem = node->first_avail;
864 node->first_avail += size;
870 free_index = (APR_ALIGN(active->endp - active->first_avail + 1,
964 active->first_avail = pool->self_first_avail;
1092 pool = (apr_pool_t *)node->first_avail;
1096 pool = (apr_pool_t *)(node->first_avail + REDZONE);
1103 pool = (apr_pool_t *)node->first_avail;
1106 node->first_avail = pool->self_first_avail;
1196 pool = (apr_pool_t *)node->first_avail;
1197 node->first_avail = pool->self_first_avail = (char *)pool + SIZEOF_POOL_T;
1231 * block of the pool, starting right at first_avail. If there's
1265 cur_len = strp - active->first_avail;
1286 free_index = (APR_ALIGN(active->endp - active->first_avail + 1,
1315 APR_VALGRIND_UNDEFINED(node->first_avail,
1316 node->endp - node->first_avail);
1317 memcpy(node->first_avail, active->first_avail, cur_len);
1318 APR_VALGRIND_NOACCESS(active->first_avail,
1319 active->endp - active->first_avail);
1322 ps->vbuff.curpos = node->first_avail + cur_len;
1332 apr_size_t len = ps->vbuff.curpos - ps->node->first_avail + REDZONE;
1334 while (ps->vbuff.curpos - ps->node->first_avail < len) {
1335 if (ps->vbuff.endpos - ps->node->first_avail >= len)
1336 ps->vbuff.curpos = ps->node->first_avail + len;
1345 if (ps->vbuff.curpos != ps->node->first_avail)
1346 VALGRIND_MAKE_MEM_DEFINED(ps->node->first_avail,
1347 ps->vbuff.curpos - ps->node->first_avail);
1368 ps.vbuff.curpos = ps.node->first_avail;
1378 if (ps.node->first_avail == ps.node->endp) {
1401 strp = ps.node->first_avail;
1409 strp = ps.node->first_avail + REDZONE;
1415 strp = ps.node->first_avail;
1418 size = ps.vbuff.curpos - ps.node->first_avail;
1420 ps.node->first_avail += size;
1442 free_index = (APR_ALIGN(active->endp - active->first_avail + 1,
1472 APR_VALGRIND_NOACCESS(pool->active->first_avail,
1473 pool->active->endp - pool->active->first_avail);