Home
last modified time | relevance | path

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

/mirbsd/src/lib/libc/db/btree/
Dbt_open.c141 b.cachesize = 0; in __bt_open()
273 if (b.cachesize && b.cachesize & (b.psize - 1)) in __bt_open()
274 b.cachesize += (~b.cachesize & (b.psize - 1)) + 1; in __bt_open()
275 if (b.cachesize < b.psize * MINCACHE) in __bt_open()
276 b.cachesize = b.psize * MINCACHE; in __bt_open()
279 ncache = (b.cachesize + t->bt_psize - 1) / t->bt_psize; in __bt_open()
/mirbsd/src/lib/libkeynote/
Denvironment.c66 size_t cachesize; in keynote_get_action_authorizers() local
84 for (cachesize = 0, kl = keynote_current_session->ks_action_authorizers; in keynote_get_action_authorizers()
88 cachesize += strlen(kl->key_stringkey) + 1; in keynote_get_action_authorizers()
90 if (cachesize == 0) in keynote_get_action_authorizers()
94 (char *) calloc(cachesize, sizeof(char)); in keynote_get_action_authorizers()
107 cachesize - len, "%s,", kl->key_stringkey); in keynote_get_action_authorizers()
122 size_t cachesize; in keynote_get_values() local
139 for (cachesize = 0, i = 0; i < keynote_current_session->ks_values_num; i++) in keynote_get_values()
140 cachesize += strlen(keynote_current_session->ks_values[i]) + 1; in keynote_get_values()
142 if (cachesize == 0) in keynote_get_values()
[all …]
/mirbsd/src/include/
Ddb.h118 unsigned int cachesize; /* bytes to cache */ member
137 unsigned int cachesize; /* bytes to cache */ member
149 unsigned int cachesize; /* bytes to cache */ member
/mirbsd/src/usr.sbin/httpd/src/support/
Dlogresolve.c98 static int cachesize = 0; variable
149 cachesize++; in cgethost()
262 fprintf(output, "Cache size : %d\n", cachesize); in stats()
/mirbsd/src/lib/libc/db/recno/
Drec_open.c71 btopeninfo.cachesize = openinfo->cachesize; in __rec_open()
/mirbsd/src/lib/libc/stdlib/
Dmalloc_mmap.c1375 size_t l, cachesize = 0; in free_pages() local
1479 cachesize += pf->size; in free_pages()
1484 cachesize += pt->size; in free_pages()
1498 cachesize -= pf->size; in free_pages()
1511 cachesize -= pf->size; in free_pages()
1535 if (pf->size > (malloc_cache - cachesize)) { in free_pages()
1541 if (munmap((char *) pf->page + (malloc_cache - cachesize), in free_pages()
1542 pf->size - (malloc_cache - cachesize)) != 0) in free_pages()
1546 pf->size = malloc_cache - cachesize; in free_pages()
/mirbsd/src/gnu/usr.bin/perl/ext/DB_File/
DDB_File.pm39 cachesize => 1,
146 cachesize => 1,
DDB_File.xs327 #define db_HA_cachesize hash.cachesize
334 #define db_BT_cachesize btree.cachesize
344 #define db_RE_cachesize recno.cachesize
/mirbsd/src/usr.sbin/httpd/src/modules/proxy/
Dproxy_cache.c100 static long61_t curbytes, cachesize; variable
326 cachesize.lower = cachesize.upper = 0; in help_proxy_garbage_coll()
327 add_long61(&cachesize, conf->space << 10); in help_proxy_garbage_coll()
336 if (cmp_long61(&curbytes, &cachesize) < 0L) { in help_proxy_garbage_coll()
363 if (cmp_long61(&curbytes, &cachesize) < 0) in help_proxy_garbage_coll()
/mirbsd/src/usr.bin/db/
Ddb.c277 btreeinfo.cachesize = 1024 * 1024; in main()
286 hashinfo.cachesize = 1024 * 1024; in main()
/mirbsd/src/gnu/usr.sbin/sendmail/libsmdb/
Dsmdb1.c530 hash_info.cachesize = db_params->smdbp_cache_size;
538 btree_info.cachesize = db_params->smdbp_cache_size;
/mirbsd/src/sys/arch/sparc/include/
Deeprom.h175 u_char cachesize; /* KB's in cache */ member
/mirbsd/src/lib/libc/db/hash/
Dndbm.c201 info.cachesize = 0; in _dbm_open()
Dhash.c182 if (info && info->cachesize) in __hash_open()
183 __buf_init(hashp, info->cachesize); in __hash_open()
/mirbsd/src/gnu/usr.bin/perl/ext/DB_File/t/
Ddb-hash.t109 ok(4, ! defined $dbh->{cachesize}) ;
122 $dbh->{cachesize} = 65 ;
123 ok(10, $dbh->{cachesize} == 65 );
Ddb-recno.t167 ok(2, ! defined $dbh->{cachesize}) ;
177 $dbh->{cachesize} = 9000 ;
178 ok(9, $dbh->{cachesize} == 9000 );
Ddb-btree.t144 ok(2, ! defined $dbh->{cachesize}) ;
155 $dbh->{cachesize} = 9000 ;
156 ok(10, $dbh->{cachesize} == 9000);
/mirbsd/src/sys/arch/i386/i386/
Dmachdep.c1567 int family = 0, model, step, modif, cachesize; in identifycpu() local
1674 cachesize = -1; in identifycpu()
1679 cachesize = intel_cachetable[(cpu_cache_edx & 0xFF) - 0x40]; in identifycpu()
1685 cachesize = (regs[2] >> 16); in identifycpu()
1708 if (cachesize > -1) { in identifycpu()
1713 ((*token) ? "\" " : ""), classnames[class], cachesize); in identifycpu()
/mirbsd/src/usr.sbin/pwd_mkdb/
Dpwd_mkdb.c199 openinfo.cachesize = MIN(st.st_size * 20, (off_t)12*1024*1024); in main()
/mirbsd/src/sys/dev/pci/
Dif_bge.c1865 u_int32_t cachesize, command, pcistate, reset; local
1869 cachesize = pci_conf_read(pa->pa_pc, pa->pa_tag, BGE_PCI_CACHESZ);
1912 pci_conf_write(pa->pa_pc, pa->pa_tag, BGE_PCI_CACHESZ, cachesize);
/mirbsd/src/gnu/usr.bin/perl/lib/
DCPAN.pm881 sub cachesize { subroutine
/mirbsd/src/gnu/usr.sbin/sendmail/sendmail/
Dmap.c1915 # define db_cachesize cachesize