Home
last modified time | relevance | path

Searched refs:cachesize (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/lib/libc/db/btree/
H A Dbt_open.c143 b.cachesize = 0; in __bt_open()
270 if (b.cachesize && b.cachesize & (b.psize - 1) ) in __bt_open()
271 b.cachesize += (~b.cachesize & (b.psize - 1) ) + 1; in __bt_open()
272 if (b.cachesize < b.psize * MINCACHE) in __bt_open()
273 b.cachesize = b.psize * MINCACHE; in __bt_open()
276 ncache = howmany(b.cachesize, t->bt_psize); in __bt_open()
/freebsd/lib/libc/db/test/
H A Drun.test626 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
639 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
652 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
665 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
678 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
691 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
H A DREADME65 structure. If the type is btree, then "-i cachesize=10240"
66 will set BTREEINFO.cachesize to 10240.
H A Ddbtest.c592 ib.cachesize = atoi(eq);
626 ih.cachesize = atoi(eq);
640 rh.cachesize = atoi(eq);
/freebsd/include/
H A Ddb.h115 unsigned int cachesize; /* bytes to cache */ member
134 unsigned int cachesize; /* bytes to cache */ member
146 unsigned int cachesize; /* bytes to cache */ member
/freebsd/sbin/dump/
H A Dcache.c59 NBlocks = cachesize / BlockSize; in cinit()
93 if (cachesize <= 0 || sblock->fs_bsize == 0) in cread()
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; in main()
/freebsd/lib/libc/db/recno/
H A Drec_open.c72 btopeninfo.cachesize = openinfo->cachesize; in __rec_open()
/freebsd/contrib/netbsd-tests/lib/libc/db/
H A DREADME58 structure. If the type is btree, then "-i cachesize=10240"
59 will set BTREEINFO.cachesize to 10240.
H A Dh_db.c649 ib.cachesize = atoi(eq); in setinfo()
683 ih.cachesize = atoi(eq); in setinfo()
697 rh.cachesize = atoi(eq); in setinfo()
/freebsd/lib/libc/db/test/hash.tests/
H A Dtread2.c63 ctl.cachesize = atoi(*argv++);
H A Dtverify.c64 ctl.cachesize = 1024 * 1024; /* 1 MEG */
H A Ddriver2.c64 info.cachesize = NULL;
H A Dtdel.c62 ctl.cachesize = 1024 * 1024; /* 1 MEG */
H A Dthash4.c65 ctl.cachesize = atoi(*argv++);
/freebsd/lib/libc/db/hash/
H A Dndbm.c63 info.cachesize = 0; in dbm_open()
H A Dhash.c176 if (info && info->cachesize) in __hash_open()
177 __buf_init(hashp, info->cachesize); in __hash_open()
/freebsd/lib/libc/rpc/
H A Drpcb_clnt.c83 static int cachesize; variable
181 cachesize--; in delete_cache()
226 if (cachesize < CACHESIZE) { in add_cache()
229 cachesize++; in add_cache()
/freebsd/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/sys/rpc/
H A Drpcb_clnt.c81 static int cachesize;
184 cachesize--;
235 if (cachesize < CACHESIZE) {
238 cachesize++;
/freebsd/lib/libc/db/test/btree.tests/
H A Dmain.c124 b.cachesize = 0;
138 b.cachesize = atoi(optarg);
/freebsd/usr.sbin/services_mkdb/
H A Dservices_mkdb.c73 .cachesize = 1024,
/freebsd/usr.sbin/pwd_mkdb/
H A Dpwd_mkdb.c131 openinfo.cachesize = atoi(optarg) * 1024 * 1024; in main()
/freebsd/sys/dev/bge/
H A Dif_bge.c4011 uint32_t cachesize, command, mac_mode, mac_mode_mask, reset, val; in bge_reset() local
4050 cachesize = pci_read_config(dev, BGE_PCI_CACHESZ, 4); in bge_reset()
4148 pci_write_config(dev, BGE_PCI_CACHESZ, cachesize, 4); in bge_reset()

12