#[repr(transparent)]pub struct Dqblk(_);
Expand description
Wrapper type for if_dqblk
Implementations§
source§impl Dqblk
impl Dqblk
sourcepub fn blocks_hard_limit(&self) -> Option<u64>
pub fn blocks_hard_limit(&self) -> Option<u64>
The absolute limit on disk quota blocks allocated.
sourcepub fn set_blocks_hard_limit(&mut self, limit: u64)
pub fn set_blocks_hard_limit(&mut self, limit: u64)
Set the absolute limit on disk quota blocks allocated.
sourcepub fn blocks_soft_limit(&self) -> Option<u64>
pub fn blocks_soft_limit(&self) -> Option<u64>
Preferred limit on disk quota blocks
sourcepub fn set_blocks_soft_limit(&mut self, limit: u64)
pub fn set_blocks_soft_limit(&mut self, limit: u64)
Set the preferred limit on disk quota blocks allocated.
sourcepub fn occupied_space(&self) -> Option<u64>
pub fn occupied_space(&self) -> Option<u64>
Current occupied space (bytes).
sourcepub fn inodes_hard_limit(&self) -> Option<u64>
pub fn inodes_hard_limit(&self) -> Option<u64>
Maximum number of allocated inodes.
sourcepub fn set_inodes_hard_limit(&mut self, limit: u64)
pub fn set_inodes_hard_limit(&mut self, limit: u64)
Set the maximum number of allocated inodes.
sourcepub fn inodes_soft_limit(&self) -> Option<u64>
pub fn inodes_soft_limit(&self) -> Option<u64>
Preferred inode limit
sourcepub fn set_inodes_soft_limit(&mut self, limit: u64)
pub fn set_inodes_soft_limit(&mut self, limit: u64)
Set the preferred limit of allocated inodes.
sourcepub fn allocated_inodes(&self) -> Option<u64>
pub fn allocated_inodes(&self) -> Option<u64>
Current number of allocated inodes.
sourcepub fn block_time_limit(&self) -> Option<u64>
pub fn block_time_limit(&self) -> Option<u64>
Time limit for excessive disk use.
sourcepub fn set_block_time_limit(&mut self, limit: u64)
pub fn set_block_time_limit(&mut self, limit: u64)
Set the time limit for excessive disk use.
sourcepub fn inode_time_limit(&self) -> Option<u64>
pub fn inode_time_limit(&self) -> Option<u64>
Time limit for excessive files.
sourcepub fn set_inode_time_limit(&mut self, limit: u64)
pub fn set_inode_time_limit(&mut self, limit: u64)
Set the time limit for excessive files.