drivers/vhost/test.h

Source file repositories/reference/linux-study-clean/drivers/vhost/test.h

File Facts

System
Linux kernel
Corpus path
drivers/vhost/test.h
Extension
.h
Size
287 bytes
Lines
10
Domain
Driver Families
Bucket
drivers/vhost
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef LINUX_VHOST_TEST_H
#define LINUX_VHOST_TEST_H

/* Start a given test on the virtio null device. 0 stops all tests. */
#define VHOST_TEST_RUN _IOW(VHOST_VIRTIO, 0x31, int)
#define VHOST_TEST_SET_BACKEND _IOW(VHOST_VIRTIO, 0x32, int)

#endif

Annotation

Implementation Notes