Home
last modified time | relevance | path

Searched full:signaled (Results 1 – 25 of 405) sorted by relevance

12345678910>>...17

/linux-6.14.4/tools/testing/selftests/drivers/ntsync/
Dntsync.c76 static int read_event_state(int event, __u32 *signaled, __u32 *manual) in read_event_state() argument
83 *signaled = args.signaled; in read_event_state()
88 #define check_event_state(event, signaled, manual) \ argument
93 EXPECT_EQ((signaled), __signaled); \
382 __u32 index, signaled; in TEST() local
389 event_args.signaled = 0; in TEST()
394 signaled = 0xdeadbeef; in TEST()
395 ret = ioctl(event, NTSYNC_IOC_EVENT_SET, &signaled); in TEST()
397 EXPECT_EQ(0, signaled); in TEST()
400 ret = ioctl(event, NTSYNC_IOC_EVENT_SET, &signaled); in TEST()
[all …]
/linux-6.14.4/tools/perf/pmu-events/arch/arm64/arm/neoverse-n2-v2/
Dtrace.json8 …"PublicDescription": "This event is generated each time an event is signaled by ETE external event…
12 …"PublicDescription": "This event is generated each time an event is signaled by ETE external event…
16 …"PublicDescription": "This event is generated each time an event is signaled by ETE external event…
20 …"PublicDescription": "This event is generated each time an event is signaled by ETE external event…
24 …"PublicDescription": "This event is generated each time an event is signaled on CTI output trigger…
28 …"PublicDescription": "This event is generated each time an event is signaled on CTI output trigger…
32 …"PublicDescription": "This event is generated each time an event is signaled on CTI output trigger…
36 …"PublicDescription": "This event is generated each time an event is signaled on CTI output trigger…
/linux-6.14.4/Documentation/userspace-api/
Dntsync.rst24 integer denoting the maximum value. It is considered signaled (that is,
31 identifier denoting its owner. A mutex is considered signaled when its
49 a volatile boolean state denoting whether it is signaled or not. There
86 __u32 signaled;
144 * - ``signaled``
145 - If nonzero, the event is initially signaled, otherwise
164 semaphore's count causes it to become signaled, eligible threads
186 unowned and signaled, and eligible threads waiting on it will be
252 * - ``signaled``
283 signaled, and will not fail with ``ETIMEDOUT``.
[all …]
/linux-6.14.4/tools/testing/selftests/sync/
Dsync_wait.c36 int valid, active, signaled, ret; in test_fence_multi_timeline_wait() local
52 /* Confirm fence isn't signaled */ in test_fence_multi_timeline_wait()
54 ASSERT(active == 3, "Fence signaled too early!\n"); in test_fence_multi_timeline_wait()
62 signaled = sync_fence_count_with_status(merged, FENCE_STATUS_SIGNALED); in test_fence_multi_timeline_wait()
63 ASSERT(active == 2 && signaled == 1, in test_fence_multi_timeline_wait()
68 signaled = sync_fence_count_with_status(merged, FENCE_STATUS_SIGNALED); in test_fence_multi_timeline_wait()
69 ASSERT(active == 1 && signaled == 2, in test_fence_multi_timeline_wait()
74 signaled = sync_fence_count_with_status(merged, FENCE_STATUS_SIGNALED); in test_fence_multi_timeline_wait()
75 ASSERT(active == 0 && signaled == 3, in test_fence_multi_timeline_wait()
80 ASSERT(ret > 0, "Failure waiting on signaled fence\n"); in test_fence_multi_timeline_wait()
Dsync_fence.c106 /* confirm that d is not signaled until the max of a,b,c */ in test_fence_one_timeline_merge()
111 "d signaled too early!\n"); in test_fence_one_timeline_merge()
117 "d signaled too early!\n"); in test_fence_one_timeline_merge()
/linux-6.14.4/drivers/gpu/drm/virtio/
Dvirtgpu_fence.c69 .signaled = virtio_gpu_fence_signaled,
131 struct virtio_gpu_fence *signaled, *curr, *tmp; in virtio_gpu_fence_event_process() local
140 signaled = curr; in virtio_gpu_fence_event_process()
144 * than the current signaled fence. in virtio_gpu_fence_event_process()
148 if (signaled->f.context != curr->f.context) in virtio_gpu_fence_event_process()
151 if (!dma_fence_is_later(&signaled->f, &curr->f)) in virtio_gpu_fence_event_process()
164 dma_fence_signal_locked(&signaled->f); in virtio_gpu_fence_event_process()
165 if (signaled->e) { in virtio_gpu_fence_event_process()
166 drm_send_event(vgdev->ddev, &signaled->e->base); in virtio_gpu_fence_event_process()
167 signaled->e = NULL; in virtio_gpu_fence_event_process()
[all …]
/linux-6.14.4/drivers/misc/
Dntsync.c67 bool signaled; member
113 atomic_t signaled; member
242 return obj->u.event.signaled; in is_signaled()
259 int signaled = -1; in try_wake_all() local
278 if (can_wake && atomic_try_cmpxchg(&q->signaled, &signaled, 0)) { in try_wake_all()
295 obj->u.event.signaled = false; in try_wake_all()
328 int signaled = -1; in try_wake_any_sem() local
333 if (atomic_try_cmpxchg(&q->signaled, &signaled, entry->index)) { in try_wake_any_sem()
349 int signaled = -1; in try_wake_any_mutex() local
356 if (atomic_try_cmpxchg(&q->signaled, &signaled, entry->index)) { in try_wake_any_mutex()
[all …]
/linux-6.14.4/tools/testing/selftests/powerpc/signal/
Dsignal.c25 static sig_atomic_t signaled; variable
31 signaled = 1; in signal_handler()
68 while (!signaled && !fail) in test_signal()
70 if (!signaled) { in test_signal()
83 signaled = 0; in test_signal()
91 while (!signaled && !fail) in test_signal()
93 if (!signaled) { in test_signal()
Dsignal_tm.c25 static sig_atomic_t signaled; variable
36 signaled = 1; in signal_handler()
70 signaled = 0; in test_signal_tm()
92 while(!signaled && !fail) in test_signal_tm()
94 if (!signaled) { in test_signal_tm()
/linux-6.14.4/include/linux/
Ddma-fence.h40 * can be compared to decide which fence would be signaled later.
42 * @timestamp: Timestamp when the fence was signaled.
50 * DMA_FENCE_FLAG_SIGNALED_BIT - fence is already signaled
196 * @signaled:
198 * Peek whether the fence is signaled, as a fastpath optimization for
210 bool (*signaled)(struct dma_fence *fence); member
223 * interrupted, and remaining jiffies if fence has signaled, or 0 if wait
225 * which should be treated as if the fence is signaled. For example a hardware
267 * would prefer the fence to be signaled by. This is intended to
407 * is signaled yet.
[all …]
/linux-6.14.4/drivers/dma-buf/
Dst-dma-fence.c125 pr_err("Fence unexpectedly signaled on creation\n"); in test_signaling()
130 pr_err("Fence reported being already signaled\n"); in test_signaling()
135 pr_err("Fence not reporting signaled\n"); in test_signaling()
140 pr_err("Fence reported not being already signaled\n"); in test_signaling()
171 pr_err("Failed to add callback, fence already signaled!\n"); in test_add_callback()
202 pr_err("Added callback, but fence was already signaled!\n"); in test_late_add_callback()
229 pr_err("Failed to add callback, fence already signaled!\n"); in test_rm_callback()
240 pr_err("Callback still signaled after removal!\n"); in test_rm_callback()
261 pr_err("Failed to add callback, fence already signaled!\n"); in test_late_rm_callback()
294 pr_err("Fence unexpectedly has signaled status on creation\n"); in test_status()
[all …]
Ddma-fence.c125 * dma_fence_get_stub - return a signaled fence
127 * Return a stub fence which is already signaled. The fence's
152 * dma_fence_allocate_private_stub - return a private, signaled fence
153 * @timestamp: timestamp when the fence was signaled
155 * Return a newly allocated and signaled stub fence.
357 * can only go from the unsignaled to the signaled state and not back, it will
403 * can only go from the unsignaled to the signaled state and not back, it will
433 * can only go from the unsignaled to the signaled state and not back, it will
455 * can only go from the unsignaled to the signaled state and not back, it will
483 * dma_fence_wait_timeout - sleep until the fence gets signaled
[all …]
/linux-6.14.4/drivers/gpu/drm/amd/amdkfd/
Dkfd_events.c43 bool activated; /* Becomes true when event is signaled */
141 * lookup_signaled_event_by_partial_id - Lookup signaled event from partial ID
146 * Finds the first signaled event with a matching partial ID. If no
147 * matching signaled event is found, returns NULL. In that case the
154 * interrupts is correct, all signaled events will be seen by the
176 * and find the first one that has signaled. in lookup_signaled_event_by_partial_id()
409 ev->signaled = false; in kfd_event_create()
485 ev->signaled = ev_priv->signaled; in kfd_criu_restore_event()
560 ev_priv->signaled = ev->signaled; in kfd_criu_checkpoint_events()
571 pr_debug("Checkpointed event[%d] id = 0x%08x auto_reset = %x type = %x signaled = %x\n", in kfd_criu_checkpoint_events()
[all …]
/linux-6.14.4/kernel/sched/
Dcompletion.c140 * This waits to be signaled for completion of a specific task. It is NOT
157 * This waits for either a completion of a specific task to be signaled or for a
175 * This waits to be signaled for completion of a specific task. It is NOT
190 * This waits for either a completion of a specific task to be signaled or for a
209 * This waits for completion of a specific task to be signaled. It is
229 * This waits for either a completion of a specific task to be signaled or for a
247 * This waits to be signaled for completion of a specific task. It can be
278 * signaled or for a specified timeout to expire. It can be
/linux-6.14.4/drivers/gpu/drm/radeon/
Dradeon_fence.c210 * continuously new fence signaled ie radeon_fence_read needs in radeon_fence_activity()
238 * checking if a fence is signaled as it means that the in radeon_fence_activity()
246 * seq then the current real last seq as signaled in radeon_fence_activity()
326 * radeon_fence_seq_signaled - check if a fence sequence number has signaled
332 * Check if the last signaled fence sequnce number is >= the requested
334 * Returns true if the fence has signaled (current fence value
378 * to fence_queue that checks if this fence is signaled, and if so it
395 /* did fence get signaled after we enabled the sw irq? */ in radeon_fence_enable_signaling()
419 * radeon_fence_signaled - check if a fence has signaled
423 * Check if the requested fence has signaled (all asics).
[all …]
Dradeon_test.c354 DRM_ERROR("Fence 1 signaled without waiting for semaphore.\n"); in radeon_test_ring_sync()
375 DRM_ERROR("Fence 2 signaled without waiting for semaphore.\n"); in radeon_test_ring_sync()
448 DRM_ERROR("Fence A signaled without waiting for semaphore.\n"); in radeon_test_ring_sync2()
452 DRM_ERROR("Fence B signaled without waiting for semaphore.\n"); in radeon_test_ring_sync2()
473 DRM_ERROR("Neither fence A nor B has been signaled\n"); in radeon_test_ring_sync2()
476 DRM_ERROR("Both fence A and B has been signaled\n"); in radeon_test_ring_sync2()
480 DRM_INFO("Fence %c was first signaled\n", sigA ? 'A' : 'B'); in radeon_test_ring_sync2()
/linux-6.14.4/drivers/iommu/riscv/
Diommu-platform.c97 /* Enable message-signaled interrupts, fctl.WSI */ in riscv_iommu_platform_probe()
109 "unable to use wire-signaled interrupts\n"); in riscv_iommu_platform_probe()
118 /* Enable wire-signaled interrupts, fctl.WSI */ in riscv_iommu_platform_probe()
123 dev_info(dev, "using wire-signaled interrupts\n"); in riscv_iommu_platform_probe()
/linux-6.14.4/drivers/gpu/drm/ci/xfails/
Di915-tgl-fails.txt59 syncobj_basic@create-signaled,Timeout
62 syncobj_wait@invalid-multi-wait-unsubmitted-signaled,Timeout
66 syncobj_wait@multi-wait-for-submit-submitted-signaled,Timeout
/linux-6.14.4/drivers/gpu/drm/i915/selftests/
Di915_sw_fence.c556 pr_err("worker updated value before i915_sw_fence was signaled\n"); in test_ipc()
564 pr_err("worker signaled i915_sw_fence before value was posted\n"); in test_ipc()
587 pr_err("Fence with immediate expiration not signaled\n"); in test_timer()
597 pr_err("Fence with future expiration (%lu jiffies) already signaled\n", delay); in test_timer()
606 pr_err("Fence not signaled after wait\n"); in test_timer()
610 pr_err("Fence signaled too early, target=%lu, now=%lu\n", in test_timer()
695 pr_err("Fences immediately signaled\n"); in test_dma_fence()
711 pr_err("Fences signaled too early\n"); in test_dma_fence()
723 pr_err("No timeout fence signaled!\n"); in test_dma_fence()
/linux-6.14.4/tools/perf/pmu-events/arch/arm64/fujitsu/monaka/
Dtrace.json12 …"BriefDescription": "This event counts the event generated each time an event is signaled by the t…
16 …"BriefDescription": "This event counts the event generated each time an event is signaled on CTI o…
/linux-6.14.4/drivers/gpu/drm/
Ddrm_syncobj.c43 * - Signal a syncobj (set a trivially signaled fence)
44 * - Wait for a syncobj's fence to appear and be signaled
51 * - Wait for a given point to appear and/or be signaled
57 * to an already signaled fence depending on whether the
61 * If the syncobj is considered as a binary (its state is either signaled or
64 * signaled by the completion of that work.
69 * &dma_fence_chain fence replace the syncobj's fence and will be signaled by
91 * setting its pointer to a fence which is already signaled.
113 * all of the syncobj fences to be signaled before it returns.
114 * Otherwise, it returns once at least one syncobj fence has been signaled
[all …]
/linux-6.14.4/drivers/gpu/drm/panfrost/
Dpanfrost_job.h22 /* Fence to be signaled by IRQ handler when the job is complete. */
33 /* Fence to be signaled by drm-sched once its done with the job */
/linux-6.14.4/drivers/media/pci/ddbridge/
DKconfig35 bool "Enable Message Signaled Interrupts (MSI) per default (EXPERIMENTAL)"
39 Use PCI MSI (Message Signaled Interrupts) per default. Enabling this
/linux-6.14.4/drivers/media/platform/mediatek/vcodec/encoder/
Dvenc_vpu_if.h15 * @signaled: flag used for checking vpu interrupt done
29 int signaled; member
/linux-6.14.4/Documentation/virt/kvm/devices/
Dmpic.rst30 MSIs may be signaled by using this attribute group to write
39 signaled edge has not been acknowledged, and 0 otherwise.

12345678910>>...17