pub struct MmShrinkSlabStartFtraceEvent {
pub cache_items: Option<u64>,
pub delta: Option<u64>,
pub gfp_flags: Option<u32>,
pub lru_pgs: Option<u64>,
pub nr_objects_to_shrink: Option<i64>,
pub pgs_scanned: Option<u64>,
pub shr: Option<u64>,
pub shrink: Option<u64>,
pub total_scan: Option<u64>,
pub nid: Option<i32>,
pub priority: Option<i32>,
}
Fields§
§cache_items: Option<u64>
§delta: Option<u64>
§gfp_flags: Option<u32>
§lru_pgs: Option<u64>
§nr_objects_to_shrink: Option<i64>
§pgs_scanned: Option<u64>
§shr: Option<u64>
§shrink: Option<u64>
§total_scan: Option<u64>
§nid: Option<i32>
§priority: Option<i32>
Implementations§
Source§impl MmShrinkSlabStartFtraceEvent
impl MmShrinkSlabStartFtraceEvent
Sourcepub fn cache_items(&self) -> u64
pub fn cache_items(&self) -> u64
Returns the value of cache_items
, or the default value if cache_items
is unset.
Sourcepub fn gfp_flags(&self) -> u32
pub fn gfp_flags(&self) -> u32
Returns the value of gfp_flags
, or the default value if gfp_flags
is unset.
Sourcepub fn lru_pgs(&self) -> u64
pub fn lru_pgs(&self) -> u64
Returns the value of lru_pgs
, or the default value if lru_pgs
is unset.
Sourcepub fn nr_objects_to_shrink(&self) -> i64
pub fn nr_objects_to_shrink(&self) -> i64
Returns the value of nr_objects_to_shrink
, or the default value if nr_objects_to_shrink
is unset.
Sourcepub fn pgs_scanned(&self) -> u64
pub fn pgs_scanned(&self) -> u64
Returns the value of pgs_scanned
, or the default value if pgs_scanned
is unset.
Sourcepub fn shrink(&self) -> u64
pub fn shrink(&self) -> u64
Returns the value of shrink
, or the default value if shrink
is unset.
Sourcepub fn total_scan(&self) -> u64
pub fn total_scan(&self) -> u64
Returns the value of total_scan
, or the default value if total_scan
is unset.
Trait Implementations§
Source§impl Clone for MmShrinkSlabStartFtraceEvent
impl Clone for MmShrinkSlabStartFtraceEvent
Source§fn clone(&self) -> MmShrinkSlabStartFtraceEvent
fn clone(&self) -> MmShrinkSlabStartFtraceEvent
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MmShrinkSlabStartFtraceEvent
impl Debug for MmShrinkSlabStartFtraceEvent
Source§impl Message for MmShrinkSlabStartFtraceEvent
impl Message for MmShrinkSlabStartFtraceEvent
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.Source§impl PartialEq for MmShrinkSlabStartFtraceEvent
impl PartialEq for MmShrinkSlabStartFtraceEvent
Source§fn eq(&self, other: &MmShrinkSlabStartFtraceEvent) -> bool
fn eq(&self, other: &MmShrinkSlabStartFtraceEvent) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for MmShrinkSlabStartFtraceEvent
Auto Trait Implementations§
impl Freeze for MmShrinkSlabStartFtraceEvent
impl RefUnwindSafe for MmShrinkSlabStartFtraceEvent
impl Send for MmShrinkSlabStartFtraceEvent
impl Sync for MmShrinkSlabStartFtraceEvent
impl Unpin for MmShrinkSlabStartFtraceEvent
impl UnwindSafe for MmShrinkSlabStartFtraceEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more