arch/x86/kvm/debugfs.c

Source file repositories/reference/linux-study-clean/arch/x86/kvm/debugfs.c

File Facts

System
Linux kernel
Corpus path
arch/x86/kvm/debugfs.c
Extension
.c
Size
5009 bytes
Lines
197
Domain
Architecture Layer
Bucket
arch/x86
Inferred role
Architecture Layer: operation-table or driver-model contract
Status
pattern implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

static const struct file_operations mmu_rmaps_stat_fops = {
	.owner		= THIS_MODULE,
	.open		= kvm_mmu_rmaps_stat_open,
	.read		= seq_read,
	.llseek		= seq_lseek,
	.release	= kvm_mmu_rmaps_stat_release,
};

void kvm_arch_create_vm_debugfs(struct kvm *kvm)
{
	debugfs_create_file("mmu_rmaps_stat", 0644, kvm->debugfs_dentry, kvm,
			    &mmu_rmaps_stat_fops);
}

Annotation

Implementation Notes