Home
last modified time | relevance | path

Searched refs:transaction (Results 1 - 25 of 156) sorted by relevance

1234567

/kernel/linux/linux-5.10/fs/jbd2/
H A Dcheckpoint.c26 * Unlink a buffer from a transaction checkpoint list.
32 transaction_t *transaction = jh->b_cp_transaction; in __buffer_unlink_first() local
36 if (transaction->t_checkpoint_list == jh) { in __buffer_unlink_first()
37 transaction->t_checkpoint_list = jh->b_cpnext; in __buffer_unlink_first()
38 if (transaction->t_checkpoint_list == jh) in __buffer_unlink_first()
39 transaction->t_checkpoint_list = NULL; in __buffer_unlink_first()
44 * Unlink a buffer from a transaction checkpoint(io) list.
50 transaction_t *transaction = jh->b_cp_transaction; in __buffer_unlink() local
53 if (transaction->t_checkpoint_io_list == jh) { in __buffer_unlink()
54 transaction in __buffer_unlink()
67 transaction_t *transaction = jh->b_cp_transaction; __buffer_relink_io() local
202 transaction_t *transaction; jbd2_log_do_checkpoint() local
508 transaction_t *transaction, *last_transaction, *next_transaction; jbd2_journal_shrink_checkpoint_list() local
592 transaction_t *transaction, *last_transaction, *next_transaction; __jbd2_journal_clean_checkpoint_list() local
677 transaction_t *transaction; __jbd2_journal_remove_checkpoint() local
747 __jbd2_journal_insert_checkpoint(struct journal_head *jh, transaction_t *transaction) __jbd2_journal_insert_checkpoint() argument
780 __jbd2_journal_drop_transaction(journal_t *journal, transaction_t *transaction) __jbd2_journal_drop_transaction() argument
[all...]
H A Dtransaction.c3 * linux/fs/jbd2/transaction.c
9 * Generic filesystem transaction handling code; part of the ext2fs
46 pr_emerg("JBD2: failed to create transaction cache\n"); in jbd2_journal_init_transaction_cache()
58 void jbd2_journal_free_transaction(transaction_t *transaction) in jbd2_journal_free_transaction() argument
60 if (unlikely(ZERO_OR_NULL_PTR(transaction))) in jbd2_journal_free_transaction()
62 kmem_cache_free(transaction_cache, transaction); in jbd2_journal_free_transaction()
66 * Base amount of descriptor blocks we reserve for each transaction.
81 * space for commit block and normal transaction descriptor blocks. in jbd2_descriptor_blocks_per_trans()
90 * Simply initialise a new transaction. Initialize it in
92 * have an existing running transaction
102 jbd2_get_transaction(journal_t *journal, transaction_t *transaction) jbd2_get_transaction() argument
149 update_t_max_wait(transaction_t *transaction, unsigned long ts) update_t_max_wait() argument
328 transaction_t *transaction, *new_transaction = NULL; start_this_handle() local
650 transaction_t *transaction = handle->h_transaction; jbd2_journal_extend() local
709 transaction_t *transaction = handle->h_transaction; stop_this_handle() local
772 transaction_t *transaction = handle->h_transaction; jbd2__journal_restart() local
851 transaction_t *transaction = journal->j_running_transaction; jbd2_journal_lock_updates() local
948 transaction_t *transaction = handle->h_transaction; do_get_write_access() local
1251 transaction_t *transaction = handle->h_transaction; jbd2_journal_get_create_access() local
1466 transaction_t *transaction = handle->h_transaction; jbd2_journal_dirty_metadata() local
1638 transaction_t *transaction = handle->h_transaction; jbd2_journal_forget() local
1806 transaction_t *transaction = handle->h_transaction; jbd2_journal_stop() local
2008 transaction_t *transaction; __jbd2_journal_temp_unlink_buffer() local
2187 __dispose_buffer(struct journal_head *jh, transaction_t *transaction) __dispose_buffer() argument
2261 transaction_t *transaction; journal_unmap_buffer() local
2490 __jbd2_journal_file_buffer(struct journal_head *jh, transaction_t *transaction, int jlist) __jbd2_journal_file_buffer() argument
2556 jbd2_journal_file_buffer(struct journal_head *jh, transaction_t *transaction, int jlist) jbd2_journal_file_buffer() argument
2654 transaction_t *transaction = handle->h_transaction; jbd2_journal_file_inode() local
[all...]
H A Djournal.c175 transaction_t *transaction; in kjournald2() local
192 * transaction commit and any fs involvement might get stuck waiting for in kjournald2()
241 transaction = journal->j_running_transaction; in kjournald2()
242 if (transaction && time_after_eq(jiffies, in kjournald2()
243 transaction->t_expires)) in kjournald2()
260 transaction = journal->j_running_transaction; in kjournald2()
261 if (transaction && time_after_eq(jiffies, transaction->t_expires)) { in kjournald2()
262 journal->j_commit_request = transaction->t_tid; in kjournald2()
320 * If the source buffer has already been modified by a new transaction
338 jbd2_journal_write_metadata_buffer(transaction_t *transaction, struct journal_head *jh_in, struct buffer_head **bh_out, sector_t blocknr) jbd2_journal_write_metadata_buffer() argument
540 transaction_t *transaction = NULL; __jbd2_journal_force_commit() local
1017 jbd2_journal_get_descriptor_buffer(transaction_t *transaction, int type) jbd2_journal_get_descriptor_buffer() argument
1074 transaction_t *transaction; jbd2_journal_get_log_tail() local
2346 transaction_t *transaction = NULL; jbd2_journal_flush() local
2493 transaction_t *transaction; jbd2_journal_abort() local
[all...]
H A Drevoke.c17 * transaction's revoked blocks to the journal
19 * + Recovery: during recovery we record the transaction ID of all
26 * single transaction:
30 * cancel the revoke before the transaction commits.
37 * in the current transaction, so any revoke for that block in the
38 * transaction must have happened after the block was journaled and so
47 * We cache revoke status of a buffer in the current transaction in b_states
62 * running transaction (is pointed to by journal->j_revoke), the other one
63 * belongs to the committing transaction. Accesses to the second hash table
66 * running and which to the committing transaction i
530 jbd2_journal_write_revoke_records(transaction_t *transaction, struct list_head *log_bufs) jbd2_journal_write_revoke_records() argument
571 write_one_revoke_record(transaction_t *transaction, struct list_head *log_bufs, struct buffer_head **descriptorp, int *offsetp, struct jbd2_revoke_record_s *record) write_one_revoke_record() argument
[all...]
/kernel/linux/linux-6.6/fs/jbd2/
H A Dcheckpoint.c26 * Unlink a buffer from a transaction checkpoint list.
32 transaction_t *transaction = jh->b_cp_transaction; in __buffer_unlink() local
36 if (transaction->t_checkpoint_list == jh) { in __buffer_unlink()
37 transaction->t_checkpoint_list = jh->b_cpnext; in __buffer_unlink()
38 if (transaction->t_checkpoint_list == jh) in __buffer_unlink()
39 transaction->t_checkpoint_list = NULL; in __buffer_unlink()
67 * transaction to complete. If there is absolutely no way
141 * Perform an actual checkpoint. We take the first transaction on the
152 transaction_t *transaction; in jbd2_log_do_checkpoint() local
170 * OK, we need to start writing disk blocks. Take one transaction in jbd2_log_do_checkpoint()
406 transaction_t *transaction, *last_transaction, *next_transaction; jbd2_journal_shrink_checkpoint_list() local
481 transaction_t *transaction, *last_transaction, *next_transaction; __jbd2_journal_clean_checkpoint_list() local
557 transaction_t *transaction; __jbd2_journal_remove_checkpoint() local
657 __jbd2_journal_insert_checkpoint(struct journal_head *jh, transaction_t *transaction) __jbd2_journal_insert_checkpoint() argument
690 __jbd2_journal_drop_transaction(journal_t *journal, transaction_t *transaction) __jbd2_journal_drop_transaction() argument
[all...]
H A Dtransaction.c3 * linux/fs/jbd2/transaction.c
9 * Generic filesystem transaction handling code; part of the ext2fs
46 pr_emerg("JBD2: failed to create transaction cache\n"); in jbd2_journal_init_transaction_cache()
58 void jbd2_journal_free_transaction(transaction_t *transaction) in jbd2_journal_free_transaction() argument
60 if (unlikely(ZERO_OR_NULL_PTR(transaction))) in jbd2_journal_free_transaction()
62 kmem_cache_free(transaction_cache, transaction); in jbd2_journal_free_transaction()
66 * Base amount of descriptor blocks we reserve for each transaction.
81 * space for commit block and normal transaction descriptor blocks. in jbd2_descriptor_blocks_per_trans()
90 * Simply initialise a new transaction. Initialize it in
92 * have an existing running transaction
102 jbd2_get_transaction(journal_t *journal, transaction_t *transaction) jbd2_get_transaction() argument
146 update_t_max_wait(transaction_t *transaction, unsigned long ts) update_t_max_wait() argument
334 transaction_t *transaction, *new_transaction = NULL; start_this_handle() local
662 transaction_t *transaction = handle->h_transaction; jbd2_journal_extend() local
718 transaction_t *transaction = handle->h_transaction; stop_this_handle() local
781 transaction_t *transaction = handle->h_transaction; jbd2__journal_restart() local
850 transaction_t *transaction = journal->j_running_transaction; jbd2_journal_wait_updates() local
970 transaction_t *transaction = handle->h_transaction; do_get_write_access() local
1273 transaction_t *transaction = handle->h_transaction; jbd2_journal_get_create_access() local
1488 transaction_t *transaction = handle->h_transaction; jbd2_journal_dirty_metadata() local
1660 transaction_t *transaction = handle->h_transaction; jbd2_journal_forget() local
1827 transaction_t *transaction = handle->h_transaction; jbd2_journal_stop() local
2029 transaction_t *transaction; __jbd2_journal_temp_unlink_buffer() local
2185 __dispose_buffer(struct journal_head *jh, transaction_t *transaction) __dispose_buffer() argument
2259 transaction_t *transaction; journal_unmap_buffer() local
2487 __jbd2_journal_file_buffer(struct journal_head *jh, transaction_t *transaction, int jlist) __jbd2_journal_file_buffer() argument
2553 jbd2_journal_file_buffer(struct journal_head *jh, transaction_t *transaction, int jlist) jbd2_journal_file_buffer() argument
2651 transaction_t *transaction = handle->h_transaction; jbd2_journal_file_inode() local
[all...]
H A Djournal.c163 transaction_t *transaction; in kjournald2() local
180 * transaction commit and any fs involvement might get stuck waiting for in kjournald2()
229 transaction = journal->j_running_transaction; in kjournald2()
230 if (transaction && time_after_eq(jiffies, in kjournald2()
231 transaction->t_expires)) in kjournald2()
248 transaction = journal->j_running_transaction; in kjournald2()
249 if (transaction && time_after_eq(jiffies, transaction->t_expires)) { in kjournald2()
250 journal->j_commit_request = transaction->t_tid; in kjournald2()
308 * If the source buffer has already been modified by a new transaction
326 jbd2_journal_write_metadata_buffer(transaction_t *transaction, struct journal_head *jh_in, struct buffer_head **bh_out, sector_t blocknr) jbd2_journal_write_metadata_buffer() argument
525 transaction_t *transaction = NULL; __jbd2_journal_force_commit() local
997 jbd2_journal_get_descriptor_buffer(transaction_t *transaction, int type) jbd2_journal_get_descriptor_buffer() argument
1054 transaction_t *transaction; jbd2_journal_get_log_tail() local
2423 transaction_t *transaction = NULL; jbd2_journal_flush() local
2569 transaction_t *transaction; jbd2_journal_abort() local
[all...]
H A Drevoke.c17 * transaction's revoked blocks to the journal
19 * + Recovery: during recovery we record the transaction ID of all
26 * single transaction:
30 * cancel the revoke before the transaction commits.
37 * in the current transaction, so any revoke for that block in the
38 * transaction must have happened after the block was journaled and so
47 * We cache revoke status of a buffer in the current transaction in b_states
62 * running transaction (is pointed to by journal->j_revoke), the other one
63 * belongs to the committing transaction. Accesses to the second hash table
66 * running and which to the committing transaction i
530 jbd2_journal_write_revoke_records(transaction_t *transaction, struct list_head *log_bufs) jbd2_journal_write_revoke_records() argument
571 write_one_revoke_record(transaction_t *transaction, struct list_head *log_bufs, struct buffer_head **descriptorp, int *offsetp, struct jbd2_revoke_record_s *record) write_one_revoke_record() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/octeon-usb/
H A Docteon-hcd.c106 * @CVMX_USB_STATUS_OK: The transaction / operation finished without
109 * @CVMX_USB_STATUS_CANCEL: The transaction was canceled while in flight
111 * @CVMX_USB_STATUS_ERROR: The transaction aborted with an unexpected
113 * @CVMX_USB_STATUS_STALL: The transaction received a USB STALL response
115 * @CVMX_USB_STATUS_XACTERR: The transaction failed with an error from the
117 * @CVMX_USB_STATUS_DATATGLERR: The transaction failed with a data toggle
119 * @CVMX_USB_STATUS_BABBLEERR: The transaction failed with a babble error
120 * @CVMX_USB_STATUS_FRAMEERR: The transaction failed with a frame error
236 * enum represents all of the possible stages a transaction can
239 * transaction wit
1352 struct cvmx_usb_transaction *transaction = cvmx_usb_start_channel_control() local
1497 struct cvmx_usb_transaction *transaction = cvmx_usb_start_channel() local
1954 octeon_usb_urb_complete_callback(struct octeon_hcd *usb, enum cvmx_usb_status status, struct cvmx_usb_pipe *pipe, struct cvmx_usb_transaction *transaction, int bytes_transferred, struct urb *urb) octeon_usb_urb_complete_callback() argument
2054 cvmx_usb_complete(struct octeon_hcd *usb, struct cvmx_usb_pipe *pipe, struct cvmx_usb_transaction *transaction, enum cvmx_usb_status complete_code) cvmx_usb_complete() argument
2134 struct cvmx_usb_transaction *transaction; cvmx_usb_submit_transaction() local
2294 cvmx_usb_cancel(struct octeon_hcd *usb, struct cvmx_usb_pipe *pipe, struct cvmx_usb_transaction *transaction) cvmx_usb_cancel() argument
2341 struct cvmx_usb_transaction *transaction, *next; cvmx_usb_cancel_all() local
2392 cvmx_usb_transfer_control(struct octeon_hcd *usb, struct cvmx_usb_pipe *pipe, struct cvmx_usb_transaction *transaction, union cvmx_usbcx_hccharx usbc_hcchar, int buffer_space_left, int bytes_in_last_packet) cvmx_usb_transfer_control() argument
2476 cvmx_usb_transfer_bulk(struct octeon_hcd *usb, struct cvmx_usb_pipe *pipe, struct cvmx_usb_transaction *transaction, union cvmx_usbcx_hcintx usbc_hcint, int buffer_space_left, int bytes_in_last_packet) cvmx_usb_transfer_bulk() argument
2510 cvmx_usb_transfer_intr(struct octeon_hcd *usb, struct cvmx_usb_pipe *pipe, struct cvmx_usb_transaction *transaction, int buffer_space_left, int bytes_in_last_packet) cvmx_usb_transfer_intr() argument
2535 cvmx_usb_transfer_isoc(struct octeon_hcd *usb, struct cvmx_usb_pipe *pipe, struct cvmx_usb_transaction *transaction, int buffer_space_left, int bytes_in_last_packet, int bytes_this_transfer) cvmx_usb_transfer_isoc() argument
2600 struct cvmx_usb_transaction *transaction; cvmx_usb_poll_channel() local
3069 struct cvmx_usb_transaction *transaction = NULL; octeon_usb_urb_enqueue() local
[all...]
/kernel/linux/linux-6.6/drivers/usb/host/
H A Docteon-hcd.c108 * @CVMX_USB_STATUS_OK: The transaction / operation finished without
111 * @CVMX_USB_STATUS_CANCEL: The transaction was canceled while in flight
113 * @CVMX_USB_STATUS_ERROR: The transaction aborted with an unexpected
115 * @CVMX_USB_STATUS_STALL: The transaction received a USB STALL response
117 * @CVMX_USB_STATUS_XACTERR: The transaction failed with an error from the
119 * @CVMX_USB_STATUS_DATATGLERR: The transaction failed with a data toggle
121 * @CVMX_USB_STATUS_BABBLEERR: The transaction failed with a babble error
122 * @CVMX_USB_STATUS_FRAMEERR: The transaction failed with a frame error
238 * enum represents all of the possible stages a transaction can
241 * transaction wit
1354 struct cvmx_usb_transaction *transaction = cvmx_usb_start_channel_control() local
1499 struct cvmx_usb_transaction *transaction = cvmx_usb_start_channel() local
1956 octeon_usb_urb_complete_callback(struct octeon_hcd *usb, enum cvmx_usb_status status, struct cvmx_usb_pipe *pipe, struct cvmx_usb_transaction *transaction, int bytes_transferred, struct urb *urb) octeon_usb_urb_complete_callback() argument
2056 cvmx_usb_complete(struct octeon_hcd *usb, struct cvmx_usb_pipe *pipe, struct cvmx_usb_transaction *transaction, enum cvmx_usb_status complete_code) cvmx_usb_complete() argument
2136 struct cvmx_usb_transaction *transaction; cvmx_usb_submit_transaction() local
2296 cvmx_usb_cancel(struct octeon_hcd *usb, struct cvmx_usb_pipe *pipe, struct cvmx_usb_transaction *transaction) cvmx_usb_cancel() argument
2344 struct cvmx_usb_transaction *transaction, *next; cvmx_usb_cancel_all() local
2395 cvmx_usb_transfer_control(struct octeon_hcd *usb, struct cvmx_usb_pipe *pipe, struct cvmx_usb_transaction *transaction, union cvmx_usbcx_hccharx usbc_hcchar, int buffer_space_left, int bytes_in_last_packet) cvmx_usb_transfer_control() argument
2479 cvmx_usb_transfer_bulk(struct octeon_hcd *usb, struct cvmx_usb_pipe *pipe, struct cvmx_usb_transaction *transaction, union cvmx_usbcx_hcintx usbc_hcint, int buffer_space_left, int bytes_in_last_packet) cvmx_usb_transfer_bulk() argument
2513 cvmx_usb_transfer_intr(struct octeon_hcd *usb, struct cvmx_usb_pipe *pipe, struct cvmx_usb_transaction *transaction, int buffer_space_left, int bytes_in_last_packet) cvmx_usb_transfer_intr() argument
2538 cvmx_usb_transfer_isoc(struct octeon_hcd *usb, struct cvmx_usb_pipe *pipe, struct cvmx_usb_transaction *transaction, int buffer_space_left, int bytes_in_last_packet, int bytes_this_transfer) cvmx_usb_transfer_isoc() argument
2603 struct cvmx_usb_transaction *transaction; cvmx_usb_poll_channel() local
3073 struct cvmx_usb_transaction *transaction = NULL; octeon_usb_urb_enqueue() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dtt.c28 /* default Thermal Throttling transaction table
357 struct iwl_tt_trans *transaction; in iwl_advance_tt_handler() local
362 * find the curresponding transaction table in iwl_advance_tt_handler()
364 * tt->transaction + ((old_state * (IWL_TI_STATE_MAX - 1)) in iwl_advance_tt_handler()
367 * find the next state need to transaction to in iwl_advance_tt_handler()
369 * in the current table to see if transaction is needed in iwl_advance_tt_handler()
371 transaction = tt->transaction + in iwl_advance_tt_handler()
373 if (temp >= transaction->tt_low && in iwl_advance_tt_handler()
374 temp <= transaction in iwl_advance_tt_handler()
596 struct iwl_tt_trans *transaction; iwl_tt_initialize() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dtt.c24 /* default Thermal Throttling transaction table
352 struct iwl_tt_trans *transaction; in iwl_advance_tt_handler() local
357 * find the curresponding transaction table in iwl_advance_tt_handler()
359 * tt->transaction + ((old_state * (IWL_TI_STATE_MAX - 1)) in iwl_advance_tt_handler()
362 * find the next state need to transaction to in iwl_advance_tt_handler()
364 * in the current table to see if transaction is needed in iwl_advance_tt_handler()
366 transaction = tt->transaction + in iwl_advance_tt_handler()
368 if (temp >= transaction->tt_low && in iwl_advance_tt_handler()
369 temp <= transaction in iwl_advance_tt_handler()
591 struct iwl_tt_trans *transaction; iwl_tt_initialize() local
[all...]
/kernel/linux/linux-5.10/drivers/nfc/st-nci/
H A Dse.c315 struct nfc_evt_transaction *transaction; in st_nci_hci_connectivity_event_received() local
334 transaction = devm_kzalloc(dev, skb->len - 2, GFP_KERNEL); in st_nci_hci_connectivity_event_received()
335 if (!transaction) in st_nci_hci_connectivity_event_received()
338 transaction->aid_len = skb->data[1]; in st_nci_hci_connectivity_event_received()
339 memcpy(transaction->aid, &skb->data[2], transaction->aid_len); in st_nci_hci_connectivity_event_received()
342 if (skb->data[transaction->aid_len + 2] != in st_nci_hci_connectivity_event_received()
344 devm_kfree(dev, transaction); in st_nci_hci_connectivity_event_received()
348 transaction->params_len = skb->data[transaction in st_nci_hci_connectivity_event_received()
[all...]
/kernel/linux/linux-5.10/fs/btrfs/
H A Dtransaction.h31 * transaction, it must be zero before the transaction is
36 * total writers in this transaction, it must be zero before the
37 * transaction can end
60 * it do so under some form of transaction critical section, namely:
63 * run by one of the transaction committers. Refer to
67 * commit_cowonly_roots from transaction critical section
70 * - btrfs_cleanup_dirty_bgs - called on transaction abort
90 * Number of ordered extents the transaction must wait for before
122 struct btrfs_transaction *transaction; member
[all...]
H A Dtransaction.c16 #include "transaction.h"
31 * No running transaction (fs tree blocks are not modified)
38 * | New trans handles can be attached to transaction N by calling all
43 * | transaction N
47 * | Will wait for previous running transaction to completely finish if there
53 * | - Wait for current transaction to be committed by others.
57 * | to this running transaction.
59 * | transaction N+1.
62 * | Caller is chosen to commit transaction N, and all other trans handle
67 * | The heavy lifting transaction wor
118 btrfs_put_transaction(struct btrfs_transaction *transaction) btrfs_put_transaction() argument
[all...]
/kernel/linux/linux-6.6/fs/btrfs/
H A Dtransaction.c18 #include "transaction.h"
43 * No running transaction (fs tree blocks are not modified)
50 * | New trans handles can be attached to transaction N by calling all
55 * | transaction N
60 * | the race and the rest will wait for the winner to commit the transaction.
62 * | The winner will wait for previous running transaction to completely finish
70 * | - Wait for current transaction to be committed by others.
74 * | to this running transaction.
76 * | transaction N+1.
79 * | Caller is chosen to commit transaction
141 btrfs_put_transaction(struct btrfs_transaction *transaction) btrfs_put_transaction() argument
[all...]
H A Dtransaction.h37 * transaction, it must be zero before the transaction is
42 * total writers in this transaction, it must be zero before the
43 * transaction can end
66 * it do so under some form of transaction critical section, namely:
69 * run by one of the transaction committers. Refer to
73 * commit_cowonly_roots from transaction critical section
76 * - btrfs_cleanup_dirty_bgs - called on transaction abort
96 * Number of ordered extents the transaction must wait for before
126 struct btrfs_transaction *transaction; member
[all...]
/kernel/linux/linux-5.10/drivers/nfc/st21nfca/
H A Dse.c312 struct nfc_evt_transaction *transaction; in st21nfca_connectivity_event_received() local
344 if (skb->len < aid_len + 4 || aid_len > sizeof(transaction->aid)) in st21nfca_connectivity_event_received()
356 transaction = devm_kzalloc(dev, sizeof(*transaction) + params_len, GFP_KERNEL); in st21nfca_connectivity_event_received()
357 if (!transaction) in st21nfca_connectivity_event_received()
360 transaction->aid_len = aid_len; in st21nfca_connectivity_event_received()
361 transaction->params_len = params_len; in st21nfca_connectivity_event_received()
363 memcpy(transaction->aid, &skb->data[2], aid_len); in st21nfca_connectivity_event_received()
364 memcpy(transaction->params, &skb->data[aid_len + 4], params_len); in st21nfca_connectivity_event_received()
366 r = nfc_se_transaction(hdev->ndev, host, transaction); in st21nfca_connectivity_event_received()
[all...]
/kernel/linux/linux-6.6/drivers/nfc/st21nfca/
H A Dse.c308 struct nfc_evt_transaction *transaction; in st21nfca_connectivity_event_received() local
340 if (skb->len < aid_len + 4 || aid_len > sizeof(transaction->aid)) in st21nfca_connectivity_event_received()
352 transaction = devm_kzalloc(dev, sizeof(*transaction) + params_len, GFP_KERNEL); in st21nfca_connectivity_event_received()
353 if (!transaction) in st21nfca_connectivity_event_received()
356 transaction->aid_len = aid_len; in st21nfca_connectivity_event_received()
357 transaction->params_len = params_len; in st21nfca_connectivity_event_received()
359 memcpy(transaction->aid, &skb->data[2], aid_len); in st21nfca_connectivity_event_received()
360 memcpy(transaction->params, &skb->data[aid_len + 4], params_len); in st21nfca_connectivity_event_received()
362 r = nfc_se_transaction(hdev->ndev, host, transaction); in st21nfca_connectivity_event_received()
[all...]
/kernel/linux/linux-6.6/drivers/nfc/st-nci/
H A Dse.c314 struct nfc_evt_transaction *transaction; in st_nci_hci_connectivity_event_received() local
348 aid_len > sizeof(transaction->aid)) in st_nci_hci_connectivity_event_received()
360 transaction = devm_kzalloc(dev, sizeof(*transaction) + in st_nci_hci_connectivity_event_received()
362 if (!transaction) in st_nci_hci_connectivity_event_received()
365 transaction->aid_len = aid_len; in st_nci_hci_connectivity_event_received()
366 transaction->params_len = params_len; in st_nci_hci_connectivity_event_received()
368 memcpy(transaction->aid, &skb->data[2], aid_len); in st_nci_hci_connectivity_event_received()
369 memcpy(transaction->params, &skb->data[aid_len + 4], in st_nci_hci_connectivity_event_received()
372 r = nfc_se_transaction(ndev->nfc_dev, host, transaction); in st_nci_hci_connectivity_event_received()
[all...]
/kernel/linux/linux-6.6/drivers/nvme/host/
H A Dauth.c31 u16 transaction; member
95 u16 transaction, u8 expected_msg) in nvme_auth_receive_validate()
111 if (le16_to_cpu(data->t_id) != transaction) { in nvme_auth_receive_validate()
113 "qid %d invalid transaction ID %d\n", in nvme_auth_receive_validate()
133 data->t_id = cpu_to_le16(chap->transaction); in nvme_auth_set_dhchap_negotiate_data()
310 data->t_id = cpu_to_le16(chap->transaction); in nvme_auth_set_dhchap_reply_data()
400 data->t_id = cpu_to_le16(chap->transaction); in nvme_auth_set_dhchap_success2_data()
414 data->t_id = cpu_to_le16(chap->transaction); in nvme_auth_set_dhchap_failure2_data()
428 dev_dbg(ctrl->device, "%s: qid %d host response seq %u transaction %d\n", in nvme_auth_dhchap_setup_host_response()
429 __func__, chap->qid, chap->s1, chap->transaction); in nvme_auth_dhchap_setup_host_response()
93 nvme_auth_receive_validate(struct nvme_ctrl *ctrl, int qid, struct nvmf_auth_dhchap_failure_data *data, u16 transaction, u8 expected_msg) nvme_auth_receive_validate() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
H A Di40e_nvm.c1181 /* In some circumstances, a multi-write transaction takes longer in i40e_nvmupd_state_writing()
1281 u8 module, transaction; in i40e_nvmupd_validate_command() local
1286 transaction = i40e_nvmupd_get_transaction(cmd->config); in i40e_nvmupd_validate_command()
1301 switch (transaction) { in i40e_nvmupd_validate_command()
1327 switch (transaction) { in i40e_nvmupd_validate_command()
1565 u8 module, transaction; in i40e_nvmupd_nvm_read() local
1568 transaction = i40e_nvmupd_get_transaction(cmd->config); in i40e_nvmupd_nvm_read()
1570 last = (transaction == I40E_NVM_LCB) || (transaction == I40E_NVM_SA); in i40e_nvmupd_nvm_read()
1604 u8 module, transaction; in i40e_nvmupd_nvm_erase() local
1644 u8 module, transaction; i40e_nvmupd_nvm_write() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/
H A Di40e_nvm.c1182 /* In some circumstances, a multi-write transaction takes longer in i40e_nvmupd_state_writing()
1282 u8 module, transaction; in i40e_nvmupd_validate_command() local
1287 transaction = i40e_nvmupd_get_transaction(cmd->config); in i40e_nvmupd_validate_command()
1302 switch (transaction) { in i40e_nvmupd_validate_command()
1328 switch (transaction) { in i40e_nvmupd_validate_command()
1565 u8 module, transaction; in i40e_nvmupd_nvm_read() local
1569 transaction = i40e_nvmupd_get_transaction(cmd->config); in i40e_nvmupd_nvm_read()
1571 last = (transaction == I40E_NVM_LCB) || (transaction == I40E_NVM_SA); in i40e_nvmupd_nvm_read()
1604 u8 module, transaction; in i40e_nvmupd_nvm_erase() local
1644 u8 module, transaction; i40e_nvmupd_nvm_write() local
[all...]
/kernel/linux/linux-5.10/include/trace/events/
H A Djbd2.h43 __field( tid_t, transaction )
49 __entry->transaction = commit_transaction->t_tid;
52 TP_printk("dev %d,%d transaction %u sync %d",
54 __entry->transaction, __entry->sync_commit)
100 __field( tid_t, transaction )
107 __entry->transaction = commit_transaction->t_tid;
111 TP_printk("dev %d,%d transaction %u sync %d head %u",
113 __entry->transaction, __entry->sync_commit, __entry->head)
491 TP_printk("dev %d,%d shrink transaction %u-%u(%u) freed %lu "
492 "scanned %lu next transaction
[all...]
/kernel/linux/linux-6.6/include/trace/events/
H A Djbd2.h43 __field( tid_t, transaction )
49 __entry->transaction = commit_transaction->t_tid;
52 TP_printk("dev %d,%d transaction %u sync %d",
54 __entry->transaction, __entry->sync_commit)
100 __field( tid_t, transaction )
107 __entry->transaction = commit_transaction->t_tid;
111 TP_printk("dev %d,%d transaction %u sync %d head %u",
113 __entry->transaction, __entry->sync_commit, __entry->head)
487 TP_printk("dev %d,%d shrink transaction %u-%u(%u) freed %lu "
488 "next transaction
[all...]

Completed in 26 milliseconds

1234567