Home
last modified time | relevance | path

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

12345678910>>...136

/Linux-v6.6/tools/lib/
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 …]
/Linux-v6.6/lib/
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-v6.6/tools/perf/pmu-events/arch/x86/snowridgex/
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 …]
/Linux-v6.6/tools/perf/pmu-events/arch/x86/icelakex/
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 …]
/Linux-v6.6/drivers/gpu/drm/mediatek/
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()
179 mtk_plane_state->pending.enable = true; in mtk_plane_update_new_state()
180 mtk_plane_state->pending.pitch = pitch; in mtk_plane_update_new_state()
181 mtk_plane_state->pending.hdr_pitch = hdr_pitch; in mtk_plane_update_new_state()
182 mtk_plane_state->pending.format = format; in mtk_plane_update_new_state()
183 mtk_plane_state->pending.modifier = modifier; in mtk_plane_update_new_state()
184 mtk_plane_state->pending.addr = addr; in mtk_plane_update_new_state()
185 mtk_plane_state->pending.hdr_addr = hdr_addr; in mtk_plane_update_new_state()
[all …]
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) { 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 …]
/Linux-v6.6/arch/mips/sni/
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-v6.6/drivers/platform/surface/aggregator/
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 …]
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 …]
Dssh_request_layer.h52 * @pending: Set/list of pending requests.
53 * @pending.lock: Lock for modifying the request set.
54 * @pending.head: List-head of the pending set/list.
55 * @pending.count: Number of currently pending requests.
78 } pending; member
130 bool ssh_rtl_cancel(struct ssh_request *rqst, bool pending);
/Linux-v6.6/drivers/gpu/drm/i915/
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-v6.6/tools/testing/selftests/bpf/progs/
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-v6.6/arch/mips/cobalt/
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-v6.6/Documentation/virt/kvm/devices/
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-v6.6/arch/mips/ralink/
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-v6.6/tools/perf/pmu-events/arch/x86/sapphirerapids/
Duncore-memory.json1936 "BriefDescription": "Read Pending Queue Allocations",
1940 …"PublicDescription": "Read Pending Queue Allocations: Counts the number of allocations into the Re…
1945 "BriefDescription": "Read Pending Queue Allocations",
1949 …"PublicDescription": "Read Pending Queue Allocations: Counts the number of allocations into the Re…
1954 "BriefDescription": "Read Pending Queue Occupancy",
1958 …"PublicDescription": "Read Pending Queue Occupancy: Accumulates the occupancies of the Read Pendin…
1962 "BriefDescription": "Read Pending Queue Occupancy",
1966 …"PublicDescription": "Read Pending Queue Occupancy: Accumulates the occupancies of the Read Pendin…
1970 "BriefDescription": "Write Pending Queue Allocations",
1974 …"PublicDescription": "Write Pending Queue Allocations: Counts the number of allocations into the W…
[all …]
/Linux-v6.6/include/asm-generic/
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-v6.6/drivers/hid/
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-v6.6/kernel/irq/
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()
Dirq_sim.c17 unsigned long *pending; member
61 *state = test_bit(hwirq, irq_ctx->work_ctx->pending); in irq_sim_get_irqchip_state()
79 assign_bit(hwirq, irq_ctx->work_ctx->pending, state); in irq_sim_set_irqchip_state()
108 while (!bitmap_empty(work_ctx->pending, work_ctx->irq_count)) { in irq_sim_handle_irq()
109 offset = find_next_bit(work_ctx->pending, in irq_sim_handle_irq()
111 clear_bit(offset, work_ctx->pending); in irq_sim_handle_irq()
173 work_ctx->pending = bitmap_zalloc(num_irqs, GFP_KERNEL); in irq_domain_create_sim()
174 if (!work_ctx->pending) in irq_domain_create_sim()
189 bitmap_free(work_ctx->pending); in irq_domain_create_sim()
208 bitmap_free(work_ctx->pending); in irq_domain_remove_sim()
/Linux-v6.6/arch/um/os-Linux/
Dsignal.c181 unsigned long pending = 1UL << sig; in hard_handler() local
187 * pending comes back with one bit set for each in hard_handler()
196 bail = to_irq_stack(&pending); in hard_handler()
200 nested = pending & 1; in hard_handler()
201 pending &= ~1; in hard_handler()
203 while ((sig = ffs(pending)) != 0){ in hard_handler()
205 pending &= ~(1 << sig); in hard_handler()
210 * Again, pending comes back with a mask of signals in hard_handler()
216 pending = from_irq_stack(nested); in hard_handler()
217 } while (pending); in hard_handler()
[all …]
/Linux-v6.6/drivers/irqchip/
Dirq-loongson-htpic.c33 uint32_t pending; in htpic_irq_dispatch() local
36 pending = readl(priv->base); in htpic_irq_dispatch()
38 writel(pending, priv->base); in htpic_irq_dispatch()
40 if (!pending) in htpic_irq_dispatch()
43 while (pending) { in htpic_irq_dispatch()
44 int bit = __ffs(pending); in htpic_irq_dispatch()
52 pending &= ~BIT(bit); in htpic_irq_dispatch()
66 /* Ack all possible pending IRQs */ in htpic_reg_init()
Dirq-ath79-cpu.c36 unsigned long pending; in plat_irq_dispatch() local
39 pending = read_c0_status() & read_c0_cause() & ST0_IM; in plat_irq_dispatch()
41 if (!pending) { in plat_irq_dispatch()
46 pending >>= CAUSEB_IP; in plat_irq_dispatch()
47 while (pending) { in plat_irq_dispatch()
48 irq = fls(pending) - 1; in plat_irq_dispatch()
52 pending &= ~BIT(irq); in plat_irq_dispatch()
/Linux-v6.6/drivers/gpu/drm/qxl/
Dqxl_irq.c36 uint32_t pending; in qxl_irq_handler() local
38 pending = xchg(&qdev->ram_header->int_pending, 0); in qxl_irq_handler()
40 if (!pending) in qxl_irq_handler()
45 if (pending & QXL_INTERRUPT_DISPLAY) { in qxl_irq_handler()
50 if (pending & QXL_INTERRUPT_CURSOR) { in qxl_irq_handler()
54 if (pending & QXL_INTERRUPT_IO_CMD) { in qxl_irq_handler()
58 if (pending & QXL_INTERRUPT_ERROR) { in qxl_irq_handler()
66 if (pending & QXL_INTERRUPT_CLIENT_MONITORS_CONFIG) { in qxl_irq_handler()
/Linux-v6.6/net/vmw_vsock/
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 …]

12345678910>>...136