arch/powerpc/include/asm/kvm_book3s_uvmem.h
Source file repositories/reference/linux-study-clean/arch/powerpc/include/asm/kvm_book3s_uvmem.h
File Facts
- System
- Linux kernel
- Corpus path
arch/powerpc/include/asm/kvm_book3s_uvmem.h- Extension
.h- Size
- 2738 bytes
- Lines
- 101
- Domain
- Architecture Layer
- Bucket
- arch/powerpc
- Inferred role
- Architecture Layer: implementation source
- Status
- source 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.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
- No C-style include directives detected by the generator.
Detected Declarations
function kvmppc_uvmem_initfunction kvmppc_uvmem_freefunction kvmppc_uvmem_slot_initfunction kvmppc_uvmem_slot_freefunction kvmppc_h_svm_page_outfunction kvmppc_h_svm_init_startfunction kvmppc_h_svm_init_donefunction kvmppc_h_svm_init_abortfunction kvmppc_send_page_to_uvfunction kvmppc_uvmem_drop_pagesfunction kvmppc_uvmem_memslot_delete
Annotated Snippet
static inline void kvmppc_uvmem_free(void) { }
static inline bool kvmppc_uvmem_available(void)
{
return false;
}
static inline int
kvmppc_uvmem_slot_init(struct kvm *kvm, const struct kvm_memory_slot *slot)
{
return 0;
}
static inline void
kvmppc_uvmem_slot_free(struct kvm *kvm, const struct kvm_memory_slot *slot) { }
static inline unsigned long
kvmppc_h_svm_page_in(struct kvm *kvm, unsigned long gra,
unsigned long flags, unsigned long page_shift)
{
return H_UNSUPPORTED;
}
static inline unsigned long
kvmppc_h_svm_page_out(struct kvm *kvm, unsigned long gra,
unsigned long flags, unsigned long page_shift)
{
return H_UNSUPPORTED;
}
static inline unsigned long kvmppc_h_svm_init_start(struct kvm *kvm)
{
return H_UNSUPPORTED;
}
static inline unsigned long kvmppc_h_svm_init_done(struct kvm *kvm)
{
return H_UNSUPPORTED;
}
static inline unsigned long kvmppc_h_svm_init_abort(struct kvm *kvm)
{
return H_UNSUPPORTED;
}
static inline int kvmppc_send_page_to_uv(struct kvm *kvm, unsigned long gfn)
{
return -EFAULT;
}
static inline void
kvmppc_uvmem_drop_pages(const struct kvm_memory_slot *free,
struct kvm *kvm, bool skip_page_out) { }
static inline int kvmppc_uvmem_memslot_create(struct kvm *kvm,
const struct kvm_memory_slot *new)
{
return H_UNSUPPORTED;
}
static inline void kvmppc_uvmem_memslot_delete(struct kvm *kvm,
const struct kvm_memory_slot *old) { }
#endif /* CONFIG_PPC_UV */
#endif /* __ASM_KVM_BOOK3S_UVMEM_H__ */
Annotation
- Detected declarations: `function kvmppc_uvmem_init`, `function kvmppc_uvmem_free`, `function kvmppc_uvmem_slot_init`, `function kvmppc_uvmem_slot_free`, `function kvmppc_h_svm_page_out`, `function kvmppc_h_svm_init_start`, `function kvmppc_h_svm_init_done`, `function kvmppc_h_svm_init_abort`, `function kvmppc_send_page_to_uv`, `function kvmppc_uvmem_drop_pages`.
- Atlas domain: Architecture Layer / arch/powerpc.
- 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.