Skip to main content

PageQueues

Struct PageQueues 

Source
#[repr(C)]
pub struct PageQueues {
Show 31 fields pub list_lock_: __BindgenOpaqueArray8<[u8; 24]>, pub lock_: __BindgenOpaqueArray8<[u8; 24]>, pub aging_event_: *mut Event, pub aging_disabled_: bool, pub __bindgen_padding_0: [u8; 7], pub last_age_time_: __BindgenOpaqueArray8<[u8; 8]>, pub last_age_reason_: PageQueues_AgeReason, pub active_ratio_triggered_: bool, pub __bindgen_padding_1: [u8; 3], pub mru_event_: AutounsignalEvent, pub lru_event_: AutounsignalEvent, pub lru_action_: PageQueues_LruAction, pub __bindgen_padding_2: [u8; 4], pub page_queues_: __BindgenOpaqueArray8<[u8; 128]>, pub isolate_queues_: __BindgenOpaqueArray8<[u8; 16]>, pub lru_gen_: __BindgenOpaqueArray8<[u8; 8]>, pub mru_gen_: __BindgenOpaqueArray8<[u8; 8]>, pub page_queue_counts_: __BindgenOpaqueArray8<[u8; 128]>, pub lazy_active_ratio_aging_skips_: __BindgenOpaqueArray8<[u8; 8]>, pub consecutive_skipped_sweeps_: u32, pub shutdown_threads_: u8, pub __bindgen_padding_3: [u8; 3], pub mru_thread_: *mut Thread, pub lru_thread_: *mut Thread, pub debug_compressor_: __BindgenOpaqueArray8<[u8; 8]>, pub min_mru_rotate_time_: zx_duration_mono_t, pub max_mru_rotate_time_: zx_duration_mono_t, pub zero_fork_is_reclaimable_: u8, pub anonymous_is_reclaimable_: u8, pub __bindgen_padding_4: [u8; 6], pub active_ratio_multiplier_: i64,
}

Fields§

§list_lock_: __BindgenOpaqueArray8<[u8; 24]>§lock_: __BindgenOpaqueArray8<[u8; 24]>§aging_event_: *mut Event§aging_disabled_: bool§__bindgen_padding_0: [u8; 7]§last_age_time_: __BindgenOpaqueArray8<[u8; 8]>§last_age_reason_: PageQueues_AgeReason§active_ratio_triggered_: bool§__bindgen_padding_1: [u8; 3]§mru_event_: AutounsignalEvent§lru_event_: AutounsignalEvent§lru_action_: PageQueues_LruAction§__bindgen_padding_2: [u8; 4]§page_queues_: __BindgenOpaqueArray8<[u8; 128]>§isolate_queues_: __BindgenOpaqueArray8<[u8; 16]>§lru_gen_: __BindgenOpaqueArray8<[u8; 8]>§mru_gen_: __BindgenOpaqueArray8<[u8; 8]>§page_queue_counts_: __BindgenOpaqueArray8<[u8; 128]>§lazy_active_ratio_aging_skips_: __BindgenOpaqueArray8<[u8; 8]>§consecutive_skipped_sweeps_: u32§shutdown_threads_: u8§__bindgen_padding_3: [u8; 3]§mru_thread_: *mut Thread§lru_thread_: *mut Thread§debug_compressor_: __BindgenOpaqueArray8<[u8; 8]>§min_mru_rotate_time_: zx_duration_mono_t§max_mru_rotate_time_: zx_duration_mono_t§zero_fork_is_reclaimable_: u8§anonymous_is_reclaimable_: u8§__bindgen_padding_4: [u8; 6]§active_ratio_multiplier_: i64

Auto Trait Implementations§

§

impl !Send for PageQueues

§

impl !Sync for PageQueues

§

impl Freeze for PageQueues

§

impl RefUnwindSafe for PageQueues

§

impl Unpin for PageQueues

§

impl UnsafeUnpin for PageQueues

§

impl UnwindSafe for PageQueues

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = !

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.