Home
last modified time | relevance | path

Searched refs:bm (Results 1 – 25 of 197) sorted by relevance

12345678

/netbsd-src/sys/stand/efiboot/
H A Dmodule.c88 struct boot_module *bm; in module_foreach() local
90 TAILQ_FOREACH(bm, &boot_modules, entries) { in module_foreach()
91 fn(bm->module_name); in module_foreach()
98 struct boot_module *bm; in module_add() local
105 TAILQ_FOREACH(bm, &boot_modules, entries) { in module_add()
106 if (strcmp(bm->module_name, module_name) == 0) in module_add()
111 bm = alloc(sizeof(*bm)); in module_add()
113 bm->module_name = alloc(slen); in module_add()
114 memcpy(bm->module_name, module_name, slen); in module_add()
115 TAILQ_INSERT_TAIL(&boot_modules, bm, entries); in module_add()
[all …]
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/test/
H A Duser_counters_test.cc109 namespace bm = benchmark; in BM_Counters_Rate()
110 state.counters["foo"] = bm::Counter{1, bm::Counter::kIsRate}; in BM_Counters_Rate()
111 state.counters["bar"] = bm::Counter{2, bm::Counter::kIsRate}; in BM_Counters_Rate()
180 namespace bm = benchmark; in BM_Counters_AvgThreads()
181 state.counters["foo"] = bm::Counter{1, bm::Counter::kAvgThreads}; in BM_Counters_AvgThreads()
182 state.counters["bar"] = bm::Counter{2, bm::Counter::kAvgThreads}; in BM_Counters_AvgThreads()
217 namespace bm = benchmark; in BM_Counters_AvgThreadsRate()
218 state.counters["foo"] = bm::Counter{1, bm::Counter::kAvgThreadsRate}; in BM_Counters_AvgThreadsRate()
219 state.counters["bar"] = bm::Counter{2, bm::Counter::kAvgThreadsRate}; in BM_Counters_AvgThreadsRate()
254 namespace bm = benchmark; in BM_Counters_IterationInvariant()
[all …]
H A Duser_counters_tabular_test.cc61 namespace bm = benchmark; in BM_Counters_Tabular()
63 {"Foo", {1, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular()
64 {"Bar", {2, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular()
65 {"Baz", {4, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular()
66 {"Bat", {8, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular()
67 {"Frob", {16, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular()
68 {"Lob", {32, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular()
108 namespace bm = benchmark; in BM_CounterRates_Tabular()
110 {"Foo", {1, bm::Counter::kAvgThreadsRate}}, in BM_CounterRates_Tabular()
111 {"Bar", {2, bm::Counter::kAvgThreadsRate}}, in BM_CounterRates_Tabular()
[all …]
H A Duser_counters_thousands_test.cc14 namespace bm = benchmark; in BM_Counters_Thousands()
17 bm::Counter(1000 * 1000, bm::Counter::kDefaults)}, in BM_Counters_Thousands()
18 {"t1_1000000Base1000", bm::Counter(1000 * 1000, bm::Counter::kDefaults, in BM_Counters_Thousands()
20 {"t2_1000000Base1024", bm::Counter(1000 * 1000, bm::Counter::kDefaults, in BM_Counters_Thousands()
22 {"t3_1048576Base1000", bm::Counter(1024 * 1024, bm::Counter::kDefaults, in BM_Counters_Thousands()
24 {"t4_1048576Base1024", bm::Counter(1024 * 1024, bm::Counter::kDefaults, in BM_Counters_Thousands()
/netbsd-src/sys/arch/atari/dev/
H A Dgrfabs_tt.c142 bmap_t *bm = v->bitmap; in tt_display_view() local
157 VIDEO->vd_raml = (u_long)bm->hw_address & 0xff; in tt_display_view()
158 VIDEO->vd_ramm = ((u_long)bm->hw_address >> 8) & 0xff; in tt_display_view()
159 VIDEO->vd_ramh = ((u_long)bm->hw_address >> 16) & 0xff; in tt_display_view()
283 bmap_t *bm; in tt_alloc_view() local
292 bm = alloc_bitmap(mode->size.width, mode->size.height, mode->depth); in tt_alloc_view()
293 if (bm) { in tt_alloc_view()
299 init_view(v, bm, mode, &box); in tt_alloc_view()
302 free_bitmap(bm); in tt_alloc_view()
310 init_view(view_t *v, bmap_t *bm, dmode_t *mode, box_t *dbox) in init_view() argument
[all …]
H A Dgrfabs_fal.c307 bmap_t *bm; in falcon_display_view() local
323 bm = v->bitmap; in falcon_display_view()
324 VIDEO->vd_ramh = ((u_long)bm->hw_address >> 16) & 0xff; in falcon_display_view()
325 VIDEO->vd_ramm = ((u_long)bm->hw_address >> 8) & 0xff; in falcon_display_view()
326 VIDEO->vd_raml = (u_long)bm->hw_address & 0xff; in falcon_display_view()
511 bmap_t *bm; in falcon_alloc_view() local
520 bm = alloc_bitmap(mode->size.width, mode->size.height, mode->depth); in falcon_alloc_view()
521 if (bm) { in falcon_alloc_view()
527 init_view(v, bm, mode, &box); in falcon_alloc_view()
530 free_bitmap(bm); in falcon_alloc_view()
538 init_view(view_t * v,bmap_t * bm,dmode_t * mode,box_t * dbox) init_view() argument
553 bmap_t *bm; alloc_bitmap() local
594 free_bitmap(bmap_t * bm) free_bitmap() argument
[all...]
H A Dgrfabs_et.c185 bmap_t *bm = v->bitmap; in et_display_view() local
207 bm->plane = et_priv.memkva; in et_display_view()
216 dst = (u_short *)bm->plane; in et_display_view()
239 bmap_t *bm = v->bitmap; in et_save_view() local
265 sv_size = bm->bytes_per_row * (bm->rows / (font_height + 1)); in et_save_view()
274 src = (u_short *)bm->plane; in et_save_view()
278 bm->plane = (u_char *)sa->sv_fb; in et_save_view()
308 bmap_t *bm; in et_alloc_view() local
314 bm = &con_bm; in et_alloc_view()
317 bm = malloc(sizeof(*bm), M_DEVBUF, M_WAITOK); in et_alloc_view()
[all …]
H A Dview.c359 bmap_t *bm; in viewioctl() local
379 bm = (bmap_t *)data; in viewioctl()
380 memcpy(bm, vu->view->bitmap, sizeof(bmap_t)); in viewioctl()
382 bm->plane = NULL; in viewioctl()
383 bm->hw_address = NULL; in viewioctl()
384 bm->regs = NULL; in viewioctl()
385 bm->hw_regs = NULL; in viewioctl()
406 bmap_t *bm; in viewmmap() local
411 bm = vu->view->bitmap; in viewmmap()
412 bmd_start = bm->hw_address; in viewmmap()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/utils/benchmark/test/
H A Duser_counters_tabular_test.cc59 namespace bm = benchmark; in BM_Counters_Tabular()
61 {"Foo", { 1, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular()
62 {"Bar", { 2, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular()
63 {"Baz", { 4, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular()
64 {"Bat", { 8, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular()
65 {"Frob", {16, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular()
66 {"Lob", {32, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular()
103 namespace bm = benchmark; in BM_CounterRates_Tabular()
105 {"Foo", { 1, bm::Counter::kAvgThreadsRate}}, in BM_CounterRates_Tabular()
106 {"Bar", { 2, bm::Counter::kAvgThreadsRate}}, in BM_CounterRates_Tabular()
[all …]
H A Duser_counters_test.cc97 namespace bm = benchmark; in BM_Counters_Rate()
98 state.counters["foo"] = bm::Counter{1, bm::Counter::kIsRate}; in BM_Counters_Rate()
99 state.counters["bar"] = bm::Counter{2, bm::Counter::kIsRate}; in BM_Counters_Rate()
158 namespace bm = benchmark; in BM_Counters_AvgThreads()
159 state.counters["foo"] = bm::Counter{1, bm::Counter::kAvgThreads}; in BM_Counters_AvgThreads()
160 state.counters["bar"] = bm::Counter{2, bm::Counter::kAvgThreads}; in BM_Counters_AvgThreads()
189 namespace bm = benchmark; in BM_Counters_AvgThreadsRate()
190 state.counters["foo"] = bm::Counter{1, bm::Counter::kAvgThreadsRate}; in BM_Counters_AvgThreadsRate()
191 state.counters["bar"] = bm::Counter{2, bm::Counter::kAvgThreadsRate}; in BM_Counters_AvgThreadsRate()
/netbsd-src/sys/net/npf/
H A Dnpf_portmap.c279 bitmap_isset(const bitmap_t *bm, unsigned bit)
287 bval = atomic_load_relaxed(&bm->bits0[i]);
311 bitmap_set(bitmap_t *bm, unsigned bit) in bitmap_set() argument
320 bval = bm->bits0[i]; in bitmap_set()
335 if (__npf_atomic_cas_64(&bm->bits0[i], bval, nval) != bval) { in bitmap_set()
367 if (__npf_atomic_cas_64(&bm->bits0[i], bval, bm1p) != bval) { in bitmap_set()
391 bitmap_clr(bitmap_t *bm, unsigned bit) in bitmap_clr() argument
400 bval = bm->bits0[i]; in bitmap_clr()
408 if (__npf_atomic_cas_64(&bm->bits0[i], bval, nval) != bval) { in bitmap_clr()
435 bitmap_t *bm; in npf_portmap_autoget() local
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/bio/
H A Dbss_mem.c195 BUF_MEM *bm = bbm->readp; in mem_read() local
198 bm = bbm->buf; in mem_read()
200 ret = (outl >= 0 && (size_t)outl > bm->length) ? (int)bm->length : outl; in mem_read()
202 memcpy(out, bm->data, ret); in mem_read()
203 bm->length -= ret; in mem_read()
204 bm->max -= ret; in mem_read()
205 bm->data += ret; in mem_read()
206 } else if (bm->length == 0) { in mem_read()
247 BUF_MEM *bm, *bo; /* bio_mem, bio_other */ in mem_ctrl() local
251 bm = bbm->buf; in mem_ctrl()
[all …]
/netbsd-src/sys/dev/
H A Dbio.c206 struct bio_mapping *bm; in bio_register() local
211 bm = kmem_zalloc(sizeof(*bm), KM_SLEEP); in bio_register()
212 bm->bm_dev = dev; in bio_register()
213 bm->bm_ioctl = ioctl; in bio_register()
215 LIST_INSERT_HEAD(&bios, bm, bm_link); in bio_register()
223 struct bio_mapping *bm, *next; in bio_unregister() local
226 for (bm = LIST_FIRST(&bios); bm != NULL; bm = next) { in bio_unregister()
227 next = LIST_NEXT(bm, bm_link); in bio_unregister()
229 if (dev == bm->bm_dev) { in bio_unregister()
230 LIST_REMOVE(bm, bm_link); in bio_unregister()
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/bio/
H A Dbss_mem.c198 BUF_MEM *bm = bbm->readp; in mem_read() local
201 bm = bbm->buf; in mem_read()
203 ret = (outl >= 0 && (size_t)outl > bm->length) ? (int)bm->length : outl; in mem_read()
205 memcpy(out, bm->data, ret); in mem_read()
206 bm->length -= ret; in mem_read()
207 bm->max -= ret; in mem_read()
208 bm->data += ret; in mem_read()
209 } else if (bm->length == 0) { in mem_read()
250 BUF_MEM *bm; in mem_ctrl() local
253 bm = bbm->buf; in mem_ctrl()
[all …]
/netbsd-src/sys/arch/i386/stand/lib/
H A Dexec.c234 boot_module_t *bm, *bmp; in module_add_common()
241 for (bm = boot_modules; bm != NULL; bm = bm->bm_next) in module_add_common()
242 if (bm->bm_type == type && strcmp(bm->bm_path, name) == 0) in module_add_common()
245 bm = alloc(sizeof(boot_module_t)); in module_add_common()
248 if (bm == NULL || str == NULL) { in module_add_common()
253 bm in module_add_common()
235 boot_module_t *bm, *bmp; module_add_common() local
617 module_path(boot_module_t * bm,const char * kdev,const char * base_path) module_path() argument
656 module_open(boot_module_t * bm,int mode,const char * kdev,const char * base_path,bool doload) module_open() argument
730 boot_module_t *bm; module_init() local
[all...]
/netbsd-src/sys/arch/sandpoint/stand/altboot/
H A Dmain.c471 struct boot_module *bm, *bmp; in module_add() local
476 bm = alloc(sizeof(struct boot_module) + strlen(name) + 1); in module_add()
477 if (bm == NULL) { in module_add()
482 bm->bm_kmod = (char *)(bm + 1); in module_add()
483 bm->bm_len = -1; in module_add()
484 bm->bm_next = NULL; in module_add()
485 strcpy(bm->bm_kmod, name); in module_add()
487 boot_modules = bm; in module_add()
491 bmp->bm_next = bm; in module_add()
501 struct boot_module *bm; in module_load() local
[all …]
/netbsd-src/external/gpl3/binutils/dist/gprofng/src/
H A DBaseMetricTreeNode.cc45 bm = item; in BaseMetricTreeNode()
46 name = dbe_strdup (bm->get_cmd ()); in BaseMetricTreeNode()
47 uname = dbe_strdup (bm->get_username ()); in BaseMetricTreeNode()
73 bm = NULL; in init_vars()
103 if (found && found->bm == NULL) in register_metric()
104 found->bm = item; in register_metric()
204 if (bm && dbe_strcmp (bm->get_cmd (), _name) == 0) in find()
260 if (bm) in get_description()
262 Hwcentry* hw_ctr = bm->get_hw_ctr (); in get_description()
322 char *s = bm ? bm->dump () : dbe_strdup ("<no base metric>"); in dump()
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/
H A DBaseMetricTreeNode.cc45 bm = item; in BaseMetricTreeNode()
46 name = dbe_strdup (bm->get_cmd ()); in BaseMetricTreeNode()
47 uname = dbe_strdup (bm->get_username ()); in BaseMetricTreeNode()
73 bm = NULL; in init_vars()
103 if (found && found->bm == NULL) in register_metric()
104 found->bm = item; in register_metric()
204 if (bm && dbe_strcmp (bm->get_cmd (), _name) == 0) in find()
260 if (bm) in get_description()
262 Hwcentry* hw_ctr = bm->get_hw_ctr (); in get_description()
322 char *s = bm ? bm->dump () : dbe_strdup ("<no base metric>"); in dump()
/netbsd-src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/
H A Darmada-385-db-ap.dts98 buffer-manager = <&bm>;
99 bm,pool-long = <1>;
100 bm,pool-short = <3>;
108 buffer-manager = <&bm>;
109 bm,pool-long = <2>;
110 bm,pool-short = <3>;
129 buffer-manager = <&bm>;
130 bm,pool-long = <0>;
131 bm,pool-short = <3>;
134 bm@c8000 {
[all …]
H A Darmada-xp-openblocks-ax3-4.dts116 buffer-manager = <&bm>;
117 bm,pool-long = <0>;
123 buffer-manager = <&bm>;
124 bm,pool-long = <1>;
130 buffer-manager = <&bm>;
131 bm,pool-long = <2>;
137 buffer-manager = <&bm>;
138 bm,pool-long = <3>;
168 bm@c0000 {
173 bm-bppi {
H A Darmada-388-db.dts54 buffer-manager = <&bm>;
55 bm,pool-long = <2>;
56 bm,pool-short = <3>;
67 buffer-manager = <&bm>;
68 bm,pool-long = <0>;
69 bm,pool-short = <1>;
90 bm@c8000 {
111 bm-bppi {
/netbsd-src/external/gpl3/gcc/dist/libgcc/config/visium/
H A Dlib2funcs.c117 UWtype b, bm; in __udivmoddi4() local
164 count_leading_zeros (bm, d1); in __udivmoddi4()
165 if (bm == 0) in __udivmoddi4()
197 b = W_TYPE_SIZE - bm; in __udivmoddi4()
199 d1 = (d1 << bm) | (d0 >> b); in __udivmoddi4()
200 d0 = d0 << bm; in __udivmoddi4()
202 n1 = (n1 << bm) | (n0 >> b); in __udivmoddi4()
203 n0 = n0 << bm; in __udivmoddi4()
218 rr.s.low = (n1 << b) | (n0 >> bm); in __udivmoddi4()
219 rr.s.high = n1 >> bm; in __udivmoddi4()
/netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/visium/
H A Dlib2funcs.c117 UWtype b, bm; in __udivmoddi4() local
164 count_leading_zeros (bm, d1); in __udivmoddi4()
165 if (bm == 0) in __udivmoddi4()
197 b = W_TYPE_SIZE - bm; in __udivmoddi4()
199 d1 = (d1 << bm) | (d0 >> b); in __udivmoddi4()
200 d0 = d0 << bm; in __udivmoddi4()
202 n1 = (n1 << bm) | (n0 >> b); in __udivmoddi4()
203 n0 = n0 << bm; in __udivmoddi4()
218 rr.s.low = (n1 << b) | (n0 >> bm); in __udivmoddi4()
219 rr.s.high = n1 >> bm; in __udivmoddi4()
/netbsd-src/sys/arch/amiga/dev/
H A Dview.c304 bmap_t *bm; in viewioctl() local
324 bm = (bmap_t *)data; in viewioctl()
325 memcpy(bm, vu->view->bitmap, sizeof(bmap_t)); in viewioctl()
327 bm->plane = 0; in viewioctl()
328 bm->blit_temp = 0; in viewioctl()
329 bm->hardware_address = 0; in viewioctl()
398 bmap_t *bm; in viewmmap() local
403 bm = vu->view->bitmap; in viewmmap()
404 bmd_start = bm->hardware_address; in viewmmap()
405 bmd_size = bm->bytes_per_row*bm->rows*bm->depth; in viewmmap()
/netbsd-src/usr.bin/gzip/
H A Dunlz.c194 lz_rd_decode_bit(struct lz_range_decoder *rd, int *bm) in lz_rd_decode_bit() argument
197 const uint32_t bound = (rd->range >> BIT_MODEL_TOTAL_BITS) * *bm; in lz_rd_decode_bit()
201 *bm += (BIT_MODEL_TOTAL - *bm) >> BIT_MODEL_MOVE_BITS; in lz_rd_decode_bit()
207 *bm -= *bm >> BIT_MODEL_MOVE_BITS; in lz_rd_decode_bit()
219 lz_rd_decode_tree(struct lz_range_decoder *rd, int *bm, int num_bits) in lz_rd_decode_tree() argument
224 symbol = (symbol << 1) | lz_rd_decode_bit(rd, &bm[symbol]); in lz_rd_decode_tree()
230 lz_rd_decode_tree_reversed(struct lz_range_decoder *rd, int *bm, int num_bits) in lz_rd_decode_tree_reversed() argument
232 unsigned symbol = lz_rd_decode_tree(rd, bm, num_bits); in lz_rd_decode_tree_reversed()
244 lz_rd_decode_matched(struct lz_range_decoder *rd, int *bm, int match_byte) in lz_rd_decode_matched() argument
251 &bm[symbol + (match_bit << 8) + 0x100]); in lz_rd_decode_matched()
[all …]

12345678