| /freebsd-12.1/contrib/gdb/gdb/ |
| H A D | bcache.c | 64 struct bcache struct 122 expand_hash_table (struct bcache *bcache) in expand_hash_table() argument 142 bcache->expand_hash_count += bcache->unique_count; in expand_hash_table() 159 bcache->structure_size -= (bcache->num_buckets in expand_hash_table() 199 bcache_data (const void *addr, int length, struct bcache *bcache) in bcache_data() argument 257 bcache (const void *addr, int length, struct bcache *bcache) in bcache() function 264 struct bcache * 268 struct bcache *b = XCALLOC (1, struct bcache); in bcache_xmalloc() 278 bcache_xfree (struct bcache *bcache) in bcache_xfree() argument 284 xfree (bcache); in bcache_xfree() [all …]
|
| H A D | bcache.h | 142 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);
|
| H A D | macrotab.h | 26 struct bcache; 167 struct bcache *bcache);
|
| H A D | macrotab.c | 44 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()
|
| H A D | objfiles.h | 29 struct bcache; 292 struct bcache *psymbol_cache; /* Byte cache for partial syms */ 293 struct bcache *macro_cache; /* Byte cache for macros */
|
| /freebsd-12.1/contrib/processor-trace/libipt/src/ |
| H A D | pt_block_cache.c | 37 struct pt_block_cache *bcache; in pt_bcache_alloc() local 47 bcache = malloc((size_t) size); in pt_bcache_alloc() 48 if (!bcache) in pt_bcache_alloc() 51 memset(bcache, 0, (size_t) size); in pt_bcache_alloc() 54 return bcache; in pt_bcache_alloc() 59 free(bcache); in pt_bcache_free() 65 if (!bcache) in pt_bcache_add() 68 if (bcache->nentries <= index) in pt_bcache_add() 75 bcache->entry[(uint32_t) index] = bce; in pt_bcache_add() 83 if (!bce || !bcache) in pt_bcache_lookup() [all …]
|
| H A D | pt_section.c | 358 struct pt_block_cache *bcache; in pt_section_bcache_memsize() local 363 bcache = section->bcache; in pt_section_bcache_memsize() 364 if (!bcache) { in pt_section_bcache_memsize() 369 *psize = sizeof(*bcache) + in pt_section_bcache_memsize() 435 struct pt_block_cache *bcache; in pt_section_alloc_bcache() local 471 if (bcache) { in pt_section_alloc_bcache() 476 bcache = pt_bcache_alloc(csize); in pt_section_alloc_bcache() 477 if (!bcache) { in pt_section_alloc_bcache() 488 section->bcache = bcache; in pt_section_alloc_bcache() 608 pt_bcache_free(section->bcache); in pt_section_unmap() [all …]
|
| H A D | pt_block_decoder.c | 1730 return pt_bcache_add(bcache, ip, bce); in pt_blk_add_trampoline() 1749 return pt_bcache_add(bcache, ioff, bce); in pt_blk_add_decode() 1774 struct pt_block_cache *bcache, in pt_blk_proceed_no_event_fill_cache() argument 1864 status = pt_bcache_add(bcache, ioff, bce); in pt_blk_proceed_no_event_fill_cache() 1979 bcache, msec, in pt_blk_proceed_no_event_fill_cache() 2044 return pt_bcache_add(bcache, ioff, bce); in pt_blk_proceed_no_event_fill_cache() 2127 struct pt_block_cache *bcache, in pt_blk_proceed_no_event_cached() argument 2146 bcache, msec, in pt_blk_proceed_no_event_cached() 2529 struct pt_block_cache *bcache; in pt_blk_proceed_no_event() local 2559 bcache = pt_section_bcache(section); in pt_blk_proceed_no_event() [all …]
|
| /freebsd-12.1/contrib/processor-trace/libipt/test/src/ |
| H A D | ptunit-block_cache.c | 44 struct pt_block_cache *bcache; member 70 bfix->bcache = NULL; in cfix_init() 80 ptu_ptr(bfix->bcache); in bfix_init() 94 pt_bcache_free(bfix->bcache); in bfix_fini() 152 ptu_ptr(bfix->bcache); in alloc() 160 ptu_ptr(bfix->bcache); in alloc_min() 168 ptu_null(bfix->bcache); in alloc_too_big() 176 ptu_null(bfix->bcache); in alloc_zero() 260 bcache = arg; in worker() 261 if (!bcache) in worker() [all …]
|
| H A D | ptunit-section.c | 93 struct pt_block_cache *bcache; in pt_bcache_alloc() local 103 bcache = malloc(sizeof(*bcache)); in pt_bcache_alloc() 104 if (bcache) in pt_bcache_alloc() 107 return bcache; in pt_bcache_alloc() 112 free(bcache); in pt_bcache_free() 347 struct pt_block_cache *bcache; in cache_null() local 350 ptu_null(bcache); in cache_null() 1046 if (!bcache) { in worker_bcache() 1107 ptu_null(bcache); in init_no_bcache() 1133 ptu_ptr(bcache); in bcache_alloc_free() [all …]
|
| /freebsd-12.1/stand/common/ |
| H A D | bcache.c | 64 struct bcache { struct 92 static void bcache_insert(struct bcache *bc, daddr_t blkno); 93 static void bcache_free_instance(struct bcache *bc); 124 struct bcache *bc = malloc(sizeof (struct bcache)); in bcache_allocate() 178 struct bcache *bc = cache; in bcache_free() 196 struct bcache *bc = dd->dv_cache; in write_strategy() 220 struct bcache *bc = dd->dv_cache; in read_strategy() 374 struct bcache *bc = dd->dv_cache; in bcache_strategy() 441 bcache_free_instance(struct bcache *bc) in bcache_free_instance() 456 bcache_insert(struct bcache *bc, daddr_t blkno) in bcache_insert() [all …]
|
| /freebsd-12.1/contrib/processor-trace/libipt/internal/include/ |
| H A D | pt_block_cache.h | 199 extern void pt_bcache_free(struct pt_block_cache *bcache); 209 extern int pt_bcache_add(struct pt_block_cache *bcache, uint64_t index, 222 const struct pt_block_cache *bcache,
|
| H A D | pt_section.h | 85 struct pt_block_cache *bcache; member 277 if (section->bcache) in pt_section_request_bcache() 296 return section->bcache; in pt_section_bcache()
|
| /freebsd-12.1/stand/userboot/userboot/ |
| H A D | Makefile | 17 SRCS+= bcache.c
|
| /freebsd-12.1/stand/ |
| H A D | loader.mk | 42 SRCS+= bcache.c
|
| /freebsd-12.1/gnu/usr.bin/gdb/libgdb/ |
| H A D | Makefile | 16 bcache.c bfd-target.c block.c blockframe.c breakpoint.c \
|
| /freebsd-12.1/contrib/gdb/ |
| H A D | md5.sum | 597 a10ead74084b65b4b0056d5bb80341bc gdb/bcache.c 598 51af669999ec737922b29d63a2dff65f gdb/bcache.h
|