Searched refs:bitmap (Results 1 - 25 of 152) sorted by relevance

1234567

/freebsd-10.0-release/contrib/gcc/
H A Dipa-reference.h24 #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 Dbitmap.h26 /* 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 Dtree-stdarg.h27 bitmap va_list_vars, va_list_escape_vars;
H A Ddf.h30 #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 Dbitmap.c30 #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 Dcoretypes.h41 typedef struct bitmap_head_def *bitmap; typedef in typeref:struct:bitmap_head_def
H A Dtree-ssa-structalias.h63 bitmap written_vars;
66 bitmap dereferenced_ptrs_store;
69 bitmap dereferenced_ptrs_load;
H A Ddf-problems.c42 #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 Dtree-ssa-dse.c70 /* 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.0-release/usr.sbin/pw/
H A Dbitmap.h34 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 Dbitmap.c35 #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 DMakefile7 bitmap.c cpdir.c rm_r.c
/freebsd-10.0-release/sys/cddl/compat/opensolaris/sys/
H A Dbitmap.h40 * 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.0-release/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dbitmap.h43 #include <asm/bitmap.h>
48 * A bitmap is a vector of 1 or more ulong_t's.
72 * bitmap is a ulong_t *, bitindex an index_t
81 #define BT_WIM(bitmap, bitindex) \
82 ((bitmap)[(bitindex) >> BT_ULSHIFT])
90 #define BT_WIM32(bitmap, bitindex) \
91 ((bitmap)[(bitindex) >> BT_ULSHIFT32])
106 #define BT_TEST(bitmap, bitindex) \
107 ((BT_WIM((bitmap), (bitindex)) & BT_BIW(bitindex)) ? 1 : 0)
108 #define BT_SET(bitmap, bitinde
[all...]
/freebsd-10.0-release/sys/ofed/drivers/net/mlx4/
H A Dalloc.c38 #include <linux/bitmap.h>
44 u32 mlx4_bitmap_alloc(struct mlx4_bitmap *bitmap) argument
48 spin_lock(&bitmap->lock);
50 obj = find_next_zero_bit(bitmap->table, bitmap->max, bitmap->last);
51 if (obj >= bitmap->max) {
52 bitmap->top = (bitmap->top + bitmap
74 mlx4_bitmap_free(struct mlx4_bitmap *bitmap, u32 obj) argument
79 find_aligned_range(unsigned long *bitmap, u32 start, u32 nbits, int len, int align, u32 skip_mask) argument
109 mlx4_bitmap_alloc_range(struct mlx4_bitmap *bitmap, int cnt, int align, u32 skip_mask) argument
147 mlx4_bitmap_avail(struct mlx4_bitmap *bitmap) argument
152 mlx4_bitmap_free_range(struct mlx4_bitmap *bitmap, u32 obj, int cnt) argument
162 mlx4_bitmap_init(struct mlx4_bitmap *bitmap, u32 num, u32 mask, u32 reserved_bot, u32 reserved_top) argument
193 mlx4_bitmap_cleanup(struct mlx4_bitmap *bitmap) argument
[all...]
/freebsd-10.0-release/contrib/jemalloc/include/jemalloc/internal/
H A Dbitmap.h4 /* 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.0-release/contrib/wpa/src/ap/
H A Dp2p_hostapd.c96 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.0-release/sys/amd64/vmm/intel/
H A Dvmx_msr.c140 msr_bitmap_initialize(char *bitmap) argument
143 memset(bitmap, 0xff, PAGE_SIZE);
147 msr_bitmap_change_access(char *bitmap, u_int msr, int access) argument
161 bitmap[byte] &= ~(1 << bit);
163 bitmap[byte] |= 1 << bit;
167 bitmap[byte] &= ~(1 << bit);
169 bitmap[byte] |= 1 << bit;
H A Dvmx_msr.h66 * This pretty much limits us to configuring the MSR bitmap before VMCS
69 * all VMCSs' that point to the bitmap.
75 void msr_bitmap_initialize(char *bitmap);
76 int msr_bitmap_change_access(char *bitmap, u_int msr, int access);
/freebsd-10.0-release/contrib/jemalloc/src/
H A Dbitmap.c64 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.0-release/sys/ofed/include/linux/
H A Dlinux_idr.c50 * a builtin bitmap for allocation.
135 il->bitmap |= 1 << idx;
145 if (il == NULL || (il->bitmap & (1 << idx)) != 0)
149 il->bitmap |= 1 << idx;
177 if (il != NULL && (il->bitmap & (1 << idx)) != 0) {
230 bitmap_fill(&iln->bitmap, IDR_SIZE);
258 bitmap_fill(&il->bitmap, IDR_SIZE);
281 if (idr->top == NULL || idr->top->bitmap == 0) {
291 il->bitmap &= ~1;
302 idx = ffsl(il->bitmap);
[all...]
H A Dbitops.h385 static int __reg_op(unsigned long *bitmap, int pos, int order, int reg_op) argument
388 int index; /* index first long of region in bitmap */
389 int offset; /* bit offset region in bitmap[index] */
390 int nlongs_reg; /* num longs spanned by region in bitmap */
393 int i; /* scans bitmap by longs */
417 if (bitmap[index + i] & mask)
425 bitmap[index + i] |= mask;
430 bitmap[index + i] &= ~mask;
439 * @bitmap: array of unsigned longs corresponding to the bitmap
452 bitmap_find_free_region(unsigned long *bitmap, int bits, int order) argument
477 bitmap_release_region(unsigned long *bitmap, int pos, int order) argument
[all...]
/freebsd-10.0-release/sys/netpfil/ipfw/
H A Ddn_sched_prio.c67 * 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.0-release/lib/libkvm/
H A Dkvm_minidump_arm.c72 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 Dkvm_minidump_mips.c73 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);

Completed in 246 milliseconds

1234567