Home
last modified time | relevance | path

Searched refs:completion (Results 1 – 25 of 3389) sorted by relevance

12345678910>>...136

/linux/include/linux/
A Dcompletion.h26 struct completion { struct
32 static inline void complete_acquire(struct completion *x) {} in complete_acquire() argument
53 struct completion work = COMPLETION_INITIALIZER(work)
84 static inline void init_completion(struct completion *x) in init_completion()
102 extern void wait_for_completion(struct completion *);
103 extern void wait_for_completion_io(struct completion *);
111 struct completion *x, unsigned long timeout);
113 struct completion *x, unsigned long timeout);
115 extern bool completion_done(struct completion *x);
117 extern void complete(struct completion *);
[all …]
/linux/kernel/sched/
A Dcompletion.c28 void complete(struct completion *x) in complete()
57 void complete_all(struct completion *x) in complete_all()
71 do_wait_for_common(struct completion *x, in do_wait_for_common()
98 __wait_for_common(struct completion *x, in __wait_for_common()
115 wait_for_common(struct completion *x, long timeout, int state) in wait_for_common()
136 void __sched wait_for_completion(struct completion *x) in wait_for_completion()
169 void __sched wait_for_completion_io(struct completion *x) in wait_for_completion_io()
241 int __sched wait_for_completion_killable(struct completion *x) in wait_for_completion_killable()
263 wait_for_completion_killable_timeout(struct completion *x, in wait_for_completion_killable_timeout()
282 bool try_wait_for_completion(struct completion *x) in try_wait_for_completion()
[all …]
/linux/Documentation/scheduler/
A Dcompletion.rst2 Completions - "wait for completion" barrier APIs
30 kernel/sched/completion.c.
52 struct completion {
147 void wait_for_completion(struct completion *done)
153 struct completion setup_done;
166 completion is signaled by complete().
226 jiffies if completion occurred.
239 void wait_for_completion_io(struct completion *done)
250 void complete(struct completion *done)
254 void complete_all(struct completion *done)
[all …]
/linux/drivers/net/wwan/iosm/
A Diosm_ipc_task_queue.c28 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 = wait ? &completion : NULL; in ipc_task_queue_add_task()
130 wait_for_completion(&completion); in ipc_task_queue_add_task()
/linux/drivers/scsi/aic94xx/
A Daic94xx_tmf.c67 complete(ascb->completion); in asd_clear_nexus_tasklet_complete()
78 complete(ascb->completion); in asd_clear_nexus_timedout()
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()
332 tascb->completion = &completion; in asd_clear_nexus()
341 tascb->completion = NULL; in asd_clear_nexus()
415 ascb->completion = &completion; in asd_abort_task()
526 tascb->completion = NULL; in asd_abort_task()
[all …]
/linux/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/
A Dlocks.h176 struct completion { struct
182 #define DECLARE_COMPLETION(x) struct completion x = COMPLETION_INITIALIZER(x) argument
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()
/linux/arch/powerpc/sysdev/
A Dpmi.c33 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()
229 wait_for_completion_interruptible_timeout(data->completion, in pmi_send_message()
232 data->completion = NULL; in pmi_send_message()
/linux/Documentation/driver-api/usb/
A DURB.rst60 // (IN) all urbs need completion routines
61 void *context; // context for completion routine
62 usb_complete_t complete; // pointer to completion routine
64 // (OUT) status after each completion
156 never look at that value except in your completion callback.
208 by the completion handler.
211 What about the completion handler?
218 I.e., it gets the URB that caused the completion call. In the completion
221 information to the completion handler.
237 local IRQs are always disabled inside completion handlers.
[all …]
/linux/drivers/staging/rts5208/
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;
/linux/drivers/char/hw_random/
A Dtimeriomem-rng.c39 struct completion completion; member
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()
/linux/net/bluetooth/
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()
184 init_completion(&result.completion); in generate_ecdh_public_key()
193 wait_for_completion(&result.completion); in generate_ecdh_public_key()
/linux/drivers/s390/char/
A Dsclp_ftp.c39 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()
A Dsclp_pci.c105 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()
/linux/Documentation/sparc/oradax/
A Doracle-dax.rst43 interrupt is generated upon completion; the completion area must be
46 processor until the completion status has been updated by the
185 - call mmap() to get the completion area address
192 - call munmap() for completion area
236 for the completion area, output buffer, and various inputs::
240 u64 completion;
283 Next, the completion area must be mapped::
362 A completion area status of 1 indicates successful completion of the
368 /* completion_area[0] contains the completion status */
434 /* completion_area[0] contains the completion status */
[all …]
/linux/drivers/net/ipa/
A Dgsi.h117 struct completion completion; /* signals channel command completion */ member
144 struct completion completion; /* signals event ring state changes */ member
163 struct completion completion; /* for global EE commands */ member
/linux/drivers/rpmsg/
A Dqcom_glink_ssr.c55 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()
/linux/drivers/staging/vc04_services/interface/vchiq_arm/
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;
A Dvchiq_core.h218 struct completion remove_event;
219 struct completion bulk_remove_event;
240 struct completion msg_queue_pop;
241 struct completion msg_queue_push;
255 struct completion quota_event;
333 struct completion connect;
408 struct completion slot_available_event;
410 struct completion slot_remove_event;
413 struct completion data_quota_event;
432 struct completion event;
/linux/drivers/net/ethernet/brocade/bna/
A Dbnad.h119 struct completion comp;
124 struct completion ioc_comp;
125 struct completion ucast_comp;
126 struct completion mcast_comp;
127 struct completion tx_comp;
128 struct completion rx_comp;
129 struct completion stats_comp;
130 struct completion enet_comp;
131 struct completion mtu_comp;
/linux/drivers/scsi/pm8001/
A Dpm8001_sas.c162 DECLARE_COMPLETION_ONSTACK(completion); in pm8001_phy_control()
180 wait_for_completion(&completion); in pm8001_phy_control()
188 wait_for_completion(&completion); in pm8001_phy_control()
196 wait_for_completion(&completion); in pm8001_phy_control()
275 wait_for_completion(&completion); in pm8001_scan_start()
670 wait_for_completion(&completion); in pm8001_dev_found_notify()
1238 wait_for_completion(&completion); in pm8001_abort_task()
1241 reinit_completion(&completion); in pm8001_abort_task()
1299 &task->slow_task->completion, in pm8001_abort_task()
1305 reinit_completion(&completion); in pm8001_abort_task()
[all …]
/linux/Documentation/admin-guide/blockdev/drbd/
A Ddisk-states-8.dot11 Consistent -> Failed [ label = "io completion error" ]
12 Outdated -> Failed [ label = "io completion error" ]
13 UpToDate -> Failed [ label = "io completion error" ]
14 Inconsistent -> Failed [ label = "io completion error" ]
/linux/drivers/iio/proximity/
A Dvl53l0x-i2c.c44 struct completion completion; member
52 complete(&data->completion); in vl53l0x_handle_irq()
113 reinit_completion(&data->completion); in vl53l0x_read_proximity()
115 ret = wait_for_completion_timeout(&data->completion, HZ/10); in vl53l0x_read_proximity()
218 init_completion(&data->completion); in vl53l0x_probe()
/linux/drivers/iio/adc/
A Dstmpe-adc.c55 struct completion completion; member
68 reinit_completion(&info->completion); in stmpe_read_voltage()
80 ret = wait_for_completion_timeout(&info->completion, STMPE_ADC_TIMEOUT); in stmpe_read_voltage()
103 reinit_completion(&info->completion); in stmpe_read_temp()
115 ret = wait_for_completion_timeout(&info->completion, STMPE_ADC_TIMEOUT); in stmpe_read_temp()
203 complete(&info->completion); in stmpe_adc_isr()
277 init_completion(&info->completion); in stmpe_adc_probe()
/linux/include/target/iscsi/
A Discsi_target_core.h548 struct completion conn_post_wait_comp;
549 struct completion conn_wait_comp;
552 struct completion conn_logout_comp;
553 struct completion tx_half_close_comp;
554 struct completion rx_half_close_comp;
604 struct completion rx_login_comp;
680 struct completion async_msg_comp;
681 struct completion reinstatement_comp;
682 struct completion session_wait_comp;
789 struct completion np_restart_comp;
[all …]
/linux/drivers/net/wireless/ath/ath10k/
A Dcore.h193 struct completion service_ready;
194 struct completion unified_ready;
195 struct completion barrier;
196 struct completion radar_confirm;
694 struct completion tpc_complete;
1059 struct completion target_suspend;
1060 struct completion driver_recovery;
1106 struct completion started;
1107 struct completion completed;
1108 struct completion on_channel;
[all …]

Completed in 72 milliseconds

12345678910>>...136