Home
last modified time | relevance | path

Searched full:transaction (Results 1 – 25 of 392) sorted by relevance

12345678910>>...16

/openbmc/sdbusplus/include/sdbusplus/server/
H A Dtransaction.hpp15 namespace transaction namespace
20 // Transaction Id
23 struct Transaction struct
25 Transaction() : time(std::time(nullptr)), thread(std::this_thread::get_id()) in Transaction() function
34 struct Transaction struct
36 Transaction(sdbusplus::bus_t& bus_in, sdbusplus::message_t& msg_in) : in Transaction() argument
44 } // namespace transaction
65 /** @ brief Overload of std::hash for Transaction */
67 struct hash<sdbusplus::server::transaction::Transaction>
70 const sdbusplus::server::transaction::Transaction& t) const;
[all …]
/openbmc/sdbusplus/src/server/
H A Dtransaction.cpp1 #include "sdbusplus/server/transaction.hpp"
7 namespace transaction namespace
12 // Transaction Id
19 // If the transaction id has not been initialized, generate one. in get_id()
22 details::Transaction t; in get_id()
23 details::id = std::hash<details::Transaction>{}(t); in get_id()
36 auto t = Transaction(tbus, msg); in set_id()
37 set_id(std::hash<Transaction>{}(t)); in set_id()
40 } // namespace transaction
59 // to correlate messages as one transaction. in operator ()()
[all …]
/openbmc/qemu/include/qemu/
H A Dtransactions.h23 * = Generic transaction API =
26 * represents the actions. They will usually have Transaction* argument, and
30 * Then, when you need to make a transaction, create an empty Transaction by
32 * tran_abort() or tran_commit() to finalize the transaction by corresponding
35 * The clean() functions registered by the drivers in a transaction are called
50 typedef struct Transaction Transaction; typedef
52 Transaction *tran_new(void);
53 void tran_add(Transaction *tran, TransactionActionDrv *drv, void *opaque);
54 void tran_abort(Transaction *tran);
55 void tran_commit(Transaction *tran);
[all …]
H A Djob.h180 /** Transaction this job is part of */
183 /** Element of the list of jobs in a job transaction */
209 * If this callback returns nonzero, the job transaction it is part of is
211 * is the last job to complete in its transaction, all jobs in the
212 * transaction move from WAITING to PENDING.
260 * belonging to the same transaction complete; or upon this job's completion
261 * if it is not in a transaction.
270 * belonging to the same transaction complete; or upon this job's
271 * completion if it is not in a transaction. Skipped if NULL.
280 * same transaction fails; or upon this job's failure (due to error or
[all …]
/openbmc/qemu/hw/usb/
H A Du2f-passthru.c47 struct transaction { struct
68 struct transaction current_transactions[CURRENT_TRANSACTIONS_NUM]; argument
73 /* Transaction time checking */
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
211 /* Close the oldest transaction */ in u2f_transaction_add()
213 transaction = &key->current_transactions[index]; in u2f_transaction_add()
214 u2f_transaction_close(key, transaction->cid); in u2f_transaction_add()
[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
9 Error: Transaction check error:
23 "Transaction check error" occurred.
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/qemu/util/
H A Dtransactions.c34 struct Transaction { struct
38 Transaction *tran_new(void) in tran_new()
40 Transaction *tran = g_new(Transaction, 1); in tran_new()
47 void tran_add(Transaction *tran, TransactionActionDrv *drv, void *opaque) in tran_add()
60 void tran_abort(Transaction *tran) in tran_abort()
81 void tran_commit(Transaction *tran) in tran_commit()
/openbmc/bmcweb/features/openbmc_rest/
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/qemu/qapi/
H A Dtransaction.json16 # This action can be used to test transaction failure.
29 # Actions fail after the Transaction request succeeds. All
33 # @grouped: If any Action fails after the Transaction succeeds, cancel
161 # `transaction`.
188 # Optional arguments to modify the behavior of a Transaction.
203 # @transaction:
229 # in the transaction. When an I/O error occurs during deletion, the
236 # execution of the transaction. See `TransactionProperties` for
240 # - Any errors from commands in the transaction
242 # .. note:: The transaction aborts on the first failure. Therefore,
[all …]
H A Djob.json64 # @waiting: The job is waiting for other jobs in the transaction to
66 # visible for the last job in a transaction.
241 # Instructs all jobs in a transaction (or a single job if it is not
242 # part of any transaction) to finalize any graph changes and do any
246 # For jobs in a transaction, instructing one job to finalize will
247 # force ALL jobs in the transaction to finalize, so it is only
253 # @id: The identifier of any job in the transaction, or of a job that
254 # is not part of any transaction.
/openbmc/libcper/specification/json/common/
H A Dcper-json-error-status.json36 … "Address: Error was detected on the address signals or on the address portion of the transaction."
40 … "Control: Error was detected on the control signals or in the control portion of the transaction."
44 …ription": "Data: Error was detected on the data signals or in the data portion of the transaction."
48 "description": "Responder: Error was detected by the responder of the transaction."
52 "description": "Requester: Error was detected by the requester of the transaction."
/openbmc/u-boot/drivers/video/exynos/
H A Dexynos_dp_lowlevel.c357 /* Disable AUX transaction H/W retry */ in exynos_dp_init_aux()
496 * Set DisplayPort transaction and write 1 byte in exynos_dp_write_byte_to_dpcd()
497 * If bit 3 is 1, DisplayPort transaction. in exynos_dp_write_byte_to_dpcd()
498 * If Bit 3 is 0, I2C transaction. in exynos_dp_write_byte_to_dpcd()
503 /* Start AUX transaction */ in exynos_dp_write_byte_to_dpcd()
506 printf("DP Aux transaction failed\n"); in exynos_dp_write_byte_to_dpcd()
533 * Set DisplayPort transaction and read 1 byte in exynos_dp_read_byte_from_dpcd()
534 * If bit 3 is 1, DisplayPort transaction. in exynos_dp_read_byte_from_dpcd()
535 * If Bit 3 is 0, I2C transaction. in exynos_dp_read_byte_from_dpcd()
540 /* Start AUX transaction */ in exynos_dp_read_byte_from_dpcd()
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D236.out44 --- Submitting & Aborting Transaction ---
47 "execute": "transaction",
82 "desc": "Transaction aborted using Abort action"
111 "execute": "transaction",
164 "execute": "transaction",
218 --- Submitting & Aborting Merge Transaction ---
221 "execute": "transaction",
254 "desc": "Transaction aborted using Abort action"
291 "execute": "transaction",
H A D23668 log('\n--- Submitting & Aborting Transaction ---\n')
69 vm.qmp_log("transaction", indent=2, actions=[
82 vm.qmp_log("transaction", indent=2, actions=[
105 vm.qmp_log("transaction", indent=2, actions=[
117 log('\n--- Submitting & Aborting Merge Transaction ---\n')
118 vm.qmp_log("transaction", indent=2, actions=[
131 vm.qmp_log("transaction", indent=2, actions=[
H A D241.out9 transaction size: 64-bit
20 transaction size: 64-bit
33 transaction size: 64-bit
/openbmc/qemu/include/hw/misc/
H A Dtz-msc.h22 * behave as RAZ/WI. An interrupt can be signalled for a rejected transaction.
36 * + Named GPIO input "cfg_sec_resp": set to 1 if a rejected transaction should
37 * result in a transaction error, or 0 for the transaction to RAZ/WI
39 * + Named GPIO output "irq": set for a transaction-failed interrupt
H A Dtz-ppc.h20 * behave as RAZ/WI. An interrupt can be signalled for a rejected transaction.
54 * + Named GPIO input "cfg_sec_resp": set to 1 if a rejected transaction should
55 * result in a transaction error, or 0 for the transaction to RAZ/WI
58 * + Named GPIO output "irq": set for a transaction-failed interrupt
/openbmc/qemu/hw/misc/
H A Dtz-msc.c61 /* The MSC may either block a transaction by aborting it, block a
62 * transaction by making it RAZ/WI, allow it through with
63 * MemTxAttrs indicating a secure transaction, or allow it with
64 * MemTxAttrs indicating a non-secure transaction.
77 * an MSCAction indicating the required behaviour. If the transaction in tz_msc_check()
79 * whether to abort or RAZ/WI the transaction. in tz_msc_check()
90 * Uncheck region -- OK, transaction type depends on in tz_msc_check()
97 /* NonSecure region -- always forward as NS transaction */ in tz_msc_check()
114 * transaction is blocked. We assume that the MSC behaves like the in tz_msc_check()
/openbmc/u-boot/drivers/i2c/
H A Dintel_i2c.c106 /* Setup transaction */ in smbus_block_read()
118 /* Clear any lingering errors, so the transaction will run */ in smbus_block_read()
124 /* Poll for transaction completion */ in smbus_block_read()
126 printf("SMBUS read transaction timeout (dev=0x%x)\n", dev); in smbus_block_read()
153 /* Return results of transaction */ in smbus_block_read()
170 /* Setup transaction */ in smbus_block_write()
178 /* Clear any lingering errors, so the transaction will run */ in smbus_block_write()
191 /* Poll for transaction completion */ in smbus_block_write()
193 printf("SMBUS write transaction timeout (dev=0x%x)\n", dev); in smbus_block_write()
197 /* Return results of transaction */ in smbus_block_write()
/openbmc/openbmc-test-automation/openpower/ext_interfaces/
H A Dtest_lock_management.robot128 HMCID-01 ReadCase1,ReadCase1,ReadCase1 Transaction
143 [Documentation] Fail to release lock with invalid transaction id.
148 HMCID-01 ReadCase1 Transaction
149 HMCID-01 WriteCase1 Transaction
158 HMCID-01 ReadCase1,ReadCase1,ReadCase1 Transaction
159 12345 ReadCase2,ReadCase2,ReadCase2 Transaction
160 HMCID ReadCase3,ReadCase3,ReadCase3 Transaction
164 [Documentation] Release multiple lock with valid and invalid transaction.
169 HMCID-01 ReadCase1,ReadCase1 Transaction
173 [Documentation] Fail to release lock with string as transaction id data type.
[all …]
/openbmc/sdbusplus/tools/sdbusplus/templates/
H A Dproperty.aserver.callback.hpp.mako18 // Set up the transaction.
19 sdbusplus::server::transaction::set_id(m);
66 // Set up the transaction.
67 sdbusplus::server::transaction::set_id(m);
/openbmc/qemu/include/exec/
H A Dmemattrs.h2 * Memory transaction attributes
17 /* Every memory transaction has associated with it a set of
41 * devices) by default. By setting the 'memory' bit, bus transaction
82 /* New-style MMIO accessors can indicate that the transaction failed.
/openbmc/phosphor-logging/lib/
H A Delog.cpp22 // Transaction id is located at the end of the string separated by a period. in _prepareMsg()
34 uint64_t id = sdbusplus::server::transaction::get_id(); in commit()
46 uint64_t id = sdbusplus::server::transaction::get_id(); in commit()
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-tinyrecord_0.2.0.bb1 SUMMARY = "transaction support for TinyDB"
3 Tinyrecord is a library which implements atomic transaction \
/openbmc/qemu/include/system/
H A Ddma.h114 * or failed (eg unassigned memory, device rejected the transaction,
122 * @attrs: memory transaction attributes
137 * or failed (eg unassigned memory, device rejected the transaction,
144 * @attrs: memory transaction attributes
158 * or failed (eg unassigned memory, device rejected the transaction,
165 * @attrs: memory transaction attributes
179 * or failed (eg unassigned memory, device rejected the transaction,
186 * @attrs: memory transaction attributes

12345678910>>...16