Home
last modified time | relevance | path

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

12345678910>>...12

/openbmc/linux/fs/jbd2/
H A Dcheckpoint.c32 transaction_t *transaction = jh->b_cp_transaction; in __buffer_unlink() local
36 if (transaction->t_checkpoint_list == jh) { in __buffer_unlink()
37 transaction->t_checkpoint_list = jh->b_cpnext; in __buffer_unlink()
38 if (transaction->t_checkpoint_list == jh) in __buffer_unlink()
39 transaction->t_checkpoint_list = NULL; in __buffer_unlink()
158 transaction_t *transaction; in jbd2_log_do_checkpoint() local
182 transaction = journal->j_checkpoint_transactions; in jbd2_log_do_checkpoint()
183 if (transaction->t_chp_stats.cs_chp_time == 0) in jbd2_log_do_checkpoint()
184 transaction->t_chp_stats.cs_chp_time = jiffies; in jbd2_log_do_checkpoint()
185 this_tid = transaction->t_tid; in jbd2_log_do_checkpoint()
[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()
81 transaction_t *transaction) in jbd2_get_transaction() argument
83 transaction->t_journal = journal; in jbd2_get_transaction()
84 transaction->t_state = T_RUNNING; in jbd2_get_transaction()
85 transaction->t_start_time = ktime_get(); in jbd2_get_transaction()
86 transaction->t_tid = journal->j_transaction_sequence++; in jbd2_get_transaction()
87 transaction->t_expires = jiffies + journal->j_commit_interval; in jbd2_get_transaction()
88 atomic_set(&transaction->t_updates, 0); in jbd2_get_transaction()
[all …]
H A Djournal.c163 transaction_t *transaction; in kjournald2() local
229 transaction = journal->j_running_transaction; in kjournald2()
230 if (transaction && time_after_eq(jiffies, in kjournald2()
231 transaction->t_expires)) in kjournald2()
248 transaction = journal->j_running_transaction; in kjournald2()
249 if (transaction && time_after_eq(jiffies, transaction->t_expires)) { in kjournald2()
250 journal->j_commit_request = transaction->t_tid; in kjournald2()
326 int jbd2_journal_write_metadata_buffer(transaction_t *transaction, in jbd2_journal_write_metadata_buffer() argument
339 journal_t *journal = transaction->t_journal; in jbd2_journal_write_metadata_buffer()
453 __jbd2_journal_file_buffer(jh_in, transaction, BJ_Shadow); in jbd2_journal_write_metadata_buffer()
[all …]
/openbmc/linux/drivers/usb/host/
H A Docteon-hcd.c1354 struct cvmx_usb_transaction *transaction = in cvmx_usb_start_channel_control() local
1355 list_first_entry(&pipe->transactions, typeof(*transaction), in cvmx_usb_start_channel_control()
1358 cvmx_phys_to_ptr(transaction->control_header); in cvmx_usb_start_channel_control()
1359 int bytes_to_transfer = transaction->buffer_length - in cvmx_usb_start_channel_control()
1360 transaction->actual_bytes; in cvmx_usb_start_channel_control()
1367 switch (transaction->stage) { in cvmx_usb_start_channel_control()
1385 transaction->control_header); in cvmx_usb_start_channel_control()
1499 struct cvmx_usb_transaction *transaction = in cvmx_usb_start_channel() local
1500 list_first_entry(&pipe->transactions, typeof(*transaction), in cvmx_usb_start_channel()
1566 u64 dma_address = transaction->buffer + in cvmx_usb_start_channel()
[all …]
/openbmc/qemu/hw/usb/
H A Du2f-passthru.c47 struct transaction { struct
68 struct transaction current_transactions[CURRENT_TRANSACTIONS_NUM]; argument
152 static struct transaction *u2f_transaction_get(U2FPassthruState *key, in u2f_transaction_get()
162 static struct transaction *u2f_transaction_get_from_nonce(U2FPassthruState *key, in u2f_transaction_get_from_nonce()
190 sizeof(struct transaction)); in u2f_transaction_close()
208 struct transaction *transaction; in u2f_transaction_add() local
213 transaction = &key->current_transactions[index]; in u2f_transaction_add()
214 u2f_transaction_close(key, transaction->cid); in u2f_transaction_add()
223 transaction = &key->current_transactions[index]; in u2f_transaction_add()
224 transaction->cid = cid; in u2f_transaction_add()
[all …]
/openbmc/bmcweb/include/
H A Dopenbmc_dbus_rest.hpp97 const std::shared_ptr<bmcweb::AsyncResp>& transaction) in introspectObjects() argument
99 if (transaction->res.jsonValue.is_null()) in introspectObjects()
101 transaction->res.jsonValue["status"] = "ok"; in introspectObjects()
102 transaction->res.jsonValue["bus_name"] = processName; in introspectObjects()
103 transaction->res.jsonValue["objects"] = nlohmann::json::array(); in introspectObjects()
107 [transaction, processName{std::string(processName)}, in introspectObjects()
121 transaction->res.jsonValue["objects"].emplace_back( in introspectObjects()
148 introspectObjects(processName, newpath, transaction); in introspectObjects()
263 const std::shared_ptr<InProgressEnumerateData>& transaction) in getManagedObjectsForEnumerate() argument
271 [transaction, objectName, in getManagedObjectsForEnumerate()
[all …]
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dtt.c352 struct iwl_tt_trans *transaction; in iwl_advance_tt_handler() local
366 transaction = tt->transaction + in iwl_advance_tt_handler()
368 if (temp >= transaction->tt_low && in iwl_advance_tt_handler()
369 temp <= transaction->tt_high) { in iwl_advance_tt_handler()
383 transaction->next_state) { in iwl_advance_tt_handler()
386 transaction->next_state; in iwl_advance_tt_handler()
591 struct iwl_tt_trans *transaction; in iwl_tt_initialize() local
612 tt->transaction = kcalloc(IWL_TI_STATE_MAX * in iwl_tt_initialize()
616 if (!tt->restriction || !tt->transaction) { in iwl_tt_initialize()
621 kfree(tt->transaction); in iwl_tt_initialize()
[all …]
/openbmc/sdbusplus/include/sdbusplus/server/
H A Dtransaction.hpp15 namespace transaction namespace
67 struct hash<sdbusplus::server::transaction::Transaction>
70 const sdbusplus::server::transaction::Transaction& t) const;
75 struct hash<sdbusplus::server::transaction::details::Transaction>
78 const sdbusplus::server::transaction::details::Transaction& t) const;
87 namespace transaction namespace
/openbmc/linux/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
/openbmc/linux/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 …]
/openbmc/linux/Documentation/filesystems/
H A Dxfs-delayed-logging-design.rst13 themselves with the general concepts of how transaction processing in XFS works.
16 transaction reservations are structured and accounted, and then move into how we
59 transactions. Permanent transaction reservations can take reservations that span
68 In the code, a one-shot transaction pattern looks somewhat like this::
72 <join item to transaction>
76 As items are modified in the transaction, the dirty regions in those items are
77 tracked via the transaction handle. Once the transaction is committed, all
79 space that was taken at the transaction allocation time.
81 In contrast, a permanent transaction is made up of multiple linked individual
97 While this might look similar to a one-shot transaction, there is an important
[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 …]
/openbmc/openbmc/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
/openbmc/sdbusplus/src/server/
H A Dtransaction.cpp7 namespace transaction namespace
77 size_t hash<sdbusplus::server::transaction::Transaction>::operator()( in operator ()()
78 const sdbusplus::server::transaction::Transaction& t) const in operator ()()
88 size_t hash<sdbusplus::server::transaction::details::Transaction>::operator()( in operator ()()
89 const sdbusplus::server::transaction::details::Transaction& t) const in operator ()()
/openbmc/linux/drivers/nfc/st21nfca/
H 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()
/openbmc/linux/fs/btrfs/
H A Dtransaction.c141 void btrfs_put_transaction(struct btrfs_transaction *transaction) in btrfs_put_transaction() argument
143 WARN_ON(refcount_read(&transaction->use_count) == 0); in btrfs_put_transaction()
144 if (refcount_dec_and_test(&transaction->use_count)) { in btrfs_put_transaction()
145 BUG_ON(!list_empty(&transaction->list)); in btrfs_put_transaction()
147 &transaction->delayed_refs.href_root.rb_root)); in btrfs_put_transaction()
149 &transaction->delayed_refs.dirty_extent_root)); in btrfs_put_transaction()
150 if (transaction->delayed_refs.pending_csums) in btrfs_put_transaction()
151 btrfs_err(transaction->fs_info, in btrfs_put_transaction()
153 transaction->delayed_refs.pending_csums); in btrfs_put_transaction()
161 while (!list_empty(&transaction->deleted_bgs)) { in btrfs_put_transaction()
[all …]
H A Dtransaction.h132 struct btrfs_transaction *transaction; member
183 inode->last_trans = trans->transaction->transid; in btrfs_set_inode_last_trans()
198 delayed_refs = &trans->transaction->delayed_refs; in btrfs_set_skip_qgroup()
207 delayed_refs = &trans->transaction->delayed_refs; in btrfs_clear_skip_qgroup()
270 void btrfs_put_transaction(struct btrfs_transaction *transaction);
/openbmc/phosphor-objmgr/src/
H A Dmain.cpp166 const std::shared_ptr<InProgressIntrospect>& transaction, in doIntrospect() argument
173 [&io, &interfaceMap, &objectServer, transaction, path, systemBus, in doIntrospect()
181 doIntrospect(io, systemBus, transaction, interfaceMap, in doIntrospect()
187 << " on process: " << transaction->processName in doIntrospect()
218 thisPathMap[transaction->processName].emplace(ifaceName); in doIntrospect()
223 transaction->processName, path); in doIntrospect()
232 transaction->assocMaps, objectServer); in doIntrospect()
246 doIntrospect(io, systemBus, transaction, interfaceMap, in doIntrospect()
252 transaction->processName, path, "org.freedesktop.DBus.Introspectable", in doIntrospect()
268 std::shared_ptr<InProgressIntrospect> transaction = in startNewIntrospect() local
[all …]
/openbmc/linux/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 …]
/openbmc/qemu/qapi/
H A Dtransaction.json14 # This action can be used to test transaction failure.
159 # @transaction.
201 # @transaction:
227 # in the transaction. When an I/O error occurs during deletion, the
234 # execution of the transaction. See @TransactionProperties for
238 # - Any errors from commands in the transaction
240 # .. note:: The transaction aborts on the first failure. Therefore,
268 { 'command': 'transaction',
/openbmc/sdbusplus/tools/sdbusplus/templates/
H A Dproperty.aserver.callback.hpp.mako18 // Set up the transaction.
19 server::transaction::set_id(m);
66 // Set up the transaction.
67 server::transaction::set_id(m);
/openbmc/linux/Documentation/i2c/
H 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
/openbmc/linux/drivers/nfc/st-nci/
H 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()
/openbmc/qemu/tests/qemu-iotests/
H A D241.out9 transaction size: 64-bit
20 transaction size: 64-bit
33 transaction size: 64-bit
/openbmc/linux/drivers/nvme/host/
H 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()
414 data->t_id = cpu_to_le16(chap->transaction); in nvme_auth_set_dhchap_failure2_data()
429 __func__, chap->qid, chap->s1, chap->transaction); in nvme_auth_dhchap_setup_host_response()
478 put_unaligned_le16(chap->transaction, buf); in nvme_auth_dhchap_setup_host_response()
545 __func__, chap->qid, chap->s2, chap->transaction); in nvme_auth_dhchap_setup_ctrl_response()
[all …]

12345678910>>...12