Home
last modified time | relevance | path

Searched refs:nregs (Results 1 – 25 of 31) sorted by relevance

12

/external/libunwind/src/ia64/
DGrbs.c128 unw_word_t nregs, bsp = c->bsp, curr = c->rbs_curr, n; in rbs_find_stacked() local
149 nregs = rse_num_regs (bsp, c->rbs_area[curr].end); in rbs_find_stacked()
151 if (regs_to_skip < nregs) in rbs_find_stacked()
170 regs_to_skip -= nregs; in rbs_find_stacked()
199 rbs_cover_and_flush (struct cursor *c, unw_word_t nregs, in rbs_cover_and_flush() argument
209 c->bsp = rse_skip_regs (bsp, nregs); in rbs_cover_and_flush()
215 if (likely (n >= nregs)) in rbs_cover_and_flush()
232 nregs -= n; /* account for registers already on the rbs */ in rbs_cover_and_flush()
234 assert (rse_skip_regs (c->bsp, -nregs) == rse_skip_regs (rbs->end, 0)); in rbs_cover_and_flush()
239 nregs += rse_num_regs (rbs->end, bsp); in rbs_cover_and_flush()
[all …]
/external/elfutils/src/tests/
Dallregs.c69 int nregs; member
108 if (regno >= state->nregs) in one_register()
111 memset (&state->info[state->nregs], 0, in one_register()
113 - (void *) &state->info[state->nregs])); in one_register()
114 state->nregs = regno + 1; in one_register()
166 if (result != 0 || state.nregs == 0) in main()
170 qsort (state.info, state.nregs, sizeof state.info[0], &compare); in main()
173 for (int i = 0; i < state.nregs; ++i) in main()
/external/elfutils/src/libdwfl/
Dframe_unwind.c504 size_t nregs = ebl_frame_nregs (ebl); in new_unwound() local
505 assert (nregs > 0); in new_unwound()
507 unwound = malloc (sizeof (*unwound) + sizeof (*unwound->regs) * nregs); in new_unwound()
537 size_t nregs = ebl_frame_nregs (ebl); in handle_cfi() local
538 assert (nregs > 0); in handle_cfi()
545 for (unsigned regno = 0; regno < nregs; regno++) in handle_cfi()
629 setfunc (int firstreg, unsigned nregs, const Dwarf_Word *regs, void *arg) in setfunc() argument
636 assert (nregs == 1); in setfunc()
642 while (nregs--) in setfunc()
649 getfunc (int firstreg, unsigned nregs, Dwarf_Word *regs, void *arg) in getfunc() argument
[all …]
Ddwfl_frame_regs.c33 unsigned nregs, const Dwarf_Word *regs) in dwfl_thread_state_registers() argument
38 for (unsigned regno = firstreg; regno < firstreg + nregs; regno++) in dwfl_thread_state_registers()
Ddwfl_module_register_names.c53 int nregs = ebl_register_info (mod->ebl, -1, NULL, 0, local
56 for (int regno = 0; regno < nregs && likely (result == 0); ++regno)
Dlinux-core-attach.c177 size_t nregs = ebl_frame_nregs (core_arg->ebl); in core_set_initial_registers() local
178 assert (nregs > 0); in core_set_initial_registers()
255 if (regno < nregs in core_set_initial_registers()
281 if (regno < nregs) in core_set_initial_registers()
323 size_t nregs = ebl_frame_nregs (ebl); in dwfl_core_file_attach() local
324 if (nregs == 0) in dwfl_core_file_attach()
Dlinux-pid-attach.c215 pid_thread_state_registers_cb (int firstreg, unsigned nregs, in pid_thread_state_registers_cb() argument
222 assert (nregs == 1); in pid_thread_state_registers_cb()
226 assert (nregs > 0); in pid_thread_state_registers_cb()
227 return INTUSE(dwfl_thread_state_registers) (thread, firstreg, nregs, regs); in pid_thread_state_registers_cb()
Ddwfl_frame.c91 size_t nregs = ebl_frame_nregs (ebl); in state_alloc() local
92 if (nregs == 0) in state_alloc()
94 assert (nregs < sizeof (((Dwfl_Frame *) NULL)->regs_set) * 8); in state_alloc()
95 Dwfl_Frame *state = malloc (sizeof (*state) + sizeof (*state->regs) * nregs); in state_alloc()
Dlibdwfl.h756 unsigned nregs, const Dwarf_Word *regs)
/external/elfutils/src/libdw/
Dcfi.c49 size_t size = offsetof (Dwarf_Frame, regs[original->nregs]); in duplicate_frame_state()
82 if (fs->nregs <= reg) in execute_cfi()
94 memset (bigger->regs + bigger->nregs, 0, in execute_cfi()
95 (reg + 1 - bigger->nregs) * sizeof bigger->regs[0]); in execute_cfi()
96 bigger->nregs = reg + 1; in execute_cfi()
306 if (cie->initial_state->nregs > operand) in execute_cfi()
Ddwarf_frame_register.c57 if (unlikely ((size_t) regno >= fs->nregs))
Dcfi.h185 size_t nregs; member
/external/mesa3d/src/gallium/drivers/r600/
Dr600.h116 unsigned nregs; member
234 state->regs[state->nregs].value = value; in r600_pipe_state_mod_reg()
235 state->nregs++; in r600_pipe_state_mod_reg()
Dr600_state_common.c465 for (int i = 0; i < rstate->nregs; i++) { in r600_delete_state()
1189 rctx->vgt.nregs = 0; in r600_draw_vbo()
1201 rctx->vgt.nregs = 0; in r600_draw_vbo()
1388 state->regs[state->nregs].block = block; in _r600_pipe_state_add_reg_bo()
1389 state->regs[state->nregs].id = (offset - block->start_offset) >> 2; in _r600_pipe_state_add_reg_bo()
1391 state->regs[state->nregs].value = value; in _r600_pipe_state_add_reg_bo()
1392 state->regs[state->nregs].bo = bo; in _r600_pipe_state_add_reg_bo()
1393 state->regs[state->nregs].bo_usage = usage; in _r600_pipe_state_add_reg_bo()
1395 state->nregs++; in _r600_pipe_state_add_reg_bo()
1396 assert(state->nregs < R600_BLOCK_MAX_REG); in _r600_pipe_state_add_reg_bo()
[all …]
Dr600_hw_context.c759 for (i = 0; i < state->nregs; i++) { in r600_context_pipe_state_emit()
769 for (i = 0; i < state->nregs; i++) { in r600_context_pipe_state_emit()
781 for (int i = 0; i < state->nregs; i++) { in r600_context_pipe_state_set()
Dr600_state.c649 state.nregs = 0; in r600_polygon_offset_update()
2130 rstate.nregs = 0; in r600_adjust_gprs()
2472 rstate->nregs = 0; in r600_pipe_shader_ps()
2589 rstate->nregs = 0; in r600_pipe_shader_vs()
2638 rstate->nregs = 0; in r600_fetch_shader()
2725 rstate.nregs = 0; in r600_update_dual_export_state()
/external/jemalloc/src/
Dstats.c83 uint32_t nregs; in stats_arena_bins_print() local
94 CTL_M2_GET("arenas.bin.0.nregs", j, &nregs, uint32_t); in stats_arena_bins_print()
116 availregs = nregs * curruns; in stats_arena_bins_print()
139 ndalloc, nrequests, curregs, curruns, nregs, in stats_arena_bins_print()
148 ndalloc, nrequests, curregs, curruns, nregs, in stats_arena_bins_print()
Dtcache.c518 if ((arena_bin_info[i].nregs << 1) <= TCACHE_NSLOTS_SMALL_MIN) { in tcache_boot()
521 } else if ((arena_bin_info[i].nregs << 1) <= in tcache_boot()
524 (arena_bin_info[i].nregs << 1); in tcache_boot()
Darena.c293 assert(run->nfree < bin_info->nregs); in arena_run_reg_dalloc()
1726 run->nfree = bin_info->nregs; in arena_bin_nonfull_run_get()
1784 if (run->nfree == bin_info->nregs) in arena_bin_malloc_hard()
2219 if (bin_info->nregs != 1) { in arena_dissociate_bin_run()
2292 if (run->nfree == bin_info->nregs) { in arena_dalloc_bin_locked_impl()
2979 bin_info->nregs = actual_nregs; in bin_info_run_size_calc()
2986 assert(bin_info->reg0_offset - bin_info->redzone_size + (bin_info->nregs in bin_info_run_size_calc()
2999 bitmap_info_init(&bin_info->bitmap_info, bin_info->nregs); in bin_info_init()
/external/elfutils/src/backends/
Dia64_retval.c103 inline int hfa (const Dwarf_Op *loc, int nregs) in hfa_type()
109 return fpregs_used + nregs; in hfa_type()
/external/elfutils/src/libebl/
Dlibebl.h394 typedef bool (ebl_tid_registers_t) (int firstreg, unsigned nregs,
433 typedef bool (ebl_tid_registers_get_t) (int firstreg, unsigned nregs,
/external/jemalloc/test/unit/
Dmallctl.c527 TEST_ARENAS_BIN_CONSTANT(uint32_t, nregs, arena_bin_info[0].nregs); in TEST_BEGIN()
/external/valgrind/VEX/priv/
Dhost_amd64_defs.h575 Int nregs; /* 1 <= nregs <= 7 */ member
743 extern AMD64Instr* AMD64Instr_A87Free ( Int nregs );
Dhost_amd64_defs.c816 AMD64Instr* AMD64Instr_A87Free ( Int nregs ) in AMD64Instr_A87Free() argument
820 i->Ain.A87Free.nregs = nregs; in AMD64Instr_A87Free()
821 vassert(nregs >= 1 && nregs <= 7); in AMD64Instr_A87Free()
1204 vex_printf("ffree %%st(7..%d)", 8 - i->Ain.A87Free.nregs ); in ppAMD64Instr()
3234 vassert(i->Ain.A87Free.nregs > 0 && i->Ain.A87Free.nregs <= 7); in emit_AMD64Instr()
3235 for (j = 0; j < i->Ain.A87Free.nregs; j++) { in emit_AMD64Instr()
/external/elfutils/include/elfutils/
Dlibdwfl.h756 unsigned nregs, const Dwarf_Word *regs)

12