/openbmc/phosphor-objmgr/src/test/ |
H A D | associations.cpp | 192 EXPECT_EQ(assocMaps.pending.size(), 0); in TEST_F() 219 // Nothing pending in TEST_F() 220 EXPECT_EQ(assocMaps.pending.size(), 0); in TEST_F() 250 // Nothing pending in TEST_F() 251 EXPECT_EQ(assocMaps.pending.size(), 0); in TEST_F() 296 // Nothing pending in TEST_F() 297 EXPECT_EQ(assocMaps.pending.size(), 0); in TEST_F() 333 EXPECT_EQ(assocMaps.pending.size(), 0); in TEST_F() 336 // Add 2 pending associations 347 EXPECT_EQ(assocMaps.pending.size(), 1); in TEST_F() [all …]
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr_vhyp_mmu.c | 311 static void free_pending_hpt(SpaprPendingHpt *pending) in free_pending_hpt() argument 313 if (pending->hpt) { in free_pending_hpt() 314 qemu_vfree(pending->hpt); in free_pending_hpt() 317 g_free(pending); in free_pending_hpt() 322 SpaprPendingHpt *pending = opaque; in hpt_prepare_thread() local 323 size_t size = 1ULL << pending->shift; in hpt_prepare_thread() 325 pending->hpt = qemu_try_memalign(size, size); in hpt_prepare_thread() 326 if (pending->hpt) { in hpt_prepare_thread() 327 memset(pending->hpt, 0, size); in hpt_prepare_thread() 328 pending->ret = H_SUCCESS; in hpt_prepare_thread() [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | stm32l4x5_exti-test.c | 172 * And that the interruption stays pending in NVIC in test_software_interrupt() 173 * even after clearing the pending bit in PR. in test_software_interrupt() 182 /* Check that there are no interrupts already pending in PR */ in test_software_interrupt() 184 /* Check that this specific interrupt isn't pending in NVIC */ in test_software_interrupt() 195 /* Check that the corresponding pending bit in PR is set */ in test_software_interrupt() 197 /* Check that the corresponding interrupt is pending in the NVIC */ in test_software_interrupt() 200 /* Clear the pending bit in PR */ in test_software_interrupt() 207 /* Check that the interrupt is still pending in the NVIC */ in test_software_interrupt() 216 /* Check that there are no interrupts already pending */ in test_software_interrupt() 228 /* Check that the corresponding pending bit in PR is set */ in test_software_interrupt() [all …]
|
/openbmc/qemu/hw/intc/ |
H A D | imx_avic.c | 42 VMSTATE_UINT64(pending, IMXAVICState), 63 uint64_t new = s->pending & s->enabled; in imx_avic_update() 76 * Take interrupt if there's a pending interrupt with in imx_avic_update() 97 s->pending |= (1ULL << irq); in imx_avic_set_irq() 101 s->pending &= ~(1ULL << irq); in imx_avic_set_irq() 153 * one pending IRQ with the same priority, in imx_avic_read() 156 uint64_t flags = s->pending & s->enabled & ~s->is_fiq; in imx_avic_read() 177 uint64_t flags = s->pending & s->enabled & s->is_fiq; in imx_avic_read() 186 return s->pending >> 32; in imx_avic_read() 189 return s->pending & 0xffffffffULL; in imx_avic_read() [all …]
|
H A D | goldfish_pic.c | 45 "goldfish-pic.%d: pending=0x%08x enabled=0x%08x\n", in goldfish_pic_print_info() 46 s->idx, s->pending, s->enabled); in goldfish_pic_print_info() 51 if (s->pending & s->enabled) { in goldfish_pic_update() 65 s->pending |= 1 << irq; in goldfish_irq_request() 68 s->pending &= ~(1 << irq); in goldfish_irq_request() 81 /* The number of pending interrupts (0 to 32) */ in goldfish_pic_read() 82 value = ctpop32(s->pending & s->enabled); in goldfish_pic_read() 85 /* The pending interrupt mask */ in goldfish_pic_read() 86 value = s->pending & s->enabled; in goldfish_pic_read() 110 s->pending = 0; in goldfish_pic_write() [all …]
|
H A D | arm_gicv3.c | 28 * pending interrupt for this CPU. We also return true if in irqbetter() 29 * the current recorded highest priority pending interrupt in irqbetter() 45 /* If multiple pending interrupts have the same priority then it is an in irqbetter() 57 /* Recalculate which distributor interrupts are actually pending in gicd_int_pending() 62 * An interrupt is pending if: in gicd_int_pending() 63 * + the PENDING latch is set OR it is level triggered and the input is 1 in gicd_int_pending() 66 * + its ACTIVE bit is not set (otherwise it would be Active+Pending) in gicd_int_pending() 70 uint32_t pending = *gic_bmp_ptr32(s->pending, irq); in gicd_int_pending() local 78 pend = pending | (~edge_trigger & level); in gicd_int_pending() 103 /* Recalculate which redistributor interrupts are actually pending, in gicr_int_pending() [all …]
|
H A D | arm_gicv3_redist.c | 77 * has the right virtual pending table address. in vcpu_resident() 86 * update_for_one_lpi: Update pending information if this LPI is better 92 * @hpp: points to pending information to update 130 * update_for_all_lpis: Fully scan LPI tables and find best pending LPI 133 * @ptbase: physical address of LPI Pending table 137 * @hpp: points to pending information to set 139 * Recalculate the highest priority pending enabled LPI from scratch, 142 * We scan the LPI pending table @ptbase; for each pending LPI, we read the 173 * set_lpi_pending_bit: Set or clear pending bit for an LPI 176 * @ptbase: physical address of LPI Pending table [all …]
|
H A D | s390_flic.c | 110 if (!(flic->pending & FLIC_PENDING_IO)) { in qemu_s390_clear_io_flic() 130 flic->pending &= ~ISC_TO_PENDING_IO(isc); in qemu_s390_clear_io_flic() 227 g_assert(flic->pending & FLIC_PENDING_SERVICE); in qemu_s390_flic_dequeue_service() 230 flic->pending &= ~FLIC_PENDING_SERVICE; in qemu_s390_flic_dequeue_service() 242 if (!(flic->pending & CR6_TO_PENDING_IO(cr6))) { in qemu_s390_flic_dequeue_io() 255 flic->pending &= ~ISC_TO_PENDING_IO(isc); in qemu_s390_flic_dequeue_io() 266 g_assert(flic->pending & FLIC_PENDING_MCHK_CR); in qemu_s390_flic_dequeue_crw_mchk() 267 flic->pending &= ~FLIC_PENDING_MCHK_CR; in qemu_s390_flic_dequeue_crw_mchk() 277 flic->pending |= FLIC_PENDING_SERVICE; in qemu_s390_inject_service() 298 flic->pending |= ISC_TO_PENDING_IO(isc); in qemu_s390_inject_io() [all …]
|
H A D | sh_intc.c | 36 old_pending = source->pending; in sh_intc_toggle_source() 37 source->pending = source->asserted && in sh_intc_toggle_source() 40 if (old_pending != source->pending) { in sh_intc_toggle_source() 44 if (source->pending) { in sh_intc_toggle_source() 45 source->parent->pending++; in sh_intc_toggle_source() 46 if (source->parent->pending == 1) { in sh_intc_toggle_source() 50 source->parent->pending--; in sh_intc_toggle_source() 51 if (source->parent->pending == 0) { in sh_intc_toggle_source() 58 trace_sh_intc_sources(source->parent->pending, source->asserted, in sh_intc_toggle_source() 64 source->pending ? "pending" : ""); in sh_intc_toggle_source() [all …]
|
H A D | gic_internal.h | 32 #define GIC_DIST_SET_PENDING(irq, cm) (s->irq_state[irq].pending |= (cm)) 33 #define GIC_DIST_CLEAR_PENDING(irq, cm) (s->irq_state[irq].pending &= ~(cm)) 169 return s->irq_state[irq].pending & cm; in gic_test_pending() 171 /* Edge-triggered interrupts are marked pending on a rising edge, but in gic_test_pending() 172 * level-triggered interrupts are either considered pending when the in gic_test_pending() 174 * GICD_ISPENDR to set the state pending. in gic_test_pending() 176 return (s->irq_state[irq].pending & cm) || in gic_test_pending() 192 * pending and active. 221 * so it is `active' or `active and pending', 222 * - Or it was pending and has been selected by gic_get_best_virq(). It is now [all …]
|
H A D | armv7m_nvic.c | 85 /* return the group priority of the current pending interrupt, in nvic_pending_prio() 86 * or NVIC_NOEXC_PRIO if no interrupt is pending in nvic_pending_prio() 125 * 1 if an external interrupt is pending 126 * 0 if no external interrupt is pending 133 * We can shortcut if the highest priority pending interrupt in nvic_isrpending() 142 if (s->vectors[irq].pending) { in nvic_isrpending() 264 if (vec->enabled && vec->pending && in nvic_recompute_state_secure() 312 if (vec->enabled && vec->pending && vec->prio < pend_prio) { in nvic_recompute_state() 471 * vec->active, vec->enabled, vec->pending or vec->prio for any vector 486 * pending info. in nvic_irq_update() [all …]
|
/openbmc/qemu/include/hw/intc/ |
H A D | armv7m_nvic.h | 32 uint8_t pending; member 71 unsigned int vectpending; /* highest prio pending enabled exception */ 88 * armv7m_nvic_set_pending: mark the specified exception as pending 90 * @irq: the exception number to mark pending 95 * Marks the specified exception as pending. Note that we will assert() 101 * armv7m_nvic_set_pending_derived: mark this derived exception as pending 103 * @irq: the exception number to mark pending 114 * armv7m_nvic_set_pending_lazyfp: mark this lazy FP exception as pending 116 * @irq: the exception number to mark pending 126 * armv7m_nvic_get_pending_irq_info: return highest priority pending [all …]
|
/openbmc/sdbusplus/src/async/ |
H A D | context.cpp | 136 // We need to wait for the pending wait process and stop it. in run() 242 // We've already been running and there might a completion pending. in caller_run() 255 // There might be pending completions still, so spawn a watcher for in caller_run() 263 auto worker = std::exchange(pending, nullptr); in wait_for_wait_process_stopped() 288 // need to `wait`, because there might be yet another pending operation in arm() 314 // Assign ourselves as the pending completion and release the caller. in arm() 330 return (ctx.pending != nullptr) || (ctx.staged != nullptr) || in wait_once() 334 // Save the waiter as pending. in wait_once() 335 if (ctx.pending == nullptr) in wait_once() 337 ctx.pending = std::exchange(ctx.staged, nullptr); in wait_once() [all …]
|
/openbmc/qemu/qga/ |
H A D | channel-win32.c | 12 size_t pending; /* pending buffered bytes to read */ member 51 if (rs->cur + rs->pending >= rs->buf_size) { in ga_channel_prepare() 53 memmove(rs->buf, rs->buf + rs->cur, rs->pending); in ga_channel_prepare() 57 count_to_read = rs->buf_size - rs->cur - rs->pending; in ga_channel_prepare() 65 success = ReadFile(c->handle, rs->buf + rs->cur + rs->pending, in ga_channel_prepare() 68 rs->pending += count_read; in ga_channel_prepare() 81 /* if there's data in the read buffer, or another event is pending, in ga_channel_prepare() 84 if (rs->pending) { in ga_channel_prepare() 118 rs->pending += count_read; in ga_channel_check() 167 /* TODO: replace rs->pending with watch->revents */ in ga_channel_dispatch() [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Certs/ |
H A D | Entry.interface.yaml | 12 default: Pending 21 - name: Pending 23 Signing request is pending.
|
/openbmc/qemu/hw/input/ |
H A D | pckbd.c | 187 return s->pending & (~s->mode | ~(KBD_PENDING_KBD | KBD_PENDING_AUX)); in kbd_pending() 189 return s->pending; in kbd_pending() 196 uint8_t pending = kbd_pending(s); in kbd_update_irq() local 200 if (pending) { in kbd_update_irq() 203 if (pending & KBD_PENDING_CTRL_KBD) { in kbd_update_irq() 205 } else if (pending & KBD_PENDING_CTRL_AUX) { in kbd_update_irq() 209 } else if (pending & KBD_PENDING_KBD) { in kbd_update_irq() 229 /* the throttle timer is pending and will call kbd_update_irq() */ in kbd_safe_update_irq() 243 s->pending |= KBD_PENDING_KBD; in kbd_update_kbd_irq() 245 s->pending &= ~KBD_PENDING_KBD; in kbd_update_kbd_irq() [all …]
|
/openbmc/bmcweb/redfish-core/include/generated/enums/ |
H A D | task.hpp | 17 Pending, enumerator 34 {TaskState::Pending, "Pending"},
|
H A D | job.hpp | 16 Pending, enumerator 41 {JobState::Pending, "Pending"},
|
/openbmc/qemu/hw/pci/ |
H A D | msi.c | 325 uint32_t irq_state, vector_mask, pending; in msi_set_mask() local 345 pending = pci_get_long(dev->config + msi_pending_off(dev, msi64bit)); in msi_set_mask() 346 if (!mask && (pending & vector_mask)) { in msi_set_mask() 347 pending &= ~vector_mask; in msi_set_mask() 348 pci_set_long(dev->config + msi_pending_off(dev, msi64bit), pending); in msi_set_mask() 365 MSI_DEV_PRINTF(dev, "pending vector 0x%x\n", vector); in msi_notify() 393 uint32_t pending; in msi_write_config() local 413 fprintf(stderr, " mask 0x%"PRIx32" pending 0x%"PRIx32, in msi_write_config() 463 there is no pending interrupt. */ in msi_write_config() 469 /* This will discard pending interrupts, if any. */ in msi_write_config() [all …]
|
/openbmc/qemu/migration/ |
H A D | qemu-file.c | 279 * This will flush all pending data. If data was only partially flushed, it 321 int pending; in qemu_fill_buffer() local 330 pending = f->buf_size - f->buf_index; in qemu_fill_buffer() 331 if (pending > 0) { in qemu_fill_buffer() 332 memmove(f->buf, f->buf + f->buf_index, pending); in qemu_fill_buffer() 335 f->buf_size = pending; in qemu_fill_buffer() 342 struct iovec iov = { f->buf + pending, IO_BUF_SIZE - pending }; in qemu_fill_buffer() 659 ssize_t pending; in qemu_peek_buffer() local 669 pending = f->buf_size - index; in qemu_peek_buffer() 675 while (pending < size) { in qemu_peek_buffer() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/gpm/gpm/ |
H A D | 0001-Avoid-shadowing-ncurses-functions.patch | 190 for (pending=0,i=0;i<got-16;i++) 191 if(!memcmp(buf+i,buf+i+8,8)) pending++; 192 if (pending > 3) { 196 mousename,pending); 201 if (pending>3) { 205 cur->this->name,mousename,pending); 208 for (pending=0,i=0;i<got-20;i++) 209 if(!memcmp(buf+i,buf+i+10,10)) pending++; 210 if (pending>3) { 217 for (pending=0,i=0;i<got-20;i++) [all …]
|
/openbmc/phosphor-objmgr/src/ |
H A D | associations.cpp | 320 auto p = assocMaps.pending.find(objectPath); in addPendingAssociation() 321 if (p == assocMaps.pending.end()) in addPendingAssociation() 325 assocMaps.pending.emplace(objectPath, std::move(ee)); in addPendingAssociation() 348 auto assoc = assocMaps.pending.begin(); in removeFromPendingAssociations() 349 while (assoc != assocMaps.pending.end()) in removeFromPendingAssociations() 366 assoc = assocMaps.pending.erase(assoc); in removeFromPendingAssociations() 422 auto pending = assocMaps.pending.find(objectPath); in checkIfPendingAssociation() local 423 if (pending == assocMaps.pending.end()) in checkIfPendingAssociation() 433 auto endpoint = pending->second.begin(); in checkIfPendingAssociation() 435 while (endpoint != pending->second.end()) in checkIfPendingAssociation() [all …]
|
H A D | associations.hpp | 96 /** @brief Add a pending associations entry 100 * When the path does show up in D-Bus, if there is a pending 121 /** @brief Removes an endpoint from the pending associations map 147 /** @brief Create a real association out of a pending association 150 * If objectPath is now on D-Bus, and it is also in the pending associations 151 * map, create the 2 real association objects and remove its pending 178 * to pending and remove the association objects. 182 * on D-Bus), then move the association it's involved in to pending.
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 219.out | 86 Waiting for PENDING state... 88 {"data": {"id": "job0", "status": "pending"}, "event": "JOB_STATUS_CHANGE", "timestamp": {"microsec… 137 Waiting for PENDING state... 141 {"data": {"id": "job0", "status": "pending"}, "event": "JOB_STATUS_CHANGE", "timestamp": {"microsec… 190 Waiting for PENDING state... 194 {"data": {"id": "job0", "status": "pending"}, "event": "JOB_STATUS_CHANGE", "timestamp": {"microsec… 251 Waiting for PENDING state... 255 {"data": {"id": "job0", "status": "pending"}, "event": "JOB_STATUS_CHANGE", "timestamp": {"microsec… 256 {"return": [{"current-progress": 4194304, "id": "job0", "status": "pending", "total-progress": 4194… 257 {"error": {"class": "GenericError", "desc": "Job 'job0' in state 'pending' cannot accept command ve… [all …]
|
/openbmc/qemu/include/hw/sh4/ |
H A D | sh_intc.h | 43 int pending; /* emulates the result of signal and masking */ member 57 int pending; /* number of interrupt sources that has pending set */ member
|