Searched refs:ap_poll_kthread (Results 1 – 1 of 1) sorted by relevance
108 static struct task_struct *ap_poll_kthread = NULL; variable1121 return snprintf(buf, PAGE_SIZE, "%d\n", ap_poll_kthread ? 1 : 0); in ap_poll_thread_show()1909 if (!ap_poll_kthread) { in ap_poll_thread_start()1910 ap_poll_kthread = kthread_run(ap_poll_thread, NULL, "appoll"); in ap_poll_thread_start()1911 rc = PTR_RET(ap_poll_kthread); in ap_poll_thread_start()1913 ap_poll_kthread = NULL; in ap_poll_thread_start()1924 if (ap_poll_kthread) { in ap_poll_thread_stop()1925 kthread_stop(ap_poll_kthread); in ap_poll_thread_stop()1926 ap_poll_kthread = NULL; in ap_poll_thread_stop()