| /kernel/linux/linux-6.6/tools/lib/ |
| D | list_sort.c | 129 * 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 …]
|
| /kernel/linux/linux-6.6/lib/ |
| D | list_sort.c | 130 * 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 …]
|
| /kernel/linux/linux-5.10/lib/ |
| D | list_sort.c | 130 * 2:1 balanced merges. Given two pending sublists of size 2^k, they are 140 * pending lists. This is beautiully 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 …]
|
| /kernel/linux/linux-5.10/drivers/staging/fwserial/ |
| D | dma_fifo.c | 41 INIT_LIST_HEAD(&fifo->pending); in dma_fifo_init() 98 struct dma_pending *pending, *next; in dma_fifo_free() local 103 list_for_each_entry_safe(pending, next, &fifo->pending, link) in dma_fifo_free() 104 list_del_init(&pending->link); in dma_fifo_free() 115 struct dma_pending *pending, *next; in dma_fifo_reset() local 120 list_for_each_entry_safe(pending, next, &fifo->pending, link) in dma_fifo_reset() 121 list_del_init(&pending->link); in dma_fifo_reset() 222 list_add_tail(&pended->link, &fifo->pending); in dma_fifo_out_pend() 244 struct dma_pending *pending, *next, *tmp; in dma_fifo_out_complete() local 250 if (list_empty(&fifo->pending) && fifo->open == 0) in dma_fifo_out_complete() [all …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/snowridgex/ |
| D | uncore-memory.json | 375 "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", 395 …Pending Queue Not Empty : Counts the number of cycles that the Read Pending Queue is not empty. T… 400 "BriefDescription": "Read Pending Queue Not Empty", 404 …Pending 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 …]
|
| /kernel/linux/linux-5.10/arch/powerpc/kvm/ |
| D | book3s_xive_template.c | 37 /* Grab CPPR of the most favored pending interrupt */ in GLUE() 40 xc->pending |= 1 << cppr; in GLUE() 86 * pending. in GLUE() 116 u8 pending, int scan_type) in GLUE() 121 /* Find highest pending priority */ in GLUE() 122 while ((xc->mfrr != 0xff || pending != 0) && hirq == 0) { in GLUE() 128 * If pending is 0 this will return 0xff which is what in GLUE() 131 prio = ffs(pending) - 1; in GLUE() 172 * This is safe because if we have another pending MFRR in GLUE() 195 /* Clear the pending bit if the queue is now empty */ in GLUE() [all …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/icelakex/ |
| D | uncore-memory.json | 339 …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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/mediatek/ |
| D | mtk_drm_plane.c | 48 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 …]
|
| D | mtk_disp_ovl_adaptor.c | 91 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 …]
|
| /kernel/linux/linux-5.10/arch/mips/vr41xx/common/ |
| D | irq.c | 80 unsigned int pending = read_c0_cause() & read_c0_status() & ST0_IM; in plat_irq_dispatch() local 82 if (pending & CAUSEF_IP7) in plat_irq_dispatch() 84 else if (pending & 0x7800) { in plat_irq_dispatch() 85 if (pending & CAUSEF_IP3) in plat_irq_dispatch() 87 else if (pending & CAUSEF_IP4) in plat_irq_dispatch() 89 else if (pending & CAUSEF_IP5) in plat_irq_dispatch() 91 else if (pending & CAUSEF_IP6) in plat_irq_dispatch() 93 } else if (pending & CAUSEF_IP2) in plat_irq_dispatch() 95 else if (pending & CAUSEF_IP0) in plat_irq_dispatch() 97 else if (pending & CAUSEF_IP1) in plat_irq_dispatch()
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
| D | i915_sw_fence.c | 145 atomic_set_release(&fence->pending, -1); /* 0 -> -1 [done] */ in __i915_sw_fence_wake_up_all() 192 if (!atomic_dec_and_test(&fence->pending)) in __i915_sw_fence_complete() 220 int pending; in i915_sw_fence_await() local 226 pending = atomic_read(&fence->pending); in i915_sw_fence_await() 228 if (pending < 1) in i915_sw_fence_await() 230 } while (!atomic_try_cmpxchg(&fence->pending, &pending, pending + 1)); in i915_sw_fence_await() 252 atomic_set(&fence->pending, 1); in i915_sw_fence_reinit() 336 int pending; in __i915_sw_fence_await_sw_fence() local 352 pending = 0; in __i915_sw_fence_await_sw_fence() 364 pending |= I915_SW_FENCE_FLAG_ALLOC; in __i915_sw_fence_await_sw_fence() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/ |
| D | mtk_drm_plane.c | 51 state->pending.format = DRM_FORMAT_RGB565; in mtk_plane_reset() 67 state->pending = old_state->pending; in mtk_plane_duplicate_state() 125 state->pending.async_dirty = true; in mtk_plane_atomic_async_update() 172 state->pending.enable = false; in mtk_plane_atomic_disable() 174 state->pending.dirty = true; in mtk_plane_atomic_disable() 205 state->pending.enable = true; in mtk_plane_atomic_update() 206 state->pending.pitch = pitch; in mtk_plane_atomic_update() 207 state->pending.format = format; in mtk_plane_atomic_update() 208 state->pending.addr = addr; in mtk_plane_atomic_update() 209 state->pending.x = plane->state->dst.x1; in mtk_plane_atomic_update() [all …]
|
| /kernel/linux/linux-6.6/arch/mips/sni/ |
| D | pcit.c | 183 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 …]
|
| /kernel/linux/linux-5.10/arch/mips/sni/ |
| D | pcit.c | 183 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 …]
|
| /kernel/linux/linux-6.6/drivers/platform/surface/aggregator/ |
| D | ssh_request_layer.c | 47 * 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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
| D | i915_sw_fence.c | 149 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 …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
| D | cgroup_hierarchical_stats.c | 20 /* 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()
|
| /kernel/linux/linux-5.10/arch/mips/cobalt/ |
| D | irq.c | 25 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()
|
| /kernel/linux/linux-6.6/arch/mips/cobalt/ |
| D | irq.c | 25 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()
|
| /kernel/liteos_a/testsuites/unittest/extended/signal/full/ |
| D | signal_test_001.cpp | 143 sigset_t sigmask, oldmask, pending; in TestCase() local 146 sigemptyset(&pending); in TestCase() 147 sigpending(&pending); in TestCase() 148 if (sigisemptyset(&pending) != 1) { in TestCase() 155 sigpending(&pending); in TestCase() 156 if (sigisemptyset(&pending) != 1) { in TestCase() 165 printf("1 pending=%lu\n", pending.__bits[0]); in TestCase() 170 sigpending(&pending); in TestCase() 171 if (sigismember(&pending, SIGALRM) != 1) { in TestCase() 175 printf("pending=%d,sigismem = %lu\n", pending.__bits[0], sigismember(&pending, SIGALRM)); in TestCase()
|
| /kernel/linux/linux-5.10/Documentation/virt/kvm/devices/ |
| D | xics.rst | 47 * 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.
|
| /kernel/linux/linux-6.6/Documentation/virt/kvm/devices/ |
| D | xics.rst | 47 * 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.
|
| /kernel/linux/linux-6.6/arch/mips/ralink/ |
| D | irq.c | 99 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()
|
| /kernel/linux/linux-5.10/arch/mips/ralink/ |
| D | irq.c | 99 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_irq(irq_find_mapping(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()
|
| /kernel/linux/linux-5.10/include/asm-generic/ |
| D | qspinlock_types.h | 20 * 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)
|