| /dragonfly/contrib/gcc-8.0/gcc/ |
| HD | sbitmap.c | 45 sbitmap bmap; in sbitmap_alloc() local 51 bmap = (sbitmap) xmalloc (amt); in sbitmap_alloc() 52 bmap->n_bits = n_elms; in sbitmap_alloc() 53 bmap->size = size; in sbitmap_alloc() 54 return bmap; in sbitmap_alloc() 62 sbitmap_resize (sbitmap bmap, unsigned int n_elms, int def) in sbitmap_resize() argument 69 if (bytes > sbitmap_size_bytes (bmap)) in sbitmap_resize() 73 bmap = (sbitmap) xrealloc (bmap, amt); in sbitmap_resize() 76 if (n_elms > bmap->n_bits) in sbitmap_resize() 80 memset (bmap->elms + bmap->size, -1, in sbitmap_resize() [all …]
|
| HD | gcse-common.c | 112 compute_transp (const_rtx x, int indx, sbitmap *bmap, in compute_transp() argument 137 bitmap_clear_bit (bmap[DF_REF_BB (def)->index], indx); in compute_transp() 156 bitmap_clear_bit (bmap[bb_index], indx); in compute_transp() 178 bitmap_clear_bit (bmap[bb_index], indx); in compute_transp() 215 compute_transp (XEXP (x, i), indx, bmap, blocks_with_calls, in compute_transp() 220 compute_transp (XVECEXP (x, i, j), indx, bmap, blocks_with_calls, in compute_transp()
|
| HD | dse.c | 265 bitmap bmap; member 737 BITMAP_FREE (cur->positions_needed.large.bmap); in free_store_info() 1230 if (bitmap_set_bit (s_info->positions_needed.large.bmap, pos)) in set_position_unneeded() 1248 bitmap_set_range (s_info->positions_needed.large.bmap, 0, width); in set_all_positions_unneeded() 1253 gcc_checking_assert (!s_info->positions_needed.large.bmap); in set_all_positions_unneeded() 1271 gcc_checking_assert (s_info->positions_needed.large.bmap); in any_positions_needed_p() 1276 gcc_checking_assert (!s_info->positions_needed.large.bmap); in any_positions_needed_p() 1295 && !s_info->positions_needed.large.bmap); in all_positions_needed_p() 1310 if (bitmap_bit_p (s_info->positions_needed.large.bmap, i)) in all_positions_needed_p() 1640 store_info->positions_needed.large.bmap = NULL; in record_store() [all …]
|
| HD | gengtype-state.c | 2481 lang_bitmap bmap = t2->stok_un.stok_num; in read_state_files_list() local 2502 set_lang_bitmap (curgt, bmap); in read_state_files_list()
|
| HD | gengtype.c | 400 lang_bitmap bmap = get_lang_bitmap (inpf); in read_input_list() local 401 if (bmap & curlangs) in read_input_list() 409 bmap |= curlangs; in read_input_list() 410 set_lang_bitmap (inpf, bmap); in read_input_list()
|
| /dragonfly/contrib/gcc-4.7/gcc/ |
| HD | sbitmap.c | 83 sbitmap bmap; in sbitmap_alloc() local 89 bmap = (sbitmap) xmalloc (amt); in sbitmap_alloc() 90 bmap->n_bits = n_elms; in sbitmap_alloc() 91 bmap->size = size; in sbitmap_alloc() 92 bmap->popcount = NULL; in sbitmap_alloc() 93 return bmap; in sbitmap_alloc() 101 sbitmap const bmap = sbitmap_alloc (n_elms); in sbitmap_alloc_with_popcount() local 102 bmap->popcount = XNEWVEC (unsigned char, bmap->size); in sbitmap_alloc_with_popcount() 103 return bmap; in sbitmap_alloc_with_popcount() 111 sbitmap_resize (sbitmap bmap, unsigned int n_elms, int def) in sbitmap_resize() argument [all …]
|
| HD | ebitmap.c | 377 dump_ebitmap (FILE *file, ebitmap bmap) in dump_ebitmap() argument 384 res = sbitmap_last_set_bit (bmap->wordmask); in dump_ebitmap() 390 fprintf (file, "n_words = %d, set = {", bmap->numwords); in dump_ebitmap() 393 if (ebitmap_bit_p (bmap, i)) in dump_ebitmap() 410 debug_ebitmap (ebitmap bmap) in debug_ebitmap() argument 412 dump_ebitmap (stderr, bmap); in debug_ebitmap()
|
| HD | gcse.c | 1629 compute_transp (const_rtx x, int indx, sbitmap *bmap) in compute_transp() argument 1651 RESET_BIT (bmap[DF_REF_BB (def)->index], indx); in compute_transp() 1670 RESET_BIT (bmap[bb_index], indx); in compute_transp() 1691 RESET_BIT (bmap[bb_index], indx); in compute_transp() 1729 compute_transp (XEXP (x, i), indx, bmap); in compute_transp() 1733 compute_transp (XVECEXP (x, i, j), indx, bmap); in compute_transp()
|
| HD | dse.c | 251 bitmap bmap; member 825 BITMAP_FREE (store_info->positions_needed.large.bmap); in free_store_info() 1368 if (bitmap_set_bit (s_info->positions_needed.large.bmap, pos)) in set_position_unneeded() 1385 bitmap_set_bit (s_info->positions_needed.large.bmap, pos); in set_all_positions_unneeded() 1415 if (bitmap_bit_p (s_info->positions_needed.large.bmap, start++)) in all_positions_needed_p() 1756 store_info->positions_needed.large.bmap = BITMAP_ALLOC (NULL); in record_store() 2911 BITMAP_FREE (s_info->positions_needed.large.bmap); in dse_step1()
|
| HD | gengtype-state.c | 2312 lang_bitmap bmap = t2->stok_un.stok_num; in read_state_files_list() local 2333 set_lang_bitmap (curgt, bmap); in read_state_files_list()
|
| HD | gengtype.c | 394 lang_bitmap bmap = get_lang_bitmap (inpf); in read_input_list() local 395 if (bmap & curlangs) in read_input_list() 403 bmap |= curlangs; in read_input_list() 404 set_lang_bitmap (inpf, bmap); in read_input_list()
|
| /dragonfly/sys/vfs/hammer2/ |
| HD | hammer2_freemap.c | 60 hammer2_bmap_data_t *bmap, uint16_t class, 361 hammer2_bmap_data_t *bmap; in hammer2_freemap_try_alloc() local 389 bmap = &chain->data->bmdata[n]; in hammer2_freemap_try_alloc() 393 } else if (bmap->avail) { in hammer2_freemap_try_alloc() 396 (bmap->linear & HAMMER2_FREEMAP_BLOCK_MASK)) { in hammer2_freemap_try_alloc() 408 (bmap->class == 0 || bmap->class == class || in hammer2_freemap_try_alloc() 411 error = hammer2_bmap_alloc(hmp, bmap, in hammer2_freemap_try_alloc() 433 bmap = &chain->data->bmdata[n]; in hammer2_freemap_try_alloc() 436 } else if (bmap->avail) { in hammer2_freemap_try_alloc() 439 (bmap->linear & HAMMER2_FREEMAP_BLOCK_MASK)) { in hammer2_freemap_try_alloc() [all …]
|
| HD | hammer2_bulkfree.c | 60 hammer2_bmap_data_t *bmap; member 91 static uint32_t bigmask_get(hammer2_bmap_data_t *bmap); 92 static int bigmask_good(hammer2_bmap_data_t *bmap, uint32_t live_bigmask); 452 hammer2_bmap_data_t *bmap, hammer2_key_t alloc_base); 569 cbinfo.bmap = kmem_alloc_swapbacked(&cbinfo.kp, size, VM_SUBSYS_HAMMER); in hammer2_bulkfree_pass() 761 hammer2_bmap_data_t *bmap = cbinfo->bmap; in cbinfo_bmap_init() local 770 bzero(bmap, size); in cbinfo_bmap_init() 772 bzero(bmap, sizeof(*bmap)); in cbinfo_bmap_init() 778 memset(bmap->bitmapq, -1, in cbinfo_bmap_init() 779 sizeof(bmap->bitmapq)); in cbinfo_bmap_init() [all …]
|
| HD | TODO | 53 * bulkfree - limit kernel memory allocation for bmap space
|
| /dragonfly/usr.sbin/makefs/hammer2/ |
| HD | hammer2_freemap.c | 64 hammer2_bmap_data_t *bmap, uint16_t class, 365 hammer2_bmap_data_t *bmap; in hammer2_freemap_try_alloc() local 393 bmap = &chain->data->bmdata[n]; in hammer2_freemap_try_alloc() 397 } else if (bmap->avail) { in hammer2_freemap_try_alloc() 400 (bmap->linear & HAMMER2_FREEMAP_BLOCK_MASK)) { in hammer2_freemap_try_alloc() 412 (bmap->class == 0 || bmap->class == class || in hammer2_freemap_try_alloc() 415 error = hammer2_bmap_alloc(hmp, bmap, in hammer2_freemap_try_alloc() 437 bmap = &chain->data->bmdata[n]; in hammer2_freemap_try_alloc() 440 } else if (bmap->avail) { in hammer2_freemap_try_alloc() 443 (bmap->linear & HAMMER2_FREEMAP_BLOCK_MASK)) { in hammer2_freemap_try_alloc() [all …]
|
| HD | hammer2_bulkfree.c | 65 hammer2_bmap_data_t *bmap; member 96 static uint32_t bigmask_get(hammer2_bmap_data_t *bmap); 97 static int bigmask_good(hammer2_bmap_data_t *bmap, uint32_t live_bigmask); 457 hammer2_bmap_data_t *bmap, hammer2_key_t alloc_base); 580 cbinfo.bmap = kmalloc(size, M_HAMMER2, M_WAITOK | M_ZERO); in hammer2_bulkfree_pass() 732 kfree(cbinfo.bmap, M_HAMMER2); in hammer2_bulkfree_pass() 772 hammer2_bmap_data_t *bmap = cbinfo->bmap; in cbinfo_bmap_init() local 781 bzero(bmap, size); in cbinfo_bmap_init() 783 bzero(bmap, sizeof(*bmap)); in cbinfo_bmap_init() 789 memset(bmap->bitmapq, -1, in cbinfo_bmap_init() [all …]
|
| /dragonfly/sys/sys/ |
| HD | _malloc.h | 75 __uint64_t bmap[(KMALLOC_SLAB_MAXOBJS + 63) / 64]; member
|
| /dragonfly/sys/kern/ |
| HD | kern_kmalloc.c | 630 ptr = &slab->bmap[i >> 6]; in bmap_set() 644 ptr = &slab->bmap[i >> 6]; in bmap_clr()
|
| HD | vfs_vopops.c | 121 VNODEOP_DESC_INIT(bmap);
|
| /dragonfly/sbin/hammer2/ |
| HD | cmd_debug.c | 50 static void count_blocks(hammer2_bmap_data_t *bmap, int value, 1224 count_blocks(hammer2_bmap_data_t *bmap, int value, in count_blocks() argument 1239 hammer2_bitmap_t bm = bmap->bitmapq[i]; in count_blocks()
|
| /dragonfly/sys/dev/sound/pci/ |
| HD | emu10k1.c | 167 u_int8_t bmap[EMUMAXPAGES / 8]; member 1362 if (mem->bmap[idx >> 3] & (1 << (idx & 7))) in emu_memalloc() 1387 mem->bmap[idx >> 3] |= 1 << (idx & 7); in emu_memalloc() 1418 mem->bmap[idx >> 3] &= ~(1 << (idx & 7)); in emu_memfree()
|
| HD | emu10kx.c | 278 uint8_t bmap[EMU_MAXPAGES / 8]; member 1110 if (mem->bmap[idx >> 3] & (1 << (idx & 7))) in emu_memalloc() 1142 mem->bmap[idx >> 3] |= 1 << (idx & 7); in emu_memalloc() 1168 mem->bmap[idx >> 3] &= ~(1 << (idx & 7)); in emu_memfree()
|
| /dragonfly/etc/ |
| HD | services | 2229 bmap 3421/tcp #Bull Apprise portmapper 2230 bmap 3421/udp #Bull Apprise portmapper
|