Home
last modified time | relevance | path

Searched refs:xact (Results 1 – 10 of 10) sorted by relevance

/freebsd-14.2/sys/dev/hyperv/vmbus/
H A Dvmbus_xact.c87 xact = malloc(sizeof(*xact), M_DEVBUF, M_WAITOK | M_ZERO); in vmbus_xact_alloc()
88 xact->x_ctx = ctx; in vmbus_xact_alloc()
101 return (xact); in vmbus_xact_alloc()
108 contigfree(xact->x_req, xact->x_ctx->xc_req_size, M_DEVBUF); in vmbus_xact_free()
112 free(xact, M_DEVBUF); in vmbus_xact_free()
126 xact = NULL; in vmbus_xact_get1()
136 return (xact); in vmbus_xact_get1()
213 if (xact == NULL) in vmbus_xact_get()
217 return (xact); in vmbus_xact_get()
226 xact->x_resp = NULL; in vmbus_xact_put()
[all …]
H A Dvmbus.c263 struct vmbus_xact *xact; in vmbus_msghc_get() local
268 xact = vmbus_xact_get(sc->vmbus_xc, in vmbus_msghc_get()
270 if (xact == NULL) in vmbus_msghc_get()
273 mh = vmbus_xact_priv(xact, sizeof(*mh)); in vmbus_msghc_get()
274 mh->mh_xact = xact; in vmbus_msghc_get()
H A Dvmbus_chan.c2321 vmbus_chan_set_orphan(struct vmbus_channel *chan, struct vmbus_xact_ctx *xact) in vmbus_chan_set_orphan() argument
2325 chan->ch_orphan_xact = xact; in vmbus_chan_set_orphan()
2340 struct vmbus_xact *xact, size_t *resp_len, bool can_sleep) in vmbus_chan_xact_wait() argument
2345 ret = vmbus_xact_wait(xact, resp_len); in vmbus_chan_xact_wait()
2347 ret = vmbus_xact_busywait(xact, resp_len); in vmbus_chan_xact_wait()
/freebsd-14.2/sys/dev/hyperv/include/
H A Dvmbus_xact.h44 void vmbus_xact_put(struct vmbus_xact *xact);
46 void *vmbus_xact_req_data(const struct vmbus_xact *xact);
47 bus_addr_t vmbus_xact_req_paddr(const struct vmbus_xact *xact);
48 void *vmbus_xact_priv(const struct vmbus_xact *xact,
50 void vmbus_xact_activate(struct vmbus_xact *xact);
51 void vmbus_xact_deactivate(struct vmbus_xact *xact);
52 const void *vmbus_xact_wait(struct vmbus_xact *xact,
54 const void *vmbus_xact_busywait(struct vmbus_xact *xact,
56 const void *vmbus_xact_poll(struct vmbus_xact *xact,
58 void vmbus_xact_wakeup(struct vmbus_xact *xact,
H A Dvmbus.h185 struct vmbus_xact *xact, size_t *resp_len, bool can_sleep);
/freebsd-14.2/sys/dev/hyperv/netvsc/
H A Dhn_nvs.c183 if (xact == NULL) { in hn_nvs_conn_rxbuf()
203 vmbus_xact_put(xact); in hn_nvs_conn_rxbuf()
204 xact = NULL; in hn_nvs_conn_rxbuf()
216 if (xact != NULL) in hn_nvs_conn_rxbuf()
217 vmbus_xact_put(xact); in hn_nvs_conn_rxbuf()
252 if (xact == NULL) { in hn_nvs_conn_chim()
273 vmbus_xact_put(xact); in hn_nvs_conn_chim()
274 xact = NULL; in hn_nvs_conn_chim()
322 if (xact != NULL) in hn_nvs_conn_chim()
465 if (xact == NULL) { in hn_nvs_doinit()
[all …]
H A Dhn_rndis.c322 struct vmbus_xact *xact; in hn_rndis_query2() local
329 if (xact == NULL) { in hn_rndis_query2()
402 vmbus_xact_put(xact); in hn_rndis_query2()
534 struct vmbus_xact *xact; in hn_rndis_set() local
543 if (xact == NULL) { in hn_rndis_set()
575 vmbus_xact_put(xact); in hn_rndis_set()
852 struct vmbus_xact *xact; in hn_rndis_init() local
858 if (xact == NULL) { in hn_rndis_init()
911 vmbus_xact_put(xact); in hn_rndis_init()
924 if (xact == NULL) { in hn_rndis_halt()
[all …]
/freebsd-14.2/sys/dev/hyperv/input/
H A Dhv_hid.c195 struct vmbus_xact *xact; in hv_hid_connect_vsp() local
202 if (xact == NULL) { in hv_hid_connect_vsp()
206 req = vmbus_xact_req_data(xact); in hv_hid_connect_vsp()
213 vmbus_xact_activate(xact); in hv_hid_connect_vsp()
220 vmbus_xact_deactivate(xact); in hv_hid_connect_vsp()
229 vmbus_xact_put(xact); in hv_hid_connect_vsp()
265 struct vmbus_xact *xact; in hv_hid_receive() local
279 if (xact == NULL) in hv_hid_receive()
281 vmbus_xact_activate(xact); in hv_hid_receive()
284 vmbus_xact_deactivate(xact); in hv_hid_receive()
[all …]
H A Dhv_kbdc.c245 struct vmbus_xact_ctx *xact = sc->hs_xact_ctx; in hv_kbd_on_response() local
246 if (xact != NULL) { in hv_kbd_on_response()
248 vmbus_xact_ctx_wakeup(xact, VMBUS_CHANPKT_CONST_DATA(pkt), in hv_kbd_on_response()
345 struct vmbus_xact *xact; in hv_kbd_connect_vsp() local
349 xact = vmbus_xact_get(sc->hs_xact_ctx, sizeof(*req)); in hv_kbd_connect_vsp()
350 if (xact == NULL) { in hv_kbd_connect_vsp()
354 req = vmbus_xact_req_data(xact); in hv_kbd_connect_vsp()
358 vmbus_xact_activate(xact); in hv_kbd_connect_vsp()
363 (uint64_t)(uintptr_t)xact); in hv_kbd_connect_vsp()
366 vmbus_xact_deactivate(xact); in hv_kbd_connect_vsp()
[all …]
/freebsd-14.2/usr.sbin/services_mkdb/
H A Dservices1447 xact-backup 911/tcp
1448 xact-backup 911/udp