HomeSort by: relevance | last modified time | path
    Searched refs:mb (Results 1 - 25 of 129) sorted by relevancy

1 2 3 4 5 6

  /src/sys/external/bsd/common/include/asm/
barrier.h 55 #define mb() dsb(sy) macro
60 #define mb() dsb() macro
61 #define wmb() mb()
62 #define rmb() mb()
65 #define mb() x86_mfence() macro
69 #define mb() __asm __volatile ("eieio" ::: "memory") macro
70 #define wmb() mb()
71 #define rmb() mb()
74 #define mb() __asm __volatile ("membar #MemIssue" ::: "memory") macro
76 #define mb() membar_sync() /* ldstub * macro
82 #define mb macro
87 #define mb macro
    [all...]
  /src/sys/arch/arm/mainbus/
mainbus.c 102 struct mainbus_attach_args *mb = aux; local in function:mainbusprint
104 if (mb->mb_iobase != MAINBUSCF_BASE_DEFAULT)
105 aprint_normal(" base 0x%x", mb->mb_iobase);
106 if (mb->mb_iosize > 1)
107 aprint_normal("-0x%x", mb->mb_iobase + mb->mb_iosize - 1);
108 if (mb->mb_irq != -1)
109 aprint_normal(" irq %d", mb->mb_irq);
110 if (mb->mb_drq != -1)
111 aprint_normal(" drq 0x%08x", mb->mb_drq)
128 struct mainbus_attach_args mb; local in function:mainbussearch
    [all...]
cpu_mainbus.c 79 struct mainbus_attach_args * const mb = aux; local in function:cpu_mainbus_match
80 int id = mb->mb_core;
95 mb->mb_core = 0;
103 mb->mb_core = id;
120 struct mainbus_attach_args * const mb = aux; local in function:cpu_mainbus_attach
122 cpu_attach(self, mb->mb_core);
  /src/sys/dev/
midivar.h 73 * MIDI_BUF_CONSUMER_INIT(mb,frk)
74 * MIDI_BUF_PRODUCER_INIT(mb,frk)
95 * MIDI_BUF_CONSUMER_REFRESH(mb,frk)
96 * MIDI_BUF_PRODUCER_REFRESH(mb,frk)
102 * MIDI_BUF_CONSUMER_WBACK(mb,frk)
103 * MIDI_BUF_PRODUCER_WBACK(mb,frk)
124 #define MIDI_BUF_CONSUMER_REFRESH(mb,frk) \
125 ((__CONCAT(frk,_lim)=(mb)->__CONCAT(frk,_producerp)), \
127 (__CONCAT(frk,_lim) += sizeof (mb)->frk) : __CONCAT(frk,_lim))
129 #define MIDI_BUF_PRODUCER_REFRESH(mb,frk)
    [all...]
midi.c 344 midi_initbuf(struct midi_buffer *mb)
346 mb->idx_producerp = mb->idx_consumerp = mb->idx;
347 mb->buf_producerp = mb->buf_consumerp = mb->buf;
690 struct midi_buffer *mb; local in function:midi_in
697 mb = &sc->inbuf;
758 MIDI_BUF_PRODUCER_INIT(mb,idx)
906 struct midi_buffer *mb; local in function:midiread
1184 struct midi_buffer *mb = &sc->outbuf; local in function:midi_poll_out
1258 struct midi_buffer *mb; local in function:midi_intr_out
1333 struct midi_buffer *mb; local in function:real_writebytes
1446 struct midi_buffer *mb; local in function:midiwrite
    [all...]
  /src/usr.bin/systat/
