API
This document describes the internal kernel API surface of the Kyronix kernel. It is the child of Reference.
Memory
pmm_alloc- allocate a physical pagepmm_alloc_zeroed- allocate a zeroed physical pagepmm_alloc_contiguous- allocate contiguous physical pagespmm_free- free a physical pagevmm_map- map a virtual addressvmm_unmap- unmap a virtual addressvmm_protect- set protection flags on a mappingvmm_space_new- create a new virtual address spacevmm_space_free- free a virtual address spacevmm_switch- switch to a virtual address spacevmm_fork_user- fork user address spacekmalloc- kernel memory allocatekcalloc- kernel memory callockrealloc- kernel memory reallocatekfree- kernel memory free
Process
proc_alloc- allocate a processproc_ref- increment process reference countproc_unref- decrement process reference countproc_find- find a process by PID (Process ID)proc_do_exit- terminate a processsched_switch- context switch to another processsched_claim_next- claim the next runnable process
Filesystem
vfs_init- initialize the Virtual File System (VFS)vfs_lookup- look up a path in the VFSvfs_mount- mount a filesystemvfs_node_unref_internal- unreference an internal VFS nodevfs_sync_all- synchronize all mounted filesystems
Signals
proc_send_signal- send a signal to a processsignal_check- check for pending signals
Jail
jail_init- initialize the jail subsystemjail_create- create a new jailjail_enter- enter a jailjail_remove- remove a jailjail_can_see- check if a process can see another processjail_host_priv- check if a process has host privileges
Crypto
chacha20_rng_init- initialize the ChaCha20 random number generatorchacha20_rng_bytes- generate random bytes
Last reviewed: 2026-07-22