/freebsd/lib/libc/db/btree/ |
H A D | bt_open.c | 143 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 D | run.test | 626 -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 D | README | 65 structure. If the type is btree, then "-i cachesize=10240" 66 will set BTREEINFO.cachesize to 10240.
|
H A D | dbtest.c | 592 ib.cachesize = atoi(eq); 626 ih.cachesize = atoi(eq); 640 rh.cachesize = atoi(eq);
|
/freebsd/include/ |
H A D | db.h | 115 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 D | cache.c | 59 NBlocks = cachesize / BlockSize; in cinit() 93 if (cachesize <= 0 || sblock->fs_bsize == 0) in cread()
|
H A D | dump.h | 72 extern int cachesize; /* size of block cache in bytes */
|
H A D | main.c | 81 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 D | rec_open.c | 72 btopeninfo.cachesize = openinfo->cachesize; in __rec_open()
|
/freebsd/contrib/netbsd-tests/lib/libc/db/ |
H A D | README | 58 structure. If the type is btree, then "-i cachesize=10240" 59 will set BTREEINFO.cachesize to 10240.
|
H A D | h_db.c | 649 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 D | tread2.c | 63 ctl.cachesize = atoi(*argv++);
|
H A D | tverify.c | 64 ctl.cachesize = 1024 * 1024; /* 1 MEG */
|
H A D | driver2.c | 64 info.cachesize = NULL;
|
H A D | tdel.c | 62 ctl.cachesize = 1024 * 1024; /* 1 MEG */
|
H A D | thash4.c | 65 ctl.cachesize = atoi(*argv++);
|
/freebsd/lib/libc/db/hash/ |
H A D | ndbm.c | 63 info.cachesize = 0; in dbm_open()
|
H A D | hash.c | 176 if (info && info->cachesize) in __hash_open() 177 __buf_init(hashp, info->cachesize); in __hash_open()
|
/freebsd/lib/libc/rpc/ |
H A D | rpcb_clnt.c | 83 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 D | smdb1.c | 520 hash_info.cachesize = db_params->smdbp_cache_size; 527 btree_info.cachesize = db_params->smdbp_cache_size;
|
/freebsd/lib/libc/db/test/btree.tests/ |
H A D | main.c | 124 b.cachesize = 0; 138 b.cachesize = atoi(optarg);
|
/freebsd/usr.sbin/services_mkdb/ |
H A D | services_mkdb.c | 73 .cachesize = 1024,
|
/freebsd/usr.sbin/pwd_mkdb/ |
H A D | pwd_mkdb.c | 131 openinfo.cachesize = atoi(optarg) * 1024 * 1024; in main()
|
/freebsd/sys/dev/bge/ |
H A D | if_bge.c | 3999 uint32_t cachesize, command, mac_mode, mac_mode_mask, reset, val; in bge_reset() local 4038 cachesize = pci_read_config(dev, BGE_PCI_CACHESZ, 4); in bge_reset() 4136 pci_write_config(dev, BGE_PCI_CACHESZ, cachesize, 4); in bge_reset()
|
/freebsd/contrib/sendmail/src/ |
H A D | map.c | 2182 # define db_cachesize cachesize
|