Lines Matching defs:nr_pages
292 int nr_pages;
896 * \param nr_pages Number of pages needed.
908 xbb_get_kva(struct xbb_softc *xbb, int nr_pages)
915 KASSERT(nr_pages != 0, ("xbb_get_kva of zero length"));
954 if (++num_clear == nr_pages) {
956 first_clear + nr_pages - 1);
962 free_kva + (nr_pages * PAGE_SIZE) <=
966 nr_pages * PAGE_SIZE, (uintmax_t)xbb->kva,
989 * \param nr_pages Number of pages in the KVA region.
992 xbb_free_kva(struct xbb_softc *xbb, uint8_t *kva_ptr, int nr_pages)
999 bit_nclear(xbb->kva_free, start_page, start_page + nr_pages - 1);
1567 nreq->nr_pages = nseg;