Lines Matching refs:xfer_trans
71 struct xfer_transaction *xfer_trans; in exec_more() local
91 xfer_trans = kzalloc(sizeof(*xfer_trans), GFP_ATOMIC); in exec_more()
92 if (!xfer_trans) { in exec_more()
107 xfer_trans->xfer_state = xfer_state; in exec_more()
108 xfer_trans->transaction.addr = pos_addr; in exec_more()
109 xfer_trans->transaction.complete1 = trans_complete; in exec_more()
110 xfer_trans->transaction.conn = xfer_state->xfer->conn; in exec_more()
111 xfer_trans->transaction.data = pos_data; in exec_more()
112 xfer_trans->transaction.direction = xfer_state->xfer->direction; in exec_more()
113 xfer_trans->transaction.size = cur_size; in exec_more()
118 xfer_trans->transaction.size, in exec_more()
119 xfer_trans->transaction.data, in exec_more()
124 ret = mlx5_fpga_trans_exec(&xfer_trans->transaction); in exec_more()
138 kfree(xfer_trans); in exec_more()
152 struct xfer_transaction *xfer_trans; in trans_complete() local
158 xfer_trans = container_of(complete, struct xfer_transaction, in trans_complete()
160 xfer_state = xfer_trans->xfer_state; in trans_complete()
162 xfer_trans->transaction.size, in trans_complete()
163 xfer_trans->transaction.data, status, in trans_complete()
166 kfree(xfer_trans); in trans_complete()