Searched refs:main_task (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/lib/ |
D | test_lockup.c | 166 static struct task_struct *main_task; variable 194 pr_notice("lock mmap_lock pid=%d\n", main_task->pid); in test_lock() 196 mmap_read_lock(main_task->mm); in test_lock() 198 mmap_write_lock(main_task->mm); in test_lock() 279 mmap_read_unlock(main_task->mm); in test_unlock() 281 mmap_write_unlock(main_task->mm); in test_unlock() 283 pr_notice("unlock mmap_lock pid=%d\n", main_task->pid); in test_unlock() 361 while (iter++ < iterations && !signal_pending(main_task)) { in test_lockup() 458 main_task = current; in test_lockup_init() 528 if (lock_mmap_sem && !main_task->mm) { in test_lockup_init() [all …]
|
/linux-5.19.10/kernel/rcu/ |
D | refscale.c | 107 static struct task_struct *main_task; variable 784 torture_stop_kthread("main_task", main_task); in ref_scale_cleanup() 785 kfree(main_task); in ref_scale_cleanup() 880 firsterr = torture_create_kthread(main_func, NULL, main_task); in ref_scale_init()
|
/linux-5.19.10/drivers/scsi/ |
D | NCR5380.c | 417 INIT_WORK(&hostdata->main_task, NCR5380_main); in NCR5380_init() 519 cancel_work_sync(&hostdata->main_task); in NCR5380_exit() 606 queue_work(hostdata->work_q, &hostdata->main_task); in NCR5380_queue_command() 694 container_of(work, struct NCR5380_hostdata, main_task); in NCR5380_main() 892 queue_work(hostdata->work_q, &hostdata->main_task); in NCR5380_intr() 907 queue_work(hostdata->work_q, &hostdata->main_task); in NCR5380_intr() 2317 queue_work(hostdata->work_q, &hostdata->main_task); in NCR5380_abort() 2372 queue_work(hostdata->work_q, &hostdata->main_task); in bus_reset_cleanup()
|
D | NCR5380.h | 210 struct work_struct main_task; /* Work item for main loop */ member
|