| /dragonfly/lib/libc/db/btree/ |
| HD | bt_open.c | 145 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/ |
| HD | run.test | 629 -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\
|
| HD | README | 66 structure. If the type is btree, then "-i cachesize=10240" 67 will set BTREEINFO.cachesize to 10240.
|
| HD | dbtest.c | 572 ib.cachesize = atoi(eq); in setinfo() 606 ih.cachesize = atoi(eq); in setinfo() 620 rh.cachesize = atoi(eq); in setinfo()
|
| /dragonfly/include/ |
| HD | db.h | 119 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/ |
| HD | cache.c | 83 NBlocks = cachesize / BlockSize; in cinit() 117 if (cachesize <= 0 || sblock->fs_bsize == 0) in cread()
|
| HD | dump.h | 73 extern int cachesize; /* size of block cache */
|
| HD | main.c | 76 int cachesize = 0; /* block cache size (in bytes) */ variable 173 cachesize = numarg("cachesize", 0, 0) * 1024 * 1024; in main()
|
| /dragonfly/lib/libc/db/recno/ |
| HD | rec_open.c | 73 btopeninfo.cachesize = openinfo->cachesize; in __rec_open()
|
| /dragonfly/lib/libc/db/test/hash.tests/ |
| HD | tread2.c | 65 ctl.cachesize = atoi(*argv++); in main()
|
| HD | tverify.c | 66 ctl.cachesize = 1024 * 1024; /* 1 MEG */ in main()
|
| HD | driver2.c | 64 info.cachesize = NULL; in main()
|
| HD | tdel.c | 64 ctl.cachesize = 1024 * 1024; /* 1 MEG */ in main()
|
| HD | thash4.c | 67 ctl.cachesize = atoi(*argv++); in main()
|
| /dragonfly/lib/libc/rpc/ |
| HD | rpcb_clnt.c | 105 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/ |
| HD | ndbm.c | 67 info.cachesize = 0; in dbm_open()
|
| HD | hash.c | 179 if (info && info->cachesize) in __hash_open() 180 __buf_init(hashp, info->cachesize); in __hash_open()
|
| /dragonfly/lib/libc/db/test/btree.tests/ |
| HD | main.c | 123 b.cachesize = 0; in main() 137 b.cachesize = atoi(optarg); in main()
|
| /dragonfly/usr.sbin/pwd_mkdb/ |
| HD | pwd_mkdb.c | 137 openinfo.cachesize = atoi(optarg) * 1024 * 1024; in main()
|
| /dragonfly/sys/dev/netif/bge/ |
| HD | if_bge.c | 2754 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/ |
| HD | if_bnx.c | 2572 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()
|