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

/freebsd-12-stable/include/
H A Ddb.h118 unsigned int cachesize; /* bytes to cache */ member in struct:__anon8322
137 unsigned int cachesize; /* bytes to cache */ member in struct:__anon8323
149 unsigned int cachesize; /* bytes to cache */ member in struct:__anon8324
/freebsd-12-stable/lib/libc/db/btree/
H A Dbt_open.c110 * file is opened. Also, the file's page size can cause the cachesize
149 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 = howmany(b.cachesize,
[all...]
/freebsd-12-stable/lib/libc/db/test/hash.tests/
H A Ddriver2.c76 info.cachesize = NULL;
H A Dtread2.c75 ctl.cachesize = atoi(*argv++);
H A Dtverify.c76 ctl.cachesize = 1024 * 1024; /* 1 MEG */
H A Dtdel.c74 ctl.cachesize = 1024 * 1024; /* 1 MEG */
H A Dthash4.c77 ctl.cachesize = atoi(*argv++);
/freebsd-12-stable/sbin/dump/
H A Dcache.c61 NBlocks = cachesize / BlockSize;
95 if (cachesize <= 0 || sblock->fs_bsize == 0)
H A Ddump.h76 extern int cachesize; /* size of block cache in bytes */
H A Dmain.c93 int cachesize = 0; /* block cache size (in bytes), defaults to 0 */ variable
170 cachesize = numarg("cachesize", 0, 0) * 1024 * 1024;
631 "usage: dump [-0123456789acLnSu] [-B records] [-b blocksize] [-C cachesize]\n"
/freebsd-12-stable/lib/libc/db/test/
H A Drun.test597 "Test 20: hash: bucketsize, fill factor; nelem 25000 cachesize 65536"
629 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
634 bsize=$bsize ffactor=$ffactor nelem=25000 cachesize=65536 failed"
642 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
647 bsize=$bsize ffactor=$ffactor nelem=25000 cachesize=65536 failed"
655 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
660 bsize=$bsize ffactor=$ffactor nelem=25000 cachesize=65536 failed"
668 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
673 bsize=$bsize ffactor=$ffactor nelem=25000 cachesize=65536 failed"
681 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize
[all...]
H A Ddbtest.c603 if (!strcmp("cachesize", s)) {
604 ib.cachesize = atoi(eq);
637 if (!strcmp("cachesize", s)) {
638 ih.cachesize = atoi(eq);
651 if (!strcmp("cachesize", s)) {
652 rh.cachesize = atoi(eq);
/freebsd-12-stable/lib/libc/db/recno/
H A Drec_open.c78 btopeninfo.cachesize = openinfo->cachesize;
/freebsd-12-stable/lib/libc/db/hash/
H A Dndbm.c69 info.cachesize = 0;
H A Dhash.c182 if (info && info->cachesize)
183 __buf_init(hashp, info->cachesize);
/freebsd-12-stable/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-12-stable/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-12-stable/lib/libc/rpc/
H A Drpcb_clnt.c92 static int cachesize; variable
190 cachesize--;
235 if (cachesize < CACHESIZE) {
238 cachesize++;
/freebsd-12-stable/lib/libc/db/test/btree.tests/
H A Dmain.c130 b.cachesize = 0;
144 b.cachesize = atoi(optarg);
/freebsd-12-stable/sys/rpc/
H A Drpcb_clnt.c89 static int cachesize;
192 cachesize--;
243 if (cachesize < CACHESIZE) {
246 cachesize++;
/freebsd-12-stable/usr.sbin/services_mkdb/
H A Dservices_mkdb.c76 .cachesize = 1024,
/freebsd-12-stable/usr.sbin/pwd_mkdb/
H A Dpwd_mkdb.c78 2048 * 1024, /* cachesize */
152 case 's': /* change default cachesize */
153 openinfo.cachesize = atoi(optarg) * 1024 * 1024;
683 "usage: pwd_mkdb [-BCiLNp] [-d directory] [-s cachesize] [-u username] file\n");
/freebsd-12-stable/sys/dev/bge/
H A Dif_bge.c4072 uint32_t cachesize, command, mac_mode, mac_mode_mask, reset, val; local
4111 cachesize = pci_read_config(dev, BGE_PCI_CACHESZ, 4);
4209 pci_write_config(dev, BGE_PCI_CACHESZ, cachesize, 4);
/freebsd-12-stable/contrib/sendmail/src/
H A Dmap.c1959 # define db_cachesize cachesize

Completed in 307 milliseconds