Searched defs:pages (Results 1 - 25 of 54) sorted by relevance

123

/illumos-gate/usr/src/uts/common/io/drm/
H A Ddrm_cache.c57 drm_clflush_pages(caddr_t *pages, unsigned long num_pages) argument
64 drm_clflush_page(pages[i]);
H A Ddrm_scatter.c57 int pages = entry->pages; local
60 kmem_free(entry->busaddr, sizeof (*entry->busaddr) * pages);
87 unsigned long pages; local
110 pages = btopr(request.size);
111 DRM_DEBUG("sg size=%ld pages=%ld\n", request.size, pages);
113 entry->pages = (int)pages;
114 dmah = drm_pci_alloc(dev, ptob(pages), 409
[all...]
H A Dati_pcigart.c40 #define ATI_MAX_PCIGART_PAGES 8192 /* 32 MB aperture, 4K pages */
46 unsigned long pages; local
76 pages = DRM_MIN(entry->pages, ATI_MAX_PCIGART_PAGES);
89 if (pagenum ++ == pages)
H A Ddrm_agpsupport.c220 int pages; local
230 pages = btopr(request.size);
231 alloc.agpa_pgcount = pages;
242 entry->pages = pages;
442 drm_agp_allocate_memory(size_t pages, uint32_t type, drm_device_t *dev) argument
501 * Binds a collection of pages into AGP memory at the given offset, returning
504 * No reference is held on the pages during this time -- it is up to the
509 pfn_t *pages,
519 bind.agpb_pages = pages;
508 drm_agp_bind_pages(drm_device_t *dev, pfn_t *pages, unsigned long num_pages, uint32_t gtt_offset) argument
[all...]
/illumos-gate/usr/src/uts/i86pc/os/
H A Ddvma.c46 dvma_reserve(dev_info_t *dip, ddi_dma_lim_t *limp, u_int pages, argument
H A Dmemscrub.c343 pgcnt_t pages = memscrub_span_pages; local
359 if (address + mmu_ptob(pages) >= mlp_last_addr) {
360 pages = mmu_btop(mlp_last_addr - address);
369 mlp_next_addr += mmu_ptob(pages);
374 while (pages--) {
/illumos-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_tnode.c66 pgcnt_t pages = btopr(delta); local
81 if (pagecreate && ((tm->tm_anonmem + pages > tm->tm_anonmax) ||
82 (!anon_checkspace(ptob(pages + tmpfs_minfree), zone)) ||
92 tm->tm_anonmem += pages;
261 * trunc'ed up pages. This would give us behavior
281 /* Free anon pages if shrinking file over page boundary. */
294 * Update the file size now to reflect the pages we just
/illumos-gate/usr/src/cmd/lp/filter/postscript/postreverse/
H A Dpostreverse.h78 long pages; member in struct:_document
H A Dpostreverse.c66 * before any pages.
68 * pages, print it from start to end unaltered if they all
69 * exist, print the header, pages, and trailer the pages
72 * If global definitions were found in the pages of a
74 * the pages.
271 /* count the pages for allocation */
376 * Writes out the document pages in pageList (or all if NULL) and reverse
396 count = reverse ? (document->pages-1) : 0;
398 for (prnindex = 0; prnindex < document->pages; prninde
517 PAGE **pages = NULL, *page; local
[all...]
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/i386/
H A Defimd.c67 UINTN mmsz, pages, sz; local
82 * Allocate enough pages to hold the bootinfo block and the memory
94 pages = EFI_SIZE_TO_PAGES(sz + bisz);
95 status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData, pages,
110 sz = (EFI_PAGE_SIZE * pages) - bisz;
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_region.c104 * the region's pages before we run the application, as we see
740 db_pgno_t pages; local
757 * other systems don't zero out the pages.
773 * Break the offset into pages of 1MB each so that we don't
777 pages = (increment - DB_VMPAGESIZE) / MEGABYTE;
780 MEGABYTE, pages, relative, 0, SEEK_CUR)) != 0)
789 * the region's pages before we run the application, as we see
798 * (e.g., Solaris) do not instantiate disk pages to satisfy
803 pages = increment / MEGABYTE;
806 MEGABYTE, pages, relativ
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_mem.h53 int pages; /* Usage in pages */ member in struct:nsc_mem_s
/illumos-gate/usr/src/uts/common/sys/
H A Dfdbuffer.h92 * so that we can avoid zeroing pages while holding ufs
109 page_t *pages; /* page list for FDPAGE_BUF */ member in union:fdbuffer::__anon7288
115 page_t **fd_shadow; /* shadow pages used for direct i/o to uspace */
137 #define fd_pages fd_un.pages
/illumos-gate/usr/src/uts/sun4/os/
H A Ddvma.c55 dvma_reserve(dev_info_t *dip, ddi_dma_lim_t *limp, uint_t pages, argument
74 dmareq.dmar_object.dmao_size = pages;
H A Dmemnode.c244 * and returns the number of pages that overlap.
254 pgcnt_t pages; local
262 btop(pmem->ml_size), mnode, &pages);
263 npgs += pages;
/illumos-gate/usr/src/lib/scsi/libses/common/
H A Dses_snap.c452 size_t pages, pagesize, pagelen; local
486 * - Control pages
538 * if set, randomly truncates all pages (except
548 * Count the maximum number of pages we will need and allocate
551 pages = 0;
556 pages += (P2ROUNDUP(pp->ssp_len, pagesize) /
560 if ((scratch = mmap(NULL, pages * pagesize,
564 "failed to mmap() pages for truncation");
573 pages = P2ROUNDUP(pp->ssp_len, pagesize) / pagesize;
575 pp->ssp_mmap_len = pages * pagesiz
[all...]
/illumos-gate/usr/src/uts/common/io/atge/
H A Datge_l1e.c111 int pages; local
120 for (pages = 0; pages < L1E_RX_PAGES; pages++) {
121 dma = l1e->atge_l1e_rx_page[pages];
140 int pages; local
175 * Allocate RX pages.
195 for (pages = 0; pages < L1E_RX_PAGES; pages
290 int pages; local
[all...]
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dpages.c35 * check if any cpd_t pages clash with the statefile buffer and shuffle
36 * buf pages to free space; since kpages are saved in ascending order,
37 * any buf pages preceding the current statefile buffer offset can be
38 * written because those pages have already been read and restored
57 * buffer phys pages, it's OK to write that page;
58 * buf pages may have been moved outside the range,
92 * map-in source statefile buffer pages (read-only) at CB_SRC_VIRT;
120 * map-in destination kernel pages (read/write) at CB_DST_VIRT
125 int dtlb_index, pages; local
132 for (pages
[all...]
H A Dbitmap.c87 * count pages that are isolated from the kernel
153 * scan statefile buffer pages for reusable tmp space
167 * all pages from lboff to the page boundary of buf_offset have
209 prom_printf("\n%s: ran out of available/free pages!\n%s\n",
219 * reserve virt range, find available phys pages,
225 int pages, ppn, err; local
240 for (pages = mmu_btop(size); pages--; virt += MMU_PAGESIZE) {
262 * to pages isolated from the kernel
347 * this stack is used to avoid clashes with kernel pages an
382 int pages; local
420 pgcnt_t pages; local
[all...]
/illumos-gate/usr/src/cmd/lp/include/
H A Drequests.h78 char *pages; /* list of pages to print (uniq. please!) */ member in struct:REQUEST
/illumos-gate/usr/src/uts/common/os/
H A Dmove.c115 * Fault in the pages of the first n bytes specified by the uio structure.
118 * the pages resident.
574 * user-land pages using segkpm.
580 page_t **pages; local
642 if ((error = as_pagelock(as, &pages,
648 if (pages == NULL) {
673 locked->uioa_ppp = (void **)pages;
763 page_t **pages; local
767 pages = (page_t **)locked->uioa_ppp;
770 pages
[all...]
/illumos-gate/usr/src/boot/sys/boot/efi/loader/
H A Dbootinfo.c246 UINTN mmsz, pages, retry, sz; local
277 * Allocate enough pages to hold the bootinfo block and the
290 pages = EFI_SIZE_TO_PAGES(sz + efisz);
292 pages, &addr);
306 sz = (EFI_PAGE_SIZE * pages) - efisz;
323 BS->FreePages(addr, pages);
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_thread.c644 int pages; local
656 * remember `pages' for stats below
658 pages = (ip->i_mode && vn_has_cached_data(vp) && vp->v_type != VCHR);
661 * start the dirty pages to disk and then invalidate them
715 * acquire further references because it has no pages
717 * via the hash list or via their pages.
746 if (pages) {
/illumos-gate/usr/src/cmd/man/
H A Dmakewhatis.c733 * Sort pages first by inode number, then by name.
755 struct page_info **pages; local
760 /* Scan the man section directory for pages */
763 /* Collect information about man pages */
764 pages = (struct page_info **)calloc(nentries,
769 pages[npages++] = info;
773 qsort(pages, npages, sizeof (struct page_info *), pagesort);
777 struct page_info *page = pages[i];
784 free(pages);
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_kp.c372 * returned if there are no more vm resources (e.g. pages, swap). The len
393 pgcnt_t np = 0; /* number of pages in the resource */
397 pgcnt_t pages = 0; local
430 pages = btop(SEGKP_MAPLEN(len, flags));
431 if (page_resv(pages, kmflag) == 0) {
437 atomic_add_long(&anon_segkp_pages_locked, pages);
464 -pages);
465 page_unresv(pages);
542 panic("segkp_get: no pages");
693 * associated pages
748 pgcnt_t pages = btop(SEGKP_MAPLEN(kpd->kp_len, kpd->kp_flags)); local
1106 pgcnt_t pages = btop(len); local
1261 pgcnt_t pages = btopr(len); local
[all...]

Completed in 162 milliseconds

123