Home
last modified time | relevance | path

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

12345678910

/linux/fs/jbd2/
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 …]
A Dtransaction.c103 transaction->t_max_wait = 0; in jbd2_get_transaction()
105 transaction->t_requested = 0; in jbd2_get_transaction()
684 transaction->t_tid, in jbd2_journal_extend()
734 transaction); in stop_this_handle()
777 tid = transaction->t_tid; in jbd2__journal_restart()
837 if (!transaction) in jbd2_journal_wait_updates()
1610 transaction, transaction->t_tid, in jbd2_journal_dirty_metadata()
1839 if (!transaction) { in jbd2_journal_stop()
2033 if (transaction) in __jbd2_journal_temp_unlink_buffer()
2061 if (transaction && is_journal_aborted(transaction->t_journal)) in __jbd2_journal_temp_unlink_buffer()
[all …]
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()
519 if (!transaction) { in __jbd2_journal_force_commit()
524 tid = transaction->t_tid; in __jbd2_journal_force_commit()
1018 transaction_t *transaction; in jbd2_journal_get_log_tail() local
1024 if (transaction) { in jbd2_journal_get_log_tail()
1025 *tid = transaction->t_tid; in jbd2_journal_get_log_tail()
1028 *tid = transaction->t_tid; in jbd2_journal_get_log_tail()
2442 if (transaction) { in jbd2_journal_flush()
[all …]
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/drivers/usb/host/
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/drivers/net/wireless/intel/iwlwifi/dvm/
A Dtt.c366 transaction = tt->transaction + in iwl_advance_tt_handler()
383 transaction->next_state) { in iwl_advance_tt_handler()
386 transaction->next_state; in iwl_advance_tt_handler()
621 kfree(tt->transaction); in iwl_tt_initialize()
622 tt->transaction = NULL; in iwl_tt_initialize()
624 transaction = tt->transaction + in iwl_tt_initialize()
627 transaction = tt->transaction + in iwl_tt_initialize()
630 transaction = tt->transaction + in iwl_tt_initialize()
633 transaction = tt->transaction + in iwl_tt_initialize()
665 kfree(tt->transaction); in iwl_tt_exit()
[all …]
/linux/Documentation/i2c/busses/
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/Documentation/arch/powerpc/
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/Documentation/filesystems/xfs/
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/include/trace/events/
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/Documentation/filesystems/
A Djournalling.rst42 this use jbd2_journal_start() which returns a transaction handle.
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
114 called after each transaction commit. You can also use
115 ``transaction->t_private_list`` for attaching entries to a transaction
116 that need processing when the transaction commits.
118 JBD2 also provides a way to block all transaction updates via
170 being each mount, each modification (transaction) and each changed
[all …]
/linux/drivers/nfc/st21nfca/
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/fs/btrfs/
A Dtransaction.c143 BUG_ON(!list_empty(&transaction->list)); in btrfs_put_transaction()
147 if (transaction->delayed_refs.pending_csums) in btrfs_put_transaction()
148 btrfs_err(transaction->fs_info, in btrfs_put_transaction()
150 transaction->delayed_refs.pending_csums); in btrfs_put_transaction()
158 while (!list_empty(&transaction->deleted_bgs)) { in btrfs_put_transaction()
169 kfree(transaction); in btrfs_put_transaction()
714 h->transaction = cur_trans; in start_transaction()
1367 &trans->transaction->switch_commits); in commit_cowonly_roots()
1506 &trans->transaction->switch_commits); in commit_fs_roots()
1975 cur_trans = trans->transaction; in btrfs_commit_transaction_async()
[all …]
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()
287 void btrfs_put_transaction(struct btrfs_transaction *transaction);
/linux/Documentation/locking/
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/Documentation/i2c/
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
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/drivers/nfc/st-nci/
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/drivers/nvme/host/
A Dauth.c33 u16 transaction; member
95 u16 transaction, u8 expected_msg) in nvme_auth_receive_validate() argument
111 if (le16_to_cpu(data->t_id) != transaction) { 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()
397 data->t_id = cpu_to_le16(chap->transaction); in nvme_auth_set_dhchap_success2_data()
475 put_unaligned_le16(chap->transaction, buf); in nvme_auth_dhchap_setup_host_response()
560 put_unaligned_le16(chap->transaction, buf); in nvme_auth_dhchap_setup_ctrl_response()
664 chap->transaction = 0; in nvme_auth_reset_dhchap()
698 chap->transaction = ctrl->transaction++; in nvme_queue_auth_work()
[all …]
/linux/Documentation/ABI/testing/
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/Documentation/devicetree/bindings/i2c/
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/drivers/net/ethernet/intel/i40e/
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/Documentation/filesystems/ext4/
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/Documentation/admin-guide/device-mapper/
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
/linux/drivers/acpi/
A Dec.c152 struct transaction { struct
165 struct transaction transaction; member
659 struct transaction *t = ec->curr; in advance_transaction()
781 struct transaction *t) in acpi_ec_transaction_unlocked()
847 struct transaction t = {.command = ACPI_EC_BURST_ENABLE, in acpi_ec_burst_enable()
868 struct transaction t = {.command = ACPI_EC_COMMAND_READ, in acpi_ec_read()
881 struct transaction t = {.command = ACPI_EC_COMMAND_READ, in acpi_ec_read_unlocked()
941 struct transaction t = {.command = command, in ec_transaction()
1175 struct transaction *t; in acpi_ec_create_query()
1182 t = &q->transaction; in acpi_ec_create_query()
[all …]

Completed in 81 milliseconds

12345678910