Home
last modified time | relevance | path

Searched refs:transaction (Results 1 – 25 of 238) sorted by relevance

12345678910

/linux-6.15/fs/jbd2/
H A Dcheckpoint.c158 transaction_t *transaction; in jbd2_log_do_checkpoint() local
185 this_tid = transaction->t_tid; in jbd2_log_do_checkpoint()
441 next_transaction = transaction; in jbd2_journal_shrink_checkpoint_list()
446 tid = transaction->t_tid; in jbd2_journal_shrink_checkpoint_list()
498 if (!transaction) in __jbd2_journal_clean_checkpoint_list()
568 transaction_t *transaction; in __jbd2_journal_remove_checkpoint() local
574 if (!transaction) { in __jbd2_journal_remove_checkpoint()
695 if (transaction->t_cpnext) { in __jbd2_journal_drop_transaction()
696 transaction->t_cpnext->t_cpprev = transaction->t_cpprev; in __jbd2_journal_drop_transaction()
697 transaction->t_cpprev->t_cpnext = transaction->t_cpnext; in __jbd2_journal_drop_transaction()
[all …]
H A Dtransaction.c102 transaction->t_max_wait = 0; in jbd2_get_transaction()
104 transaction->t_requested = 0; in jbd2_get_transaction()
680 transaction->t_tid, in jbd2_journal_extend()
730 transaction); in stop_this_handle()
773 tid = transaction->t_tid; in jbd2__journal_restart()
833 if (!transaction) in jbd2_journal_wait_updates()
1606 transaction, transaction->t_tid, in jbd2_journal_dirty_metadata()
1835 if (!transaction) { in jbd2_journal_stop()
2029 if (transaction) in __jbd2_journal_temp_unlink_buffer()
2057 if (transaction && is_journal_aborted(transaction->t_journal)) in __jbd2_journal_temp_unlink_buffer()
[all …]
H A Djournal.c163 transaction_t *transaction; in kjournald2() local
227 if (transaction == NULL || in kjournald2()
242 if (transaction && time_after_eq(jiffies, transaction->t_expires)) { in kjournald2()
513 if (!transaction) { in __jbd2_journal_force_commit()
518 tid = transaction->t_tid; in __jbd2_journal_force_commit()
1022 transaction_t *transaction; in jbd2_journal_get_log_tail() local
1028 if (transaction) { in jbd2_journal_get_log_tail()
1029 *tid = transaction->t_tid; in jbd2_journal_get_log_tail()
1032 *tid = transaction->t_tid; in jbd2_journal_get_log_tail()
2419 if (transaction) { in jbd2_journal_flush()
[all …]
H A Drevoke.c530 void jbd2_journal_write_revoke_records(transaction_t *transaction, in jbd2_journal_write_revoke_records() argument
533 journal_t *journal = transaction->t_journal; in jbd2_journal_write_revoke_records()
554 write_one_revoke_record(transaction, log_bufs, in jbd2_journal_write_revoke_records()
571 static void write_one_revoke_record(transaction_t *transaction, in write_one_revoke_record() argument
577 journal_t *journal = transaction->t_journal; in write_one_revoke_record()
610 descriptor = jbd2_journal_get_descriptor_buffer(transaction, in write_one_revoke_record()
/linux-6.15/drivers/usb/host/
H A Docteon-hcd.c1960 *transaction, in octeon_usb_urb_complete_callback()
2071 transaction->iso_packets[0].length = transaction->actual_bytes; in cvmx_usb_complete()
2096 transaction, in cvmx_usb_complete()
2099 kfree(transaction); in cvmx_usb_complete()
2141 transaction = kzalloc(sizeof(*transaction), GFP_ATOMIC); in cvmx_usb_submit_transaction()
2173 return transaction; in cvmx_usb_submit_transaction()
2412 transaction->stage = in cvmx_usb_transfer_control()
2467 transaction->stage = in cvmx_usb_transfer_control()
2826 transaction, in cvmx_usb_poll_channel()
3208 if (!transaction) { in octeon_usb_urb_enqueue()
[all …]
/linux-6.15/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dtt.c355 transaction = tt->transaction + in iwl_advance_tt_handler()
372 transaction->next_state) { in iwl_advance_tt_handler()
375 transaction->next_state; in iwl_advance_tt_handler()
610 kfree(tt->transaction); in iwl_tt_initialize()
611 tt->transaction = NULL; in iwl_tt_initialize()
613 transaction = tt->transaction + in iwl_tt_initialize()
616 transaction = tt->transaction + in iwl_tt_initialize()
619 transaction = tt->transaction + in iwl_tt_initialize()
622 transaction = tt->transaction + in iwl_tt_initialize()
654 kfree(tt->transaction); in iwl_tt_exit()
[all …]
/linux-6.15/Documentation/i2c/busses/
H A Di2c-mlxcpld.rst19 The next transaction types are supported:
29 Bits [6:5] - transaction length. b01 - 72B is supported,
43 It should be written last as it triggers an I2C transaction.
45 Number of data bytes to write in read transaction
47 Number of address bytes to write in read transaction.
49 Bit 0 - transaction is completed.
52 For write transaction address is specified in four first bytes
54 For read transactions address is sent in a separate transaction and
/linux-6.15/Documentation/arch/powerpc/
H A Dtransactional_memory.rst21 A simple transaction looks like this::
41 /* Retry the transaction if it failed because it conflicted with
58 transaction, the transaction will be aborted by the CPU. Register and memory
66 Causes of transaction aborts
88 transaction success.
141 /* Yes, we crashed during a transaction. Oops. */
171 Any transaction initiated inside a sighandler and suspended on return
178 kernel aborted a transaction:
184 TM_CAUSE_SYSCALL Syscall from active transaction.
223 transaction when tm suspend occurs. So tsuspend will cause a
[all …]
/linux-6.15/Documentation/filesystems/xfs/
H A Dxfs-delayed-logging-design.rst72 <join item to transaction>
77 tracked via the transaction handle. Once the transaction is committed, all
190 transaction rolling mechanism to re-reserve space on every transaction roll. We
316 transaction::
358 transaction throughput.
467 transaction commit while the item is locked in the transaction. Instead of
548 transaction.
594 to any other transaction - it contains a transaction header, a series of
714 transaction. This LSN comes directly from the log buffer the transaction is
770 transaction. We don't know how big a checkpoint transaction is going to be
[all …]
/linux-6.15/include/trace/events/
H A Dfirewire.h43 __field(u64, transaction)
51 __entry->transaction = transaction;
61 __entry->transaction,
81 __field(u64, transaction)
89 __entry->transaction = transaction;
98 __entry->transaction,
112 __field(u64, transaction)
122 __entry->transaction = transaction;
134 __entry->transaction,
171 __entry->transaction,
[all …]
/linux-6.15/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()
/linux-6.15/Documentation/filesystems/
H A Djournalling.rst42 this use jbd2_journal_start() which returns a transaction handle.
45 which indicates the end of a transaction are nestable calls, so you can
46 reenter a transaction if necessary, but remember you must call
48 jbd2_journal_start() before the transaction is completed (or more
52 Inside each transaction you need to wrap the modifications to the
101 haven't reused any of the freed blocks until the transaction freeing
104 end of the last fully committed transaction. One simple way of doing
114 called after each transaction commit.
116 JBD2 also provides a way to block all transaction updates via
168 being each mount, each modification (transaction) and each changed
[all …]
/linux-6.15/fs/btrfs/tests/
H A Ddelayed-refs-tests.c48 &trans->transaction->delayed_refs; in delete_delayed_ref_head()
171 &trans->transaction->delayed_refs; in simple_test()
228 btrfs_destroy_delayed_refs(trans->transaction); in simple_test()
769 btrfs_destroy_delayed_refs(trans->transaction); in merge_tests()
780 &trans->transaction->delayed_refs; in select_delayed_refs_test()
970 btrfs_destroy_delayed_refs(trans->transaction); in select_delayed_refs_test()
976 struct btrfs_transaction *transaction; in btrfs_test_delayed_refs() local
988 transaction = kmalloc(sizeof(*transaction), GFP_KERNEL); in btrfs_test_delayed_refs()
989 if (!transaction) { in btrfs_test_delayed_refs()
996 trans.transaction = transaction; in btrfs_test_delayed_refs()
[all …]
/linux-6.15/fs/btrfs/
H A Dtransaction.c143 BUG_ON(!list_empty(&transaction->list)); in btrfs_put_transaction()
146 if (transaction->delayed_refs.pending_csums) in btrfs_put_transaction()
147 btrfs_err(transaction->fs_info, in btrfs_put_transaction()
149 transaction->delayed_refs.pending_csums); in btrfs_put_transaction()
157 while (!list_empty(&transaction->deleted_bgs)) { in btrfs_put_transaction()
174 kfree(transaction); in btrfs_put_transaction()
720 h->transaction = cur_trans; in start_transaction()
1372 &trans->transaction->switch_commits); in commit_cowonly_roots()
1511 &trans->transaction->switch_commits); in commit_fs_roots()
1980 cur_trans = trans->transaction; in btrfs_commit_transaction_async()
[all …]
H A Dtransaction.h149 struct btrfs_transaction *transaction; member
201 inode->last_trans = trans->transaction->transid; in btrfs_set_inode_last_trans()
216 delayed_refs = &trans->transaction->delayed_refs; in btrfs_set_skip_qgroup()
225 delayed_refs = &trans->transaction->delayed_refs; in btrfs_clear_skip_qgroup()
301 void btrfs_put_transaction(struct btrfs_transaction *transaction);
/linux-6.15/Documentation/locking/
H A Dww-mutex-design.rst39 If the transaction holding the lock is younger, the locking transaction waits.
40 If the transaction holding the lock is older, the locking transaction backs off
43 If the transaction holding the lock is younger, the locking transaction
44 wounds the transaction holding the lock, requesting it to die.
45 If the transaction holding the lock is older, it waits for the other
46 transaction. Hence Wound-Wait.
54 Wound-Wait transaction is considered preempted when it dies (returning
68 transaction.
351 The wounded status of the transaction is checked only when there is
353 situation, if the transaction is wounded, it backs off, clears the
[all …]
/linux-6.15/Documentation/i2c/
H A Di2c-address-translators.rst53 in the transaction and based on the alias table.
68 - Slave X driver requests a transaction (on adapter B), slave address 0x10
71 - Physical I2C transaction on bus A, slave address 0x20
72 - ATR chip detects transaction on address 0x20, finds it in table,
73 propagates transaction on bus B with address translated to 0x10,
75 - Slave X chip (on bus B) detects transaction at its own physical
H A Di2c-protocol.rst25 Simple send transaction
33 Simple receive transaction
47 condition P a start condition S is sent and the transaction continues.
70 In a combined transaction, no 'S Addr Wr/Rd [A]' is generated at some
/linux-6.15/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()
/linux-6.15/Documentation/ABI/testing/
H A Ddebugfs-driver-habanalabs44 transaction while reading from the file generates a read
45 transaction. This custom interface is needed (instead of using
48 move the bar before and after the transaction.
59 write transaction while reading from the file generates a read
60 transaction. This custom interface is needed (instead of using
63 move the bar before and after the transaction.
105 Description: Specify the size of the DMA transaction when using DMA to read
139 Description: Sets I2C device address for I2C transaction that is generated
147 Description: Sets I2C bus address for I2C transaction that is generated by
155 Description: Triggers an I2C transaction that is generated by the device's
[all …]
/linux-6.15/Documentation/devicetree/bindings/i2c/
H A Di2c-mux-gpmux.yaml55 - between setup of the multiplexer and the child bus I2C transaction
56 - between the child bus I2C transaction and releasing of the multiplexer
61 for the full duration of the complete multiplexed I2C transaction (i.e.
65 adapter for the complete multiplexed I2C transaction.
/linux-6.15/drivers/nvme/host/
H A Dauth.c34 u16 transaction; member
96 u16 transaction, u8 expected_msg) in nvme_auth_receive_validate() argument
112 if (le16_to_cpu(data->t_id) != transaction) { in nvme_auth_receive_validate()
134 data->t_id = cpu_to_le16(chap->transaction); in nvme_auth_set_dhchap_negotiate_data()
317 data->t_id = cpu_to_le16(chap->transaction); in nvme_auth_set_dhchap_reply_data()
408 data->t_id = cpu_to_le16(chap->transaction); in nvme_auth_set_dhchap_success2_data()
486 put_unaligned_le16(chap->transaction, buf); in nvme_auth_dhchap_setup_host_response()
571 put_unaligned_le16(chap->transaction, buf); in nvme_auth_dhchap_setup_ctrl_response()
675 chap->transaction = 0; in nvme_auth_reset_dhchap()
795 chap->transaction = ctrl->transaction++; in nvme_queue_auth_work()
[all …]
/linux-6.15/drivers/net/ethernet/intel/i40e/
H A Di40e_nvm.c784 u8 module, transaction; in i40e_nvmupd_validate_command() local
789 transaction = i40e_nvmupd_get_transaction(cmd->config); in i40e_nvmupd_validate_command()
802 switch (transaction) { in i40e_nvmupd_validate_command()
828 switch (transaction) { in i40e_nvmupd_validate_command()
877 u8 module, transaction; in i40e_nvmupd_nvm_erase() local
881 transaction = i40e_nvmupd_get_transaction(cmd->config); in i40e_nvmupd_nvm_erase()
883 last = (transaction & I40E_NVM_LCB); in i40e_nvmupd_nvm_erase()
917 u8 module, transaction; in i40e_nvmupd_nvm_write() local
924 last = (transaction & I40E_NVM_LCB); in i40e_nvmupd_nvm_write()
960 u8 module, transaction; in i40e_nvmupd_nvm_read() local
[all …]
/linux-6.15/Documentation/filesystems/ext4/
H A Djournal.rst70 - One transaction
74 or a block revocation list. A finished transaction always ends with a
76 transaction will be discarded during replay.
102 - One transaction
131 - The transaction ID that goes with this block.
145 written through the journal during a transaction.
148 transaction.
244 - Limit of journal blocks per transaction. (Not used?)
248 - Limit of data blocks per transaction. (Not used?)
437 - The data block was deleted by the transaction. (Not used?)
[all …]
/linux-6.15/Documentation/admin-guide/device-mapper/
H A Dpersistent-data.rst42 The transaction manager
45 dm-transaction-manager.[hc]
49 transaction manager is by shadowing an existing block (ie. doing
51 the same transaction so performance is reasonable. The commit method

12345678910