/src/lib/libc/db/btree/ |
bt_open.c | 111 * file is opened. Also, the file's page size can cause the cachesize 150 b.cachesize = 0; 224 * changes, the cachesize value can change too. If the user 276 if (b.cachesize && b.cachesize & (b.psize - 1)) 277 b.cachesize += (~b.cachesize & (b.psize - 1)) + 1; 278 if (b.cachesize < b.psize * MINCACHE) 279 b.cachesize = b.psize * MINCACHE; 282 ncache = (b.cachesize + t->bt_psize - 1) / t->bt_psize [all...] |
/src/sys/arch/alpha/alpha/ |
dec_kn300.c | 74 int cachesize; local in function:dec_kn300_init 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:__anon7d709f9c0308 153 unsigned int cachesize; /* bytes to cache */ member in struct:__anon7d709f9c0408 165 unsigned int cachesize; /* bytes to cache */ member in struct:__anon7d709f9c0508
|
/src/lib/libc/db/hash/ |
ndbm.c | 71 info.cachesize = 0;
|
hash.c | 187 if (info && info->cachesize) 188 __buf_init(hashp, info->cachesize);
|
/src/sys/arch/sparc64/sparc64/ |
cpu.c | 487 int bigcache, cachesize; local in function:cpu_attach 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 | 140 0, /* cachesize */ 264 u_int cachesize; local in function:main 275 cachesize = 0; 290 cachesize = atoi(optarg) * 1024 * 1024; 366 if (cachesize) { 367 openinfo.cachesize = cachesize; 370 cachesize = (u_int)(st.st_size * 20); 371 if (cachesize > MAX_CACHESIZE) 372 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/usr.sbin/ypserv/common/ |
ypdb.c | 153 info.cachesize = 0;
|
/src/lib/libc/rpc/ |
rpcb_clnt.c | 94 #define CACHESIZE 6 105 static int cachesize; variable in typeref:typename:int 210 cachesize--; 263 if (cachesize < CACHESIZE) { 266 cachesize++;
|
/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 in function:bge_reset 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);
|