Home
last modified time | relevance | path

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

/freebsd/lib/libc/db/btree/
H A Dbt_page.c78 __bt_new(BTREE *t, pgno_t *npg) in __bt_new() argument
84 *npg = t->bt_free; in __bt_new()
89 return (mpool_new(t->bt_mp, npg, MPOOL_PAGE_NEXT)); in __bt_new()
H A Dbt_overflow.c132 pgno_t npg; in __ovfl_put() local
143 if ((h = __bt_new(t, &npg)) == NULL) in __ovfl_put()
146 h->pgno = npg; in __ovfl_put()
H A Dbt_open.c347 pgno_t npg; in nroot() local
364 if ((meta = mpool_new(t->bt_mp, &npg, MPOOL_PAGE_NEXT)) == NULL) in nroot()
367 if ((root = mpool_new(t->bt_mp, &npg, MPOOL_PAGE_NEXT)) == NULL) in nroot()
370 if (npg != P_ROOT) in nroot()
372 root->pgno = npg; in nroot()
H A Dbt_split.c336 pgno_t npg; in bt_page() local
342 if ((r = __bt_new(t, &npg)) == NULL) in bt_page()
344 r->pgno = npg; in bt_page()
/freebsd/contrib/unbound/compat/
H A Dgetentropy_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()
H A Dgetentropy_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()
H A Dgetentropy_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()