Searched refs:xact (Results 1 - 8 of 8) sorted by relevance

/freebsd-11-stable/sys/dev/hyperv/include/
H A Dvmbus_xact.h46 void vmbus_xact_put(struct vmbus_xact *xact);
48 void *vmbus_xact_req_data(const struct vmbus_xact *xact);
49 bus_addr_t vmbus_xact_req_paddr(const struct vmbus_xact *xact);
50 void *vmbus_xact_priv(const struct vmbus_xact *xact,
52 void vmbus_xact_activate(struct vmbus_xact *xact);
53 void vmbus_xact_deactivate(struct vmbus_xact *xact);
54 const void *vmbus_xact_wait(struct vmbus_xact *xact,
56 const void *vmbus_xact_busywait(struct vmbus_xact *xact,
58 const void *vmbus_xact_poll(struct vmbus_xact *xact,
60 void vmbus_xact_wakeup(struct vmbus_xact *xact,
[all...]
H A Dvmbus.h181 struct vmbus_xact *xact, size_t *resp_len, bool can_sleep);
/freebsd-11-stable/sys/dev/hyperv/vmbus/
H A Dvmbus_xact.c85 struct vmbus_xact *xact; local
87 xact = malloc(sizeof(*xact), M_DEVBUF, M_WAITOK | M_ZERO);
88 xact->x_ctx = ctx;
91 xact->x_req = hyperv_dmamem_alloc(parent_dtag, PAGE_SIZE, 0,
92 ctx->xc_req_size, &xact->x_req_dma, BUS_DMA_WAITOK);
93 if (xact->x_req == NULL) {
94 free(xact, M_DEVBUF);
98 xact->x_priv = malloc(ctx->xc_priv_size, M_DEVBUF, M_WAITOK);
99 xact
105 vmbus_xact_free(struct vmbus_xact *xact) argument
118 struct vmbus_xact *xact; local
207 struct vmbus_xact *xact; local
221 vmbus_xact_put(struct vmbus_xact *xact) argument
236 vmbus_xact_req_data(const struct vmbus_xact *xact) argument
243 vmbus_xact_req_paddr(const struct vmbus_xact *xact) argument
250 vmbus_xact_priv(const struct vmbus_xact *xact, size_t priv_len) argument
259 vmbus_xact_activate(struct vmbus_xact *xact) argument
272 vmbus_xact_deactivate(struct vmbus_xact *xact) argument
283 vmbus_xact_return(struct vmbus_xact *xact, size_t *resp_len) argument
312 vmbus_xact_wait1(struct vmbus_xact *xact, size_t *resp_len, bool can_sleep) argument
340 vmbus_xact_wait(struct vmbus_xact *xact, size_t *resp_len) argument
347 vmbus_xact_busywait(struct vmbus_xact *xact, size_t *resp_len) argument
354 vmbus_xact_poll(struct vmbus_xact *xact, size_t *resp_len) argument
376 vmbus_xact_save_resp(struct vmbus_xact *xact, const void *data, size_t dlen) argument
396 vmbus_xact_wakeup(struct vmbus_xact *xact, const void *data, size_t dlen) argument
[all...]
H A Dvmbus.c236 struct vmbus_xact *xact; local
241 xact = vmbus_xact_get(sc->vmbus_xc,
243 if (xact == NULL)
246 mh = vmbus_xact_priv(xact, sizeof(*mh));
247 mh->mh_xact = xact;
H A Dvmbus_chan.c1526 ("still has orphan xact installed"));
1815 * Set the REVOKED state flag before orphaning the installed xact.
2128 vmbus_chan_set_orphan(struct vmbus_channel *chan, struct vmbus_xact_ctx *xact) argument
2132 chan->ch_orphan_xact = xact;
2147 struct vmbus_xact *xact, size_t *resp_len, bool can_sleep)
2152 ret = vmbus_xact_wait(xact, resp_len);
2154 ret = vmbus_xact_busywait(xact, resp_len);
2157 * This xact probably is interrupted, and the
2160 * left on the RX bufring, i.e. this xact will
2146 vmbus_chan_xact_wait(const struct vmbus_channel *chan, struct vmbus_xact *xact, size_t *resp_len, bool can_sleep) argument
/freebsd-11-stable/sys/dev/hyperv/netvsc/
H A Dhn_nvs.c90 hn_nvs_xact_execute(struct hn_softc *sc, struct vmbus_xact *xact, argument
102 * Execute the xact setup by the caller.
104 hn_nvs_sendctx_init(&sndc, hn_nvs_sent_xact, xact);
106 vmbus_xact_activate(xact);
110 vmbus_xact_deactivate(xact);
113 hdr = vmbus_chan_xact_wait(sc->hn_prichan, xact, &resplen,
144 struct vmbus_xact *xact = NULL; local
178 xact = vmbus_xact_get(sc->hn_xact, sizeof(*conn));
179 if (xact == NULL) {
180 if_printf(sc->hn_ifp, "no xact fo
221 struct vmbus_xact *xact = NULL; local
453 struct vmbus_xact *xact; local
679 struct vmbus_xact *xact; local
[all...]
H A Dhn_rndis.c210 hn_rndis_xact_exec1(struct hn_softc *sc, struct vmbus_xact *xact, size_t reqlen, argument
223 paddr = vmbus_xact_req_paddr(xact);
225 ("vmbus xact request is not page aligned 0x%jx", (uintmax_t)paddr));
246 vmbus_xact_activate(xact);
249 vmbus_xact_deactivate(xact);
253 return (vmbus_chan_xact_wait(sc->hn_prichan, xact, comp_len,
258 hn_rndis_xact_execute(struct hn_softc *sc, struct vmbus_xact *xact, uint32_t rid, argument
269 * Execute the xact setup by the caller.
271 comp = hn_rndis_xact_exec1(sc, xact, reqlen, &hn_nvs_sendctx_none,
325 struct vmbus_xact *xact; local
537 struct vmbus_xact *xact; local
833 struct vmbus_xact *xact; local
899 struct vmbus_xact *xact; local
[all...]
/freebsd-11-stable/sys/dev/hyperv/input/
H A Dhv_kbdc.c247 struct vmbus_xact_ctx *xact = sc->hs_xact_ctx; local
248 if (xact != NULL) {
250 vmbus_xact_ctx_wakeup(xact, VMBUS_CHANPKT_CONST_DATA(pkt),
347 struct vmbus_xact *xact; local
351 xact = vmbus_xact_get(sc->hs_xact_ctx, sizeof(*req));
352 if (xact == NULL) {
353 device_printf(sc->dev, "no xact for kbd init");
356 req = vmbus_xact_req_data(xact);
360 vmbus_xact_activate(xact);
365 (uint64_t)(uintptr_t)xact);
[all...]

Completed in 183 milliseconds