Home
last modified time | relevance | path

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

12345678910>>...141

/linux/fs/bcachefs/
H A Drcu_pending.c176 static noinline void __process_finished_items(struct rcu_pending *pending, in __process_finished_items() argument
185 __poll_state_synchronize_rcu(pending->srcu, p->objs.data[0].seq)) { in __process_finished_items()
197 switch ((ulong) pending->process) { in __process_finished_items()
251 pending->process(pending, *genradix_ptr(&objs.objs, i)); in __process_finished_items()
261 pending->process(pending, obj); in __process_finished_items()
267 static bool process_finished_items(struct rcu_pending *pending, in process_finished_items() argument
276 if ((p->objs.nr && __poll_state_synchronize_rcu(pending->srcu, p->objs.data[0].seq)) || in process_finished_items()
277 (p->lists[0].head && __poll_state_synchronize_rcu(pending->srcu, p->lists[0].seq)) || in process_finished_items()
278 (p->lists[1].head && __poll_state_synchronize_rcu(pending->srcu, p->lists[1].seq)) || in process_finished_items()
280 __process_finished_items(pending, p, flags); in process_finished_items()
[all …]
/linux/tools/lib/
H A Dlist_sort.c119 * 2:1 balanced merges. Given two pending sublists of size 2^k, they are
129 * pending lists. This is beautifully simple code, but rather subtle.
137 * 2^k, which is when we have 2^k elements pending in smaller lists,
142 * a third list of size 2^(k+1), so there are never more than two pending.
144 * The number of pending lists of size 2^k is determined by the
153 * 0: 00x: 0 pending of size 2^k; x pending of sizes < 2^k
154 * 1: 01x: 0 pending of size 2^k; 2^(k-1) + x pending of sizes < 2^k
155 * 2: x10x: 0 pending of size 2^k; 2^k + x pending of sizes < 2^k
156 * 3: x11x: 1 pending of size 2^k; 2^(k-1) + x pending of sizes < 2^k
157 * 4: y00x: 1 pending of size 2^k; 2^k + x pending of sizes < 2^k
[all …]
/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 …]
/linux/tools/perf/pmu-events/arch/x86/snowridgex/
H A Duncore-memory.json446 "BriefDescription": "Read Pending Queue Full Cycles",
452 …"PublicDescription": "Read Pending Queue Full Cycles : Counts the number of cycles when the Read P…
456 "BriefDescription": "Read Pending Queue Full Cycles",
462 …"PublicDescription": "Read Pending Queue Full Cycles : Counts the number of cycles when the Read P…
466 "BriefDescription": "Read Pending Queue Not Empty",
472Pending Queue Not Empty : Counts the number of cycles that the Read Pending Queue is not empty. T…
477 "BriefDescription": "Read Pending Queue Not Empty",
483Pending Queue Not Empty : Counts the number of cycles that the Read Pending Queue is not empty. T…
488 "BriefDescription": "Read Pending Queue Allocations",
493 …"PublicDescription": "Read Pending Queue Allocations : Counts the number of allocations into the R…
[all …]
/linux/drivers/gpu/drm/mediatek/
H A Dmtk_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.c137 struct mtk_plane_pending_state *pending = &state->pending; in mtk_ovl_adaptor_layer_config() local
143 const struct drm_format_info *fmt_info = drm_format_info(pending->format); in mtk_ovl_adaptor_layer_config()
150 pending->enable, pending->format); in mtk_ovl_adaptor_layer_config()
152 &pending->addr, (pending->pitch / fmt_info->cpp[0]), in mtk_ovl_adaptor_layer_config()
153 pending->x, pending->y, pending->width, pending->height); in mtk_ovl_adaptor_layer_config()
160 if (!pending->enable || !pending->width || !pending->height) { in mtk_ovl_adaptor_layer_config()
169 align_width = ALIGN_DOWN(pending->width, 2); in mtk_ovl_adaptor_layer_config()
175 l_w = (align_width / 2) + ((pending->width / 2) % 2); in mtk_ovl_adaptor_layer_config()
180 mtk_merge_advance_config(merge, l_w, r_w, pending->height, 0, 0, cmdq_pkt); in mtk_ovl_adaptor_layer_config()
182 pending->height, cmdq_pkt); in mtk_ovl_adaptor_layer_config()
[all …]
/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 …]
/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 …]
/linux/tools/perf/pmu-events/arch/x86/icelakex/
H A Duncore-memory.json407 …Queue Inserts : Counts number of read requests allocated in the PMM Read Pending Queue. This inc…
411 "BriefDescription": "PMM Read Pending Queue Occupancy",
416 …"PublicDescription": "PMM Read Pending Queue Occupancy : Accumulates the per cycle occupancy of th…
421 "BriefDescription": "PMM Read Pending Queue Occupancy",
427 …"PublicDescription": "PMM Read Pending Queue Occupancy : Accumulates the per cycle occupancy of th…
432 "BriefDescription": "PMM Read Pending Queue Occupancy",
438 …"PublicDescription": "PMM Read Pending Queue Occupancy : Accumulates the per cycle occupancy of th…
484 … Write Queue Inserts : Counts number of write requests allocated in the PMM Write Pending Queue.",
488 "BriefDescription": "PMM Write Pending Queue Occupancy",
493 …"PublicDescription": "PMM Write Pending Queue Occupancy : Accumulates the per cycle occupancy of t…
[all …]
/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 …]
/linux/tools/perf/pmu-events/arch/x86/sierraforest/
H A Duncore-memory.json276 …"BriefDescription": "Read Pending Queue Allocations : Counts the number of allocations into the Re…
286 …"BriefDescription": "Read Pending Queue Allocations : Counts the number of allocations into the Re…
296 "BriefDescription": "Read Pending Queue inserts for subchannel 0, pseudochannel 0",
305 "BriefDescription": "Read Pending Queue inserts for subchannel 0, pseudochannel 1",
314 "BriefDescription": "Read Pending Queue inserts for subchannel 1, pseudochannel 0",
323 "BriefDescription": "Read Pending Queue inserts for subchannel 1, pseudochannel 1",
332 "BriefDescription": "Read pending queue occupancy for subchannel 0, pseudochannel 0",
340 "BriefDescription": "Read pending queue occupancy for subchannel 0, pseudochannel 1",
348 "BriefDescription": "Read pending queue occupancy for subchannel 1, pseudochannel 0",
356 "BriefDescription": "Read pending queue occupancy for subchannel 1, pseudochannel 1",
[all …]
/linux/tools/perf/pmu-events/arch/x86/graniterapids/
H A Duncore-memory.json274 …"BriefDescription": "Read Pending Queue Allocations : Counts the number of allocations into the Re…
284 …"BriefDescription": "Read Pending Queue Allocations : Counts the number of allocations into the Re…
294 "BriefDescription": "Read Pending Queue inserts for subchannel 0, pseudochannel 0",
303 "BriefDescription": "Read Pending Queue inserts for subchannel 0, pseudochannel 1",
312 "BriefDescription": "Read Pending Queue inserts for subchannel 1, pseudochannel 0",
321 "BriefDescription": "Read Pending Queue inserts for subchannel 1, pseudochannel 1",
330 "BriefDescription": "Read pending queue occupancy for subchannel 0, pseudochannel 0",
338 "BriefDescription": "Read pending queue occupancy for subchannel 0, pseudochannel 1",
346 "BriefDescription": "Read pending queue occupancy for subchannel 1, pseudochannel 0",
354 "BriefDescription": "Read pending queue occupancy for subchannel 1, pseudochannel 1",
[all …]
/linux/tools/perf/pmu-events/arch/x86/grandridge/
H A Duncore-memory.json276 …"BriefDescription": "Read Pending Queue Allocations : Counts the number of allocations into the Re…
286 …"BriefDescription": "Read Pending Queue Allocations : Counts the number of allocations into the Re…
296 "BriefDescription": "Read Pending Queue inserts for subchannel 0, pseudochannel 0",
305 "BriefDescription": "Read Pending Queue inserts for subchannel 0, pseudochannel 1",
314 "BriefDescription": "Read Pending Queue inserts for subchannel 1, pseudochannel 0",
323 "BriefDescription": "Read Pending Queue inserts for subchannel 1, pseudochannel 1",
332 "BriefDescription": "Read pending queue occupancy for subchannel 0, pseudochannel 0",
340 "BriefDescription": "Read pending queue occupancy for subchannel 0, pseudochannel 1",
348 "BriefDescription": "Read pending queue occupancy for subchannel 1, pseudochannel 0",
356 "BriefDescription": "Read pending queue occupancy for subchannel 1, pseudochannel 1",
[all …]
/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()
/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()
/linux/arch/loongarch/kvm/
H A Dinterrupt.c83 unsigned long *pending = &vcpu->arch.irq_pending; in kvm_deliver_intr() local
86 if (!(*pending) && !(*pending_clr)) in kvm_deliver_intr()
99 if (*pending) { in kvm_deliver_intr()
100 priority = __ffs(*pending); in kvm_deliver_intr()
103 priority = find_next_bit(pending, in kvm_deliver_intr()
104 BITS_PER_BYTE * sizeof(*pending), in kvm_deliver_intr()
175 unsigned long *pending = &vcpu->arch.exception_pending; in kvm_deliver_exception() local
177 if (*pending) { in kvm_deliver_exception()
178 code = __ffs(*pending); in kvm_deliver_exception()
180 *pending = 0; in kvm_deliver_exception()
/linux/drivers/hid/
H A Dhid-sensor-hub.c22 * @lock: Spin lock to protect pending request structure.
308 memset(&hsdev->pending, 0, sizeof(hsdev->pending)); in sensor_hub_input_attr_get_raw_value()
309 init_completion(&hsdev->pending.ready); in sensor_hub_input_attr_get_raw_value()
310 hsdev->pending.usage_id = usage_id; in sensor_hub_input_attr_get_raw_value()
311 hsdev->pending.attr_usage_id = attr_usage_id; in sensor_hub_input_attr_get_raw_value()
312 hsdev->pending.raw_size = 0; in sensor_hub_input_attr_get_raw_value()
315 hsdev->pending.status = true; in sensor_hub_input_attr_get_raw_value()
323 &hsdev->pending.ready, HZ*5); in sensor_hub_input_attr_get_raw_value()
324 switch (hsdev->pending.raw_size) { in sensor_hub_input_attr_get_raw_value()
327 ret_val = *(s8 *)hsdev->pending.raw_data; in sensor_hub_input_attr_get_raw_value()
[all …]
/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.
/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()
/linux/net/vmw_vsock/
H A Dvmci_transport.c43 struct sock *pending,
484 struct sock *pending; in vmci_transport_get_pending() local
495 pending = sk_vsock(vpending); in vmci_transport_get_pending()
496 sock_hold(pending); in vmci_transport_get_pending()
501 pending = NULL; in vmci_transport_get_pending()
503 return pending; in vmci_transport_get_pending()
507 static void vmci_transport_release_pending(struct sock *pending) in vmci_transport_release_pending() argument
509 sock_put(pending); in vmci_transport_release_pending()
912 /* Processing of pending connections for servers goes through in vmci_transport_recv_pkt_work()
943 struct sock *pending; in vmci_transport_recv_listen() local
[all …]
/linux/arch/um/os-Linux/
H A Dsignal.c193 unsigned long pending = 1UL << sig; in hard_handler() local
199 * pending comes back with one bit set for each in hard_handler()
208 bail = to_irq_stack(&pending); in hard_handler()
212 nested = pending & 1; in hard_handler()
213 pending &= ~1; in hard_handler()
215 while ((sig = ffs(pending)) != 0){ in hard_handler()
217 pending &= ~(1 << sig); in hard_handler()
222 * Again, pending comes back with a mask of signals in hard_handler()
228 pending = from_irq_stack(nested); in hard_handler()
229 } while (pending); in hard_handler()
[all …]
/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()
/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)
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sp.h31 /* Wait until all pending commands complete */
41 * pending commands list.
44 /* If there is another pending ramrod, wait until it finishes and
88 int state; /* "ramrod is pending" state bit */
193 /* Commands pending for an execution. */
196 /* Commands pending for an completion. */
216 * Called before removing pending commands, cleaning allocated
222 * This will try to cancel the current pending commands list
303 bool head_exe_request; /* Pending execution request. */
304 unsigned long saved_ramrod_flags; /* Ramrods of pending execution */
[all …]

12345678910>>...141