mbufs.c 52 static struct mbstat *mb; variable in typeref:struct:mbstat *
89 if (mb == 0)
94 if (mb->m_mtypes[i] > max) {
95 max = mb->m_mtypes[i];
115 mb->m_mtypes[idx] = 0;
124 if (mb == 0)
125 mb = calloc(1, sizeof (*mb));
132 size_t len = sizeof(*mb);
133 if (sysctlbyname("kern.mbuf.stats", mb, &len, NULL, 0)
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/
drm_cache.c 70 mb(); /*Full memory barrier used before so that CLFLUSH is ordered*/
73 mb(); /*Also used after CLFLUSH so that all cache is flushed*/
134 mb(); /*CLFLUSH is ordered only by using memory barriers*/
137 mb(); /*Make sure that all cache line entry is flushed*/
172 mb(); /*CLFLUSH is only ordered with a full memory barrier*/
176 mb(); /*Ensure that evry data cache line entry is flushed*/
  /src/sys/dev/acpi/
acpi_mcfg.c 54 #define PCIDEV_SET_VALID(mb, d, f) ((mb)->valid_devs[(d)] |= __BIT((f)))
55 #define PCIDEV_SET_INVALID(mb, d, f) ((mb)->valid_devs[(d)] &= ~__BIT((f)))
56 #define PCIDEV_IS_VALID(mb, d, f) ((mb)->valid_devs[(d)] & __BIT((f)))
58 #define EXTCONF_SET_VALID(mb, d, f) ((mb)->valid_extconf[(d)] |= __BIT((f)))
59 #define EXTCONF_SET_INVALID(mb, d, f) ((mb)->valid_extconf[(d)] &= ~__BIT((f))
464 struct mcfg_bus *mb; local in function:acpimcfg_device_probe
545 struct mcfg_bus *mb; local in function:acpimcfg_map_bus
778 struct mcfg_bus *mb; local in function:acpimcfg_configure_bus
892 struct mcfg_bus *mb; local in function:acpimcfg_conf_read
929 struct mcfg_bus *mb; local in function:acpimcfg_conf_write
958 struct mcfg_bus *mb; local in function:acpimcfg_conf_valid
    [all...]
  /src/lib/csu/arch/hppa/
crtn.S 41 ldw,mb -HPPA_FRAME_SIZE(%sp), %r3 ! \
  /src/common/lib/libc/arch/alpha/atomic/
membar_ops.S 61 mb /* load/store-before-load/store */
69 mb /* load/store-before-load/store */
75 mb /* load/store-before-load/store */
  /src/sys/arch/arm/cortex/
armperiph.c 142 struct mainbus_attach_args * const mb = aux; local in function:armperiph_match
152 if (base != MAINBUSCF_BASE_DEFAULT || base != mb->mb_iobase
153 || size != MAINBUSCF_SIZE_DEFAULT || size != mb->mb_iosize
154 || dack != MAINBUSCF_DACK_DEFAULT || dack != mb->mb_drq
155 || irq != MAINBUSCF_IRQ_DEFAULT || irq != mb->mb_irq
157 || intrbase != mb->mb_intrbase)
176 struct mainbus_attach_args * const mb = aux; local in function:armperiph_attach
190 sc->sc_memt = mb->mb_iot;
  /src/sys/ddb/
db_xxx.c 258 struct kern_msgbuf mb, *mbp; local in function:db_dmesg
268 db_read_bytes((db_addr_t)mbp, sizeof(mb), (char *)&mb);
269 if (mb.msg_magic != MSG_MAGIC) {
276 if (haddr && addr < mb.msg_bufs)
279 print = mb.msg_bufs;
281 for (newl = skip = i = 0, p = bufdata + mb.msg_bufx;
282 i < mb.msg_bufs; i++, p++) {
283 if (p == bufdata + mb.msg_bufs)
285 if (i < mb.msg_bufs - print)
    [all...]
  /src/sys/arch/arm/imx/
imx23_ahb.c 64 struct mainbus_attach_args *mb = aux; local in function:ahb_match
66 if ((mb->mb_iobase == AHB_BASE) && (mb->mb_iosize == AHB_SIZE))
imx23_apbh.c 70 struct mainbus_attach_args *mb = aux; local in function:apbh_match
72 if ((mb->mb_iobase == APBH_BASE) && (mb->mb_iosize == APBH_SIZE))
imx23_apbx.c 70 struct mainbus_attach_args *mb = aux; local in function:apbx_match
72 if ((mb->mb_iobase == APBX_BASE) && (mb->mb_iosize == APBX_SIZE))
  /src/sys/arch/arm/iomd/
vidc20.c 127 struct mainbus_attach_args *mb = aux; local in function:vidcattach
130 sc->sc_iot = mb->mb_iot;
  /src/bin/pax/
ar_io.c 133 struct mtget mb; local in function:ar_open
229 artyp = ioctl(arfd, MTIOCGET, &mb) ? ISCHR : ISTAPE;
950 struct mtop mb; local in function:ar_rdsync
987 mb.mt_op = MTFSR;
988 mb.mt_count = 1;
991 if (rmtioctl(arfd, MTIOCTOP, &mb) < 0)
995 if (ioctl(arfd, MTIOCTOP, &mb) < 0)
1119 struct mtop mb; local in function:ar_rev
1227 mb.mt_op = MTBSR;
1228 mb.mt_count = sksz/phyblk
1268 struct mtop mb; local in function:get_phys
    [all...]
  /src/sys/nfs/
nfsm_subs.h 78 { if ((s) > M_TRAILINGSPACE(mb)) { \
84 mb->m_next = mb2; \
85 mb = mb2; \
86 mb->m_len = 0; \
87 bpos = mtod(mb, char *); \
90 mb->m_len += (s); \
111 if (t2 <= M_TRAILINGSPACE(mb)) { \
116 } else if ((t2 = nfsm_strtmbuf(&mb, &bpos, \
392 if ((t1 = nfsm_uiotombuf((p),&mb,(s),&bpos)) != 0) { \
399 mb = mreq = nfsm_reqh((n),(a),(s),&bpos
    [all...]
  /src/usr.sbin/wsmoused/
wsmoused.c 411 struct mode_bootstrap *mb; local in function:attach_mode
424 mb = Avail_Modes[i];
425 if (mb != NULL && strcmp(name, mb->mb_name) == 0) {
428 res = mb->mb_startup(&Mouse);
431 mb->mb_name);
434 Modes[pos] = mb;
473 struct mode_bootstrap *mb; local in function:detach_mode
476 mb = Modes[i];
477 if (mb != NULL && strcmp(name, mb->mb_name) == 0)
    [all...]
  /src/lib/libc/locale/
mbrtoc32.c 108 char mb[MB_LEN_MAX]; local in function:mbrtoc32_l
194 if ((mb_len = wcrtomb_l(mb, wc, &wcrtombstate, loc)) == (size_t)-1) {
202 src = mb;
  /src/sys/arch/acorn32/mainbus/
pioc.c 145 struct mainbus_attach_args *mb = aux; local in function:piocmatch
152 if (mb->mb_iobase == MAINBUSCF_BASE_DEFAULT)
155 iot = mb->mb_iot;
156 if (bus_space_map(iot, mb->mb_iobase, PIOC_SIZE, 0, &ioh))
159 mb->mb_iosize = PIOC_SIZE;
288 struct mainbus_attach_args *mb = aux; local in function:piocattach
296 sc->sc_iobase = mb->mb_iobase;
297 iot = sc->sc_iot = mb->mb_iot;
  /src/sys/dev/sun/
ms.c 235 int mb, ub, d, get, put, any; local in function:ms_input
310 mb = ((ms->ms_mb & 4) >> 2) |
314 mb,
349 mb = ms->ms_mb;
351 while ((d = mb ^ ub) != 0) {
359 fe->value = mb & d ? VKEY_DOWN : VKEY_UP;
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/
tsan_sync_test.cc 24 MBlock *mb = m->GetBlock((uptr)&block[0]); local in function:__tsan::TEST
25 EXPECT_NE(mb, (MBlock*)0);
26 EXPECT_EQ(mb->siz, 1 * sizeof(u64));
27 EXPECT_EQ(mb->tid, thr->tid);
30 mb = m->GetBlock((uptr)&block[0]);
31 EXPECT_EQ(mb, (MBlock*)0);
  /src/sys/dev/pci/
ld_amr.c 125 struct amr_mailbox_cmd *mb; local in function:ld_amr_dobio
133 mb = &ac->ac_cmd;
134 mb->mb_command = (dowrite ? AMR_CMD_LWRITE : AMR_CMD_LREAD);
135 mb->mb_drive = sc->sc_hwunit;
136 mb->mb_blkcount = htole16(datasize / AMR_SECTOR_SIZE);
137 mb->mb_lba = htole32(blkno);
  /src/sys/dev/bluetooth/
btmagic.c 1203 uint32_t mb; local in function:btmagic_input_basic
1215 mb = 0;
1217 mb |= __BIT(0);
1219 mb |= __BIT(2);
1221 if (dx != 0 || dy != 0 || mb != sc->sc_mb) {
1222 sc->sc_mb = mb;
1225 wsmouse_input(sc->sc_wsmouse, mb,
1315 uint32_t mb; local in function:btmagic_input_magicm
1331 mb = 0;
1333 mb |= __BIT(0)
1511 uint32_t mb; local in function:btmagic_input_magict
    [all...]

Completed in 24 milliseconds

1 2 3 4 5 6