Home
last modified time | relevance | path

Searched full:pending (Results 1 – 25 of 4635) sorted by relevance

12345678910>>...186

/openbmc/linux/tools/lib/
H A Dlist_sort.c129 * 2:1 balanced merges. Given two pending sublists of size 2^k, they are
139 * pending lists. This is beautifully simple code, but rather subtle.
147 * 2^k, which is when we have 2^k elements pending in smaller lists,
152 * a third list of size 2^(k+1), so there are never more than two pending.
154 * The number of pending lists of size 2^k is determined by the
163 * 0: 00x: 0 pending of size 2^k; x pending of sizes < 2^k
164 * 1: 01x: 0 pending of size 2^k; 2^(k-1) + x pending of sizes < 2^k
165 * 2: x10x: 0 pending of size 2^k; 2^k + x pending of sizes < 2^k
166 * 3: x11x: 1 pending of size 2^k; 2^(k-1) + x pending of sizes < 2^k
167 * 4: y00x: 1 pending of size 2^k; 2^k + x pending of sizes < 2^k
[all …]
/openbmc/linux/lib/
H A Dlist_sort.c130 * 2:1 balanced merges. Given two pending sublists of size 2^k, they are
140 * pending lists. This is beautifully simple code, but rather subtle.
148 * 2^k, which is when we have 2^k elements pending in smaller lists,
153 * a third list of size 2^(k+1), so there are never more than two pending.
155 * The number of pending lists of size 2^k is determined by the
164 * 0: 00x: 0 pending of size 2^k; x pending of sizes < 2^k
165 * 1: 01x: 0 pending of size 2^k; 2^(k-1) + x pending of sizes < 2^k
166 * 2: x10x: 0 pending of size 2^k; 2^k + x pending of sizes < 2^k
167 * 3: x11x: 1 pending of size 2^k; 2^(k-1) + x pending of sizes < 2^k
168 * 4: y00x: 1 pending of size 2^k; 2^k + x pending of sizes < 2^k
[all …]
/openbmc/phosphor-objmgr/src/test/
H A Dassociations.cpp192 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/linux/tools/perf/pmu-events/arch/x86/snowridgex/
H A Duncore-memory.json375 "BriefDescription": "Read Pending Queue Full Cycles",
379 …"PublicDescription": "Read Pending Queue Full Cycles : Counts the number of cycles when the Read P…
383 "BriefDescription": "Read Pending Queue Full Cycles",
387 …"PublicDescription": "Read Pending Queue Full Cycles : Counts the number of cycles when the Read P…
391 "BriefDescription": "Read Pending Queue Not Empty",
395Pending Queue Not Empty : Counts the number of cycles that the Read Pending Queue is not empty. T…
400 "BriefDescription": "Read Pending Queue Not Empty",
404Pending Queue Not Empty : Counts the number of cycles that the Read Pending Queue is not empty. T…
409 "BriefDescription": "Read Pending Queue Allocations",
413 …"PublicDescription": "Read Pending Queue Allocations : Counts the number of allocations into the R…
[all …]
/openbmc/qemu/hw/ppc/
H A Dspapr_vhyp_mmu.c311 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 Dstm32l4x5_exti-test.c172 * 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 Dimx_avic.c42 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 Dgoldfish_pic.c45 "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 Darm_gicv3.c28 * 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 Darm_gicv3_redist.c77 * 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 …]
/openbmc/qemu/include/hw/intc/
H A Darmv7m_nvic.h32 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/linux/tools/perf/pmu-events/arch/x86/icelakex/
H A Duncore-memory.json339 …Queue Inserts : Counts number of read requests allocated in the PMM Read Pending Queue. This inc…
343 "BriefDescription": "PMM Read Pending Queue Occupancy",
347 …"PublicDescription": "PMM Read Pending Queue Occupancy : Accumulates the per cycle occupancy of th…
352 "BriefDescription": "PMM Read Pending Queue Occupancy",
356 …"PublicDescription": "PMM Read Pending Queue Occupancy : Accumulates the per cycle occupancy of th…
361 "BriefDescription": "PMM Read Pending Queue Occupancy",
365 …"PublicDescription": "PMM Read Pending Queue Occupancy : Accumulates the per cycle occupancy of th…
402 … Write Queue Inserts : Counts number of write requests allocated in the PMM Write Pending Queue.",
406 "BriefDescription": "PMM Write Pending Queue Occupancy",
410 …"PublicDescription": "PMM Write Pending Queue Occupancy : Accumulates the per cycle occupancy of t…
[all …]
/openbmc/linux/drivers/gpu/drm/mediatek/
H A Dmtk_drm_plane.c48 state->pending.format = DRM_FORMAT_RGB565; in mtk_plane_reset()
49 state->pending.modifier = DRM_FORMAT_MOD_LINEAR; in mtk_plane_reset()
65 state->pending = old_state->pending; in mtk_plane_duplicate_state()
200 mtk_plane_state->pending.enable = true; in mtk_plane_update_new_state()
201 mtk_plane_state->pending.pitch = pitch; in mtk_plane_update_new_state()
202 mtk_plane_state->pending.hdr_pitch = hdr_pitch; in mtk_plane_update_new_state()
203 mtk_plane_state->pending.format = format; in mtk_plane_update_new_state()
204 mtk_plane_state->pending.modifier = modifier; in mtk_plane_update_new_state()
205 mtk_plane_state->pending.addr = addr; in mtk_plane_update_new_state()
206 mtk_plane_state->pending.hdr_addr = hdr_addr; in mtk_plane_update_new_state()
[all …]
H A Dmtk_disp_ovl_adaptor.c91 struct mtk_plane_pending_state *pending = &state->pending; in mtk_ovl_adaptor_layer_config() local
97 const struct drm_format_info *fmt_info = drm_format_info(pending->format); in mtk_ovl_adaptor_layer_config()
104 pending->enable, pending->format); in mtk_ovl_adaptor_layer_config()
106 &pending->addr, (pending->pitch / fmt_info->cpp[0]), in mtk_ovl_adaptor_layer_config()
107 pending->x, pending->y, pending->width, pending->height); in mtk_ovl_adaptor_layer_config()
114 if (!pending->enable || !pending->width || !pending->height) { in mtk_ovl_adaptor_layer_config()
123 align_width = ALIGN_DOWN(pending->width, 2); in mtk_ovl_adaptor_layer_config()
129 l_w = (align_width / 2) + ((pending->width / 2) % 2); in mtk_ovl_adaptor_layer_config()
134 mtk_merge_advance_config(merge, l_w, r_w, pending->height, 0, 0, cmdq_pkt); in mtk_ovl_adaptor_layer_config()
136 pending->height, cmdq_pkt); in mtk_ovl_adaptor_layer_config()
[all …]
/openbmc/linux/arch/mips/sni/
H A Dpcit.c183 u32 pending = *(volatile u32 *)SNI_PCIT_INT_REG; in pcit_hwint1() local
187 irq = ffs((pending >> 16) & 0x7f); in pcit_hwint1()
196 u32 pending = *(volatile u32 *)SNI_PCIT_INT_REG; in pcit_hwint0() local
200 irq = ffs((pending >> 16) & 0x3f); in pcit_hwint0()
209 u32 pending = read_c0_cause() & read_c0_status(); in sni_pcit_hwint() local
211 if (pending & C_IRQ1) in sni_pcit_hwint()
213 else if (pending & C_IRQ2) in sni_pcit_hwint()
215 else if (pending & C_IRQ3) in sni_pcit_hwint()
217 else if (pending & C_IRQ5) in sni_pcit_hwint()
223 u32 pending = read_c0_cause() & read_c0_status(); in sni_pcit_hwint_cplus() local
[all …]
/openbmc/linux/drivers/platform/surface/aggregator/
H A Dssh_request_layer.c47 * SSH_RTL_MAX_PENDING - Maximum number of pending requests.
132 spin_lock(&rtl->pending.lock); in ssh_rtl_pending_remove()
135 spin_unlock(&rtl->pending.lock); in ssh_rtl_pending_remove()
139 atomic_dec(&rtl->pending.count); in ssh_rtl_pending_remove()
142 spin_unlock(&rtl->pending.lock); in ssh_rtl_pending_remove()
151 spin_lock(&rtl->pending.lock); in ssh_rtl_tx_pending_push()
154 spin_unlock(&rtl->pending.lock); in ssh_rtl_tx_pending_push()
159 spin_unlock(&rtl->pending.lock); in ssh_rtl_tx_pending_push()
163 atomic_inc(&rtl->pending.count); in ssh_rtl_tx_pending_push()
164 list_add_tail(&ssh_request_get(rqst)->node, &rtl->pending.head); in ssh_rtl_tx_pending_push()
[all …]
H A Dssh_packet_layer.c46 * - NAK received (this is equivalent to issuing re-submit for all pending
49 * - cancel (non-pending and pending)
54 * containing all packets scheduled for transmission, and the set of pending
61 * - the pending set,
71 * sets-up the timeout and adds the packet to the pending set before starting
79 * reference to the packet from the pending set. The receiver thread will then
82 * On receival of a NAK, the receiver thread re-submits all currently pending
87 * checking all currently pending packets if their timeout has expired. If the
99 * packet cannot be added to the queue, the pending set, and the timeout, or
102 * references from the data structures (queue, pending) have to be removed.
[all …]
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_sw_fence.c149 atomic_set_release(&fence->pending, -1); /* 0 -> -1 [done] */ in __i915_sw_fence_wake_up_all()
196 if (!atomic_dec_and_test(&fence->pending)) in __i915_sw_fence_complete()
224 int pending; in i915_sw_fence_await() local
230 pending = atomic_read(&fence->pending); in i915_sw_fence_await()
232 if (pending < 1) in i915_sw_fence_await()
234 } while (!atomic_try_cmpxchg(&fence->pending, &pending, pending + 1)); in i915_sw_fence_await()
257 atomic_set(&fence->pending, 1); in i915_sw_fence_reinit()
344 unsigned int pending; in __i915_sw_fence_await_sw_fence() local
361 pending = I915_SW_FENCE_FLAG_FENCE; in __i915_sw_fence_await_sw_fence()
373 pending |= I915_SW_FENCE_FLAG_ALLOC; in __i915_sw_fence_await_sw_fence()
[all …]
/openbmc/sdbusplus/src/async/
H A Dcontext.cpp134 // We need to wait for the pending wait process and stop it. in run()
219 // We've already been running and there might a completion pending. in caller_run()
232 // There might be pending completions still, so spawn a watcher for in caller_run()
240 auto worker = std::exchange(pending, nullptr); in wait_for_wait_process_stopped()
265 // need to `wait`, because there might be yet another pending operation in arm()
291 // Assign ourselves as the pending completion and release the caller. in arm()
307 return (ctx.pending != nullptr) || (ctx.staged != nullptr) || in wait_once()
311 // Save the waiter as pending. in wait_once()
312 if (ctx.pending == nullptr) in wait_once()
314 ctx.pending = std::exchange(ctx.staged, nullptr); in wait_once()
[all …]
/openbmc/linux/arch/mips/cobalt/
H A Dirq.c25 unsigned pending = read_c0_status() & read_c0_cause() & ST0_IM; in plat_irq_dispatch() local
28 if (pending & CAUSEF_IP2) in plat_irq_dispatch()
30 else if (pending & CAUSEF_IP6) { in plat_irq_dispatch()
36 } else if (pending & CAUSEF_IP3) in plat_irq_dispatch()
38 else if (pending & CAUSEF_IP4) in plat_irq_dispatch()
40 else if (pending & CAUSEF_IP5) in plat_irq_dispatch()
42 else if (pending & CAUSEF_IP7) in plat_irq_dispatch()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dcgroup_hierarchical_stats.c20 /* State propagated through children, pending aggregation */
21 __u64 pending; member
56 static int create_attach_counter(__u64 cg_id, __u64 state, __u64 pending) in create_attach_counter() argument
58 struct attach_counter init = {.state = state, .pending = pending}; in create_attach_counter()
108 /* Collect pending stats from subtree */ in BPF_PROG()
109 if (total_counter->pending) { in BPF_PROG()
110 delta += total_counter->pending; in BPF_PROG()
111 total_counter->pending = 0; in BPF_PROG()
126 parent_counter->pending += delta; in BPF_PROG()
/openbmc/linux/Documentation/virt/kvm/devices/
H A Dxics.rst47 * Pending interrupt priority, 8 bits
48 Zero is the highest priority, 255 means no interrupt is pending.
50 * Pending IPI (inter-processor interrupt) priority, 8 bits
51 Zero is the highest priority, 255 means no IPI is pending.
53 * Pending interrupt source number, 24 bits
54 Zero means no interrupt pending, 2 means an IPI is pending
88 * Pending flag, 1 bit
90 This bit is 1 if the source has a pending interrupt, otherwise 0.
/openbmc/linux/arch/mips/ralink/
H A Dirq.c99 u32 pending = rt_intc_r32(INTC_REG_STATUS0); in ralink_intc_irq_handler() local
101 if (pending) { in ralink_intc_irq_handler()
103 generic_handle_domain_irq(domain, __ffs(pending)); in ralink_intc_irq_handler()
111 unsigned long pending; in plat_irq_dispatch() local
113 pending = read_c0_status() & read_c0_cause() & ST0_IM; in plat_irq_dispatch()
115 if (pending & STATUSF_IP7) in plat_irq_dispatch()
118 else if (pending & STATUSF_IP5) in plat_irq_dispatch()
121 else if (pending & STATUSF_IP6) in plat_irq_dispatch()
124 else if (pending & STATUSF_IP4) in plat_irq_dispatch()
127 else if (pending & STATUSF_IP2) in plat_irq_dispatch()
/openbmc/linux/include/asm-generic/
H A Dqspinlock_types.h20 * pending bit, we can allow better optimization of the lock
21 * acquisition for the pending bit holder.
26 u8 pending; member
39 u8 pending; member
56 * 8: pending
63 * 8: pending
79 #define _Q_PENDING_MASK _Q_SET_MASK(PENDING)
/openbmc/linux/kernel/irq/
H A Dmigration.c9 * irq_fixup_move_pending - Cleanup irq move pending from a dying CPU
11 * @force_clear: If set clear the move pending bit unconditionally.
13 * last one in the pending mask.
15 * Returns true if the pending bit was set and the pending mask contains an
26 * The outgoing CPU might be the last online target in a pending in irq_fixup_move_pending()
27 * interrupt move. If that's the case clear the pending move bit. in irq_fixup_move_pending()
82 * If the there is a cleanup pending in the underlying in irq_move_masked_irq()

12345678910>>...186