Searched refs:msgsize (Results 1 – 2 of 2) sorted by relevance
| /openbsd-src/sys/dev/pv/ |
| H A D | if_hvn.c | 743 size_t msgsize; in hvn_tx_ring_create() local 747 msgsize = roundup(HVN_RNDIS_PKT_LEN, 128); in hvn_tx_ring_create() 750 if (bus_dmamem_alloc(sc->sc_dmat, msgsize * HVN_TX_DESC, PAGE_SIZE, 0, in hvn_tx_ring_create() 756 if (bus_dmamem_map(sc->sc_dmat, &sc->sc_tx_mseg, 1, msgsize * in hvn_tx_ring_create() 762 if (bus_dmamap_create(sc->sc_dmat, msgsize * HVN_TX_DESC, 1, in hvn_tx_ring_create() 763 msgsize * HVN_TX_DESC, 0, BUS_DMA_WAITOK, &sc->sc_tx_rmap)) { in hvn_tx_ring_create() 769 msgsize * HVN_TX_DESC, NULL, BUS_DMA_WAITOK)) { in hvn_tx_ring_create() 785 pa = seg->ds_addr + (msgsize * i); in hvn_tx_ring_create() 788 txd->txd_gpa.gpa_len = msgsize; in hvn_tx_ring_create() 790 (msgsize * i)); in hvn_tx_ring_create() [all …]
|
| /openbsd-src/usr.bin/rdist/ |
| H A D | common.c | 252 sendcmdmsg(int cmd, char *msg, size_t msgsize) in sendcmdmsg() argument 263 (void) strlcat(msg + 1, "\n", msgsize - 1); in sendcmdmsg()
|