1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LINUX_SCHED_VHOST_TASK_H
3 #define _LINUX_SCHED_VHOST_TASK_H
4 
5 struct vhost_task;
6 
7 struct vhost_task *vhost_task_create(bool (*fn)(void *),
8 				     void (*handle_kill)(void *), void *arg,
9 				     const char *name);
10 void vhost_task_start(struct vhost_task *vtsk);
11 void vhost_task_stop(struct vhost_task *vtsk);
12 void vhost_task_wake(struct vhost_task *vtsk);
13 
14 #endif /* _LINUX_SCHED_VHOST_TASK_H */
15