| /openbmc/bmcweb/test/include/ |
| H A D | dbus_privileges_test.cpp | 21 bool called = false; in TEST() local 25 [&called](const dbus::utility::DBusPropertiesMap& /* userInfoMap */) { in TEST() 26 called = true; in TEST() 29 EXPECT_TRUE(called); in TEST() 37 bool called = false; in TEST() local 40 [&called](const dbus::utility::DBusPropertiesMap& /* userInfoMap */) { in TEST() 41 called = true; in TEST() 44 EXPECT_FALSE(called); in TEST() 55 bool called = false; in TEST() local 58 [&called](const dbus::utility::DBusPropertiesMap& /* userInfoMap */) { in TEST() [all …]
|
| /openbmc/qemu/include/qemu/ |
| H A D | job.h | 51 * All callbacks are called with job_mutex *not* held. 69 * The completion function that will be called when the job completes. 162 /** Notifiers called when a cancelled job is finalised */ 165 /** Notifiers called when a successfully completed job is finalised */ 168 /** Notifiers called when the job transitions to PENDING */ 171 /** Notifiers called when the job transitions to READY */ 174 /** Notifiers called when the job coroutine yields or terminates */ 247 * Called when the job is resumed by the user (i.e. user_paused becomes 248 * false). .user_resume is called before .resume. 264 * If it fails, abort and then clean will be called. [all …]
|
| /openbmc/openpower-pnor-code-mgmt/test/ |
| H A D | test_functions.cpp | 161 bool called = false; in TEST() local 162 auto callback = [&called](const auto&) { called = true; }; in TEST() 171 EXPECT_FALSE(called); in TEST() 176 bool called = false; in TEST() local 178 auto callback = [&called, &sys](const auto& system) { in TEST() 180 called = true; in TEST() 191 EXPECT_TRUE(called); in TEST() 197 bool called = false; in TEST() local 198 auto callback = [&called](const auto&) { called = true; }; in TEST() 207 EXPECT_FALSE(called); in TEST() [all …]
|
| /openbmc/phosphor-power/ |
| H A D | compatible_system_types_finder.hpp | 45 * specified in the constructor is called. This function will be called 62 * Callback function that is called when a list of compatible system types 74 * Note: The callback function may be called immediately by this 77 * callback may be called before the other class is fully initialized, 81 * @param callback Callback function that is called each time a list of 90 * The callback specified in the constructor will be called for each list of 93 * This method normally does not need to be called. New lists of compatible 104 * Callback function that is called when a Compatible interface is found. 116 * Callback function that is called each time a list of compatible system
|
| H A D | dbus_interfaces_finder.hpp | 48 * constructor is called. This function will be called multiple times if 63 * Callback function that is called when an interface instance is found. 76 * Note: The callback function may be called immediately by this 79 * callback may be called before the other class is fully initialized, 86 * @param callback Callback function that is called each time an interface 96 * The callback specified in the constructor will be called for each 99 * This method normally does not need to be called. New instances are 138 * Callback function that is called each time an interface instance is
|
| /openbmc/sdbusplus/test/async/ |
| H A D | watchdog.cpp | 58 // Expect sd_watchdog_enabled to be called once and return .1 second in TEST_F() 65 // Expect sd_notify to be called at least once for heartbeat in TEST_F() 67 // called every 0.05 seconds. in TEST_F() 76 // The EXPECT_CALL for sd_notify will verify if it was called as expected. in TEST_F() 77 // If the test passes, it means sd_watchdog_enabled was called, in TEST_F() 78 // and sd_notify was called for heartbeats. in TEST_F() 86 // Expect sd_watchdog_enabled to be called once and return 0 (disabled) in TEST_F() 93 // Expect sd_notify will NOT be called in TEST_F()
|
| /openbmc/phosphor-power/phosphor-power-sequencer/src/ |
| H A D | device_finder.hpp | 52 * called. This function will be called multiple times if multiple devices are 67 * Callback function that is called when a power sequencer device is found. 76 * Note: The callback function may be called immediately by this 79 * callback may be called before the other class is fully initialized, 83 * @param callback Callback function that is called each time a power 89 * Callback function that is called when a D-Bus interface is found that 114 * Callback function that is called each time a power sequencer device is
|
| /openbmc/sdbusplus/test/timer/ |
| H A D | suite.hpp | 24 // Gets called as part of each TEST_F construction 32 // Gets called as part of each TEST_F destruction 54 // Indicates optional call back fun was called 62 // Gets called as part of each TEST_F construction 75 // Gets called as part of each TEST_F destruction
|
| /openbmc/qemu/include/block/ |
| H A D | blockjob.h | 75 /** Called when a cancelled job is finalised. */ 78 /** Called when a successfully completed job is finalised. */ 81 /** Called when the job transitions to PENDING */ 84 /** Called when the job transitions to READY */ 87 /** Called when the job coroutine yields or terminates */ 112 * Called with job lock held. 123 * Called with job lock *not* held. 127 /* Same as block_job_get(), but called with job lock held. */ 174 * Called with job lock held, but might release it temporarily. 195 * Called with job lock held. [all …]
|
| H A D | replication.h | 122 * Called to create a new ReplicationState instance, and then insert it 133 * Called to remove a ReplicationState instance, and then delete it from 143 * Start replication, called in migration/checkpoint thread 153 * This interface is called after all VM state is transferred to Secondary QEMU 161 * This interface is called to check if error occurred during replication 170 * It is called on failover. The vm should be stopped before calling it, if you
|
| /openbmc/u-boot/include/ |
| H A D | init.h | 25 * This is called after early malloc is available. It should handle any 27 * board_f.c for where it is called. If this is not provided, a default 37 * This is called immediately after driver model is available before 48 * This is called after arch_cpu_init(). It should handle any 50 * board_f.c for where it is called. If this is not provided, a default 74 * gd->bd->bi_dram(). It is called just before relocation, after dram_init() 75 * is called. 135 * This function is called by each architecture very early in the start-up 147 * This function is called once the C runtime has allocated the reserved
|
| H A D | efi_loader.h | 257 /* Called by bootefi to initialize root node */ 259 /* Called by bootefi to initialize runtime */ 261 /* Called by bootefi to make console interface available */ 263 /* Called by bootefi to make all disk storage accessible as EFI objects */ 269 /* Called by bootefi to make GOP (graphical) interface available */ 271 /* Called by bootefi to make the network interface available */ 273 /* Called by bootefi to make the watchdog available */ 275 /* Called by bootefi to make SMBIOS tables available */ 279 * Called by bootefi to make ACPI tables available 287 * Called by bootefi to make SMBIOS tables available [all …]
|
| /openbmc/qemu/include/hw/ |
| H A D | ptimer.h | 26 * When ptimer_transaction_commit() is called it will evaluate the state 119 * is called it will evaluate the state of the timer after all the 122 * The callback function is always called from within a transaction 126 * the callback will be called a second time after the first call returns. 143 * This function must be called before making any calls to functions 155 * This function must be called after calls to functions which modify 158 * callback, it will be called directly. 171 * This function will assert if it is called outside a 192 * This function will assert if it is called outside a 209 * This function will assert if it is called outside a [all …]
|
| H A D | qdev-clock.h | 23 * @callback: optional callback to be called on update or NULL. 25 * @events: the events the callback should be called for 31 * The callback will be called with @opaque as opaque parameter. 77 * Must be called before @dev is realized. 109 * @callback: for inputs, optional callback to be called on clock's update 111 * @callback_events: mask of ClockEvent values for when callback is called 140 * @callback: (for input only) callback (or NULL) to be called with the device 142 * @cbevents: (for input only) ClockEvent mask for when callback is called
|
| H A D | resettable.h | 66 * The phase methods are guaranteed to only only ever be called once 70 * before eventually reset is deasserted and the 'exit' phase is called. 73 * functions) to be called at any point during reset after their 74 * 'enter' method has been called. 79 * @phases.enter: This phase is called when the object enters reset. It 85 * @phases.hold: This phase is called for entry into reset, once every object 86 * in the system which is being reset has had its @phases.enter method called. 89 * @phases.exit: This phase is called when the object leaves the reset state. 172 * @resettable_release_reset() must eventually be called after this call. 210 * When using this function during reset, it must only be called during
|
| /openbmc/qemu/hw/audio/ |
| H A D | trace-events | 49 virtio_snd_handle_pcm_set_params(uint32_t stream) "VIRTIO_SND_PCM_SET_PARAMS called for stream %"PR… 51 virtio_snd_handle_pcm_info(uint32_t stream) "VIRTIO_SND_R_PCM_INFO called for stream %"PRIu32 52 virtio_snd_handle_pcm_start_stop(const char *code, uint32_t stream) "%s called for stream %"PRIu32 53 virtio_snd_handle_pcm_release(uint32_t stream) "VIRTIO_SND_PCM_RELEASE called for stream %"PRIu32 55 virtio_snd_handle_chmap_info(void) "VIRTIO_SND_CHMAP_INFO called" 56 virtio_snd_handle_event(void) "event queue callback called" 58 virtio_snd_handle_tx_xfer(void) "tx queue callback called" 59 virtio_snd_handle_rx_xfer(void) "rx queue callback called"
|
| /openbmc/qemu/migration/ |
| H A D | postcopy-ram.h | 30 * postcopy later; must be called prior to any precopy. 31 * called from ram.c's similarly named ram_postcopy_incoming_init 36 * At the end of a migration where postcopy_ram_incoming_init was called. 48 * Called at the start of each RAMBlock by the bitmap code. 53 * Called by the bitmap code for each chunk to discard. 63 * Called at the end of each RAMBlock by the bitmap code. 113 * To be called once at the start before any device initialisation 117 /* Add a notifier to a list to be called when checking whether the devices 157 /* Handler to be called whenever we get a poll event */
|
| /openbmc/phosphor-logging/ |
| H A D | extensions.hpp | 15 * @brief The function type that will be called on start up. 25 * @brief The function type that will be called after an event log 40 * @brief The function type that will be called after an event log is deleted. 125 * Functions registered with this contructor will be called 138 * Functions registered with this contructor will be called 151 * Functions registered with this contructor will be called 164 * Functions registered with this contructor will be called 178 * Functions registered with this contructor will be called 191 * This constructor should only be called by the
|
| /openbmc/qemu/ |
| H A D | job.c | 122 /* Called with job_mutex held. */ 151 * Called with job_mutex held. 166 /* Called with job_mutex held. */ 176 /* Called with job_mutex held, but releases it temporarily. */ 207 /* Called with job_mutex held. */ 266 /* Called with job_mutex held. */ 339 /* Called with job_mutex held. */ 383 /* Called with job_mutex *not* held. */ 503 * To be called when a cancelled job is finalised. 504 * Called with job_mutex held. [all …]
|
| /openbmc/qemu/include/hw/mem/ |
| H A D | memory-device.h | 67 * Called when (un)plugging a memory device or when iterating over 78 * Called when plugging the memory device to configure the determined 87 * Called when calculating the total amount of ram available to the 100 * Called when (un)plugging the memory device, to (un)map the 111 * Called exactly once when pre-plugging the memory device, before 124 * Called when (un)plugging the memory device, to check if the requirements 134 * Called when plugging the memory device to detect the required alignment
|
| /openbmc/qemu/include/qom/ |
| H A D | object_interfaces.h | 22 * @complete: callback to be called after @obj's properties are set. 23 * @can_be_deleted: callback to be called before an object is removed 37 * @user_creatable_complete() wrapper should be called manually if 39 * complete() callback to be called. 52 * @uc: the user-creatable object whose complete() method is called if defined 65 * @uc: the object whose can_be_deleted() method is called if implemented 141 * This function is only meant to be called during command line parsing.
|
| /openbmc/qemu/block/ |
| H A D | dirty-bitmap.c | 84 /* Called with BQL or dirty_bitmap lock taken. */ 98 /* Called with BQL taken. */ 147 /* Called with BQL taken. */ 165 /* Called with BQL taken. */ 171 /* Called with BQL taken. */ 209 * Called with BQL taken. 247 /* Called with BQL taken. */ 256 /* Called within bdrv_dirty_bitmap_lock..unlock and with BQL taken. */ 271 * Called with BQL taken. 302 * Called within bdrv_dirty_bitmap_lock..unlock and with BQL taken. [all …]
|
| /openbmc/qemu/include/exec/ |
| H A D | replay-core.h | 48 /* Called in reverse debugging mode to collect breakpoint information */ 50 /* Called when gdb is attached to gdbstub */ 55 /* Called by exception handler to write or read exception processing events */ 63 * Called by interrupt handlers to write or read interrupt processing events.
|
| /openbmc/qemu/include/migration/ |
| H A D | colo.h | 41 * Handles change of x-checkpoint-delay migration parameter, called from 47 * Starts COLO incoming process. Called from process_incoming_migration_co() 50 * Called with BQL locked, may temporary release BQL.
|
| /openbmc/libpldm/include/libpldm/ |
| H A D | firmware_fd.h | 56 * These will be called by the FD responder when pldm_fd_handle_msg() 57 * or pldm_fd_progress() are called by the application. 86 * It will be called several times in an update flow. 107 /** @brief Called on PassComponentTable or UpdateComponent 166 * verify() will only be called once all firmware_data (up to the UA-specified 172 * call verify() again when pldm_fd_progress() is called. 193 * call apply() again when pldm_fd_progress() is called. 220 * Called when a component update is cancelled prior to being applied. 221 * This function is called for both Cancel Update Component 313 * This could be called periodically by the application to send retries [all …]
|