/freebsd-10-stable/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-stable/crypto/openssh/ |
H A D | bitmap.h | 24 struct bitmap; 26 /* Allocate a new bitmap. Returns NULL on allocation failure. */ 27 struct bitmap *bitmap_new(void); 29 /* Free a bitmap */ 30 void bitmap_free(struct bitmap *b); 32 /* Zero an existing bitmap */ 33 void bitmap_zero(struct bitmap *b); 35 /* Test whether a bit is set in a bitmap. */ 36 int bitmap_test_bit(struct bitmap *b, u_int n); 38 /* Set a bit in a bitmap [all...] |
H A D | bitmap.c | 23 #include "bitmap.h" 30 struct bitmap { struct 36 struct bitmap * 39 struct bitmap *ret; 53 bitmap_free(struct bitmap *b) 63 bitmap_zero(struct bitmap *b) 70 bitmap_test_bit(struct bitmap *b, u_int n) 80 reserve(struct bitmap *b, u_int n) 99 bitmap_set_bit(struct bitmap *b, u_int n) 115 retop(struct bitmap * [all...] |
/freebsd-10-stable/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)
|
/freebsd-10-stable/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-stable/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-stable/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-stable/crypto/openssh/regress/unittests/ |
H A D | Makefile | 3 SUBDIR= test_helper sshbuf sshkey bitmap kex hostkeys utf8
|
/freebsd-10-stable/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-stable/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-stable/sys/amd64/vmm/intel/ |
H A D | vmx_msr.h | 52 * This pretty much limits us to configuring the MSR bitmap before VMCS 55 * all VMCSs' that point to the bitmap. 61 void msr_bitmap_initialize(char *bitmap); 62 int msr_bitmap_change_access(char *bitmap, u_int msr, int access);
|
/freebsd-10-stable/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-stable/sys/ofed/include/linux/ |
H A D | linux_idr.c | 51 * a builtin bitmap for allocation. 137 il->bitmap |= 1 << idx; 147 if (il == NULL || (il->bitmap & (1 << idx)) != 0) 151 il->bitmap |= 1 << idx; 179 if (il != NULL && (il->bitmap & (1 << idx)) != 0) { 242 bitmap_fill(&iln->bitmap, IDR_SIZE); 271 bitmap_fill(&il->bitmap, IDR_SIZE); 294 if (idr->top == NULL || idr->top->bitmap == 0) { 304 il->bitmap &= ~1; 315 idx = ffsl(il->bitmap); [all...] |
H A D | bitops.h | 398 static int __reg_op(unsigned long *bitmap, int pos, int order, int reg_op) argument 401 int index; /* index first long of region in bitmap */ 402 int offset; /* bit offset region in bitmap[index] */ 403 int nlongs_reg; /* num longs spanned by region in bitmap */ 406 int i; /* scans bitmap by longs */ 430 if (bitmap[index + i] & mask) 438 bitmap[index + i] |= mask; 443 bitmap[index + i] &= ~mask; 452 * @bitmap: array of unsigned longs corresponding to the bitmap 465 bitmap_find_free_region(unsigned long *bitmap, int bits, int order) argument 491 bitmap_allocate_region(unsigned long *bitmap, int pos, int order) argument 511 bitmap_release_region(unsigned long *bitmap, int pos, int order) argument [all...] |
/freebsd-10-stable/sys/netpfil/ipfw/ |
H A D | dn_sched_prio.c | 73 * one for each priority, and a bitmap listing backlogged queues. 76 BITMAP_T bitmap; /* array bitmap */ member in struct:prio_si 90 if (test_bit(prio, &si->bitmap) == 0) { 92 __set_bit(prio, &si->bitmap); 104 * The function ffs() return the lowest bit in the bitmap that rapresent 108 * from the bitmap. 109 * Scheduler is idle if the bitmap is empty 121 if (si->bitmap == 0) /* scheduler idle */ 124 prio = ffs(si->bitmap) [all...] |
/freebsd-10-stable/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);
|