/openbsd/lib/libc/db/btree/ |
H A D | bt_open.c | 140 b.cachesize = 0; in __bt_open() 267 if (b.cachesize && b.cachesize & (b.psize - 1)) in __bt_open() 268 b.cachesize += (~b.cachesize & (b.psize - 1)) + 1; in __bt_open() 269 if (b.cachesize < b.psize * MINCACHE) in __bt_open() 270 b.cachesize = b.psize * MINCACHE; in __bt_open() 273 ncache = (b.cachesize + t->bt_psize - 1) / t->bt_psize; in __bt_open()
|
/openbsd/sys/arch/alpha/alpha/ |
H A D | dec_kn300.c | 94 int cachesize; in dec_kn300_init() local 123 cachesize = (1 * 1024 * 1024); in dec_kn300_init() 127 cachesize = (2 * 1024 * 1024); in dec_kn300_init() 131 cachesize = (4 * 1024 * 1024); in dec_kn300_init() 136 cachesize = (1 * 1024 * 1024); in dec_kn300_init()
|
/openbsd/include/ |
H A D | db.h | 117 unsigned int cachesize; /* bytes to cache */ member 136 unsigned int cachesize; /* bytes to cache */ member 148 unsigned int cachesize; /* bytes to cache */ member
|
/openbsd/lib/libkeynote/ |
H A D | environment.c | 65 size_t cachesize; in keynote_get_action_authorizers() local 80 for (cachesize = 0, kl = keynote_current_session->ks_action_authorizers; in keynote_get_action_authorizers() 84 cachesize += strlen(kl->key_stringkey) + 1; in keynote_get_action_authorizers() 86 if (cachesize == 0) in keynote_get_action_authorizers() 90 calloc(cachesize, sizeof(char)); in keynote_get_action_authorizers() 101 cachesize - len, "%s,", kl->key_stringkey); in keynote_get_action_authorizers() 116 size_t cachesize; in keynote_get_values() local 131 cachesize += strlen(keynote_current_session->ks_values[i]) + 1; in keynote_get_values() 133 if (cachesize == 0) in keynote_get_values() 137 calloc(cachesize, sizeof(char)); in keynote_get_values() [all …]
|
/openbsd/regress/lib/libc/db/ |
H A D | run.test | 631 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\ 644 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\ 657 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\ 670 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\ 683 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\ 696 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
|
H A D | README | 61 structure. If the type is btree, then "-i cachesize=10240" 62 will set BTREEINFO.cachesize to 10240.
|
H A D | dbtest.c | 597 ib.cachesize = atoi(eq); 631 ih.cachesize = atoi(eq); 645 rh.cachesize = atoi(eq);
|
/openbsd/lib/libc/db/recno/ |
H A D | rec_open.c | 70 btopeninfo.cachesize = openinfo->cachesize; in __rec_open()
|
/openbsd/usr.sbin/ypserv/common/ |
H A D | ypdb.c | 61 info.cachesize = 0; in ypdb_open() 86 info.cachesize = 0; in ypdb_open_suf()
|
/openbsd/gnu/usr.bin/perl/cpan/DB_File/ |
H A D | DB_File.pm | 37 cachesize => 1, 144 cachesize => 1,
|
H A D | DB_File.xs | 350 #define db_HA_cachesize hash.cachesize 357 #define db_BT_cachesize btree.cachesize 367 #define db_RE_cachesize recno.cachesize
|
/openbsd/lib/libc/db/hash/ |
H A D | ndbm.c | 78 info.cachesize = 0; in _dbm_open()
|
H A D | hash.c | 175 if (info && info->cachesize) in __hash_open() 176 __buf_init(hashp, info->cachesize); in __hash_open()
|
/openbsd/gnu/usr.bin/perl/cpan/CPAN/lib/CPAN/ |
H A D | CacheMgr.pm | 29 sub cachesize { subroutine
|
/openbsd/gnu/usr.bin/perl/cpan/DB_File/t/ |
H A D | db-hash.t | 105 ok(4, ! defined $dbh->{cachesize}) ; 118 $dbh->{cachesize} = 65 ; 119 ok(10, $dbh->{cachesize} == 65 );
|
H A D | db-btree.t | 141 ok(2, ! defined $dbh->{cachesize}) ; 152 $dbh->{cachesize} = 9000 ; 153 ok(10, $dbh->{cachesize} == 9000);
|
H A D | db-recno.t | 164 ok(2, ! defined $dbh->{cachesize}) ; 174 $dbh->{cachesize} = 9000 ; 175 ok(9, $dbh->{cachesize} == 9000 );
|
/openbsd/sys/arch/i386/i386/ |
H A D | machdep.c | 1634 int family, model, step, modif, cachesize; in identifycpu() local 1748 cachesize = -1; in identifycpu() 1754 cachesize = intel_cachetable[(cpu_cache_edx & 0xFF) - 0x40]; in identifycpu() 1761 cachesize = (regs[2] >> 16); in identifycpu() 1810 if (cachesize > -1) { in identifycpu() 1815 ((*token) ? "\" " : ""), classnames[class], cachesize); in identifycpu()
|
/openbsd/usr.bin/systat/ |
H A D | pftop.c | 1728 int cachesize = DEFAULT_CACHE_SIZE; in initpftop() local 1744 if (cache_init(cachesize)) in initpftop() 1746 else if (interactive && cachesize > 0) in initpftop()
|
/openbsd/usr.sbin/pwd_mkdb/ |
H A D | pwd_mkdb.c | 190 openinfo.cachesize = MINIMUM(st.st_size * 20, (off_t)12*1024*1024); in main()
|
/openbsd/gnu/usr.bin/binutils/gdb/rdi-share/ |
H A D | armdbg.h | 1120 Dbg_MCState *state, uint32 cachesize, bool closefiles);
|
/openbsd/sys/dev/pci/ |
H A D | if_bge.c | 3272 pcireg_t cachesize, command, devctl; in bge_reset() local 3309 cachesize = pci_conf_read(pa->pa_pc, pa->pa_tag, BGE_PCI_CACHESZ); in bge_reset() 3410 pci_conf_write(pa->pa_pc, pa->pa_tag, BGE_PCI_CACHESZ, cachesize); in bge_reset()
|