Home
last modified time | relevance | path

Searched refs:completion (Results 1 - 25 of 2918) sorted by relevance

12345678910>>...117

/kernel/linux/linux-6.6/include/linux/
H A Dcompletion.h8 * Atomic wait-for-completion handler data structures.
9 * See kernel/sched/completion.c for details.
15 * struct completion - structure used to maintain state for a "completion"
17 * This is the opaque structure used to maintain the state for a "completion".
19 * the "completion" event.
26 struct completion { struct
32 static inline void complete_acquire(struct completion *x) {} in complete_acquire()
33 static inline void complete_release(struct completion *x) {} in complete_release()
45 * DECLARE_COMPLETION - declare and initialize a completion structur
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dcompletion.h8 * Atomic wait-for-completion handler data structures.
9 * See kernel/sched/completion.c for details.
15 * struct completion - structure used to maintain state for a "completion"
17 * This is the opaque structure used to maintain the state for a "completion".
19 * the "completion" event.
26 struct completion { struct
33 static inline void complete_acquire(struct completion *x) {} in complete_acquire()
34 static inline void complete_release(struct completion *x) {} in complete_release()
46 * DECLARE_COMPLETION - declare and initialize a completion structur
[all...]
/kernel/linux/linux-6.6/kernel/sched/
H A Dcompletion.c4 * Generic wait-for-completion handler;
13 * Waiting for completion is a typically sync point, but not an exclusion point.
16 static void complete_with_flags(struct completion *x, int wake_flags) in complete_with_flags()
28 void complete_on_current_cpu(struct completion *x) in complete_on_current_cpu()
34 * complete: - signals a single thread waiting on this completion
35 * @x: holds the state of this particular completion
37 * This will wake up a single thread waiting on this completion. Threads will be
45 void complete(struct completion *x) in complete()
52 * complete_all: - signals all threads waiting on this completion
53 * @x: holds the state of this particular completion
[all...]
/kernel/linux/linux-5.10/kernel/sched/
H A Dcompletion.c3 * Generic wait-for-completion handler;
12 * Waiting for completion is a typically sync point, but not an exclusion point.
17 * complete: - signals a single thread waiting on this completion
18 * @x: holds the state of this particular completion
20 * This will wake up a single thread waiting on this completion. Threads will be
28 void complete(struct completion *x) in complete()
42 * complete_all: - signals all threads waiting on this completion
43 * @x: holds the state of this particular completion
45 * This will wake up all threads waiting on this particular completion event.
50 * Since complete_all() sets the completion o
[all...]
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dcs42l43.h10 #include <linux/completion.h>
53 struct completion pll_ready;
59 struct completion hp_startup;
60 struct completion hp_shutdown;
61 struct completion spkr_shutdown;
62 struct completion spkl_shutdown;
63 struct completion spkr_startup;
64 struct completion spkl_startup;
84 struct completion type_detect;
85 struct completion load_detec
[all...]
/kernel/linux/linux-6.6/drivers/net/wwan/iosm/
H A Diosm_ipc_task_queue.c27 /* Signal completion for synchronous calls */ in ipc_task_queue_handler()
28 if (args->completion) in ipc_task_queue_handler()
29 complete(args->completion); in ipc_task_queue_handler()
42 args->completion = NULL; in ipc_task_queue_handler()
64 if (args->completion) in ipc_task_queue_cleanup()
65 complete(args->completion); in ipc_task_queue_cleanup()
85 struct completion completion; in ipc_task_queue_add_task() local
90 init_completion(&completion); in ipc_task_queue_add_task()
111 ipc_task->args[pos].completion in ipc_task_queue_add_task()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/
H A Dlocks.h176 struct completion { struct
182 #define DECLARE_COMPLETION(x) struct completion x = COMPLETION_INITIALIZER(x)
185 static inline void init_completion(struct completion *c) in init_completion()
190 static inline void wait_for_completion(struct completion *c) in wait_for_completion()
197 static inline void complete(struct completion *c) in complete()
205 static inline bool try_wait_for_completion(struct completion *c) in try_wait_for_completion()
210 static inline bool completion_done(struct completion *c) in completion_done()
216 static inline void complete_all(struct completion *c) in complete_all()
/kernel/linux/linux-5.10/arch/powerpc/sysdev/
H A Dpmi.c16 #include <linux/completion.h>
33 struct completion *completion; member
52 if (type & PMI_ACK && !data->completion) { in pmi_irq_handler()
58 if (data->completion && !(type & PMI_ACK)) { in pmi_irq_handler()
78 complete(data->completion); in pmi_irq_handler()
208 DECLARE_COMPLETION_ONSTACK(completion); in pmi_send_message()
218 data->completion = &completion; in pmi_send_message()
227 pr_debug("pmi_send_message: wait for completion\ in pmi_send_message()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/sysdev/
H A Dpmi.c16 #include <linux/completion.h>
34 struct completion *completion; member
53 if (type & PMI_ACK && !data->completion) { in pmi_irq_handler()
59 if (data->completion && !(type & PMI_ACK)) { in pmi_irq_handler()
79 complete(data->completion); in pmi_irq_handler()
209 DECLARE_COMPLETION_ONSTACK(completion); in pmi_send_message()
219 data->completion = &completion; in pmi_send_message()
228 pr_debug("pmi_send_message: wait for completion\ in pmi_send_message()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/aic94xx/
H A Daic94xx_tmf.c67 complete(ascb->completion); in asd_clear_nexus_tasklet_complete()
78 complete(ascb->completion); in asd_clear_nexus_timedout()
85 DECLARE_COMPLETION_ONSTACK(completion); \
94 ascb->completion = &completion; \
106 wait_for_completion(&completion); \
252 complete(ascb->completion); in asd_tmf_timedout()
320 complete(ascb->completion); in asd_tmf_tasklet_complete()
329 DECLARE_COMPLETION_ONSTACK(completion); in asd_clear_nexus()
332 tascb->completion in asd_clear_nexus()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/aic94xx/
H A Daic94xx_tmf.c67 complete(ascb->completion); in asd_clear_nexus_tasklet_complete()
78 complete(ascb->completion); in asd_clear_nexus_timedout()
85 DECLARE_COMPLETION_ONSTACK(completion); \
94 ascb->completion = &completion; \
106 wait_for_completion(&completion); \
252 complete(ascb->completion); in asd_tmf_timedout()
320 complete(ascb->completion); in asd_tmf_tasklet_complete()
329 DECLARE_COMPLETION_ONSTACK(completion); in asd_clear_nexus()
332 tascb->completion in asd_clear_nexus()
[all...]
/kernel/linux/linux-5.10/drivers/net/ipa/
H A Dgsi.h12 #include <linux/completion.h>
90 struct list_head pending; /* committed, awaiting completion */
116 struct completion completion; /* signals channel command completion */ member
143 struct completion completion; /* signals event ring state changes */ member
160 struct completion completion; /* for global EE commands */ member
/kernel/linux/linux-5.10/drivers/rpmsg/
H A Dqcom_glink_ssr.c7 #include <linux/completion.h>
54 struct completion completion; member
92 complete(&ssr->completion); in qcom_glink_ssr_callback()
107 reinit_completion(&ssr->completion); in qcom_glink_ssr_notifier_call()
119 ret = wait_for_completion_timeout(&ssr->completion, HZ); in qcom_glink_ssr_notifier_call()
134 init_completion(&ssr->completion); in qcom_glink_ssr_probe()
/kernel/linux/linux-6.6/drivers/rpmsg/
H A Dqcom_glink_ssr.c7 #include <linux/completion.h>
55 struct completion completion; member
93 complete(&ssr->completion); in qcom_glink_ssr_callback()
108 reinit_completion(&ssr->completion); in qcom_glink_ssr_notifier_call()
120 ret = wait_for_completion_timeout(&ssr->completion, HZ); in qcom_glink_ssr_notifier_call()
135 init_completion(&ssr->completion); in qcom_glink_ssr_probe()
/kernel/linux/linux-5.10/drivers/char/hw_random/
H A Dtimeriomem-rng.c20 #include <linux/completion.h>
39 struct completion completion; member
55 * bail out. Otherwise, wait for the completion. If the new data has in timeriomem_rng_read()
56 * already been generated, the completion should already be available. in timeriomem_rng_read()
61 wait_for_completion(&priv->completion); in timeriomem_rng_read()
85 reinit_completion(&priv->completion); in timeriomem_rng_read()
98 complete(&priv->completion); in timeriomem_rng_trigger()
156 init_completion(&priv->completion); in timeriomem_rng_probe()
170 complete(&priv->completion); in timeriomem_rng_probe()
[all...]
/kernel/linux/linux-6.6/drivers/char/hw_random/
H A Dtimeriomem-rng.c20 #include <linux/completion.h>
39 struct completion completion; member
55 * bail out. Otherwise, wait for the completion. If the new data has in timeriomem_rng_read()
56 * already been generated, the completion should already be available. in timeriomem_rng_read()
61 wait_for_completion(&priv->completion); in timeriomem_rng_read()
85 reinit_completion(&priv->completion); in timeriomem_rng_read()
98 complete(&priv->completion); in timeriomem_rng_trigger()
154 init_completion(&priv->completion); in timeriomem_rng_probe()
163 complete(&priv->completion); in timeriomem_rng_probe()
[all...]
/kernel/linux/linux-6.6/drivers/staging/vc04_services/interface/vchiq_arm/
H A Dvchiq_arm.h38 struct completion insert_event;
39 struct completion remove_event;
40 struct completion close_event;
55 struct completion insert_event;
56 struct completion remove_event;
/kernel/linux/linux-5.10/drivers/s390/char/
H A Dsclp_pci.c10 #include <linux/completion.h>
105 struct completion *completion = data; in sclp_pci_callback() local
107 complete(completion); in sclp_pci_callback()
132 DECLARE_COMPLETION_ONSTACK(completion); in sclp_pci_report()
158 req.callback_data = &completion; in sclp_pci_report()
179 wait_for_completion(&completion); in sclp_pci_report()
H A Dsclp_ftp.c37 struct completion *completion = data; in sclp_ftp_txcb() local
43 complete(completion); in sclp_ftp_txcb()
87 struct completion completion; in sclp_ftp_et7() local
128 req->callback_data = &completion; in sclp_ftp_et7()
130 init_completion(&completion); in sclp_ftp_et7()
137 wait_for_completion(&completion); in sclp_ftp_et7()
146 * asynchronously and the completion is indicated with an in sclp_ftp_et7()
/kernel/linux/linux-5.10/net/bluetooth/
H A Decdh_helper.c29 struct completion completion; member
41 complete(&res->completion); in ecdh_complete()
79 init_completion(&result.completion); in compute_ecdh_secret()
92 wait_for_completion(&result.completion); in compute_ecdh_secret()
186 init_completion(&result.completion); in generate_ecdh_public_key()
195 wait_for_completion(&result.completion); in generate_ecdh_public_key()
/kernel/linux/linux-6.6/drivers/s390/char/
H A Dsclp_pci.c10 #include <linux/completion.h>
105 struct completion *completion = data; in sclp_pci_callback() local
107 complete(completion); in sclp_pci_callback()
132 DECLARE_COMPLETION_ONSTACK(completion); in sclp_pci_report()
158 req.callback_data = &completion; in sclp_pci_report()
179 wait_for_completion(&completion); in sclp_pci_report()
H A Dsclp_ftp.c35 * @data: pointer to struct completion
39 struct completion *completion = data; in sclp_ftp_txcb() local
45 complete(completion); in sclp_ftp_txcb()
90 struct completion completion; in sclp_ftp_et7() local
131 req->callback_data = &completion; in sclp_ftp_et7()
133 init_completion(&completion); in sclp_ftp_et7()
140 wait_for_completion(&completion); in sclp_ftp_et7()
149 * asynchronously and the completion i in sclp_ftp_et7()
[all...]
/kernel/linux/linux-5.10/drivers/staging/rts5208/
H A Drtsx.h96 struct completion cmnd_ready; /* to sleep thread on */
97 struct completion control_exit; /* control thread exit */
98 struct completion polling_exit; /* polling thread exit */
99 struct completion notify; /* thread begin/end */
100 struct completion scanning_done; /* wait for scan thread */
112 struct completion *done;
/kernel/linux/linux-6.6/drivers/staging/rts5208/
H A Drtsx.h96 struct completion cmnd_ready; /* to sleep thread on */
97 struct completion control_exit; /* control thread exit */
98 struct completion polling_exit; /* polling thread exit */
99 struct completion notify; /* thread begin/end */
100 struct completion scanning_done; /* wait for scan thread */
112 struct completion *done;
/kernel/linux/linux-6.6/include/linux/mfd/
H A Dcs42l43.h9 #include <linux/completion.h>
88 struct completion device_attach;
89 struct completion device_detach;
90 struct completion firmware_download;

Completed in 10 milliseconds

12345678910>>...117