Searched refs:npages (Results 1 - 9 of 9) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | pipe.h | 115 int npages; /* number of pages */ member in struct:pipemapping
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/vm/ |
H A D | vm_resident.c | 499 unsigned int npages = pmap_free_pages(); local 502 while (vm_page_bucket_count < npages) 653 unsigned int i, npages, pages_initialized, fill, fillval; local 666 npages = (unsigned int)(tmpaddr / (addr64_t)(PAGE_SIZE + sizeof(*vm_pages))); /* Figure size of all vm_page_ts, including enough to hold the vm_page_ts */ 668 vm_pages = (vm_page_t) pmap_steal_memory(npages * sizeof *vm_pages); 673 for (i = 0, pages_initialized = 0; i < npages; i++) { 2884 unsigned int npages) 2902 if (page_count != npages) { 2904 pages, page_count, npages); 2919 unsigned int color, npages; local 2882 vm_page_verify_contiguous( vm_page_t pages, unsigned int npages) argument 3025 unsigned int npages, considered; local 3447 unsigned int npages; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/tools/tests/affinity/ |
H A D | sets.c | 287 auto_config(int npages, int *nbufs, int *nsets) argument 321 *nbufs = cachesize[llc] * 9 / (npages * 4096 * 10); 324 llc, cachesize[llc], *nbufs, (npages * 4096));
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | start.s | 208 #define ALLOCPAGES(npages) \ 210 movl $((npages) * PAGE_SIZE), %eax ; \ 214 movl $((npages) * PAGE_SIZE / 4),%ecx ; \
|
H A D | pmap.c | 1362 register long npages; local 1378 npages = i386_btop(avail_end); 1379 s = (vm_size_t) (sizeof(struct pv_rooted_entry) * npages 1381 + pv_lock_table_size(npages) 1383 + npages); 1399 addr = (vm_offset_t) (pv_head_table + npages); 1405 addr = (vm_offset_t) (pv_lock_table + pv_lock_table_size(npages));
|
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | sys_pipe.c | 862 wpipe->pipe_map.npages = i; 881 wpipe->pipe_map.npages); 906 pmap_qremove(wpipe->pipe_map.kva, wpipe->pipe_map.npages); 919 for (i = 0; i < wpipe->pipe_map.npages; i++) { 923 wpipe->pipe_map.npages = 0; 1547 cpipe->pipe_map.npages = 0;
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | pmap.c | 1340 unsigned int i, npages; local 1342 npages = round_page(size) >> 12; /* Get the number of pages to do */ 1344 for(i = 0; i < npages; i++) { /* Do all requested pages */
|
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/ |
H A D | nfs_bio.c | 429 int i, npages; local 434 npages = round_page_32(bp->nb_bufsize) / PAGE_SIZE; 445 for (i=0; i < npages; i++, fileoffset += PAGE_SIZE_64) { 2694 int error = 0, commit, iomode, iomode2, len, pg, count, npages, off; local 2707 npages = bp->nb_bufsize / PAGE_SIZE; 2723 for (pg = 0; pg < npages; pg++) { 2727 while (((pg + count) < npages) && NBPGDIRTY(bp, pg + count))
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/default_pager/ |
H A D | dp_backing_store.c | 470 bs_set_default_clsize(unsigned int npages) argument 472 switch(npages){ 478 vstruct_def_clshift = local_log2(npages);
|
Completed in 167 milliseconds