Lines Matching full:transaction

24 /* Maximum number of TREs in an IPA immediate command transaction */
28 * struct gsi_trans - a GSI transaction
30 * Most fields in this structure for internal use by the transaction core code:
32 * @channel_id: Channel number transaction is associated with
33 * @cancelled: If set by the core code, transaction was cancelled
34 * @rsvd_count: Number of TREs reserved for this transaction
36 * @len: Number of bytes sent or received by the transaction
37 * @data: Preserved but not touched by the core transaction code
42 * @completion: Completed when the transaction completes
43 * @byte_count: TX channel byte count recorded when transaction committed
44 * @trans_count: Channel transaction count when committed (for BQL accounting)
46 * The @len field is set when the transaction is committed. For RX
54 bool cancelled; /* true if transaction was cancelled */
76 * @pool: GSI transaction pool pointer
137 * @channel_id: Channel the transaction is associated with
145 * gsi_channel_trans_alloc() - Allocate a GSI transaction on a channel
147 * @channel_id: Channel the transaction is associated with
148 * @tre_count: Number of elements in the transaction
151 * Return: A GSI transaction structure, or a null pointer if all
159 * gsi_trans_free() - Free a previously-allocated GSI transaction
160 * @trans: Transaction to be freed
165 * gsi_trans_cmd_add() - Add an immediate command to a transaction
166 * @trans: Transaction
176 * gsi_trans_page_add() - Add a page transfer to a transaction
177 * @trans: Transaction
186 * gsi_trans_skb_add() - Add a socket transfer to a transaction
187 * @trans: Transaction
190 * Return: 0, or -EMSGSIZE if socket data won't fit in transaction.
195 * gsi_trans_commit() - Commit a GSI transaction
196 * @trans: Transaction to commit
202 * gsi_trans_commit_wait() - Commit a GSI transaction and wait for it
204 * @trans: Transaction to commit
214 * This is not a transaction operation at all. It's defined here because
215 * it needs to be done in coordination with other transaction activity.