| /src/lib/libc/db/btree/ |
| bt_open.c | 112 * file is opened. Also, the file's page size can cause the cachesize 151 b.cachesize = 0; 225 * changes, the cachesize value can change too. If the user 277 if (b.cachesize && b.cachesize & (b.psize - 1)) 278 b.cachesize += (~b.cachesize & (b.psize - 1)) + 1; 279 if (b.cachesize < b.psize * MINCACHE) 280 b.cachesize = b.psize * MINCACHE; 283 ncache = (b.cachesize + t->bt_psize - 1) / t->bt_psize [all...] |
| /src/sys/arch/alpha/alpha/ |
| dec_kn300.c | 74 int cachesize; local 104 cachesize = (1 * 1024 * 1024); 108 cachesize = (2 * 1024 * 1024); 112 cachesize = (4 * 1024 * 1024); 117 cachesize = (1 * 1024 * 1024); 120 uvmexp.ncolors = atop(cachesize);
|
| /src/include/ |
| db.h | 134 unsigned int cachesize; /* bytes to cache */ member in struct:__anon117 153 unsigned int cachesize; /* bytes to cache */ member in struct:__anon118 165 unsigned int cachesize; /* bytes to cache */ member in struct:__anon119
|
| /src/lib/libc/db/hash/ |
| ndbm.c | 71 info.cachesize = 0;
|
| hash.c | 188 if (info && info->cachesize) 189 __buf_init(hashp, info->cachesize);
|
| /src/sys/arch/sparc64/sparc64/ |
| cpu.c | 487 int bigcache, cachesize; local 593 cachesize = totalsize / cpu_icache_associativity(node); 594 bigcache = cachesize; 622 cachesize = totalsize / cpu_dcache_associativity(node); 623 if (cachesize > bigcache) 624 bigcache = cachesize; 645 cachesize = totalsize / cpu_ecache_associativity(node); 646 if (cachesize > bigcache) 647 bigcache = cachesize;
|
| /src/usr.sbin/pwd_mkdb/ |
| pwd_mkdb.c | 139 0, /* cachesize */ 263 u_int cachesize; local 274 cachesize = 0; 289 cachesize = atoi(optarg) * 1024 * 1024; 365 if (cachesize) { 366 openinfo.cachesize = cachesize; 369 cachesize = (u_int)(st.st_size * 20); 370 if (cachesize > MAX_CACHESIZE) 371 cachesize = MAX_CACHESIZE [all...] |
| /src/sbin/dump/ |
| rcache.c | 96 initcache(int cachesize, int readblksize) 120 if (cachesize == -1) { /* Compute from memory available */ 134 cachebufs = cachesize;
|
| /src/usr.sbin/services_mkdb/ |
| uniq.c | 49 .cachesize = 1024,
|
| output_db.c | 62 .cachesize = 1024,
|
| /src/lib/libc/db/recno/ |
| rec_open.c | 82 btopeninfo.cachesize = openinfo->cachesize;
|
| /src/tests/lib/libc/db/ |
| h_db.c | 632 if (!strcmp("cachesize", s)) { 633 ib.cachesize = atoi(eq); 666 if (!strcmp("cachesize", s)) { 667 ih.cachesize = atoi(eq); 680 if (!strcmp("cachesize", s)) { 681 rh.cachesize = atoi(eq);
|
| /src/lib/libc/rpc/ |
| rpcb_clnt.c | 94 #define CACHESIZE 6 105 static int cachesize; variable 210 cachesize--; 263 if (cachesize < CACHESIZE) { 266 cachesize++;
|
| /src/usr.sbin/ypserv/common/ |
| ypdb.c | 153 info.cachesize = 0;
|
| /src/usr.bin/db/ |
| db.c | 294 btreeinfo.cachesize = 1024 * 1024; 304 hashinfo.cachesize = 1024 * 1024;
|
| /src/sys/dev/pci/ |
| if_bge.c | 4198 uint32_t cachesize, command; local 4243 cachesize = pci_conf_read(sc->sc_pc, sc->sc_pcitag, BGE_PCI_CACHESZ); 4369 pci_conf_write(sc->sc_pc, sc->sc_pcitag, BGE_PCI_CACHESZ, cachesize);
|