Lines Matching full:transaction
25 * struct gsi_trans - a GSI transaction
27 * Most fields in this structure for internal use by the transaction core code:
28 * @links: Links for channel transaction lists by state
30 * @channel_id: Channel number transaction is associated with
31 * @cancelled: If set by the core code, transaction was cancelled
32 * @tre_count: Number of TREs reserved for this transaction
35 * @data: Preserved but not touched by the core transaction code
40 * @completion: Completed when the transaction completes
41 * @byte_count: TX channel byte count recorded when transaction committed
42 * @trans_count: Channel transaction count when committed (for BQL accounting)
53 bool cancelled; /* true if transaction was cancelled */
131 * gsi_channel_trans_alloc() - Allocate a GSI transaction on a channel
133 * @channel_id: Channel the transaction is associated with
134 * @tre_count: Number of elements in the transaction
137 * Return: A GSI transaction structure, or a null pointer if all
145 * gsi_trans_free() - Free a previously-allocated GSI transaction
146 * @trans: Transaction to be freed
151 * gsi_trans_cmd_add() - Add an immediate command to a transaction
152 * @trans: Transaction
164 * gsi_trans_page_add() - Add a page transfer to a transaction
165 * @trans: Transaction
174 * gsi_trans_skb_add() - Add a socket transfer to a transaction
175 * @trans: Transaction
178 * Return: 0, or -EMSGSIZE if socket data won't fit in transaction.
183 * gsi_trans_commit() - Commit a GSI transaction
184 * @trans: Transaction to commit
190 * gsi_trans_commit_wait() - Commit a GSI transaction and wait for it
192 * @trans: Transaction to commit
197 * gsi_trans_commit_wait_timeout() - Commit a GSI transaction and wait for
199 * @trans: Transaction to commit
211 * This is not a transaction operation at all. It's defined here because
212 * it needs to be done in coordination with other transaction activity.