include/linux/virtio_dma_buf.h
Source file repositories/reference/linux-study-clean/include/linux/virtio_dma_buf.h
File Facts
- System
- Linux kernel
- Corpus path
include/linux/virtio_dma_buf.h- Extension
.h- Size
- 1147 bytes
- Lines
- 38
- 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.
- Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/dma-buf.hlinux/uuid.hlinux/virtio.h
Detected Declarations
struct virtio_dma_buf_ops
Annotated Snippet
struct virtio_dma_buf_ops {
struct dma_buf_ops ops;
int (*device_attach)(struct dma_buf *dma_buf,
struct dma_buf_attachment *attach);
int (*get_uuid)(struct dma_buf *dma_buf, uuid_t *uuid);
};
int virtio_dma_buf_attach(struct dma_buf *dma_buf,
struct dma_buf_attachment *attach);
struct dma_buf *virtio_dma_buf_export
(const struct dma_buf_export_info *exp_info);
bool is_virtio_dma_buf(struct dma_buf *dma_buf);
int virtio_dma_buf_get_uuid(struct dma_buf *dma_buf, uuid_t *uuid);
#endif /* _LINUX_VIRTIO_DMA_BUF_H */
Annotation
- Immediate include surface: `linux/dma-buf.h`, `linux/uuid.h`, `linux/virtio.h`.
- Detected declarations: `struct virtio_dma_buf_ops`.
- Atlas domain: Core OS / Core Kernel Interface.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.