Home
last modified time | relevance | path

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

/dragonfly/lib/libc/db/btree/
HDbt_open.c145 b.cachesize = 0; in __bt_open()
279 if (b.cachesize && b.cachesize & (b.psize - 1) ) in __bt_open()
280 b.cachesize += (~b.cachesize & (b.psize - 1) ) + 1; in __bt_open()
281 if (b.cachesize < b.psize * MINCACHE) in __bt_open()
282 b.cachesize = b.psize * MINCACHE; in __bt_open()
285 ncache = (b.cachesize + t->bt_psize - 1) / t->bt_psize; in __bt_open()
/dragonfly/lib/libc/db/test/
HDrun.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\
HDREADME66 structure. If the type is btree, then "-i cachesize=10240"
67 will set BTREEINFO.cachesize to 10240.
HDdbtest.c572 ib.cachesize = atoi(eq); in setinfo()
606 ih.cachesize = atoi(eq); in setinfo()
620 rh.cachesize = atoi(eq); in setinfo()
/dragonfly/include/
HDdb.h119 unsigned int cachesize; /* bytes to cache */ member
138 unsigned int cachesize; /* bytes to cache */ member
150 unsigned int cachesize; /* bytes to cache */ member
/dragonfly/sbin/dump/
HDcache.c83 NBlocks = cachesize / BlockSize; in cinit()
117 if (cachesize <= 0 || sblock->fs_bsize == 0) in cread()
HDdump.h73 extern int cachesize; /* size of block cache */
HDmain.c76 int cachesize = 0; /* block cache size (in bytes) */ variable
173 cachesize = numarg("cachesize", 0, 0) * 1024 * 1024; in main()
/dragonfly/lib/libc/db/recno/
HDrec_open.c73 btopeninfo.cachesize = openinfo->cachesize; in __rec_open()
/dragonfly/lib/libc/db/test/hash.tests/
HDtread2.c65 ctl.cachesize = atoi(*argv++); in main()
HDtverify.c66 ctl.cachesize = 1024 * 1024; /* 1 MEG */ in main()
HDdriver2.c64 info.cachesize = NULL; in main()
HDtdel.c64 ctl.cachesize = 1024 * 1024; /* 1 MEG */ in main()
HDthash4.c67 ctl.cachesize = atoi(*argv++); in main()
/dragonfly/lib/libc/rpc/
HDrpcb_clnt.c105 static int cachesize; variable
204 cachesize--; in delete_cache()
253 if (cachesize < CACHESIZE) { in add_cache()
256 cachesize++; in add_cache()
/dragonfly/lib/libc/db/hash/
HDndbm.c67 info.cachesize = 0; in dbm_open()
HDhash.c179 if (info && info->cachesize) in __hash_open()
180 __buf_init(hashp, info->cachesize); in __hash_open()
/dragonfly/lib/libc/db/test/btree.tests/
HDmain.c123 b.cachesize = 0; in main()
137 b.cachesize = atoi(optarg); in main()
/dragonfly/usr.sbin/pwd_mkdb/
HDpwd_mkdb.c137 openinfo.cachesize = atoi(optarg) * 1024 * 1024; in main()
/dragonfly/sys/dev/netif/bge/
HDif_bge.c2754 uint32_t cachesize, command, reset, mac_mode, mac_mode_mask; in bge_reset() local
2793 cachesize = pci_read_config(dev, BGE_PCI_CACHESZ, 4); in bge_reset()
2911 pci_write_config(dev, BGE_PCI_CACHESZ, cachesize, 4); in bge_reset()
/dragonfly/sys/dev/netif/bnx/
HDif_bnx.c2572 uint32_t cachesize, command, reset, mac_mode, mac_mode_mask; in bnx_reset() local
2597 cachesize = pci_read_config(dev, BGE_PCI_CACHESZ, 4); in bnx_reset()
2700 pci_write_config(dev, BGE_PCI_CACHESZ, cachesize, 4); in bnx_reset()