Module page

Source
Expand description

Kernel page allocation and management.

Structs§

BorrowedPage
Representation of a non-owning reference to a Page.
Page
A pointer to a page that owns the page allocation.

Constants§

PAGE_MASK
A bitmask that gives the page containing a given address.
PAGE_SHIFT
A bitwise shift for the page size.
PAGE_SIZE
The number of bytes in a page.

Traits§

AsPageIter
Trait to be implemented by types which provide an Iterator implementation of BorrowedPage items, such as VmallocPageIter.

Functions§

page_align
Round up the given number to the next multiple of PAGE_SIZE.