1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef _LINUX_VHOST_TASK_H 3 #define _LINUX_VHOST_TASK_H 4 5 6 struct vhost_task; 7 8 struct vhost_task *vhost_task_create(bool (*fn)(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 15