Home
last modified time | relevance | path

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

12345678910

/linux/tools/testing/selftests/drivers/ntsync/
H A Dntsync.c82 static int read_event_state(int event, __u32 *signaled, __u32 *manual) in read_event_state()
89 *signaled = args.signaled;
94 #define check_event_state(event, signaled, manual) \
99 EXPECT_EQ((signaled), __signaled); \ in wait_objs()
388 __u32 index, signaled; in TEST()
395 event_args.signaled = 0; in TEST()
400 signaled = 0xdeadbeef; in TEST()
401 ret = ioctl(event, NTSYNC_IOC_EVENT_SET, &signaled); in TEST()
403 EXPECT_EQ(0, signaled); in TEST()
76 read_event_state(int event,__u32 * signaled,__u32 * manual) read_event_state() argument
88 check_event_state(event,signaled,manual) global() argument
382 __u32 index, signaled; TEST() local
447 __u32 index, signaled; TEST() local
753 __u32 count, index, signaled; TEST() local
946 __u32 count, index, signaled; TEST() local
1068 __u32 index, count, signaled; TEST() local
1180 __u32 index, count, signaled; TEST() local
1309 __u32 signaled, i; TEST() local
[all...]
/linux/tools/perf/pmu-events/arch/arm64/arm/neoverse-n2-v2/
H A 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/tools/testing/selftests/sync/
H A 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()
H A 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/drivers/gpu/drm/virtio/
H A Dvirtgpu_fence.c55 .signaled = virtio_gpu_fence_signaled,
114 struct virtio_gpu_fence *signaled, *curr, *tmp; in virtio_gpu_fence_event_process() local
123 signaled = curr; in virtio_gpu_fence_event_process()
127 * than the current signaled fence. in virtio_gpu_fence_event_process()
131 if (signaled->f.context != curr->f.context) in virtio_gpu_fence_event_process()
134 if (!dma_fence_is_later(&signaled->f, &curr->f)) in virtio_gpu_fence_event_process()
147 dma_fence_signal_locked(&signaled->f); in virtio_gpu_fence_event_process()
148 if (signaled->e) { in virtio_gpu_fence_event_process()
149 drm_send_event(vgdev->ddev, &signaled->e->base); in virtio_gpu_fence_event_process()
150 signaled->e = NULL; in virtio_gpu_fence_event_process()
[all …]
/linux/drivers/dma-buf/
H A Ddma-fence.c134 * dma_fence_get_stub - return a signaled fence
136 * Return a stub fence which is already signaled. The fence's timestamp
146 * dma_fence_allocate_private_stub - return a private, signaled fence
147 * @timestamp: timestamp when the fence was signaled
149 * Return a newly allocated and signaled stub fence.
346 * can only go from the unsignaled to the signaled state and not back, it will
398 * can only go from the unsignaled to the signaled state and not back, it will
422 * can only go from the unsignaled to the signaled state and not back, it will
435 * dma_fence_check_and_signal_locked - signal the fence if it's not yet signaled
438 * Checks whether a fence was signaled and signals it if it was not yet signaled.
[all …]
H A Dst-dma-fence.c61 KUNIT_FAIL(test, "Fence unexpectedly signaled on creation"); in test_signaling()
66 KUNIT_FAIL(test, "Fence reported being already signaled"); in test_signaling()
71 KUNIT_FAIL(test, "Fence not reporting signaled"); in test_signaling()
76 KUNIT_FAIL(test, "Fence reported not being already signaled"); in test_signaling()
108 KUNIT_FAIL(test, "Failed to add callback, fence already signaled!"); in test_add_callback()
135 KUNIT_FAIL(test, "Added callback, but fence was already signaled!"); in test_late_add_callback()
158 KUNIT_FAIL(test, "Failed to add callback, fence already signaled!"); in test_rm_callback()
169 KUNIT_FAIL(test, "Callback still signaled after removal!"); in test_rm_callback()
186 KUNIT_FAIL(test, "Failed to add callback, fence already signaled!"); in test_late_rm_callback()
215 KUNIT_FAIL(test, "Fence unexpectedly has signaled status on creation"); in test_status()
[all …]
/linux/tools/testing/selftests/powerpc/signal/
H A 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()
H A 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/kernel/sched/
H A Dcompletion.c145 * This waits to be signaled for completion of a specific task. It is NOT
162 * This waits for either a completion of a specific task to be signaled or for a
180 * This waits to be signaled for completion of a specific task. It is NOT
195 * This waits for either a completion of a specific task to be signaled or for a
214 * This waits for completion of a specific task to be signaled. It is
234 * This waits for either a completion of a specific task to be signaled or for a
252 * This waits to be signaled for completion of a specific task. It can be
283 * signaled or for a specified timeout to expire. It can be
/linux/drivers/gpu/drm/radeon/
H A 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 …]
H A 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/drivers/gpu/drm/
H A 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/drivers/media/pci/ddbridge/
H A DKconfig35 bool "Enable Message Signaled Interrupts (MSI) per default (EXPERIMENTAL)"
39 Use PCI MSI (Message Signaled Interrupts) per default. Enabling this
/linux/drivers/media/platform/mediatek/vcodec/encoder/
H A Dvenc_vpu_if.h15 * @signaled: flag used for checking vpu interrupt done
29 int signaled; member
/linux/Documentation/virt/kvm/devices/
H A Dmpic.rst30 MSIs may be signaled by using this attribute group to write
39 signaled edge has not been acknowledged, and 0 otherwise.
/linux/tools/testing/selftests/powerpc/mm/
H A Dlarge_vm_gpr_corruption.c47 static volatile sig_atomic_t signaled; variable
51 signaled = 1; in signal_handler()
139 while (!signaled) { in test()
/linux/drivers/gpu/drm/msm/
H A Dmsm_fence.h44 * this to see if a fence has already signaled but the CPU hasn't
65 * canceled when this fence is signaled.
/linux/drivers/pci/
H A DKconfig45 bool "Message Signaled Interrupts (MSI and MSI-X)"
48 This allows device drivers to enable MSI (Message Signaled
49 Interrupts). Message Signaled Interrupts enable a device to
/linux/drivers/gpu/drm/xe/
H A Dxe_userptr.c158 bool signaled = true; in xe_vma_userptr_invalidate_pass1() local
184 if (signaled && !dma_fence_is_signaled(fence)) in xe_vma_userptr_invalidate_pass1()
185 signaled = false; in xe_vma_userptr_invalidate_pass1()
191 * If it's already in use, or all fences are already signaled, in xe_vma_userptr_invalidate_pass1()
194 if (signaled || userptr->finish_inuse) in xe_vma_userptr_invalidate_pass1()
/linux/drivers/gpu/drm/vgem/
H A Dvgem_fence.c104 * This returns the handle for the new fence that must be signaled within 10
180 * All fences must be signaled within 10s of attachment or otherwise they
187 * If the fence does not exist (or has already been signaled by the client),
/linux/include/uapi/linux/
H A Dsync_file.h42 * @status: status of the fence 0:active 1:signaled <0:error
57 * @status: status of fence. 1: signaled 0:active <0:error
/linux/drivers/edac/
H A Docteon_edac-pci.c34 edac_pci_handle_npe(pci, "Signaled System Error"); in octeon_pci_poll()
49 edac_pci_handle_npe(pci, "Signaled Target Abort"); in octeon_pci_poll()
/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A Dvdec_vpu_if.h23 * @signaled : 1 - Host has received ack message from VPU, 0 - not received
39 unsigned int signaled; member
/linux/include/uapi/drm/
H A Dvmwgfx_drm.h308 * fence seqno that when signaled, indicates that the command buffer has
355 * whether a fence has signaled the EXEC flag. Note that @seqno will
358 * so far. This can be used to mark user-space fence objects as signaled, and
657 * Checks if a fence object is signaled..
665 * @signaled: Out: Flags signaled.
676 __s32 signaled; member
710 * when the fence has signaled the DRM_VMW_FENCE_FLAG_EXEC flag.
711 * Optionally the approximate time when the fence signaled is
730 /* Request fence signaled time on the event. */

12345678910