Searched refs:nr_pages (Results 1 - 9 of 9) sorted by relevance
/freebsd-10-stable/sys/dev/drm2/ |
H A D | drm_buffer.c | 48 int nr_pages = size / PAGE_SIZE + 1; local 53 *buf = malloc(sizeof(struct drm_buffer) + nr_pages*sizeof(char *), 59 size, nr_pages); 65 for (idx = 0; idx < nr_pages; ++idx) { 75 idx + 1, size, nr_pages); 107 int nr_pages = size / PAGE_SIZE + 1; local 117 for (idx = 0; idx < nr_pages; ++idx) { 142 int nr_pages = buf->size / PAGE_SIZE + 1; local 144 for (idx = 0; idx < nr_pages; ++idx)
|
H A D | drmP.h | 1405 extern struct sg_table *drm_prime_pages_to_sg(vm_page_t *pages, int nr_pages);
|
/freebsd-10-stable/sys/boot/efi/loader/ |
H A D | copy.c | 95 efi_verify_staging_size(unsigned long *nr_pages) argument 157 if (*nr_pages > available_pages) { 159 *nr_pages, available_pages); 160 *nr_pages = available_pages; 180 unsigned long nr_pages; local 182 nr_pages = EFI_SIZE_TO_PAGES((EFI_STAGING_SIZE) * 1024 * 1024); 186 * We'll decrease nr_pages, if it's too big. Currently we only 191 efi_verify_staging_size(&nr_pages); 200 nr_pages, &staging); 203 nr_pages, [all...] |
/freebsd-10-stable/sys/dev/xen/balloon/ |
H A D | balloon.c | 157 increase_reservation(unsigned long nr_pages) argument 170 if (nr_pages > nitems(frame_list)) 171 nr_pages = nitems(frame_list); 174 i < nr_pages; i++, page = TAILQ_NEXT(page, plinks.q)) { 180 reservation.nr_extents = nr_pages; 183 if (rc < nr_pages) { 199 for (i = 0; i < nr_pages; i++) { 215 bs.current_pages += nr_pages; 222 decrease_reservation(unsigned long nr_pages) argument 236 if (nr_pages > nitem [all...] |
/freebsd-10-stable/sys/i386/xen/ |
H A D | xen_machdep.c | 542 contiguous_bitmap_set(unsigned long first_page, unsigned long nr_pages) 548 end_idx = (first_page + nr_pages) / BITS_PER_LONG; 549 end_off = (first_page + nr_pages) & (BITS_PER_LONG-1); 563 contiguous_bitmap_clear(unsigned long first_page, unsigned long nr_pages) 569 end_idx = (first_page + nr_pages) / BITS_PER_LONG; 570 end_off = (first_page + nr_pages) & (BITS_PER_LONG-1); 806 shift_phys_machine(unsigned long *phys_machine, int nr_pages) argument 813 current_page = phys_machine + nr_pages - (PAGE_SIZE/sizeof(unsigned long)); 830 for (i = 0; i < nr_pages; i++) { 846 unsigned long nr_pages local [all...] |
/freebsd-10-stable/sys/dev/drm/ |
H A D | savage_bci.c | 370 unsigned int nr_pages = (n - rest + SAVAGE_DMA_PAGE_SIZE - 1) / local 375 DRM_DEBUG("cur=%u, cur->used=%u, n=%u, rest=%u, nr_pages=%u\n", 376 cur, dev_priv->dma_pages[cur].used, n, rest, nr_pages); 378 if (cur + nr_pages < dev_priv->nr_dma_pages) { 388 nr_pages = 398 for (i = cur; nr_pages > 0; ++i, --nr_pages) {
|
/freebsd-10-stable/sys/xen/interface/ |
H A D | xen.h | 663 * c. list of allocated page frames [mfn_list, nr_pages] 684 unsigned long nr_pages; /* Total pages allocated to this domain. */ member in struct:start_info
|
/freebsd-10-stable/sys/dev/xen/blkback/ |
H A D | blkback.c | 322 int nr_pages; member in struct:xbb_xen_req 964 * \param nr_pages Number of pages needed. 976 xbb_get_kva(struct xbb_softc *xbb, int nr_pages) argument 983 KASSERT(nr_pages != 0, ("xbb_get_kva of zero length")); 1022 if (++num_clear == nr_pages) { 1025 first_clear + nr_pages - 1); 1031 free_kva + (nr_pages * PAGE_SIZE) <= 1035 nr_pages * PAGE_SIZE, (uintmax_t)xbb->kva, 1058 * \param nr_pages Number of pages in the KVA region. 1061 xbb_free_kva(struct xbb_softc *xbb, uint8_t *kva_ptr, int nr_pages) argument [all...] |
/freebsd-10-stable/sys/i386/i386/ |
H A D | machdep.c | 2508 Maxmem = xen_start_info->nr_pages - init_first; 2864 phys_avail[1] = xen_start_info->nr_pages*PAGE_SIZE; 2866 dump_avail[1] = xen_start_info->nr_pages*PAGE_SIZE;
|
Completed in 74 milliseconds