Lines Matching refs:main_task
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()
557 main_task->pid, time_secs, time_nsecs, in test_lockup_init()
611 if (signal_pending(main_task)) in test_lockup_init()