Searched refs:cachesize (Results 1 - 24 of 24) sorted by relevance

/freebsd-current/include/
H A Ddb.h115 unsigned int cachesize; /* bytes to cache */ member in struct:__anon45
134 unsigned int cachesize; /* bytes to cache */ member in struct:__anon46
146 unsigned int cachesize; /* bytes to cache */ member in struct:__anon47
/freebsd-current/lib/libc/db/btree/
H A Dbt_open.c104 * file is opened. Also, the file's page size can cause the cachesize
143 b.cachesize = 0;
218 * changes, the cachesize value can change too. If the user
270 if (b.cachesize && b.cachesize & (b.psize - 1) )
271 b.cachesize += (~b.cachesize & (b.psize - 1) ) + 1;
272 if (b.cachesize < b.psize * MINCACHE)
273 b.cachesize = b.psize * MINCACHE;
276 ncache = howmany(b.cachesize,
[all...]
/freebsd-current/lib/libc/db/test/hash.tests/
H A Dtverify.c64 ctl.cachesize = 1024 * 1024; /* 1 MEG */
H A Dtdel.c62 ctl.cachesize = 1024 * 1024; /* 1 MEG */
H A Dtread2.c63 ctl.cachesize = atoi(*argv++);
H A Ddriver2.c64 info.cachesize = NULL;
H A Dthash4.c65 ctl.cachesize = atoi(*argv++);
/freebsd-current/sbin/dump/
H A Dcache.c59 NBlocks = cachesize / BlockSize;
93 if (cachesize <= 0 || sblock->fs_bsize == 0)
H A Ddump.h72 extern int cachesize; /* size of block cache in bytes */
H A Dmain.c81 int cachesize = 0; /* block cache size (in bytes), defaults to 0 */ variable
158 cachesize = numarg("cachesize", 0, 0) * 1024 * 1024;
619 "usage: dump [-0123456789acLnSu] [-B records] [-b blocksize] [-C cachesize]\n"
/freebsd-current/lib/libc/db/test/
H A Drun.test594 "Test 20: hash: bucketsize, fill factor; nelem 25000 cachesize 65536"
626 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
631 bsize=$bsize ffactor=$ffactor nelem=25000 cachesize=65536 failed"
639 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
644 bsize=$bsize ffactor=$ffactor nelem=25000 cachesize=65536 failed"
652 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
657 bsize=$bsize ffactor=$ffactor nelem=25000 cachesize=65536 failed"
665 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
670 bsize=$bsize ffactor=$ffactor nelem=25000 cachesize=65536 failed"
678 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize
[all...]
H A Ddbtest.c591 if (!strcmp("cachesize", s)) {
592 ib.cachesize = atoi(eq);
625 if (!strcmp("cachesize", s)) {
626 ih.cachesize = atoi(eq);
639 if (!strcmp("cachesize", s)) {
640 rh.cachesize = atoi(eq);
/freebsd-current/lib/libc/db/recno/
H A Drec_open.c72 btopeninfo.cachesize = openinfo->cachesize;
/freebsd-current/lib/libc/db/hash/
H A Dndbm.c63 info.cachesize = 0;
H A Dhash.c176 if (info && info->cachesize)
177 __buf_init(hashp, info->cachesize);
/freebsd-current/contrib/netbsd-tests/lib/libc/db/
H A Dh_db.c648 if (!strcmp("cachesize", s)) {
649 ib.cachesize = atoi(eq);
682 if (!strcmp("cachesize", s)) {
683 ih.cachesize = atoi(eq);
696 if (!strcmp("cachesize", s)) {
697 rh.cachesize = atoi(eq);
/freebsd-current/contrib/sendmail/libsmdb/
H A Dsmdb1.c520 hash_info.cachesize = db_params->smdbp_cache_size;
527 btree_info.cachesize = db_params->smdbp_cache_size;
/freebsd-current/sys/rpc/
H A Drpcb_clnt.c81 static int cachesize;
184 cachesize--;
235 if (cachesize < CACHESIZE) {
238 cachesize++;
/freebsd-current/lib/libc/rpc/
H A Drpcb_clnt.c83 static int cachesize; variable
181 cachesize--;
226 if (cachesize < CACHESIZE) {
229 cachesize++;
/freebsd-current/lib/libc/db/test/btree.tests/
H A Dmain.c124 b.cachesize = 0;
138 b.cachesize = atoi(optarg);
/freebsd-current/usr.sbin/services_mkdb/
H A Dservices_mkdb.c73 .cachesize = 1024,
/freebsd-current/usr.sbin/pwd_mkdb/
H A Dpwd_mkdb.c63 2048 * 1024, /* cachesize */
130 case 's': /* change default cachesize */
131 openinfo.cachesize = atoi(optarg) * 1024 * 1024;
664 "usage: pwd_mkdb [-CiNp] [-d directory] [-s cachesize] [-u username] file\n");
/freebsd-current/sys/dev/bge/
H A Dif_bge.c4013 uint32_t cachesize, command, mac_mode, mac_mode_mask, reset, val; local
4052 cachesize = pci_read_config(dev, BGE_PCI_CACHESZ, 4);
4150 pci_write_config(dev, BGE_PCI_CACHESZ, cachesize, 4);
/freebsd-current/contrib/sendmail/src/
H A Dmap.c2182 # define db_cachesize cachesize

Completed in 289 milliseconds