Home
last modified time | relevance | path

Searched refs:bcache (Results 1 – 14 of 14) sorted by relevance

/openbsd/src/gnu/usr.bin/binutils/gdb/
Dbcache.c64 struct bcache struct
122 expand_hash_table (struct bcache *bcache) in expand_hash_table() argument
141 bcache->expand_count++; in expand_hash_table()
142 bcache->expand_hash_count += bcache->unique_count; in expand_hash_table()
145 new_num_buckets = bcache->num_buckets * 2; in expand_hash_table()
147 if (sizes[i] > bcache->num_buckets) in expand_hash_table()
159 bcache->structure_size -= (bcache->num_buckets in expand_hash_table()
160 * sizeof (bcache->bucket[0])); in expand_hash_table()
161 bcache->structure_size += new_size; in expand_hash_table()
165 for (i = 0; i < bcache->num_buckets; i++) in expand_hash_table()
[all …]
Dbcache.h142 struct bcache;
150 struct bcache *bcache);
151 extern const void *bcache (const void *addr, int length,
152 struct bcache *bcache);
155 extern void bcache_xfree (struct bcache *bcache);
158 extern struct bcache *bcache_xmalloc (void);
164 extern void print_bcache_statistics (struct bcache *bcache, char *type);
165 extern int bcache_memory_used (struct bcache *bcache);
Dmacrotab.h26 struct bcache;
167 struct bcache *bcache);
Dmacrotab.c44 struct bcache *bcache; member
103 if (t->bcache) in macro_bcache()
104 return bcache (addr, len, t->bcache); in macro_bcache()
129 gdb_assert (! t->bcache); in macro_bcache_free()
858 struct bcache *b) in new_macro_table()
870 t->bcache = b; in new_macro_table()
Dobjfiles.h29 struct bcache;
265 struct bcache *psymbol_cache; /* Byte cache for partial syms */
266 struct bcache *macro_cache; /* Byte cache for macros */
DChangeLog-19962179 * bcache.c (hash): Ditto.
2810 * bcache.c (print_bcache_statistics): Avoid divide-by-zero
3575 * bcache.c (bcache): When size of chunk to cache is exactly equal to
3744 * symmisc.c (bcache.h): Include.
3745 * bcache.h: Add prototype for print_bcache_statistics.
3808 * bcache.h (struct hashlink): Wrap data[] inside union with
3812 * bcache.c (lookup_cache, bcache): Use BCACHE_DATA to get
3845 * symfile.c (reread_symbols): Reinitialize bcache struct
4429 * bcache.c, bcache.h: New files to implement a byte cache.
4430 * Makefile.in (SFILES): Add bcache.c.
[all …]
DMakefile.in519 bcache.c \
643 bcache_h = bcache.h
850 HFILES_NO_SRCDIR = bcache.h buildsym.h call-cmds.h coff-solib.h defs.h \
915 exec.o bcache.o objfiles.o observer.o minsyms.o maint.o demangle.o \
DChangeLog-20023039 * solib-sunos.c: Include "bcache.h" and "regcache.h".
6113 * buildsym.c, bcache.c, ada-typeprint.c: Ditto.
6115 * Makefile.in (bcache.o): Update dependencies.
6660 * bcache.h: Update copyright.
6661 (struct bstring, struct bcache): Move definition to "bcache.c".
6666 * bcache.c: Update copyright.
6667 (struct bstring, struct bcache): Moved to here from "bcache.h".
6680 * symfile.c: Include "bcache.h".
6687 (struct bcache): Declare opaque. Do not include "bcache.h".
6689 bcache'' pointers.
[all …]
DChangeLog-1999907 * bcache.c (print_bcache_statistics): Fix printf_filtered
913 Make the bcache hash table grow.
914 * bcache.h (BCACHE_NUM_BUCKETS): Delete definition.
915 (struct bcache): Add new element: num_buckets. Make bucket be a
918 * bcache.c (CHAIN_LENGTH_THRESHOLD): New constant.
920 (bcache): Grow the hash table if the average chain length reaches
925 (BSTRING_SIZE): Moved down to just above 'bcache' function, where
928 freeing the bcache's obstack directly.
933 * bcache.c, bcache.h: Rewritten. New version imposes less memory
7643 * bcache.c, bcache.h, breakpoint.c, defs.h, expprint.c,
DChangeLog-2003909 * bcache.h (deprecated_bcache): Declare.
910 (bcache): Make returned buffer constant.
911 * bcache.c (deprecated_bcache): New function.
913 (bcache): Call bcache data.
1277 * bcache.h: Update copyright. Add comments on bcache VS hashtab.
1278 * bcache.c (struct bstring): Make "length" an unsigned short, add
1280 (struct bcache): Add "half_hash_error_count".
1281 (bcache): Compute and save the "half_hash". Compare the
1596 * bcache.c: Include "gdb_assert.h".
1597 (struct bcache): Add fields "expand_count" and
[all …]
DChangeLog-2000158 ax-general.c, bcache.c, blockframe.c, breakpoint.c,
3867 * buildsym.c (hashname): Change to use hash function from bcache.c/.h
3869 * bcache.c (hash): Change to newer hash function.
3871 * bcache.h (hash): Prototype for hash function
5391 * bcache.c (free_bcache): Do not free NULL.
7710 * bcache.h, bcache.c, c-valprint.c, coffread.c, stabsread.c,
7712 * bcache.c: Rearrange to avoid warnings about variables not being set.
DChangeLog-19984383 * abug-rom.c alpha-nat.c alpha-tdep.c annotate.c ax-gdb.c bcache.c:
5941 * bcache.h (BCACHE_DATA_ALIGNMENT): Ditto.
DChangeLog-20018189 ax.h, bcache.c, bcache.h, blockframe.c, breakpoint.c,
DChangeLog8813 * bcache.c (print_percentage): Use floating point to avoid
10982 * bcache.c (bcache_xmalloc): Use obstack_init instead of