Anonymous VMA Chain
include/mem/avc.h View source View on GitHubStructs
Section titled “Structs”anon_vma_chain
Section titled “anon_vma_chain” struct anon_vma_chain (4 fields) source
Functions
Section titled “Functions”avc_alloc
Section titled “avc_alloc”struct anon_vma_chain * avc_alloc(void) source avc_free
Section titled “avc_free”void avc_free(struct anon_vma_chain *avc) source avc_link
Section titled “avc_link”void avc_link(
struct vma_range *vma_range,
struct anon_vma *av,
struct anon_vma_chain *avc
) source Link a vma_range to an anon_vma: push onto vma_range’s list AND insert into av’s tree
avc_unlink
Section titled “avc_unlink”void avc_unlink(struct anon_vma_chain *avc) source avc_rekey
Section titled “avc_rekey”void avc_rekey(struct anon_vma_chain *avc) source re-key AVC after vma_range page range changed, reinsert tree node afterwards
avc_first
Section titled “avc_first”pgoff_t avc_first(const struct anon_vma_chain *a) source what the tree is keyed on
avc_last
Section titled “avc_last”pgoff_t avc_last(const struct anon_vma_chain *a) source