Lines Matching defs:ubq_daemon
135 struct task_struct *ubq_daemon;
1011 return ubq->ubq_daemon->flags & PF_EXITING;
1144 * (1) current != ubq_daemon.
1146 * in a workqueue if ubq_daemon(cmd's task) is PF_EXITING.
1150 if (unlikely(current != ubq->ubq_daemon || current->flags & PF_EXITING)) {
1247 * previously in monitor_work because the ubq_daemon(cmd's task) is
1274 send_sig(SIGKILL, ubq->ubq_daemon, 0);
1418 * When ->ubq_daemon is exiting, either new request is ended immediately,
1552 /* we are going to release task_struct of ubq_daemon and resets
1553 * ->ubq_daemon to NULL. So in monitor_work, check on ubq_daemon causes UAF.
1625 ubq->ubq_daemon = current;
1626 get_task_struct(ubq->ubq_daemon);
1690 if (ubq->ubq_daemon && ubq->ubq_daemon != current)
1956 if (ubq->ubq_daemon)
1957 put_task_struct(ubq->ubq_daemon);
2576 WARN_ON_ONCE(!(ubq->ubq_daemon && ubq_daemon_is_dying(ubq)));
2581 put_task_struct(ubq->ubq_daemon);
2583 ubq->ubq_daemon = NULL;
2627 /* set to NULL, otherwise new ubq_daemon cannot mmap the io_cmd_buf */
2647 /* wait until new ubq_daemon sending all FETCH_REQ */