Home
last modified time | relevance | path

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

12

/freebsd-14.2/lib/libc/db/btree/
H A Dbt_open.c146 b.cachesize = 0; in __bt_open()
273 if (b.cachesize && b.cachesize & (b.psize - 1) ) in __bt_open()
274 b.cachesize += (~b.cachesize & (b.psize - 1) ) + 1; in __bt_open()
275 if (b.cachesize < b.psize * MINCACHE) in __bt_open()
276 b.cachesize = b.psize * MINCACHE; in __bt_open()
279 ncache = howmany(b.cachesize, t->bt_psize); in __bt_open()
/freebsd-14.2/lib/libc/db/test/
H A Drun.test629 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
642 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
655 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
668 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
681 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
694 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
H A DREADME66 structure. If the type is btree, then "-i cachesize=10240"
67 will set BTREEINFO.cachesize to 10240.
H A Ddbtest.c601 ib.cachesize = atoi(eq);
635 ih.cachesize = atoi(eq);
649 rh.cachesize = atoi(eq);
/freebsd-14.2/include/
H A Ddb.h117 unsigned int cachesize; /* bytes to cache */ member
136 unsigned int cachesize; /* bytes to cache */ member
148 unsigned int cachesize; /* bytes to cache */ member
/freebsd-14.2/sbin/dump/
H A Dcache.c59 NBlocks = cachesize / BlockSize; in cinit()
93 if (cachesize <= 0 || sblock->fs_bsize == 0) in cread()
H A Ddump.h74 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; in main()
/freebsd-14.2/lib/libc/db/recno/
H A Drec_open.c75 btopeninfo.cachesize = openinfo->cachesize; in __rec_open()
/freebsd-14.2/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-14.2/lib/libc/db/test/hash.tests/
H A Dtread2.c72 ctl.cachesize = atoi(*argv++);
H A Ddriver2.c73 info.cachesize = NULL;
H A Dtverify.c73 ctl.cachesize = 1024 * 1024; /* 1 MEG */
H A Dtdel.c71 ctl.cachesize = 1024 * 1024; /* 1 MEG */
H A Dthash4.c74 ctl.cachesize = atoi(*argv++);
/freebsd-14.2/lib/libc/db/hash/
H A Dndbm.c66 info.cachesize = 0; in dbm_open()
H A Dhash.c179 if (info && info->cachesize) in __hash_open()
180 __buf_init(hashp, info->cachesize); in __hash_open()
/freebsd-14.2/lib/libc/rpc/
H A Drpcb_clnt.c89 static int cachesize; variable
187 cachesize--; in delete_cache()
232 if (cachesize < CACHESIZE) { in add_cache()
235 cachesize++; in add_cache()
/freebsd-14.2/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-14.2/sys/rpc/
H A Drpcb_clnt.c87 static int cachesize;
190 cachesize--;
241 if (cachesize < CACHESIZE) {
244 cachesize++;
/freebsd-14.2/lib/libc/db/test/btree.tests/
H A Dmain.c127 b.cachesize = 0;
141 b.cachesize = atoi(optarg);
/freebsd-14.2/usr.sbin/services_mkdb/
H A Dservices_mkdb.c74 .cachesize = 1024,
/freebsd-14.2/usr.sbin/pwd_mkdb/
H A Dpwd_mkdb.c143 openinfo.cachesize = atoi(optarg) * 1024 * 1024; in main()
/freebsd-14.2/sys/dev/bge/
H A Dif_bge.c4000 uint32_t cachesize, command, mac_mode, mac_mode_mask, reset, val; in bge_reset() local
4039 cachesize = pci_read_config(dev, BGE_PCI_CACHESZ, 4); in bge_reset()
4137 pci_write_config(dev, BGE_PCI_CACHESZ, cachesize, 4); in bge_reset()

12