/freebsd-10.1-release/contrib/gcc/ |
H A D | ipa-reference.h | 24 #include "bitmap.h" 32 bitmap statics_read; 33 bitmap statics_written; 46 bitmap statics_read; 47 bitmap statics_written; 48 bitmap statics_not_read; 49 bitmap statics_not_written; 75 bitmap ipa_reference_get_read_local (tree fn); 76 bitmap ipa_reference_get_written_local (tree fn); 77 bitmap ipa_reference_get_read_globa [all...] |
H A D | bitmap.h | 26 /* Fundamental storage type for bitmap. */ 39 /* Number of bits in each actual element of a bitmap. */ 71 /* Head of bitmap linked list. */ 82 extern bitmap_element bitmap_zero_bits; /* Zero bitmap element */ 83 extern bitmap_obstack bitmap_default_obstack; /* Default bitmap obstack */ 85 /* Clear a bitmap by freeing up the linked list. */ 86 extern void bitmap_clear (bitmap); 88 /* Copy a bitmap to another bitmap. */ 89 extern void bitmap_copy (bitmap, bitma [all...] |
H A D | tree-stdarg.h | 27 bitmap va_list_vars, va_list_escape_vars;
|
H A D | df.h | 30 #include "bitmap.h" 127 typedef void (*df_alloc_function) (struct dataflow *, bitmap, bitmap); 130 to be cleared when ever the set of blocks changes. The bitmap 135 typedef void (*df_reset_function) (struct dataflow *, bitmap); 142 typedef void (*df_local_compute_function) (struct dataflow *, bitmap, bitmap); 145 typedef void (*df_init_function) (struct dataflow *, bitmap); 148 typedef void (*df_dataflow_function) (struct dataflow *, bitmap, bitmap, [all...] |
H A D | bitmap.c | 30 #include "bitmap.h" 34 bitmap_obstack bitmap_default_obstack; /* The default bitmap obstack. */ 38 static void bitmap_elem_to_freelist (bitmap, bitmap_element *); 39 static void bitmap_element_free (bitmap, bitmap_element *); 40 static bitmap_element *bitmap_element_allocate (bitmap); 42 static void bitmap_element_link (bitmap, bitmap_element *); 43 static bitmap_element *bitmap_elt_insert_after (bitmap, bitmap_element *, unsigned int); 44 static void bitmap_elt_clear_from (bitmap, bitmap_element *); 45 static bitmap_element *bitmap_find_bit (bitmap, unsigned int); 51 bitmap_elem_to_freelist (bitmap hea [all...] |
H A D | coretypes.h | 41 typedef struct bitmap_head_def *bitmap; typedef in typeref:struct:bitmap_head_def
|
H A D | tree-ssa-structalias.h | 63 bitmap written_vars; 66 bitmap dereferenced_ptrs_store; 69 bitmap dereferenced_ptrs_load;
|
H A D | df-problems.c | 42 #include "bitmap.h" 54 static bitmap seen_in_block = NULL; 55 static bitmap seen_in_insn = NULL; 146 bitmap 163 bitmap 243 /* Return a bitmap for REGNO from the cache MAPS. The bitmap is to 247 static inline bitmap 248 df_ref_bitmap (bitmap *maps, unsigned int regno, int start, int count) 250 bitmap id [all...] |
H A D | tree-ssa-dse.c | 70 /* This is the global bitmap for store statements. 74 unique ID in this bitmap. */ 75 bitmap stores; 78 /* We allocate a bitmap-per-block for stores which are encountered 80 global bitmap of stores when we finish processing a block. */ 83 bitmap stores; 103 static void record_voperand_set (bitmap, bitmap *, unsigned int); 123 record_voperand_set (bitmap global, bitmap *loca [all...] |
/freebsd-10.1-release/usr.sbin/pw/ |
H A D | bitmap.h | 34 struct bitmap struct 41 struct bitmap bm_alloc(int size); 42 void bm_dealloc(struct bitmap * bm); 43 void bm_setbit(struct bitmap * bm, int pos); 44 void bm_clrbit(struct bitmap * bm, int pos); 45 int bm_isset(struct bitmap * bm, int pos); 46 int bm_firstunset(struct bitmap * bm); 47 int bm_lastset(struct bitmap * bm);
|
H A D | bitmap.c | 35 #include "bitmap.h" 37 struct bitmap 40 struct bitmap bm; 51 bm_dealloc(struct bitmap * bm) 64 bm_setbit(struct bitmap * bm, int pos) 73 bm_clrbit(struct bitmap * bm, int pos) 82 bm_isset(struct bitmap * bm, int pos) 91 bm_firstunset(struct bitmap * bm) 112 bm_lastset(struct bitmap * bm)
|
H A D | Makefile | 7 bitmap.c cpdir.c rm_r.c
|
/freebsd-10.1-release/sys/cddl/compat/opensolaris/sys/ |
H A D | bitmap.h | 40 * A bitmap is a vector of 1 or more ulong_t's. 64 * bitmap is a ulong_t *, bitindex an index_t 73 #define BT_WIM(bitmap, bitindex) \ 74 ((bitmap)[(bitindex) >> BT_ULSHIFT]) 82 #define BT_WIM32(bitmap, bitindex) \ 83 ((bitmap)[(bitindex) >> BT_ULSHIFT32]) 98 #define BT_TEST(bitmap, bitindex) \ 99 ((BT_WIM((bitmap), (bitindex)) & BT_BIW(bitindex)) ? 1 : 0) 100 #define BT_SET(bitmap, bitindex) \ 101 { BT_WIM((bitmap), (bitinde [all...] |
/freebsd-10.1-release/sys/cddl/contrib/opensolaris/uts/common/sys/ |
H A D | bitmap.h | 45 #include <asm/bitmap.h> 50 * A bitmap is a vector of 1 or more ulong_t's. 74 * bitmap is a ulong_t *, bitindex an index_t 83 #define BT_WIM(bitmap, bitindex) \ 84 ((bitmap)[(bitindex) >> BT_ULSHIFT]) 92 #define BT_WIM32(bitmap, bitindex) \ 93 ((bitmap)[(bitindex) >> BT_ULSHIFT32]) 108 #define BT_TEST(bitmap, bitindex) \ 109 ((BT_WIM((bitmap), (bitindex)) & BT_BIW(bitindex)) ? 1 : 0) 110 #define BT_SET(bitmap, bitinde [all...] |
/freebsd-10.1-release/sys/ofed/drivers/net/mlx4/ |
H A D | alloc.c | 43 u32 mlx4_bitmap_alloc(struct mlx4_bitmap *bitmap) argument 47 spin_lock(&bitmap->lock); 49 obj = find_next_zero_bit(bitmap->table, bitmap->max, bitmap->last); 50 if (obj >= bitmap->max) { 51 bitmap->top = (bitmap->top + bitmap->max + bitmap 73 mlx4_bitmap_free(struct mlx4_bitmap *bitmap, u32 obj, int use_rr) argument 78 find_aligned_range(unsigned long *bitmap, u32 start, u32 nbits, int len, int align, u32 skip_mask) argument 108 mlx4_bitmap_alloc_range(struct mlx4_bitmap *bitmap, int cnt, int align, u32 skip_mask) argument 146 mlx4_bitmap_avail(struct mlx4_bitmap *bitmap) argument 151 mlx4_bitmap_free_range(struct mlx4_bitmap *bitmap, u32 obj, int cnt, int use_rr) argument 167 mlx4_bitmap_init(struct mlx4_bitmap *bitmap, u32 num, u32 mask, u32 reserved_bot, u32 reserved_top) argument 198 mlx4_bitmap_cleanup(struct mlx4_bitmap *bitmap) argument [all...] |
/freebsd-10.1-release/sys/amd64/vmm/intel/ |
H A D | vmx_msr.h | 43 * This pretty much limits us to configuring the MSR bitmap before VMCS 46 * all VMCSs' that point to the bitmap. 52 void msr_bitmap_initialize(char *bitmap); 53 int msr_bitmap_change_access(char *bitmap, u_int msr, int access);
|
H A D | vmx_msr.c | 141 msr_bitmap_initialize(char *bitmap) argument 144 memset(bitmap, 0xff, PAGE_SIZE); 148 msr_bitmap_change_access(char *bitmap, u_int msr, int access) argument 162 bitmap[byte] &= ~(1 << bit); 164 bitmap[byte] |= 1 << bit; 168 bitmap[byte] &= ~(1 << bit); 170 bitmap[byte] |= 1 << bit;
|
/freebsd-10.1-release/contrib/jemalloc/include/jemalloc/internal/ |
H A D | bitmap.h | 4 /* Maximum bitmap bit count is 2^LG_BITMAP_MAXBITS. */ 32 /* Logical number of bits in bitmap (stored at bottom level). */ 52 void bitmap_init(bitmap_t *bitmap, const bitmap_info_t *binfo); 59 bool bitmap_full(bitmap_t *bitmap, const bitmap_info_t *binfo); 60 bool bitmap_get(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit); 61 void bitmap_set(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit); 62 size_t bitmap_sfu(bitmap_t *bitmap, const bitmap_info_t *binfo); 63 void bitmap_unset(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit); 68 bitmap_full(bitmap_t *bitmap, const bitmap_info_t *binfo) argument 71 bitmap_t rg = bitmap[rgof 77 bitmap_get(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit) argument 89 bitmap_set(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit) argument 123 bitmap_sfu(bitmap_t *bitmap, const bitmap_info_t *binfo) argument 145 bitmap_unset(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit) argument [all...] |
/freebsd-10.1-release/contrib/wpa/src/ap/ |
H A D | p2p_hostapd.c | 96 u8 bitmap; local 106 bitmap = P2P_MAN_DEVICE_MANAGEMENT; 108 bitmap |= P2P_MAN_CROSS_CONNECTION_PERMITTED; 109 bitmap |= P2P_MAN_COEXISTENCE_OPTIONAL; 110 *eid++ = bitmap;
|
/freebsd-10.1-release/contrib/jemalloc/src/ |
H A D | bitmap.c | 64 bitmap_init(bitmap_t *bitmap, const bitmap_info_t *binfo) argument 70 * Bits are actually inverted with regard to the external bitmap 71 * interface, so the bitmap starts out with all 1 bits, except for 76 memset(bitmap, 0xffU, binfo->levels[binfo->nlevels].group_offset << 81 bitmap[binfo->levels[1].group_offset - 1] >>= extra; 88 bitmap[binfo->levels[i+1].group_offset - 1] >>= extra;
|
/freebsd-10.1-release/sys/ofed/include/linux/ |
H A D | linux_idr.c | 51 * a builtin bitmap for allocation. 136 il->bitmap |= 1 << idx; 146 if (il == NULL || (il->bitmap & (1 << idx)) != 0) 150 il->bitmap |= 1 << idx; 178 if (il != NULL && (il->bitmap & (1 << idx)) != 0) { 231 bitmap_fill(&iln->bitmap, IDR_SIZE); 259 bitmap_fill(&il->bitmap, IDR_SIZE); 282 if (idr->top == NULL || idr->top->bitmap == 0) { 292 il->bitmap &= ~1; 303 idx = ffsl(il->bitmap); [all...] |
H A D | bitops.h | 388 static int __reg_op(unsigned long *bitmap, int pos, int order, int reg_op) argument 391 int index; /* index first long of region in bitmap */ 392 int offset; /* bit offset region in bitmap[index] */ 393 int nlongs_reg; /* num longs spanned by region in bitmap */ 396 int i; /* scans bitmap by longs */ 420 if (bitmap[index + i] & mask) 428 bitmap[index + i] |= mask; 433 bitmap[index + i] &= ~mask; 442 * @bitmap: array of unsigned longs corresponding to the bitmap 455 bitmap_find_free_region(unsigned long *bitmap, int bits, int order) argument 481 bitmap_allocate_region(unsigned long *bitmap, int pos, int order) argument 501 bitmap_release_region(unsigned long *bitmap, int pos, int order) argument [all...] |
/freebsd-10.1-release/sys/netpfil/ipfw/ |
H A D | dn_sched_prio.c | 67 * one for each priority, and a bitmap listing backlogged queues. 70 BITMAP_T bitmap; /* array bitmap */ member in struct:prio_si 84 if (test_bit(prio, &si->bitmap) == 0) { 86 __set_bit(prio, &si->bitmap); 98 * The function ffs() return the lowest bit in the bitmap that rapresent 102 * from the bitmap. 103 * Scheduler is idle if the bitmap is empty 115 if (si->bitmap == 0) /* scheduler idle */ 118 prio = ffs(si->bitmap) [all...] |
/freebsd-10.1-release/lib/libkvm/ |
H A D | kvm_minidump_arm.c | 72 uint32_t *bitmap; member in struct:vmstate 130 if (vm->bitmap) 131 free(vm->bitmap); 173 vmst->bitmap = _kvm_malloc(kd, vmst->hdr.bitmapsize); 174 if (vmst->bitmap == NULL) { 176 "bitmap", vmst->hdr.bitmapsize); 180 if (pread(kd->pmfd, vmst->bitmap, vmst->hdr.bitmapsize, off) != 182 _kvm_err(kd, kd->program, "cannot read %d bytes for page bitmap", 205 inithash(kd, vmst->bitmap, vmst->hdr.bitmapsize, off);
|
H A D | kvm_minidump_mips.c | 73 uint32_t *bitmap; member in struct:vmstate 132 if (vm->bitmap) 133 free(vm->bitmap); 176 vmst->bitmap = _kvm_malloc(kd, vmst->hdr.bitmapsize); 177 if (vmst->bitmap == NULL) { 179 "bitmap", vmst->hdr.bitmapsize); 183 if (pread(kd->pmfd, vmst->bitmap, vmst->hdr.bitmapsize, off) != 185 _kvm_err(kd, kd->program, "cannot read %d bytes for page bitmap", 208 inithash(kd, vmst->bitmap, vmst->hdr.bitmapsize, off);
|