Home
last modified time | relevance | path

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

12345678910>>...12

/linux/tools/testing/selftests/drivers/ntsync/
H A 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/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/misc/
H A 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/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
397 * can only go from the unsignaled to the signaled state and not back, it will
421 * can only go from the unsignaled to the signaled state and not back, it will
434 * dma_fence_check_and_signal_locked - signal the fence if it's not yet signaled
437 * Checks whether a fence was signaled and signals it if it was not yet signaled.
[all …]
H A Dst-dma-fence-chain.c316 * We signaled the middle fence (2) of the 1-2-3 chain. The behavior in find_out_of_order()
318 * the point we want. Since fence 1 is still not signaled, this what in find_out_of_order()
508 pr_err("chain[%d] not signaled!\n", i); in signal_forward()
515 pr_err("chain[%d] is signaled!\n", i); in signal_forward()
540 pr_err("chain[%d] is signaled!\n", i); in signal_backward()
548 pr_err("chain[%d] was not signaled!\n", i); in signal_backward()
/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
371 * to fence_queue that checks if this fence is signaled, and if so it
388 /* did fence get signaled after we enabled the sw irq? */ in radeon_fence_enable_signaling()
412 * radeon_fence_signaled - check if a fence has signaled
416 * 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/drivers/infiniband/hw/irdma/
H A Duk.c63 bool signaled = false; in irdma_nop_1() local
78 FIELD_PREP(IRDMAQPSQ_SIGCOMPL, signaled) | in irdma_nop_1()
171 qp->sq_wrtrk_array[*wqe_idx].signaled = info->signaled; in irdma_qp_get_next_send_wqe()
302 FIELD_PREP(IRDMAQPSQ_SIGCOMPL, info->signaled) | in irdma_uk_rdma_write()
347 FIELD_PREP(IRDMAQPSQ_SIGCOMPL, info->signaled) | in irdma_uk_atomic_fetch_add()
398 FIELD_PREP(IRDMAQPSQ_SIGCOMPL, info->signaled) | in irdma_uk_atomic_compare_swap()
537 FIELD_PREP(IRDMAQPSQ_SIGCOMPL, info->signaled) | in irdma_uk_rdma_read()
630 FIELD_PREP(IRDMAQPSQ_SIGCOMPL, info->signaled) | in irdma_uk_send()
845 FIELD_PREP(IRDMAQPSQ_SIGCOMPL, info->signaled) | in irdma_uk_inline_rdma_write()
916 FIELD_PREP(IRDMAQPSQ_SIGCOMPL, info->signaled) | in irdma_uk_inline_send()
[all …]
/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/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>>...12