Struct dpdk_unix::android_linux::page_table::PageMapEntry[][src]

pub struct PageMapEntry(_);

Bits 57-60 (zero-based) should be set to zero and currently do not have any meaning.

Methods

impl PageMapEntry
[src]

Read the current process' pagemap file.

Read the a process' pagemap file, typically at /proc/PID/pagemap, where UPID is the process' identifier ('pid').

Physical Page Frame Number (PFN).

May be zero if an user lacks the capability CAP_SYS_ADMIN.

This data is not valid if the page can be swapped out; to prevent that, lock the page using mlock(). (If swapped, the bottom 5 bits are the swap type and the bits 5 (zero-based, ie this is the 6th bit) to 54 inclusive are the swap offset; we panic if this is the case in debug).

The top 9 bits are unset (ie always zero).

Page is swapped.

Bit 62 (zero-based).

Page is present.

Bit 63 (zero-based).

Page is exclusively mapped.

Introduced in Linux 4.2.

Bit 56 (zero-based).

Page is exclusively mapped.

Introduced in Linux 3.5.

Bit 61 (zero-based).

Page Table Entry (PTE) is 'soft dirty'.

For more information, see the Linux documentation at Documentation/vm/soft-dirty.txt.

Bit 55 (zero-based).

Trait Implementations

impl Default for PageMapEntry
[src]

Returns the "default value" for a type. Read more

impl Debug for PageMapEntry
[src]

Formats the value using the given formatter. Read more

impl Copy for PageMapEntry
[src]

impl Clone for PageMapEntry
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Ord for PageMapEntry
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl PartialOrd for PageMapEntry
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Eq for PageMapEntry
[src]

impl PartialEq for PageMapEntry
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for PageMapEntry
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations