Home
last modified time | relevance | path

Searched refs:windex (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/dev/hyperv/vmbus/
H A Dvmbus_br.c52 uint32_t rindex, windex, imask, psndsz, fvalue, ravail, wavail; in vmbus_br_sysctl_state() local
58 windex = br->vbr_windex; in vmbus_br_sysctl_state()
62 wavail = VMBUS_BR_WAVAIL(rindex, windex, br->vbr_dsize); in vmbus_br_sysctl_state()
68 (uintmax_t)intrcnt, rindex, windex, imask, psndsz, fvalue, in vmbus_br_sysctl_state()
89 uint32_t rindex, windex, wavail, state[BR_STATE_MAX]; in vmbus_br_sysctl_state_bin() local
92 windex = br->vbr_windex; in vmbus_br_sysctl_state_bin()
93 wavail = VMBUS_BR_WAVAIL(rindex, windex, br->vbr_dsize); in vmbus_br_sysctl_state_bin()
96 state[BR_STATE_WIDX] = windex; in vmbus_br_sysctl_state_bin()
139 uint32_t rindex, windex; in vmbus_rxbr_avail() local
143 windex = atomic_load_acq_32(&rbr->rxbr_windex); in vmbus_rxbr_avail()
[all …]
/freebsd/usr.sbin/bhyve/amd64/
H A Dps2mouse.c92 int windex; /* index to write to */ member
139 fifo->buf[fifo->windex] = val; in fifo_put()
140 fifo->windex = (fifo->windex + 1) % fifo->size; in fifo_put()
272 sc->fifo.windex = 0; in ps2mouse_toggle()
H A Dps2kbd.c76 int windex; /* index to write to */ member
238 fifo->buf[fifo->windex] = val; in fifo_put()
239 fifo->windex = (fifo->windex + 1) % fifo->size; in fifo_put()
/freebsd/usr.sbin/bhyve/
H A Duart_backend.c67 int windex; /* index to write to */ member
178 fifo->buf[fifo->windex] = ch; in rxfifo_putchar()
179 fifo->windex = (fifo->windex + 1) % fifo->size; in rxfifo_putchar()
279 SNAPSHOT_VAR_OR_LEAVE(sc->rxfifo.windex, meta, ret, done); in uart_rxfifo_snapshot()
/freebsd/sys/dev/cyapa/
H A Dcyapa.c150 int windex; member
1675 return (fifo->rindex == fifo->windex); in fifo_empty()
1690 if (n > (size_t)(fifo->windex - fifo->rindex)) in fifo_ready()
1691 n = (size_t)(fifo->windex - fifo->rindex); in fifo_ready()
1725 if (fifo->rindex == fifo->windex) { in fifo_read_char()
1746 if (fifo->windex - fifo->rindex < CYAPA_BUFSIZE) { in fifo_write_char()
1747 fifo->buf[fifo->windex & CYAPA_BUFMASK] = c; in fifo_write_char()
1748 ++fifo->windex; in fifo_write_char()
1763 n = CYAPA_BUFSIZE - (fifo->windex & CYAPA_BUFMASK); in fifo_space()
1764 if (n > (size_t)(CYAPA_BUFSIZE - (fifo->windex - fifo->rindex))) in fifo_space()
[all …]
/freebsd/lib/geom/part/
H A Dgeom_part.c782 int error, i, windex, wblocks, wtype; in gpart_backup() local
820 windex = strlen(s); in gpart_backup()
832 windex, find_provcfg(pp, "index"), in gpart_backup()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrFormats.td3816 class ROAddrMode<ComplexPattern windex, ComplexPattern xindex,
3819 ComplexPattern Wpat = windex;