Home
last modified time | relevance | path

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

123456789

/linux/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.c126 transaction->t_max_wait = 0; in jbd2_get_transaction()
705 transaction->t_tid, in jbd2_journal_extend()
757 transaction); in stop_this_handle()
800 tid = transaction->t_tid; in jbd2__journal_restart()
870 if (!transaction) in jbd2_journal_lock_updates()
1016 transaction); in do_get_write_access()
1588 transaction, transaction->t_tid, in jbd2_journal_dirty_metadata()
1818 if (!transaction) { in jbd2_journal_stop()
2012 if (transaction) in __jbd2_journal_temp_unlink_buffer()
2040 if (transaction && is_journal_aborted(transaction->t_journal)) in __jbd2_journal_temp_unlink_buffer()
[all …]
A Djournal.c175 transaction_t *transaction; in kjournald2() local
243 transaction->t_expires)) in kjournald2()
261 if (transaction && time_after_eq(jiffies, transaction->t_expires)) { in kjournald2()
552 if (!transaction) { in __jbd2_journal_force_commit()
557 tid = transaction->t_tid; in __jbd2_journal_force_commit()
1058 transaction_t *transaction; in jbd2_journal_get_log_tail() local
1064 if (transaction) { in jbd2_journal_get_log_tail()
1065 *tid = transaction->t_tid; in jbd2_journal_get_log_tail()
1068 *tid = transaction->t_tid; in jbd2_journal_get_log_tail()
2445 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/staging/octeon-usb/
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/filesystems/
A Dxfs-delayed-logging-design.rst31 transaction::
184 transaction commit while the item is locked in the transaction. Instead of
265 transaction.
311 to any other transaction - it contains a transaction header, a series of
431 transaction. This LSN comes directly from the log buffer the transaction is
487 transaction. We don't know how big a checkpoint transaction is going to be
564 transaction commit code.
646 the transaction commit side.
658 compared to transaction commit for asynchronous transaction workloads - only
703 4. Join item to transaction
[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/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/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/drivers/nfc/st21nfca/
A Dse.c294 struct nfc_evt_transaction *transaction; in st21nfca_connectivity_event_received() local
314 transaction = devm_kzalloc(dev, skb->len - 2, GFP_KERNEL); in st21nfca_connectivity_event_received()
315 if (!transaction) in st21nfca_connectivity_event_received()
318 transaction->aid_len = skb->data[1]; in st21nfca_connectivity_event_received()
319 memcpy(transaction->aid, &skb->data[2], in st21nfca_connectivity_event_received()
320 transaction->aid_len); in st21nfca_connectivity_event_received()
323 if (skb->data[transaction->aid_len + 2] != in st21nfca_connectivity_event_received()
327 transaction->params_len = skb->data[transaction->aid_len + 3]; in st21nfca_connectivity_event_received()
328 memcpy(transaction->params, skb->data + in st21nfca_connectivity_event_received()
329 transaction->aid_len + 4, transaction->params_len); in st21nfca_connectivity_event_received()
[all …]
/linux/drivers/nfc/st-nci/
A Dse.c314 struct nfc_evt_transaction *transaction; in st_nci_hci_connectivity_event_received() local
333 transaction = devm_kzalloc(dev, skb->len - 2, GFP_KERNEL); in st_nci_hci_connectivity_event_received()
334 if (!transaction) in st_nci_hci_connectivity_event_received()
337 transaction->aid_len = skb->data[1]; in st_nci_hci_connectivity_event_received()
338 memcpy(transaction->aid, &skb->data[2], transaction->aid_len); in st_nci_hci_connectivity_event_received()
341 if (skb->data[transaction->aid_len + 2] != in st_nci_hci_connectivity_event_received()
345 transaction->params_len = skb->data[transaction->aid_len + 3]; in st_nci_hci_connectivity_event_received()
346 memcpy(transaction->params, skb->data + in st_nci_hci_connectivity_event_received()
347 transaction->aid_len + 4, transaction->params_len); in st_nci_hci_connectivity_event_received()
349 r = nfc_se_transaction(ndev->nfc_dev, host, transaction); in st_nci_hci_connectivity_event_received()
/linux/fs/btrfs/
A Dtransaction.c127 BUG_ON(!list_empty(&transaction->list)); in btrfs_put_transaction()
132 if (transaction->delayed_refs.pending_csums) in btrfs_put_transaction()
133 btrfs_err(transaction->fs_info, in btrfs_put_transaction()
135 transaction->delayed_refs.pending_csums); in btrfs_put_transaction()
143 while (!list_empty(&transaction->deleted_bgs)) { in btrfs_put_transaction()
154 kfree(transaction); in btrfs_put_transaction()
694 h->transaction = cur_trans; in start_transaction()
1303 &trans->transaction->switch_commits); in commit_cowonly_roots()
1367 &trans->transaction->switch_commits); in commit_fs_roots()
1910 cur_trans = trans->transaction; in btrfs_commit_transaction_async()
[all …]
A Dtransaction.h123 struct btrfs_transaction *transaction; member
173 inode->last_trans = trans->transaction->transid; in btrfs_set_inode_last_trans()
188 delayed_refs = &trans->transaction->delayed_refs; in btrfs_set_skip_qgroup()
197 delayed_refs = &trans->transaction->delayed_refs; in btrfs_clear_skip_qgroup()
231 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/ABI/testing/
A Ddebugfs-driver-habanalabs61 transaction while reading from the file generates a read
62 transaction. This custom interface is needed (instead of using
65 move the bar before and after the transaction.
76 write transaction while reading from the file generates a read
77 transaction. This custom interface is needed (instead of using
80 move the bar before and after the transaction.
140 Description: Sets I2C device address for I2C transaction that is generated
147 Description: Sets I2C bus address for I2C transaction that is generated by
154 Description: Triggers an I2C transaction that is generated by the device's
155 CPU. Writing to this file generates a write transaction while
[all …]
/linux/Documentation/devicetree/bindings/i2c/
A Di2c-mux-gpmux.yaml56 - between setup of the multiplexer and the child bus I2C transaction
57 - between the child bus I2C transaction and releasing of the multiplexer
62 for the full duration of the complete multiplexed I2C transaction (i.e.
66 adapter for the complete multiplexed I2C transaction.
/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?)
432 - The data block was deleted by the transaction. (Not used?)
[all …]
/linux/drivers/net/ethernet/intel/i40e/
A Di40e_nvm.c1281 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
1609 last = (transaction & I40E_NVM_LCB); in i40e_nvmupd_nvm_erase()
1644 u8 module, transaction; in i40e_nvmupd_nvm_write() local
[all …]
/linux/Documentation/i2c/
A Di2c-protocol.rst28 Simple send transaction
36 Simple receive transaction
50 condition P a start condition S is sent and the transaction continues.
73 In a combined transaction, no 'S Addr Wr/Rd [A]' is generated at some
/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.c153 struct transaction { struct
166 struct transaction transaction; argument
631 struct transaction *t = ec->curr; in advance_transaction()
770 struct transaction *t) in acpi_ec_transaction_unlocked()
835 struct transaction t = {.command = ACPI_EC_BURST_ENABLE, in acpi_ec_burst_enable()
844 struct transaction t = {.command = ACPI_EC_BURST_DISABLE, in acpi_ec_burst_disable()
856 struct transaction t = {.command = ACPI_EC_COMMAND_READ, in acpi_ec_read()
910 struct transaction t = {.command = command, in ec_transaction()
1109 struct transaction *t; in acpi_ec_create_query()
1115 t = &q->transaction; in acpi_ec_create_query()
[all …]
/linux/include/trace/events/
A Djbd2.h43 __field( int, transaction )
49 __entry->transaction = commit_transaction->t_tid;
54 __entry->transaction, __entry->sync_commit)
100 __field( int, transaction )
107 __entry->transaction = commit_transaction->t_tid;
113 __entry->transaction, __entry->sync_commit, __entry->head)
/linux/Documentation/driver-api/dmaengine/
A Dclient.rst23 - Get a descriptor for transaction
25 - Submit the transaction
76 3. Get a descriptor for transaction
94 the given transaction.
143 For slave DMA, the subsequent transaction may not be available
146 transaction.
251 4. Submit the transaction
278 issue_pending API. If channel is idle then the first transaction in
351 completion of a specific DMA transaction.

Completed in 61 milliseconds

123456789