/linux-6.6.21/Documentation/translations/zh_CN/scheduler/ |
D | completion.rst | 25 或一些古怪的msleep(1)循环来允许其它代码继续运行时,你可能想用wait_for_completion*() 44 - 通过调用wait_for_completion()的一个变体来实现等待部分。 64 wait_for_completion(&early_console_added); 78 在使用wait_for_completion()的_timeout()或_killable()/_interruptible()变体 90 不触及等待队列。这个函数的调用者必须确保没有任何令人讨厌的wait_for_completion() 132 wait_for_completion():: 134 void wait_for_completion(struct completion *done) 147 wait_for_completion(&setup_done); complete(setup_done); 149 这并不意味着调用wait_for_completion()和complete()有任何特定的时间顺序--如果调 150 用complete()发生在调用wait_for_completion()之前,那么等待方将立即继续执行,因为 [all …]
|
/linux-6.6.21/Documentation/scheduler/ |
D | completion.rst | 16 you probably want to look into using one of the wait_for_completion*() 39 - the waiting part through a call to one of the variants of wait_for_completion(), 63 wait_for_completion(&early_console_added); 79 variants of wait_for_completion(), as it must be assured that memory de-allocation 95 wait_for_completion() calls going on in parallel. 145 calls wait_for_completion() on the initialized completion structure:: 147 void wait_for_completion(struct completion *done) 160 wait_for_completion(&setup_done); complete(&setup_done); 162 This is not implying any particular order between wait_for_completion() and 164 to wait_for_completion() then the waiting side simply will continue [all …]
|
/linux-6.6.21/fs/iomap/ |
D | direct-io.c | 39 bool wait_for_completion; member 174 if (dio->wait_for_completion) { in iomap_dio_bio_end_io() 552 bool wait_for_completion = in __iomap_dio_rw() local 648 if (!wait_for_completion && !inode->i_sb->s_dio_done_wq) { in __iomap_dio_rw() 679 wait_for_completion = true; in __iomap_dio_rw() 685 wait_for_completion = true; in __iomap_dio_rw() 714 dio->wait_for_completion = wait_for_completion; in __iomap_dio_rw() 716 if (!wait_for_completion) { in __iomap_dio_rw()
|
/linux-6.6.21/drivers/scsi/bfa/ |
D | bfad_bsg.c | 36 wait_for_completion(&bfad->enable_comp); in bfad_iocmd_ioc_enable() 64 wait_for_completion(&bfad->disable_comp); in bfad_iocmd_ioc_disable() 263 wait_for_completion(&fcomp.comp); in bfad_iocmd_port_enable() 285 wait_for_completion(&fcomp.comp); in bfad_iocmd_port_disable() 346 wait_for_completion(&fcomp.comp); in bfad_iocmd_port_get_stats() 368 wait_for_completion(&fcomp.comp); in bfad_iocmd_port_reset_stats() 1205 wait_for_completion(&fcomp.comp); in bfad_iocmd_ioc_get_pcifn_cfg() 1228 wait_for_completion(&fcomp.comp); in bfad_iocmd_pcifn_create() 1250 wait_for_completion(&fcomp.comp); in bfad_iocmd_pcifn_delete() 1273 wait_for_completion(&fcomp.comp); in bfad_iocmd_pcifn_bw() [all …]
|
D | bfad.c | 227 wait_for_completion(&bfad->comp); in bfad_sm_created() 248 wait_for_completion(&bfad->comp); in bfad_sm_created() 678 wait_for_completion(vport->comp_del); in bfad_vport_create() 854 wait_for_completion(&bfad->comp); in bfad_drv_uninit() 891 wait_for_completion(&bfad->comp); in bfad_fcs_stop() 906 wait_for_completion(&bfad->comp); in bfad_stop() 1455 wait_for_completion(&bfad->comp); in bfad_pci_error_detected() 1511 wait_for_completion(&bfad->comp); in restart_bfa() 1586 wait_for_completion(&bfad->comp); in bfad_pci_mmio_enabled()
|
/linux-6.6.21/drivers/scsi/pm8001/ |
D | pm8001_sas.c | 194 wait_for_completion(&completion); in pm8001_phy_control() 202 wait_for_completion(&completion); in pm8001_phy_control() 210 wait_for_completion(&completion); in pm8001_phy_control() 288 wait_for_completion(&completion); in pm8001_scan_start() 678 wait_for_completion(&completion); in pm8001_dev_found_notify() 894 wait_for_completion(&completion_setstate); in pm8001_I_T_nexus_event_handler() 941 wait_for_completion(&completion_setstate); in pm8001_lu_reset() 1049 wait_for_completion(&completion); in pm8001_abort_task() 1123 wait_for_completion(&completion); in pm8001_abort_task() 1185 wait_for_completion(&completion_setstate); in pm8001_setds_completion()
|
/linux-6.6.21/fs/zonefs/ |
D | sysfs.c | 100 wait_for_completion(&sbi->s_kobj_unregister); in zonefs_sysfs_register() 118 wait_for_completion(&sbi->s_kobj_unregister); in zonefs_sysfs_unregister()
|
/linux-6.6.21/fs/jffs2/ |
D | background.c | 54 wait_for_completion(&c->gc_thread_start); in jffs2_start_garbage_collect_thread() 72 wait_for_completion(&c->gc_thread_exit); in jffs2_stop_garbage_collect_thread()
|
/linux-6.6.21/drivers/macintosh/ams/ |
D | ams-pmu.c | 57 wait_for_completion(&req_complete); in ams_pmu_set_register() 70 wait_for_completion(&req_complete); in ams_pmu_get_register()
|
/linux-6.6.21/fs/ubifs/ |
D | sysfs.c | 122 wait_for_completion(&c->kobj_unregister); in ubifs_sysfs_register() 135 wait_for_completion(&c->kobj_unregister); in ubifs_sysfs_unregister()
|
/linux-6.6.21/drivers/hwmon/ |
D | ibmpex.c | 140 wait_for_completion(&data->read_complete); in ibmpex_ver_check() 166 wait_for_completion(&data->read_complete); in ibmpex_query_sensor_count() 181 wait_for_completion(&data->read_complete); in ibmpex_query_sensor_name() 196 wait_for_completion(&data->read_complete); in ibmpex_query_sensor_data() 213 wait_for_completion(&data->read_complete); in ibmpex_reset_high_low_data()
|
/linux-6.6.21/kernel/locking/ |
D | test-ww_mutex.c | 45 wait_for_completion(&mtx->go); in test_mutex_work() 75 wait_for_completion(&mtx.ready); in __test_mutex() 201 wait_for_completion(&abba->a_ready); in test_abba_work() 243 wait_for_completion(&abba.b_ready); in test_abba() 296 wait_for_completion(&cycle->b_signal); in test_cycle_work()
|
/linux-6.6.21/kernel/sched/ |
D | completion.c | 146 void __sched wait_for_completion(struct completion *x) in wait_for_completion() function 150 EXPORT_SYMBOL(wait_for_completion);
|
/linux-6.6.21/drivers/crypto/caam/ |
D | caamprng.c | 122 wait_for_completion(&ctx.done); in caam_prng_generate() 177 wait_for_completion(&ctx.done); in caam_prng_seed()
|
/linux-6.6.21/kernel/ |
D | backtracetest.c | 41 wait_for_completion(&backtrace_work); in backtrace_test_irq()
|
D | kthread.c | 472 wait_for_completion(&done); in __kthread_create_on_node() 669 wait_for_completion(&kthread->parked); in kthread_park() 709 wait_for_completion(&kthread->exited); in kthread_stop() 1157 wait_for_completion(&fwork.done); in kthread_flush_work() 1374 wait_for_completion(&fwork.done); in kthread_flush_worker()
|
D | stop_machine.c | 152 wait_for_completion(&done.completion); in stop_one_cpu() 362 wait_for_completion(&done.completion); in stop_two_cpus() 431 wait_for_completion(&done.completion); in __stop_cpus()
|
/linux-6.6.21/lib/livepatch/ |
D | test_klp_callbacks_busy.c | 46 wait_for_completion(&busymod_work_started); in test_klp_callbacks_busy_init()
|
/linux-6.6.21/drivers/s390/char/ |
D | sclp_sdias.c | 76 wait_for_completion(&evbuf_accepted); in sdias_sclp_send() 96 wait_for_completion(&evbuf_done); in sdias_sclp_send()
|
D | sclp_ftp.c | 140 wait_for_completion(&completion); in sclp_ftp_et7() 196 wait_for_completion(&sclp_ftp_rx_complete); in sclp_ftp_cmd()
|
/linux-6.6.21/include/linux/ |
D | i2c-algo-pca.h | 74 int (*wait_for_completion) (void *data); member
|
/linux-6.6.21/fs/xfs/ |
D | xfs_sysfs.h | 53 wait_for_completion(&kobj->complete); in xfs_sysfs_del()
|
/linux-6.6.21/drivers/staging/rts5208/ |
D | rtsx.c | 176 wait_for_completion(&dev->notify); in DEF_SCSI_QCMD() 570 wait_for_completion(&dev->control_exit); in rtsx_release_resources() 572 wait_for_completion(&dev->polling_exit); in rtsx_release_resources() 611 wait_for_completion(&dev->scanning_done); in quiesce_and_remove_host() 934 wait_for_completion(&dev->control_exit); in rtsx_probe()
|
/linux-6.6.21/arch/um/drivers/ |
D | xterm_kern.c | 66 wait_for_completion(&data->ready); in xterm_fd()
|
/linux-6.6.21/fs/erofs/ |
D | sysfs.c | 235 wait_for_completion(&sbi->s_kobj_unregister); in erofs_register_sysfs() 246 wait_for_completion(&sbi->s_kobj_unregister); in erofs_unregister_sysfs()
|