Home
last modified time | relevance | path

Searched refs:complete (Results 1 – 25 of 2076) sorted by relevance

12345678910>>...84

/linux-6.1.9/Documentation/translations/zh_CN/scheduler/
Dcompletion.rst45 - 通过调用complete()或complete_all()实现发信端。
66 complete(&early_console_added);
68 好的、直观的命名(一如既往地)有助于代码的可读性。将一个完成命名为 ``complete``
76 止与异步complete()调用发生竞争。
79 时应特别小心,因为必须保证在所有相关活动(complete()或reinit_completion())发生
119complete()在其它某线程中完成调用,会引起微小的数据损坏。简单的测试可能不会触发这
123 超过使用完成对象的任何辅助线程的生命周期,或者有一个锁或其他同步机制来确保complete()
147 wait_for_completion(&setup_done); complete(setup_done);
149 这并不意味着调用wait_for_completion()和complete()有任何特定的时间顺序--如果调
150complete()发生在调用wait_for_completion()之前,那么等待方将立即继续执行,因为
[all …]
/linux-6.1.9/drivers/dma/ti/
Dcppi41.c120 u16 complete; member
157 [ 0] = { .submit = 32, .complete = 93},
158 [ 1] = { .submit = 34, .complete = 94},
159 [ 2] = { .submit = 36, .complete = 95},
160 [ 3] = { .submit = 38, .complete = 96},
161 [ 4] = { .submit = 40, .complete = 97},
162 [ 5] = { .submit = 42, .complete = 98},
163 [ 6] = { .submit = 44, .complete = 99},
164 [ 7] = { .submit = 46, .complete = 100},
165 [ 8] = { .submit = 48, .complete = 101},
[all …]
/linux-6.1.9/crypto/
Dcryptd.c75 crypto_completion_t complete; member
85 crypto_completion_t complete; member
95 crypto_completion_t complete; member
180 backlog->complete(backlog, -EINPROGRESS); in cryptd_queue_worker()
181 req->complete(req, 0); in cryptd_queue_worker()
248 rctx->complete(&req->base, err); in cryptd_skcipher_complete()
277 req->base.complete = rctx->complete; in cryptd_skcipher_encrypt()
305 req->base.complete = rctx->complete; in cryptd_skcipher_decrypt()
319 rctx->complete = req->base.complete; in cryptd_skcipher_enqueue()
320 req->base.complete = compl; in cryptd_skcipher_enqueue()
[all …]
Dahash.c28 crypto_completion_t complete; member
238 priv->complete = req->base.complete; in ahash_save_req()
249 req->base.complete = cplt; in ahash_save_req()
268 priv->complete, priv->data); in ahash_restore_req()
282 priv->complete(&oreq, -EINPROGRESS); in ahash_notify_einprogress()
307 areq->base.complete(&areq->base, err); in ahash_op_unaligned_done()
394 areq->base.complete(&areq->base, err); in ahash_def_finup_done2()
402 req->base.complete = ahash_def_finup_done2; in ahash_def_finup_finish1()
428 areq->base.complete(&areq->base, err); in ahash_def_finup_done1()
/linux-6.1.9/arch/alpha/lib/
Dcsum_ipv6_magic.S45 or $0,$21,$0 # .. e1 : 1st src word complete
52 or $1,$22,$1 # .. e1 : 2nd src word complete
60 or $2,$23,$2 # .. e1 : 1st dst word complete
62 or $18,$5,$18 # .. e1 : len complete
65 or $3,$24,$3 # .. e1 : 2nd dst word complete
74 sra $19,32,$19 # e0 : proto complete
/linux-6.1.9/fs/xfs/
Dxfs_sysfs.h25 complete(&kobj->complete); in xfs_sysfs_release()
39 init_completion(&kobj->complete); in xfs_sysfs_init()
53 wait_for_completion(&kobj->complete); in xfs_sysfs_del()
/linux-6.1.9/drivers/macintosh/
Dvia-cuda.c229 while (!req.complete) in find_via_cuda()
282 while (!req.complete) in find_via_cuda()
435 req->complete = 1; in cuda_send_request()
446 while (!req->complete) in cuda_send_request()
463 while (!req.complete) in cuda_adb_autopoll()
478 while (!req.complete) in cuda_reset_adb_bus()
493 req->complete = 1; in cuda_request()
514 req->complete = 1; in cuda_write()
519 req->complete = 0; in cuda_write()
574 int complete = 0; in cuda_interrupt() local
[all …]
Dmacio-adb.c186 req->complete = 0; in macio_send_request()
200 while (!req->complete) in macio_send_request()
213 int complete = 0; in macio_adb_interrupt() local
231 complete = 1; in macio_adb_interrupt()
251 complete = 1; in macio_adb_interrupt()
266 if (complete && req) { in macio_adb_interrupt()
269 req->complete = 1; in macio_adb_interrupt()
Dvia-macii.c224 req.complete = 0; in macii_queue_poll()
246 while (!req->complete) in macii_send_request()
258 req->complete = 1; in macii_write()
264 req->complete = 0; in macii_write()
475 req->complete = 1; in macii_interrupt()
482 req->complete = 1; in macii_interrupt()
522 req->complete = 1; in macii_interrupt()
/linux-6.1.9/drivers/crypto/ccp/
Dccp-crypto-main.c156 req->complete(req, -EINPROGRESS); in ccp_crypto_complete()
169 backlog->req->complete(backlog->req, -EINPROGRESS); in ccp_crypto_complete()
174 req->complete(req, -EINPROGRESS); in ccp_crypto_complete()
178 if (ctx->complete) in ccp_crypto_complete()
179 ret = ctx->complete(req, ret); in ccp_crypto_complete()
180 req->complete(req, ret); in ccp_crypto_complete()
194 if (ctx->complete) in ccp_crypto_complete()
195 ret = ctx->complete(held->req, ret); in ccp_crypto_complete()
196 held->req->complete(held->req, ret); in ccp_crypto_complete()
201 backlog->req->complete(backlog->req, -EINPROGRESS); in ccp_crypto_complete()
/linux-6.1.9/drivers/infiniband/sw/rxe/
Drxe_pool.c140 init_completion(&elem->complete); in rxe_alloc()
174 init_completion(&elem->complete); in __rxe_add_to_pool()
217 complete(&elem->complete); in rxe_elem_release()
248 if (!completion_done(&elem->complete) && timeout) { in __rxe_cleanup()
249 ret = wait_for_completion_timeout(&elem->complete, in __rxe_cleanup()
267 while (!completion_done(&elem->complete) && in __rxe_cleanup()
271 if (WARN_ON(!completion_done(&elem->complete))) in __rxe_cleanup()
/linux-6.1.9/drivers/i2c/busses/
Di2c-pnx.c34 struct completion complete; /* I/O completion */ member
268 complete(&alg_data->mif.complete); in i2c_pnx_master_xmit()
285 complete(&alg_data->mif.complete); in i2c_pnx_master_xmit()
369 complete(&alg_data->mif.complete); in i2c_pnx_master_rcv()
405 complete(&alg_data->mif.complete); in i2c_pnx_interrupt()
424 complete(&alg_data->mif.complete); in i2c_pnx_interrupt()
475 complete(&alg_data->mif.complete); in i2c_pnx_timeout()
554 init_completion(&alg_data->mif.complete); in i2c_pnx_xfer()
567 wait_for_completion(&alg_data->mif.complete); in i2c_pnx_xfer()
719 init_completion(&alg_data->mif.complete); in i2c_pnx_probe()
Di2c-stm32f4.c127 struct completion complete; member
362 complete(&i2c_dev->complete); in stm32f4_i2c_terminate_xfer()
403 complete(&i2c_dev->complete); in stm32f4_i2c_handle_read()
464 complete(&i2c_dev->complete); in stm32f4_i2c_handle_rx_done()
666 complete(&i2c_dev->complete); in stm32f4_i2c_isr_error()
694 reinit_completion(&i2c_dev->complete); in stm32f4_i2c_xfer_msg()
709 timeout = wait_for_completion_timeout(&i2c_dev->complete, in stm32f4_i2c_xfer_msg()
845 init_completion(&i2c_dev->complete); in stm32f4_i2c_probe()
Di2c-sun6i-p2wi.c86 struct completion complete; member
107 complete(&p2wi->complete); in p2wi_interrupt()
146 reinit_completion(&p2wi->complete); in p2wi_smbus_xfer()
154 wait_for_completion(&p2wi->complete); in p2wi_smbus_xfer()
270 init_completion(&p2wi->complete); in p2wi_probe()
Di2c-wmt.c84 struct completion complete; member
158 reinit_completion(&i2c_dev->complete); in wmt_i2c_write()
176 wait_result = wait_for_completion_timeout(&i2c_dev->complete, in wmt_i2c_write()
248 reinit_completion(&i2c_dev->complete); in wmt_i2c_read()
266 wait_result = wait_for_completion_timeout(&i2c_dev->complete, in wmt_i2c_read()
332 complete(&i2c_dev->complete); in wmt_i2c_isr()
422 init_completion(&i2c_dev->complete); in wmt_i2c_probe()
/linux-6.1.9/Documentation/scheduler/
Dcompletion.rst17 calls and complete() instead.
40 - the signaling side through a call to complete() or complete_all().
65 complete(&early_console_added);
68 'complete' is not helpful unless the purpose is super obvious...
76 to prevent races with asynchronous complete() calls from occurring.
80 does not happen until all related activities (complete() or reinit_completion())
127 _killable() and _interruptible()) variants, the wait might complete
130 stack and cause subtle data corruption if a complete() is done in some
136 or has a lock or other synchronization mechanism to make sure complete()
160 wait_for_completion(&setup_done); complete(setup_done);
[all …]
/linux-6.1.9/drivers/media/platform/qcom/venus/
Dhfi_msgs.c247 complete(&core->done); in hfi_sys_init_done()
304 complete(&core->done); in hfi_sys_rel_resource_done()
317 complete(&core->done); in hfi_sys_ping_done()
420 complete(&inst->done); in hfi_session_prop_info()
446 complete(&inst->done); in hfi_session_init_done()
455 complete(&inst->done); in hfi_session_load_res_done()
464 complete(&inst->done); in hfi_session_flush_done()
566 complete(&inst->done); in hfi_session_start_done()
575 complete(&inst->done); in hfi_session_stop_done()
584 complete(&inst->done); in hfi_session_rel_res_done()
[all …]
/linux-6.1.9/drivers/dma/
Ddmaengine.h71 dma_cookie_t used, complete; in dma_cookie_status() local
74 complete = chan->completed_cookie; in dma_cookie_status()
77 state->last = complete; in dma_cookie_status()
82 return dma_async_is_complete(cookie, complete, used); in dma_cookie_status()
/linux-6.1.9/drivers/gpu/drm/gma500/
Doaktrail_hdmi_i2c.c71 struct completion complete; member
102 reinit_completion(&i2c_dev->complete); in xfer_read()
110 wait_for_completion_interruptible_timeout(&i2c_dev->complete, in xfer_read()
242 complete(&i2c_dev->complete); in oaktrail_hdmi_i2c_handler()
287 init_completion(&i2c_dev->complete); in oaktrail_hdmi_i2c_init()
/linux-6.1.9/drivers/usb/typec/ucsi/
Ducsi_acpi.c23 struct completion complete; member
81 if (!wait_for_completion_timeout(&ua->complete, HZ)) in ucsi_acpi_sync_write()
111 complete(&ua->complete); in ucsi_acpi_notify()
143 init_completion(&ua->complete); in ucsi_acpi_probe()
/linux-6.1.9/drivers/md/
Ddm-log-userspace-transfer.c44 struct completion complete; member
122 complete(&pkg->complete); in fill_pkg()
218 init_completion(&pkg.complete); in dm_consult_userspace()
240 tmo = wait_for_completion_timeout(&(pkg.complete), DM_ULOG_RETRY_TIMEOUT); in dm_consult_userspace()
/linux-6.1.9/drivers/iio/adc/
Dda9150-gpadc.c79 struct completion complete; member
88 complete(&gpadc->complete); in da9150_gpadc_irq()
106 try_wait_for_completion(&gpadc->complete); in da9150_gpadc_read_adc()
109 wait_for_completion_timeout(&gpadc->complete, msecs_to_jiffies(5)); in da9150_gpadc_read_adc()
336 init_completion(&gpadc->complete); in da9150_gpadc_probe()
Dti-adc12138.c48 struct completion complete; member
202 if (!wait_for_completion_timeout(&adc->complete, timeout)) in adc12138_wait_eoc()
214 reinit_completion(&adc->complete); in adc12138_adc_conversion()
294 reinit_completion(&adc->complete); in adc12138_init()
352 reinit_completion(&adc->complete); in adc12138_trigger_handler()
395 complete(&adc->complete); in adc12138_eoc_handler()
414 init_completion(&adc->complete); in adc12138_probe()
/linux-6.1.9/drivers/video/fbdev/omap/
Dhwa742.c81 void (*complete)(void *data); member
280 void (*complete)(void *); in process_pending_requests() local
290 complete = req->complete; in process_pending_requests()
294 if (complete) in process_pending_requests()
295 complete(complete_data); in process_pending_requests()
321 void (*complete)(void *); in request_complete() local
324 complete = req->complete; in request_complete()
329 if (complete) in request_complete()
330 complete(complete_data); in request_complete()
413 req->complete = send_frame_complete; \
[all …]
/linux-6.1.9/drivers/net/wireless/silabs/wfx/
Ddebug.c234 struct completion complete; member
246 if (completion_done(&context->complete)) { in wfx_send_hif_msg_write()
268 complete(&context->complete); in wfx_send_hif_msg_write()
280 ret = wait_for_completion_interruptible(&context->complete); in wfx_send_hif_msg_read()
299 init_completion(&context->complete); in wfx_send_hif_msg_open()

12345678910>>...84