Home
last modified time | relevance | path

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

12345678910>>...13

/OK3568_Linux_fs/kernel/fs/jbd2/
H A 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 …]
H A Dtransaction.c58 void jbd2_journal_free_transaction(transaction_t *transaction) in jbd2_journal_free_transaction() argument
60 if (unlikely(ZERO_OR_NULL_PTR(transaction))) in jbd2_journal_free_transaction()
62 kmem_cache_free(transaction_cache, transaction); in jbd2_journal_free_transaction()
103 transaction_t *transaction) in jbd2_get_transaction() argument
105 transaction->t_journal = journal; in jbd2_get_transaction()
106 transaction->t_state = T_RUNNING; in jbd2_get_transaction()
107 transaction->t_start_time = ktime_get(); in jbd2_get_transaction()
108 transaction->t_tid = journal->j_transaction_sequence++; in jbd2_get_transaction()
109 transaction->t_expires = jiffies + journal->j_commit_interval; in jbd2_get_transaction()
110 spin_lock_init(&transaction->t_handle_lock); in jbd2_get_transaction()
[all …]
H A Djournal.c175 transaction_t *transaction; in kjournald2() local
241 transaction = journal->j_running_transaction; in kjournald2()
242 if (transaction && time_after_eq(jiffies, in kjournald2()
243 transaction->t_expires)) in kjournald2()
260 transaction = journal->j_running_transaction; in kjournald2()
261 if (transaction && time_after_eq(jiffies, transaction->t_expires)) { in kjournald2()
262 journal->j_commit_request = transaction->t_tid; in kjournald2()
338 int jbd2_journal_write_metadata_buffer(transaction_t *transaction, in jbd2_journal_write_metadata_buffer() argument
351 journal_t *journal = transaction->t_journal; in jbd2_journal_write_metadata_buffer()
467 __jbd2_journal_file_buffer(jh_in, transaction, BJ_Shadow); in jbd2_journal_write_metadata_buffer()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/octeon-usb/
H A Docteon-hcd.c1352 struct cvmx_usb_transaction *transaction = in cvmx_usb_start_channel_control() local
1353 list_first_entry(&pipe->transactions, typeof(*transaction), in cvmx_usb_start_channel_control()
1356 cvmx_phys_to_ptr(transaction->control_header); in cvmx_usb_start_channel_control()
1357 int bytes_to_transfer = transaction->buffer_length - in cvmx_usb_start_channel_control()
1358 transaction->actual_bytes; in cvmx_usb_start_channel_control()
1365 switch (transaction->stage) { in cvmx_usb_start_channel_control()
1383 transaction->control_header); in cvmx_usb_start_channel_control()
1497 struct cvmx_usb_transaction *transaction = in cvmx_usb_start_channel() local
1498 list_first_entry(&pipe->transactions, typeof(*transaction), in cvmx_usb_start_channel()
1564 u64 dma_address = transaction->buffer + in cvmx_usb_start_channel()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dtt.c357 struct iwl_tt_trans *transaction; in iwl_advance_tt_handler() local
371 transaction = tt->transaction + in iwl_advance_tt_handler()
373 if (temp >= transaction->tt_low && in iwl_advance_tt_handler()
374 temp <= transaction->tt_high) { in iwl_advance_tt_handler()
388 transaction->next_state) { in iwl_advance_tt_handler()
391 transaction->next_state; in iwl_advance_tt_handler()
596 struct iwl_tt_trans *transaction; in iwl_tt_initialize() local
617 tt->transaction = kcalloc(IWL_TI_STATE_MAX * in iwl_tt_initialize()
621 if (!tt->restriction || !tt->transaction) { in iwl_tt_initialize()
626 kfree(tt->transaction); in iwl_tt_initialize()
[all …]
/OK3568_Linux_fs/kernel/Documentation/filesystems/
H A Dxfs-delayed-logging-design.rst26 changes in the new transaction that is written to the log.
31 transaction::
42 In other words, each time an object is relogged, the new transaction contains
48 (increasing) LSN of each subsequent transaction - the LSN is effectively a
49 direct encoding of the location in the log of the transaction.
52 transactions. These transaction are known as rolling transactions, and require
53 a special log reservation known as a permanent transaction reservation. A
54 typical example of a rolling transaction is the removal of extents from an
55 inode which can only be done at a rate of two extents per transaction because
56 of reservation size limitations. Hence a rolling extent removal transaction
[all …]
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
59 uncommitted transaction. At this point you are at last ready to modify a
74 single outstanding transaction at any one time, remember nothing commits
76 the transaction at the end of each file/inode/address etc. operation you
83 if there isn't enough space in the journal for your transaction (based
96 transaction. I advise having a look at at least ext4_jbd.h to see the
[all …]
/OK3568_Linux_fs/kernel/Documentation/powerpc/
H A Dtransactional_memory.rst21 A simple transaction looks like this::
41 /* Retry the transaction if it failed because it conflicted with
50 example, the transaction completes as though it were normal straight-line code
58 transaction, the transaction will be aborted by the CPU. Register and memory
66 Causes of transaction aborts
78 Syscalls made from within an active transaction will not be performed and the
79 transaction will be doomed by the kernel with the failure code TM_CAUSE_SYSCALL
82 Syscalls made from within a suspended transaction are performed as normal and
83 the transaction is not explicitly doomed by the kernel. However, what the
84 kernel does to perform the syscall may result in the transaction being doomed
[all …]
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/
H A Dpersist_data.py62 def transaction(f): member in SQLTable._Decorators
91 @_Decorators.transaction
108 @_Decorators.transaction
159 @_Decorators.transaction
168 @_Decorators.transaction
175 @_Decorators.transaction
193 @_Decorators.transaction
199 @_Decorators.transaction
234 @_Decorators.transaction
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/rpm/files/
H A D0001-lib-transaction.c-fix-file-conflicts-for-MIPS64-N32.patch4 Subject: [PATCH] lib/transaction.c: fix file conflicts for MIPS64 N32
31 lib/transaction.c | 13 ++++++++++++-
34 diff --git a/lib/transaction.c b/lib/transaction.c
36 --- a/lib/transaction.c
37 +++ b/lib/transaction.c
/OK3568_Linux_fs/kernel/drivers/nfc/st21nfca/
H A Dse.c306 struct nfc_evt_transaction *transaction; in st21nfca_connectivity_event_received() local
338 if (skb->len < aid_len + 4 || aid_len > sizeof(transaction->aid)) in st21nfca_connectivity_event_received()
350 transaction = devm_kzalloc(dev, sizeof(*transaction) + params_len, GFP_KERNEL); in st21nfca_connectivity_event_received()
351 if (!transaction) in st21nfca_connectivity_event_received()
354 transaction->aid_len = aid_len; in st21nfca_connectivity_event_received()
355 transaction->params_len = params_len; in st21nfca_connectivity_event_received()
357 memcpy(transaction->aid, &skb->data[2], aid_len); in st21nfca_connectivity_event_received()
358 memcpy(transaction->params, &skb->data[aid_len + 4], params_len); in st21nfca_connectivity_event_received()
360 r = nfc_se_transaction(hdev->ndev, host, transaction); in st21nfca_connectivity_event_received()
/OK3568_Linux_fs/kernel/drivers/nfc/st-nci/
H A Dse.c315 struct nfc_evt_transaction *transaction; in st_nci_hci_connectivity_event_received() local
334 transaction = devm_kzalloc(dev, skb->len - 2, GFP_KERNEL); in st_nci_hci_connectivity_event_received()
335 if (!transaction) in st_nci_hci_connectivity_event_received()
338 transaction->aid_len = skb->data[1]; in st_nci_hci_connectivity_event_received()
339 memcpy(transaction->aid, &skb->data[2], transaction->aid_len); in st_nci_hci_connectivity_event_received()
342 if (skb->data[transaction->aid_len + 2] != in st_nci_hci_connectivity_event_received()
344 devm_kfree(dev, transaction); in st_nci_hci_connectivity_event_received()
348 transaction->params_len = skb->data[transaction->aid_len + 3]; in st_nci_hci_connectivity_event_received()
349 memcpy(transaction->params, skb->data + in st_nci_hci_connectivity_event_received()
350 transaction->aid_len + 4, transaction->params_len); in st_nci_hci_connectivity_event_received()
[all …]
/OK3568_Linux_fs/external/mpp/doc/design/
H A D4.mpp_task.txt4 Mpp task is the contain component for transaction with external user in advanced
16 Mpp task transaction
23 and task status to control the transaction.
26 Mpp port is the transaction interface of task queue. External user and internal
49 4. Mpp task / port transaction
50 There are three transaction functions on a port: poll / dequeue / enqueue.
51 When port user call the transaction function task will be transfer from one
80 Mpp task transaction of a complete work flow
/OK3568_Linux_fs/kernel/fs/btrfs/
H A Dtransaction.c118 void btrfs_put_transaction(struct btrfs_transaction *transaction) in btrfs_put_transaction() argument
120 WARN_ON(refcount_read(&transaction->use_count) == 0); in btrfs_put_transaction()
121 if (refcount_dec_and_test(&transaction->use_count)) { in btrfs_put_transaction()
122 BUG_ON(!list_empty(&transaction->list)); in btrfs_put_transaction()
124 &transaction->delayed_refs.href_root.rb_root)); in btrfs_put_transaction()
126 &transaction->delayed_refs.dirty_extent_root)); in btrfs_put_transaction()
127 if (transaction->delayed_refs.pending_csums) in btrfs_put_transaction()
128 btrfs_err(transaction->fs_info, in btrfs_put_transaction()
130 transaction->delayed_refs.pending_csums); in btrfs_put_transaction()
138 while (!list_empty(&transaction->deleted_bgs)) { in btrfs_put_transaction()
[all …]
H A Dtransaction.h122 struct btrfs_transaction *transaction; member
172 inode->last_trans = trans->transaction->transid; in btrfs_set_inode_last_trans()
187 delayed_refs = &trans->transaction->delayed_refs; in btrfs_set_skip_qgroup()
196 delayed_refs = &trans->transaction->delayed_refs; in btrfs_clear_skip_qgroup()
231 void btrfs_put_transaction(struct btrfs_transaction *transaction);
/OK3568_Linux_fs/kernel/Documentation/locking/
H A Dww-mutex-design.rst36 In the RDBMS literature, a reservation ticket is associated with a transaction.
39 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.
47 The two algorithms are both fair in that a transaction will eventually succeed.
53 running transaction. Note that this is not the same as process preemption. A
54 Wound-Wait transaction is considered preempted when it dies (returning
[all …]
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H 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.
104 Description: Sets I2C device address for I2C transaction that is generated
111 Description: Sets I2C bus address for I2C transaction that is generated by
118 Description: Triggers an I2C transaction that is generated by the device's
119 CPU. Writing to this file generates a write transaction while
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/share/info/
H A Dlibitm.info34 Transactional Memory Library. It provides transaction support for
58 transaction statements (e.g., '__transaction_atomic', *note C/C++
67 Transactions are supported in C++ and C in the form of transaction
68 statements, transaction expressions, and function transactions. In the
135 transaction including all the executions of all nested transactions.
138 transaction) about which memory locations are shared and which are not
145 the lifetime of the transaction, whichever is shorter). Thus, memory
148 these stack frames' lifetimes will end before the transaction finishes.
175 '_ITM_codeProperties' has changed, *note Starting a transaction:
200 (i.e., for a nested transaction's identifier IN and its enclosing
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/share/info/
H A Dlibitm.info34 Transactional Memory Library. It provides transaction support for
58 transaction statements (e.g., '__transaction_atomic', *note C/C++
67 Transactions are supported in C++ and C in the form of transaction
68 statements, transaction expressions, and function transactions. In the
135 transaction including all the executions of all nested transactions.
138 transaction) about which memory locations are shared and which are not
145 the lifetime of the transaction, whichever is shorter). Thus, memory
148 these stack frames' lifetimes will end before the transaction finishes.
175 '_ITM_codeProperties' has changed, *note Starting a transaction:
200 (i.e., for a nested transaction's identifier IN and its enclosing
[all …]
/OK3568_Linux_fs/kernel/Documentation/filesystems/ext4/
H A Djournal.rst10 as possible. Once the important data transaction is fully written to the
70 - One transaction
73 Notice that a transaction begins with either a descriptor and some data,
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?)
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/qemu/qemu/
H A DCVE-2021-3750-3.patch14 before running any bus transaction.
47 + * devices) by default. By setting the 'memory' bit, bus transaction
83 + * @attrs: memory transaction attributes
87 + * Check if a memory transaction is allowed.
89 + * Returns: true if transaction is allowed, false if denied.
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/i2c/
H A 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.
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/i40e/
H 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
1607 transaction = i40e_nvmupd_get_transaction(cmd->config); in i40e_nvmupd_nvm_erase()
1609 last = (transaction & I40E_NVM_LCB); in i40e_nvmupd_nvm_erase()
[all …]
/OK3568_Linux_fs/kernel/include/trace/events/
H 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)

12345678910>>...13