| /netbsd/src/lib/libusbhid/ |
| D | usage.c | 53 } *pages; variable 64 printf("%d\t%s\n", pages[i].usage, pages[i].name); in dump_hid_table() 65 for (j = 0; j < pages[i].pagesize; j++) { in dump_hid_table() 66 printf("\t%d\t%s\n", pages[i].page_contents[j].usage, in dump_hid_table() 67 pages[i].page_contents[j].name); in dump_hid_table() 125 if (pages == NULL) { in hid_init() 130 if (reallocarr(&pages, npagesmax, in hid_init() 134 curpage = &pages[npages++]; in hid_init() 158 if (!pages) in hid_usage_page() 162 if (pages[k].usage == i) in hid_usage_page() [all …]
|
| /netbsd/src/external/gpl3/binutils/dist/libiberty/ |
| D | physmem.c | 87 double pages = sysconf (_SC_PHYS_PAGES); in physmem_total() local 89 if (0 <= pages && 0 <= pagesize) in physmem_total() 90 return pages * pagesize; in physmem_total() 99 double pages = pss.physical_memory; in physmem_total() local 101 if (0 <= pages && 0 <= pagesize) in physmem_total() 102 return pages * pagesize; in physmem_total() 113 double pages = realmem.physmem; in physmem_total() local 114 if (0 <= pages && 0 <= pagesize) in physmem_total() 115 return pages * pagesize; in physmem_total() 191 double pages = sysconf (_SC_AVPHYS_PAGES); in physmem_available() local [all …]
|
| /netbsd/src/external/gpl3/gcc/dist/libiberty/ |
| D | physmem.c | 87 double pages = sysconf (_SC_PHYS_PAGES); in physmem_total() local 89 if (0 <= pages && 0 <= pagesize) in physmem_total() 90 return pages * pagesize; in physmem_total() 99 double pages = pss.physical_memory; in physmem_total() local 101 if (0 <= pages && 0 <= pagesize) in physmem_total() 102 return pages * pagesize; in physmem_total() 113 double pages = realmem.physmem; in physmem_total() local 114 if (0 <= pages && 0 <= pagesize) in physmem_total() 115 return pages * pagesize; in physmem_total() 191 double pages = sysconf (_SC_AVPHYS_PAGES); in physmem_available() local [all …]
|
| /netbsd/src/external/gpl3/gdb/dist/libiberty/ |
| D | physmem.c | 87 double pages = sysconf (_SC_PHYS_PAGES); in physmem_total() local 89 if (0 <= pages && 0 <= pagesize) in physmem_total() 90 return pages * pagesize; in physmem_total() 99 double pages = pss.physical_memory; in physmem_total() local 101 if (0 <= pages && 0 <= pagesize) in physmem_total() 102 return pages * pagesize; in physmem_total() 113 double pages = realmem.physmem; in physmem_total() local 114 if (0 <= pages && 0 <= pagesize) in physmem_total() 115 return pages * pagesize; in physmem_total() 191 double pages = sysconf (_SC_AVPHYS_PAGES); in physmem_available() local [all …]
|
| /netbsd/src/sys/external/bsd/drm2/dist/include/drm/ttm/ |
| D | ttm_set_memory.h | 42 static inline int ttm_set_pages_array_wb(struct page **pages, int addrinarray) in ttm_set_pages_array_wb() argument 44 return set_pages_array_wb(pages, addrinarray); in ttm_set_pages_array_wb() 47 static inline int ttm_set_pages_array_wc(struct page **pages, int addrinarray) in ttm_set_pages_array_wc() argument 49 return set_pages_array_wc(pages, addrinarray); in ttm_set_pages_array_wc() 52 static inline int ttm_set_pages_array_uc(struct page **pages, int addrinarray) in ttm_set_pages_array_uc() argument 54 return set_pages_array_uc(pages, addrinarray); in ttm_set_pages_array_uc() 80 static inline int ttm_set_pages_array_wb(struct page **pages, int addrinarray) in ttm_set_pages_array_wb() argument 85 unmap_page_from_agp(pages[i]); in ttm_set_pages_array_wb() 89 static inline int ttm_set_pages_array_wc(struct page **pages, int addrinarray) in ttm_set_pages_array_wc() argument 94 map_page_into_agp(pages[i]); in ttm_set_pages_array_wc() [all …]
|
| /netbsd/src/sys/external/bsd/drm2/dist/drm/ttm/ |
| D | ttm_page_alloc.c | 252 static void ttm_pages_put(struct page *pages[], unsigned npages, in ttm_pages_put() argument 258 if (ttm_set_pages_array_wb(pages, npages)) in ttm_pages_put() 264 if (ttm_set_pages_wb(pages[i], pages_nr)) in ttm_pages_put() 267 __free_pages(pages[i], order); in ttm_pages_put() 447 static int ttm_set_pages_caching(struct page **pages, in ttm_set_pages_caching() argument 454 r = ttm_set_pages_array_uc(pages, cpages); in ttm_set_pages_caching() 459 r = ttm_set_pages_array_wc(pages, cpages); in ttm_set_pages_caching() 474 static void ttm_handle_caching_state_failure(struct list_head *pages, in ttm_handle_caching_state_failure() argument 492 static int ttm_alloc_new_pages(struct list_head *pages, gfp_t gfp_flags, in ttm_alloc_new_pages() argument 524 ttm_handle_caching_state_failure(pages, in ttm_alloc_new_pages() [all …]
|
| D | ttm_tt.c | 94 ttm->pages = kvmalloc_array(ttm->num_pages, sizeof(void*), in ttm_tt_alloc_page_directory() 96 if (!ttm->pages) in ttm_tt_alloc_page_directory() 116 kvfree(ttm->ttm.pages); in ttm_dma_tt_alloc_page_directory() 117 ttm->ttm.pages = NULL; in ttm_dma_tt_alloc_page_directory() 124 ttm->ttm.pages = kvmalloc_array(ttm->ttm.num_pages, in ttm_dma_tt_alloc_page_directory() 125 sizeof(*ttm->ttm.pages) + in ttm_dma_tt_alloc_page_directory() 128 if (!ttm->ttm.pages) in ttm_dma_tt_alloc_page_directory() 130 ttm->dma_address = (void *) (ttm->ttm.pages + ttm->ttm.num_pages); in ttm_dma_tt_alloc_page_directory() 205 drm_clflush_pages(ttm->pages, ttm->num_pages); in ttm_tt_set_caching() 208 cur_page = ttm->pages[i]; in ttm_tt_set_caching() [all …]
|
| /netbsd/src/distrib/sets/ |
| D | comments | 89 base-man-bin utilities for reading online manual pages 90 base-man-share shared data files for the online manual pages 181 comp-c-catman formatted manual pages 185 comp-c-man manual pages source 203 comp-cvs-catman formatted manual pages for the CVS version control system 206 comp-cxx-catman formatted manual pages for the C++ programming language 209 comp-cxx-man manual pages source for the C++ programming language 213 comp-debug-catman formatted manual pages for debugging utilities 214 comp-debug-man manual pages source for debugging utilities 217 comp-fortran-catman formatted manual pages for the FORTRAN programming language [all …]
|
| D | descrs | 98 base-man-bin utilities for reading online manual pages 99 base-man-share shared data files for the online manual pages 205 comp-c-catman This package includes formatted manual pages for compilers and tools for 226 comp-c-man This package includes the manual pages sources for compilers and tools 274 comp-cvs-bin over a wide area network (see manual pages). 278 comp-cvs-catman This contains groff-formatted manual pages for the CVS revision control 286 comp-cvs-catman wide area network (see manual pages). 296 comp-cvs-man wide area network (see manual pages). 307 comp-cxx-catman This contains groff-formatted manual pages on compilers and tools for the 362 comp-debug-catman This package contains formatted manual pages on various C programming [all …]
|
| /netbsd/src/sys/arch/xen/xen/ |
| D | xengnt.c | 235 uint64_t *pages; in xengnt_map_status() local 240 sz = gnt_status_frames * sizeof(*pages); in xengnt_map_status() 241 pages = kmem_alloc(sz, KM_NOSLEEP); in xengnt_map_status() 242 if (pages == NULL) in xengnt_map_status() 251 set_xen_guest_handle(getstatus.frame_list, pages); in xengnt_map_status() 263 kmem_free(pages, sz); in xengnt_map_status() 272 pages[i] = atop(uvm_vm_page_to_phys(pg)); in xengnt_map_status() 277 xmap.gpfn = pages[i]; in xengnt_map_status() 289 ((paddr_t)pages[i]) << PAGE_SHIFT, in xengnt_map_status() 294 kmem_free(pages, sz); in xengnt_map_status() [all …]
|
| /netbsd/src/external/bsd/mdocml/dist/ |
| D | dbm.c | 46 int32_t pages; member 68 static struct page *pages; variable 99 pages = (struct page *)dbm_getint(5); in dbm_open() 152 res.name = dbm_get(pages[ip].name); in dbm_page_get() 155 res.sect = dbm_get(pages[ip].sect); in dbm_page_get() 158 res.arch = pages[ip].arch ? dbm_get(pages[ip].arch) : NULL; in dbm_page_get() 159 res.desc = dbm_get(pages[ip].desc); in dbm_page_get() 162 res.file = dbm_get(pages[ip].file); in dbm_page_get() 165 res.addr = dbm_addr(pages + ip); in dbm_page_get() 250 cp = dbm_get(pages[0].name); in page_bytitle() [all …]
|
| D | dba.c | 45 struct dba_array *pages; member 71 dba->pages = dba_array_new(npages, DBA_GROW); in dba_new() 93 dba_array_free(entry->pages); in dba_free() 101 dba_array_undel(dba->pages); in dba_free() 102 dba_array_FOREACH(dba->pages, page) { in dba_free() 110 dba_array_free(dba->pages); in dba_free() 134 dba_pages_write(dba->pages); in dba_write() 158 dba_page_new(struct dba_array *pages, const char *arch, in dba_page_new() argument 178 dba_array_add(pages, page); in dba_page_new() 271 dba_pages_write(struct dba_array *pages) in dba_pages_write() argument [all …]
|
| /netbsd/src/sys/external/bsd/drm2/dist/drm/ |
| D | drm_scatter.c | 65 for (i = 0; i < entry->pages; i++) { in drm_sg_cleanup() 97 unsigned long pages, i, j; in drm_legacy_sg_alloc() local 114 pages = (request->size + PAGE_SIZE - 1) / PAGE_SIZE; in drm_legacy_sg_alloc() 115 DRM_DEBUG("size=%ld pages=%ld\n", request->size, pages); in drm_legacy_sg_alloc() 117 entry->pages = pages; in drm_legacy_sg_alloc() 118 entry->pagelist = kcalloc(pages, sizeof(*entry->pagelist), GFP_KERNEL); in drm_legacy_sg_alloc() 124 entry->busaddr = kcalloc(pages, sizeof(*entry->busaddr), GFP_KERNEL); in drm_legacy_sg_alloc() 131 entry->virtual = drm_vmalloc_dma(pages << PAGE_SHIFT); in drm_legacy_sg_alloc() 142 memset(entry->virtual, 0, pages << PAGE_SHIFT); in drm_legacy_sg_alloc() 149 for (i = (unsigned long)entry->virtual, j = 0; j < pages; in drm_legacy_sg_alloc() [all …]
|
| /netbsd/src/share/man/man0/ |
| D | Makefile | 30 MAN0SRCS+= ${SECTIONS:@S@man${S}pages.files@} 31 MAN0SRCS+= ${SECTIONS:@S@man${S}pages.ps @} 32 MAN0SRCS+= ${SECTIONS:@S@man${S}pages.pdf@} 59 man${_S}pages.files: all.files 70 man${_S}pages.ps: man${_S}pages.files 93 man${_S}pages.pdf: man${_S}pages.ps 105 tar plzvcf manpages-ps.tgz man?pages.ps 106 tar plzvcf manpages-pdf.tgz man?pages.pdf
|
| /netbsd/src/sys/external/bsd/drm2/dist/drm/r128/ |
| D | ati_pcigart.c | 70 unsigned long pages; in drm_ati_pcigart_cleanup() local 83 pages = (entry->pages <= max_pages) in drm_ati_pcigart_cleanup() 84 ? entry->pages : max_pages; in drm_ati_pcigart_cleanup() 86 for (i = 0; i < pages; i++) { in drm_ati_pcigart_cleanup() 110 unsigned long pages; in drm_ati_pcigart_init() local 151 pages = (entry->pages <= max_real_pages) in drm_ati_pcigart_init() 152 ? entry->pages : max_real_pages; in drm_ati_pcigart_init() 161 for (i = 0; i < pages; i++) { in drm_ati_pcigart_init()
|
| /netbsd/src/sys/arch/bebox/stand/boot/ |
| D | sd.c | 50 union scsi_disk_pages pages; member 279 union scsi_disk_pages *pages; in sd_get_parms_page4() local 288 sizeof(scsipi_sense.pages.rigid_geometry)); in sd_get_parms_page4() 301 if (poffset > sizeof(scsipi_sense) - sizeof(pages->rigid_geometry)) in sd_get_parms_page4() 304 pages = (void *)((u_long)&scsipi_sense + poffset); in sd_get_parms_page4() 316 pages->rigid_geometry.pg_code, &scsipi_sense, pages); in sd_get_parms_page4() 320 if ((pages->rigid_geometry.pg_code & PGCODE_MASK) != 4) in sd_get_parms_page4() 329 dp->heads = pages->rigid_geometry.nheads; in sd_get_parms_page4() 330 dp->cyls = _3btol(pages->rigid_geometry.ncyl); in sd_get_parms_page4() 335 dp->rot_rate = _2btol(pages->rigid_geometry.rpm); in sd_get_parms_page4() [all …]
|
| /netbsd/src/sys/arch/prep/stand/boot/ |
| D | sd.c | 50 union scsi_disk_pages pages; member 279 union scsi_disk_pages *pages; in sd_get_parms_page4() local 288 sizeof(scsipi_sense.pages.rigid_geometry)); in sd_get_parms_page4() 301 if (poffset > sizeof(scsipi_sense) - sizeof(pages->rigid_geometry)) in sd_get_parms_page4() 304 pages = (void *)((u_long)&scsipi_sense + poffset); in sd_get_parms_page4() 316 pages->rigid_geometry.pg_code, &scsipi_sense, pages); in sd_get_parms_page4() 320 if ((pages->rigid_geometry.pg_code & PGCODE_MASK) != 4) in sd_get_parms_page4() 329 dp->heads = pages->rigid_geometry.nheads; in sd_get_parms_page4() 330 dp->cyls = _3btol(pages->rigid_geometry.ncyl); in sd_get_parms_page4() 335 dp->rot_rate = _2btol(pages->rigid_geometry.rpm); in sd_get_parms_page4() [all …]
|
| /netbsd/src/sys/dev/scsipi/ |
| D | sd.c | 227 union scsi_disk_pages pages; member 1677 union scsi_disk_pages *pages; in sd_get_parms_page4() local 1684 sizeof(scsipi_sense.pages.rigid_geometry), 4, in sd_get_parms_page4() 1703 if (poffset > sizeof(scsipi_sense) - sizeof(pages->rigid_geometry)) in sd_get_parms_page4() 1706 pages = (void *)((u_long)&scsipi_sense + poffset); in sd_get_parms_page4() 1718 pages->rigid_geometry.pg_code, &scsipi_sense, pages); in sd_get_parms_page4() 1722 if ((pages->rigid_geometry.pg_code & PGCODE_MASK) != 4) in sd_get_parms_page4() 1727 _3btol(pages->rigid_geometry.ncyl), in sd_get_parms_page4() 1728 pages->rigid_geometry.nheads, in sd_get_parms_page4() 1729 _2btol(pages->rigid_geometry.st_cyl_wp), in sd_get_parms_page4() [all …]
|
| /netbsd/src/sys/external/bsd/drm2/dist/drm/i915/ |
| D | i915_gem_gtt.c | 45 struct sg_table *pages) in i915_gem_gtt_prepare_pages() argument 50 pages->sgl, pages->nents, in i915_gem_gtt_prepare_pages() 56 pages->sgl, pages->nents, in i915_gem_gtt_prepare_pages() 69 GEM_BUG_ON(obj->mm.pages == pages); in i915_gem_gtt_prepare_pages() 79 struct sg_table *pages) in i915_gem_gtt_finish_pages() argument 99 dma_unmap_sg(kdev, pages->sgl, pages->nents, PCI_DMA_BIDIRECTIONAL); in i915_gem_gtt_finish_pages()
|
| /netbsd/src/sys/uvm/ |
| D | uvm_physseg.c | 233 uvm_physseg_plug(paddr_t pfn, size_t pages, uvm_physseg_t *psp) in uvm_physseg_plug() argument 260 VM_PHYSSEG_MAX, pfn, pfn + pages + 1); in uvm_physseg_plug() 267 ps->end = pfn + pages; in uvm_physseg_plug() 290 pgs = uvm_physseg_seg_alloc_from_slab(current_ps, pages); in uvm_physseg_plug() 306 … for (slabpages = (size_t) uvmexp.npages; slabpages >= pages; slabpages--) { in uvm_physseg_plug() 319 pgs = uvm_physseg_seg_alloc_from_slab(ps, pages); in uvm_physseg_plug() 330 physmem += pages; in uvm_physseg_plug() 745 uvm_physseg_plug(paddr_t pfn, size_t pages, uvm_physseg_t *psp) in uvm_physseg_plug() argument 761 paddr_t end = pfn + pages; in uvm_physseg_plug() 1190 uvm_physseg_seg_alloc_from_slab(uvm_physseg_t upm, size_t pages) in uvm_physseg_seg_alloc_from_slab() argument [all …]
|
| /netbsd/src/external/bsd/openldap/dist/servers/slapd/back-sql/rdbms_depend/timesten/ |
| D | testdb_create.sql | 5 unique hash on (id) pages=100; 11 unique hash on (id) pages=100; 18 unique hash on (id) pages=100; 28 ) unique hash on (pers_id, doc_id) pages=100; 35 unique hash on (id) pages=100;
|
| D | tttestdb_create.sql | 9 unique hash on (id) pages=100; 17 unique hash on (id) pages=100; 24 unique hash on (id) pages=100; 34 ) unique hash on (pers_id, doc_id) pages=100; 41 unique hash on (id) pages=100;
|
| /netbsd/src/sys/external/bsd/drm/dist/bsd-core/ |
| D | drm_scatter.c | 49 unsigned long pages; in drm_sg_alloc() local 62 pages = round_page(request->size) / PAGE_SIZE; in drm_sg_alloc() 63 DRM_DEBUG("sg size=%ld pages=%ld\n", request->size, pages); in drm_sg_alloc() 65 entry->pages = pages; in drm_sg_alloc() 67 entry->busaddr = malloc(pages * sizeof(*entry->busaddr), DRM_MEM_PAGES, in drm_sg_alloc() 86 request->size, pages, /* maxsize, nsegs */ in drm_sg_alloc() 120 (pages - 1) * sizeof(bus_dma_segment_t), in drm_sg_alloc() 131 dmah->segs, pages, &nsegs, in drm_sg_alloc() 182 for (i = 0, npage = 0 ; (i < nsegs) && (npage < pages) ; i++) { in drm_sg_alloc() 188 (npage < pages); in drm_sg_alloc() [all …]
|
| /netbsd/src/share/man/tools/ |
| D | pgcnt | 15 date > $TMPDIR/pages$dir 16 echo >> $TMPDIR/pages$dir 55 numb=`eval ${prep} troff -man $sm -s -f -t | pages` 56 echo "$file $numb" >> $TMPDIR/pages$dir 67 ed - pages$dir <<! 85 echo "total pages Section $dir -- $sumt" >> totalpgs 91 echo "total pages -- $tsum" >> totalpgs
|
| /netbsd/src/external/bsd/top/dist/machine/ |
| D | m_freebsd.man | 84 Number of pages paged or swapped in to physical memory. 87 Number of pages paged or swapped out from physical memory. 90 Total number of pages freed. 108 number of pages active 111 number of pages inactive 114 number of pages wired down 117 number of pages free 123 kilobytes swap pager pages paged in (last interval) 126 kilobytes swap pager pages paged out (last interval)
|