Home
last modified time | relevance | path

Searched refs:nregs (Results 1 – 25 of 40) 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/u-boot/drivers/gpio/
D74x164_gpio.c34 u32 nregs; member
54 ret = dm_spi_xfer(dev, priv->nregs * 8, priv->buffer, NULL, in gen_74x164_write_conf()
65 uint bank = priv->nregs - 1 - offset / 8; in gen_74x164_get_value()
75 uint bank = priv->nregs - 1 - offset / 8; in gen_74x164_set_value()
143 priv->nregs = fdtdec_get_int(fdt, node, "registers-number", 1); in gen_74x164_probe()
144 priv->buffer = calloc(priv->nregs, sizeof(u8)); in gen_74x164_probe()
151 priv->buffer, priv->nregs); in gen_74x164_probe()
162 uc_priv->gpio_count = priv->nregs * 8; in gen_74x164_probe()
/external/elfutils/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/jemalloc_new/test/unit/
Dpack.c51 uint32_t nregs; in nregs_per_run_compute() local
60 sz = sizeof(nregs); in nregs_per_run_compute()
61 assert_d_eq(mallctlbymib(mib, miblen, (void *)&nregs, &sz, NULL, in nregs_per_run_compute()
63 return nregs; in nregs_per_run_compute()
99 size_t nregs = nregs_per_run * NSLABS; in TEST_BEGIN() local
100 VARIABLE_ARRAY(void *, ptrs, nregs); in TEST_BEGIN()
Dslab.c15 for (regind = 0; regind < bin_info->nregs; regind++) { in TEST_BEGIN()
/external/jemalloc/test/unit/
Dpack.c60 uint32_t nregs; in nregs_per_run_compute() local
69 sz = sizeof(nregs); in nregs_per_run_compute()
70 assert_d_eq(mallctlbymib(mib, miblen, (void *)&nregs, &sz, NULL, in nregs_per_run_compute()
72 return (nregs); in nregs_per_run_compute()
139 size_t nregs = nregs_per_run * nruns; in TEST_BEGIN() local
140 VARIABLE_ARRAY(void *, ptrs, nregs); in TEST_BEGIN()
/external/jemalloc_new/src/
Dbin.c8 #define BIN_INFO_bin_yes(reg_size, slab_size, nregs) \ argument
9 {reg_size, slab_size, nregs, BITMAP_INFO_INITIALIZER(nregs)},
10 #define BIN_INFO_bin_no(reg_size, slab_size, nregs) argument
Dtcache.c697 if ((bin_infos[i].nregs << 1) <= TCACHE_NSLOTS_SMALL_MIN) { in tcache_boot()
700 } else if ((bin_infos[i].nregs << 1) <= in tcache_boot()
703 (bin_infos[i].nregs << 1); in tcache_boot()
/external/elfutils/libdwfl/
Dframe_unwind.c517 size_t nregs = ebl_frame_nregs (ebl); in new_unwound() local
518 assert (nregs > 0); in new_unwound()
520 unwound = malloc (sizeof (*unwound) + sizeof (*unwound->regs) * nregs); in new_unwound()
559 size_t nregs = ebl_frame_nregs (ebl); in handle_cfi() local
560 assert (nregs > 0); in handle_cfi()
567 for (unsigned regno = 0; regno < nregs; regno++) in handle_cfi()
672 setfunc (int firstreg, unsigned nregs, const Dwarf_Word *regs, void *arg) in setfunc() argument
679 assert (nregs == 1); in setfunc()
685 while (nregs--) in setfunc()
692 getfunc (int firstreg, unsigned nregs, Dwarf_Word *regs, void *arg) in getfunc() argument
[all …]
Dlinux-core-attach.c178 size_t nregs = ebl_frame_nregs (core_arg->ebl); in core_set_initial_registers() local
179 assert (nregs > 0); in core_set_initial_registers()
258 if (regno < nregs in core_set_initial_registers()
284 if (regno < nregs) in core_set_initial_registers()
326 size_t nregs = ebl_frame_nregs (ebl); in dwfl_core_file_attach() local
327 if (nregs == 0) in dwfl_core_file_attach()
Ddwfl_frame_regs.c37 unsigned nregs, const Dwarf_Word *regs) in dwfl_thread_state_registers() argument
42 for (unsigned regno = firstreg; regno < firstreg + nregs; regno++) in dwfl_thread_state_registers()
Ddwfl_module_register_names.c56 int nregs = ebl_register_info (mod->ebl, -1, NULL, 0, in dwfl_module_register_names() local
59 for (int regno = 0; regno < nregs && likely (result == 0); ++regno) in dwfl_module_register_names()
Dlinux-pid-attach.c299 pid_thread_state_registers_cb (int firstreg, unsigned nregs, in pid_thread_state_registers_cb() argument
306 assert (nregs == 1); in pid_thread_state_registers_cb()
310 assert (nregs > 0); in pid_thread_state_registers_cb()
311 return INTUSE(dwfl_thread_state_registers) (thread, firstreg, nregs, regs); in pid_thread_state_registers_cb()
Ddwfl_frame.c94 size_t nregs = ebl_frame_nregs (ebl); in state_alloc() local
95 if (nregs == 0) in state_alloc()
97 assert (nregs < sizeof (((Dwfl_Frame *) NULL)->regs_set) * 8); in state_alloc()
98 Dwfl_Frame *state = malloc (sizeof (*state) + sizeof (*state->regs) * nregs); in state_alloc()
/external/elfutils/backends/
Dia64_retval.c93 compute_hfa (const Dwarf_Op *loc, int nregs, in compute_hfa() argument
100 return fpregs_used + nregs; in compute_hfa()
128 #define hfa(loc, nregs) compute_hfa(loc, nregs, locp, fpregs_used) in hfa_type() argument
/external/elfutils/libdw/
Dcfi.c49 size_t size = offsetof (Dwarf_Frame, regs[original->nregs]); in duplicate_frame_state()
71 if ((*pfs)->nregs <= reg) in enough_registers()
83 memset (bigger->regs + bigger->nregs, 0, in enough_registers()
84 (reg + 1 - bigger->nregs) * sizeof bigger->regs[0]); in enough_registers()
85 bigger->nregs = reg + 1; in enough_registers()
320 if (cie->initial_state->nregs > operand) in execute_cfi()
Ddwarf_frame_register.c53 if (unlikely ((size_t) regno >= fs->nregs)) in dwarf_frame_register()
Dcfi.h186 size_t nregs; member
/external/elfutils/libebl/
Dlibebl.h337 typedef bool (ebl_tid_registers_t) (int firstreg, unsigned nregs,
382 typedef bool (ebl_tid_registers_get_t) (int firstreg, unsigned nregs,
/external/u-boot/include/
Dkgdb.h35 int nregs; member
/external/python/cpython2/Modules/_ctypes/libffi/src/arm/
Dffi.c875 int nregs = t->size / sizeof (float); in place_vfp_arg() local
881 while (reg + nregs <= 16) in place_vfp_arg()
884 for (s = reg; s < reg + nregs; s++) in place_vfp_arg()
900 reg += nregs; in place_vfp_arg()
/external/libffi/src/arm/
Dffi.c875 int nregs = t->size / sizeof (float); in place_vfp_arg() local
881 while (reg + nregs <= 16) in place_vfp_arg()
884 for (s = reg; s < reg + nregs; s++) in place_vfp_arg()
900 reg += nregs; in place_vfp_arg()
/external/jemalloc_new/include/jemalloc/internal/
Dbin.h42 uint32_t nregs; member
/external/jemalloc/src/
Dstats.c71 uint32_t nregs; in stats_arena_bins_print() local
86 CTL_M2_GET("arenas.bin.0.nregs", j, &nregs, uint32_t); in stats_arena_bins_print()
137 availregs = nregs * curruns; in stats_arena_bins_print()
160 ndalloc, nrequests, curregs, curruns, nregs, in stats_arena_bins_print()
170 ndalloc, nrequests, curregs, curruns, nregs, in stats_arena_bins_print()
Dtcache.c579 if ((arena_bin_info[i].nregs << 1) <= TCACHE_NSLOTS_SMALL_MIN) { in tcache_boot()
582 } else if ((arena_bin_info[i].nregs << 1) <= in tcache_boot()
585 (arena_bin_info[i].nregs << 1); in tcache_boot()

12