include/linux/sched/vhost_task.h

Source file repositories/reference/linux-study-clean/include/linux/sched/vhost_task.h

File Facts

System
Linux kernel
Corpus path
include/linux/sched/vhost_task.h
Extension
.h
Size
444 bytes
Lines
15
Domain
Core OS
Bucket
Core Kernel Interface
Inferred role
Core OS: implementation source
Status
source implementation candidate

Why This File Exists

Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _LINUX_SCHED_VHOST_TASK_H
#define _LINUX_SCHED_VHOST_TASK_H

struct vhost_task;

struct vhost_task *vhost_task_create(bool (*fn)(void *),
				     void (*handle_kill)(void *), void *arg,
				     const char *name);
void vhost_task_start(struct vhost_task *vtsk);
void vhost_task_stop(struct vhost_task *vtsk);
void vhost_task_wake(struct vhost_task *vtsk);

#endif /* _LINUX_SCHED_VHOST_TASK_H */

Annotation

Implementation Notes