Searched refs:npages (Results 1 - 25 of 28) sorted by relevance

12

/macosx-10.10.1/BerkeleyDB-21/db/db_printlog/
H A Dpgno.awk7 npages = 0
9 pgno[npages] = substr(PGNO, 1, ndx - 1);
11 npages++
13 pgno[npages] = PGNO;
29 for (i = 0; i <= npages; i++)
34 for (i = 0; i <= npages; i++)
39 for (i = 0; i <= npages; i++)
/macosx-10.10.1/BerkeleyDB-21/db/examples_cxx/
H A DMpoolExample.cpp40 int run(int hits, int pagesize, int npages);
55 int npages = 50; local
68 if ((npages = atoi(argv[++i])) <= 0)
81 if ((ret = init(MPOOL, pagesize, npages)) != 0)
90 << "; N pages: " << npages << "\n"; local
94 if ((ret = app.run(hits, pagesize, npages)) != 0)
110 init(const char *file, int pagesize, int npages) argument
124 for (int cnt = 0; cnt <= npages; ++cnt) {
140 << "[-h hits] [-n npages] [-p pagesize]\n";
168 MpoolExample::run(int hits, int pagesize, int npages) argument
[all...]
/macosx-10.10.1/BerkeleyDB-21/db/examples_c/
H A Dex_mpool.c38 int cachesize, ch, hits, npages, pagesize; local
43 npages = 50;
57 if ((npages = atoi(optarg)) <= 0)
72 hits, npages, progname) == 0 ? EXIT_SUCCESS : EXIT_FAILURE);
80 "usage: %s [-c cachesize] [-h hits] [-n npages] [-p pagesize]\n",
86 run_mpool(pagesize, cachesize, hits, npages, progname)
87 int pagesize, cachesize, hits, npages;
93 if ((ret = init(MPOOL, pagesize, npages, progname)) != 0)
97 if ((ret = run(hits, cachesize, pagesize, npages, progname)) != 0)
108 init(file, pagesize, npages, prognam
[all...]
/macosx-10.10.1/BerkeleyDB-21/db/test/
H A Dmemp002.tcl27 set npages 100
50 $iter $psizes $npages 3 $flags > \
54 $iter $psizes $npages 3 $flags &]
H A Dtest053.tcl62 set npages 15
64 # We want to create a db with npages leaf pages, and have each page
73 puts "\tTest053.b: Create $npages pages with $nkeys pairs on each."
74 set keystring [string range $alphabet 0 [expr $npages -1]]
76 for { set i 0 } { $i < $npages } {incr i } {
103 [is_substr [$db stat] "{Leaf pages} $npages"] 1
107 for {set i 0} { $i < $npages } {incr i } {
125 [is_substr [$db stat] "{Leaf pages} $npages"] 1
138 for {set i 0} { $i < $npages} {incr i} {
141 for { set j $i; set curr [$dbc get -first]} { $j < $npages} { \
[all...]
H A Dtest116.tcl173 set npages [getlsns $testdir/$testfile $pgsize orig_lsns]
176 error_check_good newpages_match $npages $newpages
177 error_check_good newdirpages_match $npages $newdirpages
178 for { set i 0 } { $i < $npages } { incr i } {
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/tools/
H A Dfax2ps.c284 fax2ps(TIFF* tif, uint16 npages, uint16* pages, char* filename) argument
286 if (npages > 0) {
293 for (i = 0; i < npages; i++) {
324 uint16 *pages = NULL, npages = 0, pageNumber; local
342 pages = (uint16*) realloc(pages, (npages+1)*sizeof(uint16));
345 pages[npages++] = pageNumber;
362 if (npages > 0)
363 qsort(pages, npages, sizeof(uint16), pcompar);
370 fax2ps(tif, npages, pages, argv[optind]);
399 fax2ps(tif, npages, page
[all...]
H A Dfax2tiff.c92 int pn, npages; local
208 npages = argc - optind;
209 if (npages < 1)
309 TIFFSetField(out, TIFFTAG_PAGENUMBER, pn, npages);
H A Dtiff2ps.c512 PlaceImage(TIFF *tif, FILE *fp, int *npages, uint32 w, uint32 h, argument
602 (*npages)++;
603 fprintf(fp, "%%%%Page: %d %d\n", (*npages), (*npages));
657 (*npages)++;
658 fprintf(fp, "%%%%Page: %d %d\n", (*npages), (*npages));
700 static int npages = 0; local
744 if (!npages)
751 if (!npages)
970 PSTail(FILE *fd, int npages) argument
[all...]
/macosx-10.10.1/Libc-1044.1.2/db/hash/FreeBSD/
H A Dhash_buf.c300 int npages; local
303 npages = (nbytes + hashp->BSIZE - 1) >> hashp->BSHIFT;
304 npages = MAX(npages, MIN_BUFFERS);
306 hashp->nbufs = npages;
/macosx-10.10.1/Libc-1044.1.2/include/
H A Dmpool.h70 pgno_t npages; /* number of pages in the file */ member in struct:MPOOL
/macosx-10.10.1/xnu-2782.1.97/osfmk/vm/
H A Dvm_compressor_backing_store.h90 extern int vm_swapfile_io(struct vnode *vp, uint64_t offset, uint64_t start, int npages, int flags);
H A Dvm_resident.c651 unsigned int npages = pmap_free_pages(); local
654 while (vm_page_bucket_count < npages)
851 unsigned int i, npages, pages_initialized, fill, fillval; local
878 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 */
880 vm_pages = (vm_page_t) pmap_steal_memory(npages * sizeof *vm_pages);
886 for (i = 0, pages_initialized = 0; i < npages; i++) {
3824 unsigned int npages)
3836 printf("pages %p page_count %d npages %d\n", pages, page_count, npages);
3842 if (page_count != npages) {
3822 vm_page_verify_contiguous( vm_page_t pages, unsigned int npages) argument
3862 unsigned int npages; local
3931 unsigned int color, npages, nlopages; local
4074 unsigned int npages, considered, scanned; local
4701 unsigned int npages; local
[all...]
/macosx-10.10.1/Libc-1044.1.2/db/mpool/FreeBSD/
H A Dmpool.c89 mp->npages = sb.st_size / pagesize;
120 if (mp->npages == MAX_PAGE_NUMBER) {
134 *pgnoaddr = bp->pgno = mp->npages++;
158 if (pgno >= mp->npages) {
413 (void)fprintf(stderr, "%lu pages in the file\n", mp->npages);
/macosx-10.10.1/groff-38/groff/src/libs/libdriver/
H A Dinput.cpp128 variables `current_file', `npages', and `current_env'
362 // npages: number of pages processed so far (including current page),
364 int npages = 0; variable
1445 - npages: page counting variable
1521 if (npages <= 0)
1561 npages = 0;
1684 if (npages <= 0)
1708 if (npages <= 0)
1719 if (npages <= 0)
1727 if (npages <
[all...]
/macosx-10.10.1/xnu-2782.1.97/bsd/sys/
H A Dpipe.h116 int npages; /* number of pages */ member in struct:pipemapping
/macosx-10.10.1/xnu-2782.1.97/bsd/vm/
H A Dvm_compressor_backing_file.c48 int vm_swapfile_io(vnode_t vp, uint64_t offset, uint64_t start, int npages, int flags);
150 vm_swapfile_io(vnode_t vp, uint64_t offset, uint64_t start, int npages, int flags) argument
153 uint64_t io_size = npages * PAGE_SIZE_64;
/macosx-10.10.1/xnu-2782.1.97/osfmk/i386/
H A Di386_init.c134 ALLOCPAGES(int npages) argument
137 bzero(physfree, npages * PAGE_SIZE);
138 physfree += npages * PAGE_SIZE;
/macosx-10.10.1/xnu-2782.1.97/tools/tests/affinity/
H A Dsets.c280 auto_config(int npages, int *nbufs, int *nsets) argument
314 *nbufs = cachesize[llc] * 9 / (npages * 4096 * 10);
317 llc, cachesize[llc], *nbufs, (npages * 4096));
/macosx-10.10.1/doc_cmds-49/makewhatis/
H A Dmakewhatis.c841 int npages = 0; local
864 pages[npages++] = info;
868 qsort(pages, npages, sizeof(struct page_info *), pagesort);
872 for (i = 0; i < npages; i++) {
/macosx-10.10.1/tcl-105/tcl_ext/tdom/tdom/encodings/
H A DGenCompactCodings95 scan $line "%s %d %d" fbHex info(symbol) info(npages)
104 for {set p 0} {$p < $info(npages)} {incr p} {
136 Log "fallback='$info(fallback)' max=$info(max) symbol=$info(symbol) npages=$info(npages)"
/macosx-10.10.1/xnu-2782.1.97/osfmk/x86_64/
H A Dpmap.c644 long npages; local
670 npages = i386_btop(avail_end);
672 pmap_npages = (uint32_t)npages;
674 s = (vm_size_t) (sizeof(struct pv_rooted_entry) * npages
676 + pv_lock_table_size(npages)
678 + npages);
699 addr = (vm_offset_t) (pv_head_table + npages);
705 addr = (vm_offset_t) (pv_lock_table + pv_lock_table_size(npages));
/macosx-10.10.1/BerkeleyDB-21/db/rep/
H A Drep_backup.c1438 rep->npages++;
1525 "page_fail: BEFORE page %lu failed. ready %lu, max %lu, npages %d",
1527 (u_long)rfp->max_pgno, rep->npages));
1532 rep->npages = rep->ready_pg;
1535 "page_fail: AFTER page %lu failed. ready %lu, max %lu, npages %d",
1537 (u_long)rfp->max_pgno, rep->npages));
2021 * max_pgno is 0-based and npages is 1-based, so we don't have
2022 * all the pages until npages is > max_pgno.
2026 (u_long)rep->npages, (u_long)rfp->max_pgno + 1));
2027 if (rep->npages <
[all...]
/macosx-10.10.1/BerkeleyDB-21/db/dbinc/
H A Drep.h269 u_int32_t npages; /* Num of pages rcvd for this file. */ member in struct:__rep
/macosx-10.10.1/xnu-2782.1.97/bsd/nfs/
H A Dnfs_bio.c439 int i, npages; local
444 npages = round_page_32(bp->nb_bufsize) / PAGE_SIZE;
455 for (i=0; i < npages; i++, fileoffset += PAGE_SIZE_64) {
2615 int error = 0, commit, iomode, iomode2, len, pg, count, npages, off; local
2628 npages = bp->nb_bufsize / PAGE_SIZE;
2638 for (pg = 0; pg < npages; pg++) {
2642 while (((pg + count) < npages) && NBPGDIRTY(bp, pg + count))

Completed in 330 milliseconds

12