Home
last modified time | relevance | path

Searched refs:npg (Results 1 – 7 of 7) sorted by relevance

/freebsd-13-stable/lib/libc/db/btree/
HDbt_page.c82 __bt_new(BTREE *t, pgno_t *npg) in __bt_new() argument
88 *npg = t->bt_free; in __bt_new()
93 return (mpool_new(t->bt_mp, npg, MPOOL_PAGE_NEXT)); in __bt_new()
HDbt_overflow.c136 pgno_t npg; in __ovfl_put() local
147 if ((h = __bt_new(t, &npg)) == NULL) in __ovfl_put()
150 h->pgno = npg; in __ovfl_put()
HDbt_open.c351 pgno_t npg; in nroot() local
368 if ((meta = mpool_new(t->bt_mp, &npg, MPOOL_PAGE_NEXT)) == NULL) in nroot()
371 if ((root = mpool_new(t->bt_mp, &npg, MPOOL_PAGE_NEXT)) == NULL) in nroot()
374 if (npg != P_ROOT) in nroot()
376 root->pgno = npg; in nroot()
HDbt_split.c340 pgno_t npg; in bt_page() local
346 if ((r = __bt_new(t, &npg)) == NULL) in bt_page()
348 r->pgno = npg; in bt_page()
/freebsd-13-stable/contrib/unbound/compat/
HDgetentropy_solaris.c331 size_t npg; in getentropy_fallback() member
344 mm[m].npg * pgs, in getentropy_fallback()
354 (mm[m].npg * pgs - 1); in getentropy_fallback()
379 munmap(mm[m].p, mm[m].npg * pgs); in getentropy_fallback()
HDgetentropy_osx.c309 size_t npg; in getentropy_fallback() member
322 mm[m].npg * pgs, in getentropy_fallback()
332 (mm[m].npg * pgs - 1); in getentropy_fallback()
353 munmap(mm[m].p, mm[m].npg * pgs); in getentropy_fallback()
HDgetentropy_linux.c409 size_t npg; in getentropy_fallback() member
422 mm[m].npg * pgs, in getentropy_fallback()
432 (mm[m].npg * pgs - 1); in getentropy_fallback()
457 munmap(mm[m].p, mm[m].npg * pgs); in getentropy_fallback()