| /dflybsd-src/sys/vfs/devfs/ |
| H A D | devfs_helper.c | 57 devfs_clone_bitmap_init(struct devfs_bitmap *bitmap) in devfs_clone_bitmap_init() argument 59 bitmap->chunks = DEVFS_BITMAP_INITIAL_SIZE; in devfs_clone_bitmap_init() 60 bitmap->bitmap = kmalloc(bitmap->chunks * sizeof(u_long), in devfs_clone_bitmap_init() 62 memset(bitmap->bitmap, -1, bitmap->chunks * sizeof(u_long)); in devfs_clone_bitmap_init() 67 devfs_clone_bitmap_uninit(struct devfs_bitmap *bitmap) in devfs_clone_bitmap_uninit() argument 69 kfree(bitmap->bitmap, M_DEVFS); in devfs_clone_bitmap_uninit() 78 devfs_clone_bitmap_extend(struct devfs_bitmap *bitmap, int newchunks) in devfs_clone_bitmap_extend() argument 80 int oldchunks = bitmap->chunks; in devfs_clone_bitmap_extend() 82 bitmap->chunks = newchunks + 2; in devfs_clone_bitmap_extend() 83 bitmap->bitmap = krealloc(bitmap->bitmap, in devfs_clone_bitmap_extend() [all …]
|
| /dflybsd-src/crypto/openssh/ |
| H A D | bitmap.h | 25 struct bitmap; 28 struct bitmap *bitmap_new(void); 31 void bitmap_free(struct bitmap *b); 34 void bitmap_zero(struct bitmap *b); 37 int bitmap_test_bit(struct bitmap *b, u_int n); 40 int bitmap_set_bit(struct bitmap *b, u_int n); 43 void bitmap_clear_bit(struct bitmap *b, u_int n); 46 size_t bitmap_nbits(struct bitmap *b); 49 size_t bitmap_nbytes(struct bitmap *b); 52 int bitmap_to_string(struct bitmap *b, void *p, size_t l); [all …]
|
| H A D | bitmap.c | 31 struct bitmap { struct 37 struct bitmap * argument 40 struct bitmap *ret; in bitmap_new() 54 bitmap_free(struct bitmap *b) in bitmap_free() 65 bitmap_zero(struct bitmap *b) in bitmap_zero() 72 bitmap_test_bit(struct bitmap *b, u_int n) in bitmap_test_bit() 82 reserve(struct bitmap *b, u_int n) in reserve() 101 bitmap_set_bit(struct bitmap *b, u_int n) in bitmap_set_bit() 117 retop(struct bitmap *b) in retop() 126 bitmap_clear_bit(struct bitmap *b, u_int n) in bitmap_clear_bit() [all …]
|
| /dflybsd-src/contrib/gcc-4.7/gcc/ |
| H A D | tree-loop-distribution.c | 60 static bitmap remaining_stmts; 64 static bitmap upstream_mem_writes; 208 generate_loops_for_partition (struct loop *loop, bitmap partition, bool copy_p) in generate_loops_for_partition() 353 generate_builtin (struct loop *loop, bitmap partition, bool copy_p) in generate_builtin() 441 generate_code_for_partition (struct loop *loop, bitmap partition, bool copy_p) in generate_code_for_partition() 466 already_processed_vertex_p (bitmap processed, int v) in already_processed_vertex_p() 514 bitmap seen = BITMAP_ALLOC (NULL); in mark_nodes_having_upstream_mem_writes() 553 static void rdg_flag_vertex_and_dependent (struct graph *, int, bitmap, bitmap, 554 bitmap, bool *); 560 rdg_flag_uses (struct graph *rdg, int u, bitmap partition, bitmap loops, in rdg_flag_uses() [all …]
|
| H A D | bitmap.h | 91 extern void bitmap_clear (bitmap); 94 extern void bitmap_copy (bitmap, const_bitmap); 119 extern void bitmap_and (bitmap, const_bitmap, const_bitmap); 120 extern void bitmap_and_into (bitmap, const_bitmap); 121 extern bool bitmap_and_compl (bitmap, const_bitmap, const_bitmap); 122 extern bool bitmap_and_compl_into (bitmap, const_bitmap); 124 extern void bitmap_compl_and_into (bitmap, const_bitmap); 125 extern void bitmap_clear_range (bitmap, unsigned int, unsigned int); 126 extern void bitmap_set_range (bitmap, unsigned int, unsigned int); 127 extern bool bitmap_ior (bitmap, const_bitmap, const_bitmap); [all …]
|
| H A D | df.h | 191 typedef void (*df_alloc_function) (bitmap); 199 typedef void (*df_reset_function) (bitmap); 206 typedef void (*df_local_compute_function) (bitmap); 209 typedef void (*df_init_function) (bitmap); 212 typedef void (*df_dataflow_function) (struct dataflow *, bitmap, int *, int); 226 typedef void (*df_finalizer_function) (bitmap); 303 bitmap out_of_date_transfer_functions; 526 bitmap blocks_to_analyze; 556 bitmap entry_block_defs; 557 bitmap exit_block_uses; /* The set of hardware registers used in exit block. */ [all …]
|
| H A D | df-problems.c | 70 bitmap 86 bitmap 216 df_rd_alloc (bitmap all_blocks) in df_rd_alloc() 274 df_rd_simulate_artificial_defs_at_top (basic_block bb, bitmap local_rd) in df_rd_simulate_artificial_defs_at_top() 298 bitmap local_rd) in df_rd_simulate_one_insn() 431 df_rd_local_compute (bitmap all_blocks) in df_rd_local_compute() 438 bitmap sparse_invalidated = &problem_data->sparse_invalidated_by_call; in df_rd_local_compute() 439 bitmap dense_invalidated = &problem_data->dense_invalidated_by_call; in df_rd_local_compute() 470 df_rd_init_solution (bitmap all_blocks) in df_rd_init_solution() 489 bitmap op1 = &df_rd_get_bb_info (e->dest->index)->in; in df_rd_confluence_n() [all …]
|
| H A D | regstat.c | 109 static bitmap setjmp_crosses; 121 bitmap live, bitmap do_not_gen, bitmap artificial_uses, in regstat_bb_compute_ri() 122 bitmap local_live, bitmap local_processed) in regstat_bb_compute_ri() 345 bitmap live = BITMAP_ALLOC (&df_bitmap_obstack); in regstat_compute_ri() 346 bitmap do_not_gen = BITMAP_ALLOC (&df_bitmap_obstack); in regstat_compute_ri() 347 bitmap artificial_uses = BITMAP_ALLOC (&df_bitmap_obstack); in regstat_compute_ri() 348 bitmap local_live = BITMAP_ALLOC (&df_bitmap_obstack); in regstat_compute_ri() 349 bitmap local_processed = BITMAP_ALLOC (&df_bitmap_obstack); in regstat_compute_ri() 403 bitmap 425 regstat_bb_compute_calls_crossed (unsigned int bb_index, bitmap live) in regstat_bb_compute_calls_crossed() [all …]
|
| H A D | tree-ssa-ter.c | 162 bitmap *partition_dependencies; /* Partitions expr is dependent on. */ 163 bitmap replaceable_expressions; /* Replacement expression table. */ 164 bitmap *expr_decl_uids; /* Base uids of exprs. */ 165 bitmap *kill_list; /* Expr's killed by a partition. */ 167 bitmap partition_in_use; /* Partitions with kill entries. */ 168 bitmap new_replaceable_dependencies; /* Holding place for pending dep's. */ 192 t->partition_dependencies = XCNEWVEC (bitmap, num_ssa_names + 1); in new_temp_expr_table() 193 t->expr_decl_uids = XCNEWVEC (bitmap, num_ssa_names + 1); in new_temp_expr_table() 194 t->kill_list = XCNEWVEC (bitmap, num_var_partitions (map) + 1); in new_temp_expr_table() 222 static bitmap [all …]
|
| H A D | tree-ssa-live.h | 93 extern void partition_view_bitmap (var_map, bitmap, bool); 240 bitmap global; 243 bitmap *livein; 255 bitmap *liveout; 282 static inline bitmap 296 static inline bitmap 343 extern bitmap find_replaceable_exprs (var_map); 344 extern void dump_replaceable_exprs (FILE *, bitmap);
|
| H A D | bitmap.c | 100 bitmap_register (bitmap b MEM_STAT_DECL) in bitmap_register() 108 register_overhead (bitmap b, int amount) in register_overhead() 126 static void bitmap_elem_to_freelist (bitmap, bitmap_element *); 127 static void bitmap_element_free (bitmap, bitmap_element *); 128 static bitmap_element *bitmap_element_allocate (bitmap); 130 static void bitmap_element_link (bitmap, bitmap_element *); 131 static bitmap_element *bitmap_elt_insert_after (bitmap, bitmap_element *, unsigned int); 132 static void bitmap_elt_clear_from (bitmap, bitmap_element *); 133 static bitmap_element *bitmap_find_bit (bitmap, unsigned int); 138 bitmap_elem_to_freelist (bitmap head, bitmap_element *elt) in bitmap_elem_to_freelist() [all …]
|
| H A D | tree-ssa-loop-im.c | 133 bitmap stored; /* The set of loops in that this memory location 142 bitmap indep_loop; /* The set of loops in that the memory 149 bitmap dep_loop; /* The complement of INDEP_LOOP. */ 151 bitmap indep_ref; /* The set of memory references on that 153 bitmap dep_ref; /* The complement of INDEP_REF. */ 159 DEF_VEC_P(bitmap); 160 DEF_VEC_ALLOC_P(bitmap, heap); 176 VEC (bitmap, heap) *refs_in_loop; 180 VEC (bitmap, heap) *all_refs_in_loop; 184 VEC (bitmap, heap) *all_refs_stored_in_loop; [all …]
|
| /dflybsd-src/contrib/gcc-8.0/gcc/ |
| H A D | bitmap.h | 253 extern void bitmap_clear (bitmap); 256 extern void bitmap_copy (bitmap, const_bitmap); 259 extern void bitmap_move (bitmap, bitmap); 290 extern void bitmap_and (bitmap, const_bitmap, const_bitmap); 291 extern bool bitmap_and_into (bitmap, const_bitmap); 292 extern bool bitmap_and_compl (bitmap, const_bitmap, const_bitmap); 293 extern bool bitmap_and_compl_into (bitmap, const_bitmap); 295 extern void bitmap_compl_and_into (bitmap, const_bitmap); 296 extern void bitmap_clear_range (bitmap, unsigned int, unsigned int); 297 extern void bitmap_set_range (bitmap, unsigned int, unsigned int); [all …]
|
| H A D | df.h | 191 typedef void (*df_alloc_function) (bitmap); 199 typedef void (*df_reset_function) (bitmap); 206 typedef void (*df_local_compute_function) (bitmap); 209 typedef void (*df_init_function) (bitmap); 212 typedef void (*df_dataflow_function) (struct dataflow *, bitmap, int *, int); 226 typedef void (*df_finalizer_function) (bitmap); 308 bitmap out_of_date_transfer_functions; 545 bitmap blocks_to_analyze; 575 bitmap entry_block_defs; 576 bitmap exit_block_uses; /* The set of hardware registers used in exit block. */ [all …]
|
| H A D | early-remat.c | 253 bitmap rd_in; 257 bitmap rd_out; 261 bitmap rd_gen; 266 bitmap rd_kill; 275 bitmap rd_after_call; 279 bitmap available_in; 283 bitmap available_locally; 287 bitmap available_out; 291 bitmap required_in; 295 bitmap required_after_call; [all …]
|
| H A D | df-problems.c | 180 df_rd_alloc (bitmap all_blocks) in df_rd_alloc() 237 df_rd_simulate_artificial_defs_at_top (basic_block bb, bitmap local_rd) in df_rd_simulate_artificial_defs_at_top() 258 bitmap local_rd) in df_rd_simulate_one_insn() 387 df_rd_local_compute (bitmap all_blocks) in df_rd_local_compute() 394 bitmap sparse_invalidated = &problem_data->sparse_invalidated_by_call; in df_rd_local_compute() 395 bitmap dense_invalidated = &problem_data->dense_invalidated_by_call; in df_rd_local_compute() 430 df_rd_init_solution (bitmap all_blocks) in df_rd_init_solution() 449 bitmap op1 = &df_rd_get_bb_info (e->dest->index)->in; in df_rd_confluence_n() 450 bitmap op2 = &df_rd_get_bb_info (e->src->index)->out; in df_rd_confluence_n() 460 bitmap sparse_invalidated = &problem_data->sparse_invalidated_by_call; in df_rd_confluence_n() [all …]
|
| H A D | valtrack.h | 74 bitmap used; 97 bitmap used; 100 bitmap to_rescan; 126 extern void dead_debug_global_init (struct dead_debug_global *, bitmap); 127 extern void dead_debug_global_finish (struct dead_debug_global *, bitmap); 128 extern void dead_debug_local_init (struct dead_debug_local *, bitmap, 130 extern void dead_debug_local_finish (struct dead_debug_local *, bitmap);
|
| H A D | bitmap.c | 31 bitmap_register (bitmap b MEM_STAT_DECL) in bitmap_register() 39 register_overhead (bitmap b, size_t amount) in register_overhead() 52 static void bitmap_elem_to_freelist (bitmap, bitmap_element *); 53 static void bitmap_element_free (bitmap, bitmap_element *); 54 static bitmap_element *bitmap_element_allocate (bitmap); 56 static void bitmap_element_link (bitmap, bitmap_element *); 57 static bitmap_element *bitmap_elt_insert_after (bitmap, bitmap_element *, unsigned int); 58 static void bitmap_elt_clear_from (bitmap, bitmap_element *); 59 static bitmap_element *bitmap_find_bit (bitmap, unsigned int); 64 bitmap_elem_to_freelist (bitmap head, bitmap_element *elt) in bitmap_elem_to_freelist() [all …]
|
| H A D | tree-ssa-ter.c | 163 bitmap *partition_dependencies; /* Partitions expr is dependent on. */ 164 bitmap replaceable_expressions; /* Replacement expression table. */ 165 bitmap *expr_decl_uids; /* Base uids of exprs. */ 166 bitmap *kill_list; /* Expr's killed by a partition. */ 168 bitmap partition_in_use; /* Partitions with kill entries. */ 169 bitmap new_replaceable_dependencies; /* Holding place for pending dep's. */ 193 t->partition_dependencies = XCNEWVEC (bitmap, num_ssa_names + 1); in new_temp_expr_table() 194 t->expr_decl_uids = XCNEWVEC (bitmap, num_ssa_names + 1); in new_temp_expr_table() 195 t->kill_list = XCNEWVEC (bitmap, num_var_partitions (map) + 1); in new_temp_expr_table() 225 static bitmap [all …]
|
| /dflybsd-src/usr.sbin/pw/ |
| H A D | bitmap.h | 34 struct bitmap struct 41 struct bitmap bm_alloc(int size); argument 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 struct bitmap 38 struct bitmap bm; in bm_alloc() 49 bm_dealloc(struct bitmap * bm) in bm_dealloc() 63 bm_setbit(struct bitmap * bm, int pos) in bm_setbit() 72 bm_clrbit(struct bitmap * bm, int pos) in bm_clrbit() 81 bm_isset(struct bitmap * bm, int pos) in bm_isset() 90 bm_firstunset(struct bitmap * bm) in bm_firstunset() 111 bm_lastset(struct bitmap * bm) in bm_lastset()
|
| /dflybsd-src/sys/dev/disk/mpt/ |
| H A D | mpt_pci.c | 255 int bitmap; in mpt_set_options() local 258 bitmap = 0; in mpt_set_options() 259 if (kgetenv_int("mpt_disable", &bitmap)) { in mpt_set_options() 260 if (bitmap & (1 << mpt->unit)) { in mpt_set_options() 264 bitmap = 0; in mpt_set_options() 265 if (kgetenv_int("mpt_debug", &bitmap)) { in mpt_set_options() 266 if (bitmap & (1 << mpt->unit)) { in mpt_set_options() 270 bitmap = 0; in mpt_set_options() 271 if (kgetenv_int("mpt_debug1", &bitmap)) { in mpt_set_options() 272 if (bitmap & (1 << mpt->unit)) { in mpt_set_options() [all …]
|
| /dflybsd-src/crypto/libressl/ssl/ |
| H A D | d1_pkt.c | 180 static int dtls1_record_replay_check(SSL *s, DTLS1_BITMAP *bitmap, 182 static void dtls1_record_bitmap_update(SSL *s, DTLS1_BITMAP *bitmap, 354 DTLS1_BITMAP *bitmap; in dtls1_get_record() local 440 bitmap = dtls1_get_bitmap(s, rr, &is_next_epoch); in dtls1_get_record() 441 if (bitmap == NULL) in dtls1_get_record() 453 !dtls1_record_replay_check(s, bitmap, rr->seq_num)) in dtls1_get_record() 471 dtls1_record_bitmap_update(s, bitmap, rr->seq_num); in dtls1_get_record() 480 dtls1_record_bitmap_update(s, bitmap, rr->seq_num); in dtls1_get_record() 991 dtls1_record_replay_check(SSL *s, DTLS1_BITMAP *bitmap, in dtls1_record_replay_check() argument 997 cmp = satsub64be(seq, bitmap->max_seq_num); in dtls1_record_replay_check() [all …]
|
| /dflybsd-src/sys/vfs/hpfs/ |
| H A D | hpfs_subr.c | 331 u_int32_t * bitmap; in hpfs_bmlookup() local 351 bitmap = (u_int32_t *)hpmp->hpm_bitmap + i; in hpfs_bmlookup() 353 if (*bitmap & mask) { in hpfs_bmlookup() 357 if (*bitmap & mask) in hpfs_bmlookup() 370 bitmap++; in hpfs_bmlookup() 372 for (; i < hpmp->hpm_su.su_btotal >> 5; i++, bitmap++) { in hpfs_bmlookup() 374 if (*bitmap & mask) in hpfs_bmlookup() 402 bitmap = (u_int32_t *)hpmp->hpm_bitmap + (cband << 9); in hpfs_bmlookup() 406 for (i=0; i < bandsz >> 5; i++, bitmap++) { in hpfs_bmlookup() 408 if (*bitmap & mask) { in hpfs_bmlookup() [all …]
|
| /dflybsd-src/sys/dev/drm/i915/ |
| H A D | i915_syncmap.c | 76 unsigned int bitmap; member 95 BUILD_BUG_ON(KSYNCMAP > BITS_PER_BYTE * sizeof((*root)->bitmap)); in i915_syncmap_init() 192 if (!(p->bitmap & BIT(idx))) in i915_syncmap_is_later() 209 p->bitmap = 0; in __sync_alloc_leaf() 218 p->bitmap |= BIT(idx); in __sync_set_seqno() 226 p->bitmap |= BIT(idx); in __sync_set_child() 300 GEM_BUG_ON(!(p->parent->bitmap & BIT(idx))); in __sync_set() 374 while ((i = ffs(p->bitmap))) { in __sync_free() 375 p->bitmap &= ~0u << i; in __sync_free()
|