Home
last modified time | relevance | path

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

12345678

/Linux-v4.19/fs/jbd2/
Dcheckpoint.c32 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()
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->t_checkpoint_io_list = jh->b_cpnext; in __buffer_unlink()
55 if (transaction->t_checkpoint_io_list == jh) in __buffer_unlink()
56 transaction->t_checkpoint_io_list = NULL; in __buffer_unlink()
[all …]
Dtransaction.c56 void jbd2_journal_free_transaction(transaction_t *transaction) in jbd2_journal_free_transaction() argument
58 if (unlikely(ZERO_OR_NULL_PTR(transaction))) in jbd2_journal_free_transaction()
60 kmem_cache_free(transaction_cache, transaction); in jbd2_journal_free_transaction()
79 jbd2_get_transaction(journal_t *journal, transaction_t *transaction) in jbd2_get_transaction() argument
81 transaction->t_journal = journal; in jbd2_get_transaction()
82 transaction->t_state = T_RUNNING; in jbd2_get_transaction()
83 transaction->t_start_time = ktime_get(); in jbd2_get_transaction()
84 transaction->t_tid = journal->j_transaction_sequence++; in jbd2_get_transaction()
85 transaction->t_expires = jiffies + journal->j_commit_interval; in jbd2_get_transaction()
86 spin_lock_init(&transaction->t_handle_lock); in jbd2_get_transaction()
[all …]
Djournal.c191 transaction_t *transaction; in kjournald2() local
257 transaction = journal->j_running_transaction; in kjournald2()
258 if (transaction && time_after_eq(jiffies, in kjournald2()
259 transaction->t_expires)) in kjournald2()
276 transaction = journal->j_running_transaction; in kjournald2()
277 if (transaction && time_after_eq(jiffies, transaction->t_expires)) { in kjournald2()
278 journal->j_commit_request = transaction->t_tid; in kjournald2()
354 int jbd2_journal_write_metadata_buffer(transaction_t *transaction, in jbd2_journal_write_metadata_buffer() argument
367 journal_t *journal = transaction->t_journal; in jbd2_journal_write_metadata_buffer()
483 __jbd2_journal_file_buffer(jh_in, transaction, BJ_Shadow); in jbd2_journal_write_metadata_buffer()
[all …]
Drevoke.c516 void jbd2_journal_write_revoke_records(transaction_t *transaction, in jbd2_journal_write_revoke_records() argument
519 journal_t *journal = transaction->t_journal; in jbd2_journal_write_revoke_records()
540 write_one_revoke_record(transaction, log_bufs, in jbd2_journal_write_revoke_records()
557 static void write_one_revoke_record(transaction_t *transaction, in write_one_revoke_record() argument
563 journal_t *journal = transaction->t_journal; in write_one_revoke_record()
596 descriptor = jbd2_journal_get_descriptor_buffer(transaction, in write_one_revoke_record()
/Linux-v4.19/drivers/staging/octeon-usb/
Docteon-hcd.c1351 struct cvmx_usb_transaction *transaction = in cvmx_usb_start_channel_control() local
1352 list_first_entry(&pipe->transactions, typeof(*transaction), in cvmx_usb_start_channel_control()
1355 cvmx_phys_to_ptr(transaction->control_header); in cvmx_usb_start_channel_control()
1356 int bytes_to_transfer = transaction->buffer_length - in cvmx_usb_start_channel_control()
1357 transaction->actual_bytes; in cvmx_usb_start_channel_control()
1364 switch (transaction->stage) { in cvmx_usb_start_channel_control()
1382 transaction->control_header); in cvmx_usb_start_channel_control()
1496 struct cvmx_usb_transaction *transaction = in cvmx_usb_start_channel() local
1497 list_first_entry(&pipe->transactions, typeof(*transaction), in cvmx_usb_start_channel()
1563 u64 dma_address = transaction->buffer + in cvmx_usb_start_channel()
[all …]
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/dvm/
Dtt.c371 struct iwl_tt_trans *transaction; in iwl_advance_tt_handler() local
385 transaction = tt->transaction + in iwl_advance_tt_handler()
387 if (temp >= transaction->tt_low && in iwl_advance_tt_handler()
388 temp <= transaction->tt_high) { in iwl_advance_tt_handler()
402 transaction->next_state) { in iwl_advance_tt_handler()
405 transaction->next_state; in iwl_advance_tt_handler()
610 struct iwl_tt_trans *transaction; in iwl_tt_initialize() local
631 tt->transaction = kcalloc(IWL_TI_STATE_MAX * in iwl_tt_initialize()
635 if (!tt->restriction || !tt->transaction) { in iwl_tt_initialize()
640 kfree(tt->transaction); in iwl_tt_initialize()
[all …]
/Linux-v4.19/Documentation/i2c/busses/
Di2c-mlxcpld16 The next transaction types are supported:
24 Bits [6:5] - transaction length. b01 - 72B is supported,
38 It should be written last as it triggers an I2C transaction.
40 Number of data bytes to write in read transaction
42 Number of address bytes to write in read transaction.
44 Bit 0 - transaction is completed.
47 For write transaction address is specified in four first bytes
49 For read transactions address is sent in a separate transaction and
/Linux-v4.19/Documentation/powerpc/
Dtransactional_memory.txt20 A simple transaction looks like this:
40 /* Retry the transaction if it failed because it conflicted with
49 example, the transaction completes as though it were normal straight-line code
57 transaction, the transaction will be aborted by the CPU. Register and memory
65 Causes of transaction aborts
77 Syscalls made from within an active transaction will not be performed and the
78 transaction will be doomed by the kernel with the failure code TM_CAUSE_SYSCALL
81 Syscalls made from within a suspended transaction are performed as normal and
82 the transaction is not explicitly doomed by the kernel. However, what the
83 kernel does to perform the syscall may result in the transaction being doomed
[all …]
Dsyscall64-abi.txt54 transaction state, and the syscall can affect the behavior of the transaction.
60 in the transaction being doomed by hardware.
67 be performed and the transaction will be doomed by the kernel with the
105 may or may not result in the transaction being doomed by hardware.
/Linux-v4.19/Documentation/filesystems/
Dxfs-delayed-logging-design.txt23 changes in the new transaction that is written to the log.
28 transaction:
39 In other words, each time an object is relogged, the new transaction contains
45 (increasing) LSN of each subsequent transaction - the LSN is effectively a
46 direct encoding of the location in the log of the transaction.
49 transactions. These transaction are known as rolling transactions, and require
50 a special log reservation known as a permanent transaction reservation. A
51 typical example of a rolling transaction is the removal of extents from an
52 inode which can only be done at a rate of two extents per transaction because
53 of reservation size limitations. Hence a rolling extent removal transaction
[all …]
Dindex.rst190 this use :c:func:`jbd2_journal_start` which returns a transaction handle.
193 which indicates the end of a transaction are nestable calls, so you can
194 reenter a transaction if necessary, but remember you must call
196 :c:func:`jbd2_journal_start` before the transaction is completed (or more
200 Inside each transaction you need to wrap the modifications to the
207 uncommitted transaction. At this point you are at last ready to modify a
222 single outstanding transaction at any one time, remember nothing commits
224 the transaction at the end of each file/inode/address etc. operation you
231 if there isn't enough space in the journal for your transaction (based
244 transaction. I advise having a look at at least ext4_jbd.h to see the
[all …]
/Linux-v4.19/drivers/nfc/st21nfca/
Dse.c309 struct nfc_evt_transaction *transaction; in st21nfca_connectivity_event_received() local
329 transaction = (struct nfc_evt_transaction *)devm_kzalloc(dev, in st21nfca_connectivity_event_received()
332 transaction->aid_len = skb->data[1]; in st21nfca_connectivity_event_received()
333 memcpy(transaction->aid, &skb->data[2], in st21nfca_connectivity_event_received()
334 transaction->aid_len); in st21nfca_connectivity_event_received()
337 if (skb->data[transaction->aid_len + 2] != in st21nfca_connectivity_event_received()
341 transaction->params_len = skb->data[transaction->aid_len + 3]; in st21nfca_connectivity_event_received()
342 memcpy(transaction->params, skb->data + in st21nfca_connectivity_event_received()
343 transaction->aid_len + 4, transaction->params_len); in st21nfca_connectivity_event_received()
345 r = nfc_se_transaction(hdev->ndev, host, transaction); in st21nfca_connectivity_event_received()
/Linux-v4.19/fs/btrfs/
Dtransaction.h115 struct btrfs_transaction *transaction; member
152 BTRFS_I(inode)->last_trans = trans->transaction->transid; in btrfs_set_inode_last_trans()
167 delayed_refs = &trans->transaction->delayed_refs; in btrfs_set_skip_qgroup()
176 delayed_refs = &trans->transaction->delayed_refs; in btrfs_clear_skip_qgroup()
227 void btrfs_put_transaction(struct btrfs_transaction *transaction);
Dtransaction.c42 void btrfs_put_transaction(struct btrfs_transaction *transaction) in btrfs_put_transaction() argument
44 WARN_ON(refcount_read(&transaction->use_count) == 0); in btrfs_put_transaction()
45 if (refcount_dec_and_test(&transaction->use_count)) { in btrfs_put_transaction()
46 BUG_ON(!list_empty(&transaction->list)); in btrfs_put_transaction()
47 WARN_ON(!RB_EMPTY_ROOT(&transaction->delayed_refs.href_root)); in btrfs_put_transaction()
48 if (transaction->delayed_refs.pending_csums) in btrfs_put_transaction()
49 btrfs_err(transaction->fs_info, in btrfs_put_transaction()
51 transaction->delayed_refs.pending_csums); in btrfs_put_transaction()
52 while (!list_empty(&transaction->pending_chunks)) { in btrfs_put_transaction()
55 em = list_first_entry(&transaction->pending_chunks, in btrfs_put_transaction()
[all …]
/Linux-v4.19/drivers/nfc/st-nci/
Dse.c326 struct nfc_evt_transaction *transaction; in st_nci_hci_connectivity_event_received() local
345 transaction = (struct nfc_evt_transaction *)devm_kzalloc(dev, in st_nci_hci_connectivity_event_received()
348 transaction->aid_len = skb->data[1]; in st_nci_hci_connectivity_event_received()
349 memcpy(transaction->aid, &skb->data[2], transaction->aid_len); in st_nci_hci_connectivity_event_received()
352 if (skb->data[transaction->aid_len + 2] != in st_nci_hci_connectivity_event_received()
356 transaction->params_len = skb->data[transaction->aid_len + 3]; in st_nci_hci_connectivity_event_received()
357 memcpy(transaction->params, skb->data + in st_nci_hci_connectivity_event_received()
358 transaction->aid_len + 4, transaction->params_len); in st_nci_hci_connectivity_event_received()
360 r = nfc_se_transaction(ndev->nfc_dev, host, transaction); in st_nci_hci_connectivity_event_received()
/Linux-v4.19/Documentation/locking/
Dww-mutex-design.txt35 In the RDBMS literature, a reservation ticket is associated with a transaction.
38 If the transaction holding the lock is younger, the locking transaction waits.
39 If the transaction holding the lock is older, the locking transaction backs off
42 If the transaction holding the lock is younger, the locking transaction
43 wounds the transaction holding the lock, requesting it to die.
44 If the transaction holding the lock is older, it waits for the other
45 transaction. Hence Wound-Wait.
46 The two algorithms are both fair in that a transaction will eventually succeed.
52 running transaction. Note that this is not the same as process preemption. A
53 Wound-Wait transaction is considered preempted when it dies (returning
[all …]
/Linux-v4.19/Documentation/filesystems/ext4/ondisk/
Djournal.rst10 as possible. Once the important data transaction is fully written to the
59 - One transaction
62 Notice that a transaction begins with either a descriptor and some data,
63 or a block revocation list. A finished transaction always ends with a
65 transaction will be discarded during replay.
91 - One transaction
120 - The transaction ID that goes with this block.
134 written through the journal during a transaction.
137 transaction.
233 - Limit of journal blocks per transaction. (Not used?)
[all …]
/Linux-v4.19/Documentation/devicetree/bindings/i2c/
Di2c-mux-gpmux.txt34 + between setup of the multiplexer and the child bus I2C transaction
35 + between the child bus I2C transaction and releasing of the multiplexer
39 for the full duration of the complete multiplexed I2C transaction (i.e.
43 adapter for the complete multiplexed I2C transaction.
/Linux-v4.19/include/trace/events/
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-v4.19/drivers/net/ethernet/intel/i40e/
Di40e_nvm.c1178 u8 module, transaction; in i40e_nvmupd_validate_command() local
1183 transaction = i40e_nvmupd_get_transaction(cmd->config); in i40e_nvmupd_validate_command()
1198 switch (transaction) { in i40e_nvmupd_validate_command()
1224 switch (transaction) { in i40e_nvmupd_validate_command()
1462 u8 module, transaction; in i40e_nvmupd_nvm_read() local
1465 transaction = i40e_nvmupd_get_transaction(cmd->config); in i40e_nvmupd_nvm_read()
1467 last = (transaction == I40E_NVM_LCB) || (transaction == I40E_NVM_SA); in i40e_nvmupd_nvm_read()
1501 u8 module, transaction; in i40e_nvmupd_nvm_erase() local
1504 transaction = i40e_nvmupd_get_transaction(cmd->config); in i40e_nvmupd_nvm_erase()
1506 last = (transaction & I40E_NVM_LCB); in i40e_nvmupd_nvm_erase()
[all …]
/Linux-v4.19/Documentation/driver-api/dmaengine/
Dclient.rst23 - Get a descriptor for transaction
25 - Submit the transaction
76 3. Get a descriptor for transaction
92 the given transaction.
139 For slave DMA, the subsequent transaction may not be available
142 transaction.
154 4. Submit the transaction
174 issue_pending API. If channel is idle then the first transaction in
247 completion of a specific DMA transaction.
Dprovider.rst134 transaction descriptor is done.
145 Supported transaction types
148 The next thing you need is to set which transaction types your device
152 various types of transaction supported, and you need to modify this
154 transaction types you support as an argument.
213 we just have a single transaction type that is supposed to
258 implement, obviously depend on the transaction types you reported as
307 that is supposed to push the current transaction descriptor to a
312 transaction has completed. In the earlier code the function pointer
314 transaction and will be deprecated. The result structure defined as
[all …]
/Linux-v4.19/Documentation/i2c/
Di2c-protocol21 Simple send transaction
29 Simple receive transaction
43 a start bit S is sent and the transaction continues. An example of
66 In a combined transaction, no 'S Addr Wr/Rd [A]' is generated at some
/Linux-v4.19/Documentation/device-mapper/
Dpersistent-data.txt38 The transaction manager
41 dm-transaction-manager.[hc]
45 transaction manager is by shadowing an existing block (ie. doing
47 the same transaction so performance is reasonable. The commit method
/Linux-v4.19/Documentation/devicetree/bindings/net/
Dbrcm,mdio-mux-iproc.txt4 external to SoCs and could accept MDIO transaction compatible to C-22 or
6 properties as well to generate desired MDIO transaction on appropriate bus.

12345678