Home
last modified time | relevance | path

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

/openbsd/lib/libc/db/btree/
H A Dbt_open.c140 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 Ddec_kn300.c94 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 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
/openbsd/lib/libkeynote/
H A Denvironment.c65 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 Drun.test631 -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 DREADME61 structure. If the type is btree, then "-i cachesize=10240"
62 will set BTREEINFO.cachesize to 10240.
H A Ddbtest.c597 ib.cachesize = atoi(eq);
631 ih.cachesize = atoi(eq);
645 rh.cachesize = atoi(eq);
/openbsd/lib/libc/db/recno/
H A Drec_open.c70 btopeninfo.cachesize = openinfo->cachesize; in __rec_open()
/openbsd/usr.sbin/ypserv/common/
H A Dypdb.c61 info.cachesize = 0; in ypdb_open()
86 info.cachesize = 0; in ypdb_open_suf()
/openbsd/gnu/usr.bin/perl/cpan/DB_File/
H A DDB_File.pm37 cachesize => 1,
144 cachesize => 1,
H A DDB_File.xs350 #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 Dndbm.c78 info.cachesize = 0; in _dbm_open()
H A Dhash.c175 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 DCacheMgr.pm29 sub cachesize { subroutine
/openbsd/gnu/usr.bin/perl/cpan/DB_File/t/
H A Ddb-hash.t105 ok(4, ! defined $dbh->{cachesize}) ;
118 $dbh->{cachesize} = 65 ;
119 ok(10, $dbh->{cachesize} == 65 );
H A Ddb-btree.t141 ok(2, ! defined $dbh->{cachesize}) ;
152 $dbh->{cachesize} = 9000 ;
153 ok(10, $dbh->{cachesize} == 9000);
H A Ddb-recno.t164 ok(2, ! defined $dbh->{cachesize}) ;
174 $dbh->{cachesize} = 9000 ;
175 ok(9, $dbh->{cachesize} == 9000 );
/openbsd/sys/arch/i386/i386/
H A Dmachdep.c1634 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 Dpftop.c1728 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 Dpwd_mkdb.c190 openinfo.cachesize = MINIMUM(st.st_size * 20, (off_t)12*1024*1024); in main()
/openbsd/gnu/usr.bin/binutils/gdb/rdi-share/
H A Darmdbg.h1120 Dbg_MCState *state, uint32 cachesize, bool closefiles);
/openbsd/sys/dev/pci/
H A Dif_bge.c3272 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()