kernel/dma/coherent.c

Source file repositories/reference/linux-study-clean/kernel/dma/coherent.c

File Facts

System
Linux kernel
Corpus path
kernel/dma/coherent.c
Extension
.c
Size
11500 bytes
Lines
411
Domain
Core OS
Bucket
Scheduler, Processes, Timers, Sync, And Syscalls
Inferred role
Core OS: exported/initcall integration point
Status
integration 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

core_initcall(dma_init_reserved_memory);
#endif /* CONFIG_DMA_GLOBAL_POOL */

static const struct reserved_mem_ops rmem_dma_ops = {
	.node_init	= rmem_dma_setup,
	.device_init	= rmem_dma_device_init,
	.device_release	= rmem_dma_device_release,
};

RESERVEDMEM_OF_DECLARE(dma, "shared-dma-pool", &rmem_dma_ops);
#endif

Annotation

Implementation Notes