| /onnv/onnv-gate/usr/src/uts/common/fs/tmpfs/ |
| tmp_tnode.c | 66 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
|
| /onnv/onnv-gate/usr/src/uts/common/io/drm/ |
| ati_pcigart.c | 40 #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)
|
| drm_scatter.c | 57 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), 4096, 0xfffffffful, pages) [all...] |
| drm_agpsupport.c | 219 int pages; local 229 pages = btopr(request.size); 230 alloc.agpa_pgcount = pages; 241 entry->pages = pages; 440 drm_agp_allocate_memory(size_t pages, uint32_t type)
|
| /onnv/onnv-gate/usr/src/cmd/lp/filter/postscript/postreverse/ |
| postreverse.h | 78 long pages; member in struct:_document
|
| postreverse.c | 66 * 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; prnindex++) 517 PAGE **pages = NULL, *page; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/sendmail/db/db/ |
| db_region.c | 104 * 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, relative, 1, SEEK_END)) != 0 [all...] |
| /onnv/onnv-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/ |
| pages.c | 35 * 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 = 0; pages < descp->cpd_pages; pages++) [all...] |
| bitmap.c | 87 * 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...] |
| /onnv/onnv-gate/usr/src/uts/common/avs/ns/nsctl/ |
| nsc_mem.h | 53 int pages; /* Usage in pages */ member in struct:nsc_mem_s
|
| /onnv/onnv-gate/usr/src/uts/common/sys/ |
| fdbuffer.h | 92 * so that we can avoid zeroing pages while holding ufs 109 page_t *pages; /* page list for FDPAGE_BUF */ member in union:fdbuffer::__anon6908 115 page_t **fd_shadow; /* shadow pages used for direct i/o to uspace */ 137 #define fd_pages fd_un.pages
|
| /onnv/onnv-gate/usr/src/uts/sun4/os/ |
| memnode.c | 243 * and returns the number of pages that overlap. 253 pgcnt_t pages; local 261 btop(pmem->size), mnode, &pages); 262 npgs += pages;
|
| /onnv/onnv-gate/usr/src/cmd/lp/include/ |
| requests.h | 78 char *pages; /* list of pages to print (uniq. please!) */ member in struct:REQUEST
|
| /onnv/onnv-gate/usr/src/lib/scsi/libses/common/ |
| ses_snap.c | 448 size_t pages, pagesize, pagelen; local 471 * - Control pages 472 * - Pages we've already filled in 473 * - Pages we don't understand (those with no descriptor) 511 * if set, randomly truncates all pages (except 521 * Count the maximum number of pages we will need and allocate 524 pages = 0; 529 pages += (P2ROUNDUP(pp->ssp_len, pagesize) / 533 if ((scratch = mmap(NULL, pages * pagesize, 537 "failed to mmap() pages for truncation") [all...] |
| /onnv/onnv-gate/usr/src/uts/i86pc/os/ |
| memscrub.c | 343 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--) {
|
| /onnv/onnv-gate/usr/src/uts/common/os/ |
| move.c | 115 * 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 = NULL [all...] |
| /onnv/onnv-gate/usr/src/uts/common/io/atge/ |
| atge_l1e.c | 110 int pages; local 119 for (pages = 0; pages < L1E_RX_PAGES; pages++) { 120 dma = l1e->atge_l1e_rx_page[pages]; 139 int pages; local 174 * Allocate RX pages. 194 for (pages = 0; pages < L1E_RX_PAGES; pages++) 289 int pages; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/ufs/ |
| ufs_thread.c | 644 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) {
|
| /onnv/onnv-gate/usr/src/uts/i86xpv/os/ |
| balloon.c | 54 * If the reservation goes down, we grab pages and release them back to 181 * This structure is placed at the start of every block of new pages 186 page_t pages[1]; member in struct:__anon79 213 /* Calculate the number of pages we're going to add */ 217 * The following calculates the number of "meta" pages -- the pages 218 * that will be required to hold page_t structures for all new pages. 226 * room in our meta pages for a memseg and memlist struct? 235 * count. If we don't have enough pages, all of the pages in thi [all...] |
| /onnv/onnv-gate/usr/src/uts/common/vm/ |
| vm_swap.c | 1075 pgcnt_t pages; local 1206 pages = btop(eoff - soff); 1220 SWAP_PRINT(SW_CTL, "swapadd: allocating swapinfo for %s, %ld pages\n", 1221 swapname, pages, 0, 0, 0); 1370 spgcnt_t pages; local [all...] |
| seg_kp.c | 372 * 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"); 688 * associated pages 739 pgcnt_t pages = btop(SEGKP_MAPLEN(kpd->kp_len, kpd->kp_flags)); local 1097 pgcnt_t pages = btop(len); local 1252 pgcnt_t pages = btopr(len); local [all...] |
| /onnv/onnv-gate/usr/src/uts/sun4u/os/ |
| memscrub.c | 150 int memscrub_add_span(pfn_t pfn, pgcnt_t pages); 151 int memscrub_delete_span(pfn_t pfn, pgcnt_t pages); 160 * scrub if we have at least this many pages 245 * Linked list of memscrub aware spans having retired pages. 308 * number of pages 462 pgcnt_t pages; local 583 cmn_err(CE_WARN, "Memory scrubber has 0 pages to read"); 605 pages = memscrub_phys_pages; 607 &addr, &pages); 608 memscrub_scan(pages * [all...] |
| /onnv/onnv-gate/usr/src/uts/sun4/vm/ |
| sfmmu.c | 225 * hments have been created for mapped pages, and thus we're ready 241 * Track larges pages used. 403 pgcnt_t pages; local 414 pages = btop(psize); 423 basepfn += pages; 915 * for every 128 pages (1 MB) with a minimum of 64 entries and 955 * kpm pages (64MB). In smallpage mode we allocate one mutex 956 * every 8K pages. The minimum is set to 64 entries and the 1153 * There is no reason why this couldn't be expanded to 8k pages as
|
| /onnv/onnv-gate/usr/src/uts/common/cpr/ |
| cpr_dump.c | 30 * 3. Tag kernel pages into corresponding bitmap 133 * Allocate pages for buffers used in writing out the statefile 215 * Remember how many pages we plan to save to statefile. 217 * Untag those pages that will not be saved to statefile. 229 * Some pages contain volatile data (cpr_buf and storage area for 232 * bitmaps. Now tag them into the volatile bitmaps. The pages in 242 * statefile_size = all the headers + total pages + 243 * number of pages used by the bitmaps. 342 * pages *before* dumping them because the disk driver makes 344 * pages referenced in the bitmaps are dumped out later a 673 pgcnt_t pages; local [all...] |
| /onnv/onnv-gate/usr/src/tools/codereview/ |
| lwlp.c | 34 * -{1|2|4|8} print multiple logical pages per page 253 int pages, page_rows, page_cols; member in struct:layout 513 for (j = 0; j < layoutp->pages; j++) { 518 /* logical pages run physically up and down */ 522 /* logical pages run physically left to right */ 544 for (j = 0; j < layoutp->pages; j++) { 629 (void) printf("%%%%Pages: (atend)\n"); 665 (void) printf("%%%%Pages: %d\n", current.page_count); 834 if ((current.logical_page_count % layoutp->pages) != 0) 976 logical_page = current.logical_page_count % layoutp->pages; [all...] |