Lines Matching refs:xact
93 hn_nvs_xact_execute(struct hn_softc *sc, struct vmbus_xact *xact, in hn_nvs_xact_execute() argument
107 hn_nvs_sendctx_init(&sndc, hn_nvs_sent_xact, xact); in hn_nvs_xact_execute()
109 vmbus_xact_activate(xact); in hn_nvs_xact_execute()
113 vmbus_xact_deactivate(xact); in hn_nvs_xact_execute()
116 hdr = vmbus_chan_xact_wait(sc->hn_prichan, xact, &resplen, in hn_nvs_xact_execute()
147 struct vmbus_xact *xact = NULL; in hn_nvs_conn_rxbuf() local
182 xact = vmbus_xact_get(sc->hn_xact, sizeof(*conn)); in hn_nvs_conn_rxbuf()
183 if (xact == NULL) { in hn_nvs_conn_rxbuf()
188 conn = vmbus_xact_req_data(xact); in hn_nvs_conn_rxbuf()
194 resp = hn_nvs_xact_execute(sc, xact, conn, sizeof(*conn), &resp_len, 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()
225 struct vmbus_xact *xact = NULL; in hn_nvs_conn_chim() local
251 xact = vmbus_xact_get(sc->hn_xact, sizeof(*chim)); in hn_nvs_conn_chim()
252 if (xact == NULL) { in hn_nvs_conn_chim()
257 chim = vmbus_xact_req_data(xact); in hn_nvs_conn_chim()
263 resp = hn_nvs_xact_execute(sc, xact, chim, sizeof(*chim), &resp_len, 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()
323 vmbus_xact_put(xact); in hn_nvs_conn_chim()
458 struct vmbus_xact *xact; in hn_nvs_doinit() local
464 xact = vmbus_xact_get(sc->hn_xact, sizeof(*init)); in hn_nvs_doinit()
465 if (xact == NULL) { in hn_nvs_doinit()
469 init = vmbus_xact_req_data(xact); in hn_nvs_doinit()
475 resp = hn_nvs_xact_execute(sc, xact, init, sizeof(*init), &resp_len, in hn_nvs_doinit()
479 vmbus_xact_put(xact); in hn_nvs_doinit()
484 vmbus_xact_put(xact); in hn_nvs_doinit()
687 struct vmbus_xact *xact; in hn_nvs_alloc_subchans() local
697 xact = vmbus_xact_get(sc->hn_xact, sizeof(*req)); in hn_nvs_alloc_subchans()
698 if (xact == NULL) { in hn_nvs_alloc_subchans()
702 req = vmbus_xact_req_data(xact); in hn_nvs_alloc_subchans()
708 resp = hn_nvs_xact_execute(sc, xact, req, sizeof(*req), &resp_len, in hn_nvs_alloc_subchans()
731 vmbus_xact_put(xact); in hn_nvs_alloc_subchans()