Home
last modified time | relevance | path

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

12345678910>>...60

/OK3568_Linux_fs/kernel/include/linux/
H A Dcompletion.h26 struct completion { struct
33 static inline void complete_acquire(struct completion *x) {} in complete_acquire() argument
34 static inline void complete_release(struct completion *x) {} in complete_release()
54 struct completion work = COMPLETION_INITIALIZER(work)
70 struct completion work = COMPLETION_INITIALIZER_ONSTACK(work)
72 struct completion work = COMPLETION_INITIALIZER_ONSTACK_MAP(work, map)
85 static inline void __init_completion(struct completion *x) in __init_completion()
98 static inline void reinit_completion(struct completion *x) in reinit_completion()
103 extern void wait_for_completion(struct completion *);
104 extern void wait_for_completion_io(struct completion *);
[all …]
/OK3568_Linux_fs/kernel/kernel/sched/
H 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()
121 wait_for_common_io(struct completion *x, long timeout, int state) in wait_for_common_io()
136 void __sched wait_for_completion(struct completion *x) in wait_for_completion()
155 wait_for_completion_timeout(struct completion *x, unsigned long timeout) in wait_for_completion_timeout()
169 void __sched wait_for_completion_io(struct completion *x) in wait_for_completion_io()
189 wait_for_completion_io_timeout(struct completion *x, unsigned long timeout) in wait_for_completion_io_timeout()
[all …]
/OK3568_Linux_fs/kernel/Documentation/scheduler/
H A Dcompletion.rst2 Completions - "wait for completion" barrier APIs
27 is reduced to a simple flag in 'struct completion', appropriately called "done".
30 kernel/sched/completion.c.
38 - the initialization of the 'struct completion' synchronization object
45 to have marked a completion as 'done' before another thread checks whether
48 To use completions you need to #include <linux/completion.h> and
49 create a static or dynamic variable of type 'struct completion',
52 struct completion {
58 the ->done completion flag for indicating whether it's completed or not.
67 Good, intuitive naming (as always) helps code readability. Naming a completion
[all …]
/OK3568_Linux_fs/yocto/poky/meta/classes/
H A Dbash-completion.bbclass1 DEPENDS:append:class-target = " bash-completion"
3 PACKAGES += "${PN}-bash-completion"
5 FILES:${PN}-bash-completion = "${datadir}/bash-completion ${sysconfdir}/bash_completion.d"
7 RDEPENDS:${PN}-bash-completion = "bash-completion"
/OK3568_Linux_fs/kernel/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 = &completion; in asd_clear_nexus()
339 leftover = wait_for_completion_timeout(&completion, in asd_clear_nexus()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/
H A Dphl_msg_hub.c41 struct msg_completion_routine completion; member
76 (*msg)->completion.completion = NULL; in pop_front_idle_msg()
77 (*msg)->completion.priv = NULL; in pop_front_idle_msg()
89 if(ex->completion.completion) in push_back_idle_msg()
90 ex->completion.completion(ex->completion.priv, &(ex->ctx)); in push_back_idle_msg()
278 if(attr && attr->completion.completion) { in phl_msg_hub_send()
279 ex->completion.completion = attr->completion.completion; in phl_msg_hub_send()
280 ex->completion.priv = attr->completion.priv; in phl_msg_hub_send()
/OK3568_Linux_fs/kernel/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) 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()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/
H A Dphl_msg_hub.c41 struct msg_completion_routine completion; member
76 (*msg)->completion.completion = NULL; in pop_front_idle_msg()
77 (*msg)->completion.priv = NULL; in pop_front_idle_msg()
89 if(ex->completion.completion) in push_back_idle_msg()
90 ex->completion.completion(ex->completion.priv, &(ex->ctx)); in push_back_idle_msg()
278 if(attr && attr->completion.completion) { in phl_msg_hub_send()
279 ex->completion.completion = attr->completion.completion; in phl_msg_hub_send()
280 ex->completion.priv = attr->completion.priv; in phl_msg_hub_send()
/OK3568_Linux_fs/kernel/arch/powerpc/sysdev/
H 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()
/OK3568_Linux_fs/buildroot/boot/grub2/
H A D0076-normal-completion-Fix-leaking-of-memory-when-process.patch4 Subject: [PATCH] normal/completion: Fix leaking of memory when processing a
5 completion
20 grub-core/normal/completion.c | 10 ++++------
23 diff --git a/grub-core/normal/completion.c b/grub-core/normal/completion.c
25 --- a/grub-core/normal/completion.c
26 +++ b/grub-core/normal/completion.c
/OK3568_Linux_fs/kernel/Documentation/driver-api/usb/
H A DURB.rst36 - Each URB has a completion handler, which is called after the action
38 context-pointer for passing information to the completion handler.
42 data to an endpoint while your driver handles completion of another.
60 // (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
110 returned to you in a completion callback. It will automatically be
122 length, the completion handler, and its context. Take a look at the some
156 never look at that value except in your completion callback.
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-support/bash-completion/
H A Dbash-completion_2.11.bb7 HOMEPAGE = "https://github.com/scop/bash-completion"
8 BUGTRACKER = "https://github.com/scop/bash-completion/issues"
15 SRC_URI = "https://github.com/scop/bash-completion/releases/download/${PV}/${BPN}-${PV}.tar.xz"
19 UPSTREAM_CHECK_REGEX = "bash-completion-(?P<pver>(?!2008).+)\.tar"
20 UPSTREAM_CHECK_URI = "https://github.com/scop/bash-completion/releases"
35 # Some recipes are providing ${PN}-bash-completion packages
/OK3568_Linux_fs/kernel/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;
/OK3568_Linux_fs/kernel/drivers/char/hw_random/
H 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()
/OK3568_Linux_fs/kernel/Documentation/sparc/oradax/
H A Doracle-dax.rst41 pointer to a "completion area", which is a 128 byte memory block that
43 interrupt is generated upon completion; the completion area must be
46 processor until the completion status has been updated by the
52 completion of a request and resumption of execution of the requesting
85 call, and gets results (if any) via read(). The completion areas are
96 requests. The completion area buffer is also allocated, and this is
97 large enough to contain the completion areas for many concurrent
116 requests. Since no interrupt is generated upon the completion of a
142 completion area to use, and may be set via lseek() or using the
157 The mmap() function provides access to the completion area allocated
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-multimedia/gstreamer/
H A Dgstreamer1.0_1.20.5.bb40 PACKAGECONFIG[bash-completion] = "-Dbash-completion=enabled,-Dbash-completion=disabled,bash-complet…
63 PACKAGES += "${PN}-bash-completion"
68 FILES:${PN}-bash-completion += "${datadir}/bash-completion/completions/ ${datadir}/bash-completion/…
/OK3568_Linux_fs/kernel/drivers/s390/char/
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()
H 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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/net/ipa/
H A Dgsi.h116 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
/OK3568_Linux_fs/kernel/drivers/rpmsg/
H A Dqcom_glink_ssr.c54 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/brocade/bna/
H 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;
/OK3568_Linux_fs/buildroot/package/bash-completion/
H A DConfig.in2 bool "bash completion"
5 Add bash completion infrastructure.
7 The bash completion infrastructure is enabled by
15 https://github.com/scop/bash-completion
/OK3568_Linux_fs/kernel/drivers/scsi/pm8001/
H A Dpm8001_sas.c162 DECLARE_COMPLETION_ONSTACK(completion); in pm8001_phy_control()
166 pm8001_ha->phy[phy_id].enable_completion = &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()
267 DECLARE_COMPLETION_ONSTACK(completion); in pm8001_scan_start()
273 pm8001_ha->phy[i].enable_completion = &completion; in pm8001_scan_start()
275 wait_for_completion(&completion); in pm8001_scan_start()
627 DECLARE_COMPLETION_ONSTACK(completion); in pm8001_dev_found_notify()
640 pm8001_device->dcompletion = &completion; in pm8001_dev_found_notify()
[all …]
/OK3568_Linux_fs/kernel/Documentation/admin-guide/blockdev/drbd/
H 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" ]

12345678910>>...60