Home
last modified time | relevance | path

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

123456789

/linux-6.3-rc2/fs/jbd2/
A Dcheckpoint.c202 transaction_t *transaction; in jbd2_log_do_checkpoint() local
229 this_tid = transaction->t_tid; in jbd2_log_do_checkpoint()
541 tid = transaction->t_tid; in jbd2_journal_shrink_checkpoint_list()
596 if (!transaction) in __jbd2_journal_clean_checkpoint_list()
677 transaction_t *transaction; in __jbd2_journal_remove_checkpoint() local
684 if (!transaction) { in __jbd2_journal_remove_checkpoint()
708 if (transaction->t_checkpoint_list || transaction->t_checkpoint_io_list) in __jbd2_journal_remove_checkpoint()
785 if (transaction->t_cpnext) { in __jbd2_journal_drop_transaction()
786 transaction->t_cpnext->t_cpprev = transaction->t_cpprev; in __jbd2_journal_drop_transaction()
787 transaction->t_cpprev->t_cpnext = transaction->t_cpnext; in __jbd2_journal_drop_transaction()
[all …]
A Dtransaction.c125 transaction->t_max_wait = 0; in jbd2_get_transaction()
127 transaction->t_requested = 0; in jbd2_get_transaction()
699 transaction->t_tid, in jbd2_journal_extend()
749 transaction); in stop_this_handle()
792 tid = transaction->t_tid; in jbd2__journal_restart()
852 if (!transaction) in jbd2_journal_wait_updates()
1615 transaction, transaction->t_tid, in jbd2_journal_dirty_metadata()
1845 if (!transaction) { in jbd2_journal_stop()
2039 if (transaction) in __jbd2_journal_temp_unlink_buffer()
2067 if (transaction && is_journal_aborted(transaction->t_journal)) in __jbd2_journal_temp_unlink_buffer()
[all …]
A Djournal.c171 transaction_t *transaction; in kjournald2() local
239 transaction->t_expires)) in kjournald2()
257 if (transaction && time_after_eq(jiffies, transaction->t_expires)) { in kjournald2()
548 if (!transaction) { in __jbd2_journal_force_commit()
553 tid = transaction->t_tid; in __jbd2_journal_force_commit()
1065 transaction_t *transaction; in jbd2_journal_get_log_tail() local
1071 if (transaction) { in jbd2_journal_get_log_tail()
1072 *tid = transaction->t_tid; in jbd2_journal_get_log_tail()
1075 *tid = transaction->t_tid; in jbd2_journal_get_log_tail()
2453 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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/Documentation/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 …]
A Dsyscall64-abi.rst88 transaction state, and the syscall can affect the behavior of the transaction.
94 in the transaction being doomed by hardware.
101 be performed and the transaction will be doomed by the kernel with the
153 may or may not result in the transaction being doomed by hardware.
/linux-6.3-rc2/Documentation/filesystems/
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 …]
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-6.3-rc2/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-6.3-rc2/fs/btrfs/
A Dtransaction.c141 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()
168 kfree(transaction); in btrfs_put_transaction()
686 h->transaction = cur_trans; in start_transaction()
1311 &trans->transaction->switch_commits); in commit_cowonly_roots()
1449 &trans->transaction->switch_commits); in commit_fs_roots()
1961 cur_trans = trans->transaction; in btrfs_commit_transaction_async()
[all …]
A Dtransaction.h125 struct btrfs_transaction *transaction; member
176 inode->last_trans = trans->transaction->transid; in btrfs_set_inode_last_trans()
191 delayed_refs = &trans->transaction->delayed_refs; in btrfs_set_skip_qgroup()
200 delayed_refs = &trans->transaction->delayed_refs; in btrfs_clear_skip_qgroup()
263 void btrfs_put_transaction(struct btrfs_transaction *transaction);
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/drivers/nvme/host/
A Dauth.c31 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()
400 data->t_id = cpu_to_le16(chap->transaction); in nvme_auth_set_dhchap_success2_data()
478 put_unaligned_le16(chap->transaction, buf); in nvme_auth_dhchap_setup_host_response()
563 put_unaligned_le16(chap->transaction, buf); in nvme_auth_dhchap_setup_ctrl_response()
666 chap->transaction = 0; in nvme_auth_reset_dhchap()
700 chap->transaction = ctrl->transaction++; in nvme_queue_auth_work()
[all …]
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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?)
432 - The data block was deleted by the transaction. (Not used?)
[all …]
/linux-6.3-rc2/drivers/net/ethernet/intel/i40e/
A Di40e_nvm.c1282 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
1610 last = (transaction & I40E_NVM_LCB); in i40e_nvmupd_nvm_erase()
1644 u8 module, transaction; in i40e_nvmupd_nvm_write() local
[all …]
/linux-6.3-rc2/Documentation/i2c/
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.3-rc2/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-6.3-rc2/drivers/acpi/
A Dec.c152 struct transaction { struct
165 struct transaction transaction; argument
659 struct transaction *t = ec->curr; in advance_transaction()
796 struct transaction *t) in acpi_ec_transaction_unlocked()
861 struct transaction t = {.command = ACPI_EC_BURST_ENABLE, in acpi_ec_burst_enable()
870 struct transaction t = {.command = ACPI_EC_BURST_DISABLE, in acpi_ec_burst_disable()
882 struct transaction t = {.command = ACPI_EC_COMMAND_READ, in acpi_ec_read()
932 struct transaction t = {.command = command, in ec_transaction()
1154 struct transaction *t; in acpi_ec_create_query()
1161 t = &q->transaction; in acpi_ec_create_query()
[all …]
/linux-6.3-rc2/Documentation/driver-api/
A Dfirewire.rst37 Firewire core transaction interfaces
40 .. kernel-doc:: drivers/firewire/core-transaction.c

Completed in 75 milliseconds

123456789