Struct nc::types::fs_quota_stat_t[][src]

#[repr(C)]
pub struct fs_quota_stat_t { pub qs_version: i8, pub qs_flags: u16, pub qs_pad: i8, pub qs_uquota: fs_qfilestat_t, pub qs_gquota: fs_qfilestat_t, pub qs_incoredqs: u32, pub qs_btimelimit: i32, pub qs_itimelimit: i32, pub qs_rtbtimelimit: i32, pub qs_bwarnlimit: u16, pub qs_iwarnlimit: u16, }
Expand description

fs_quota_stat is the struct returned in Q_XGETQSTAT for a given file system. Provides a centralized way to get meta information about the quota subsystem. eg. space taken up for user and group quotas, number of dquots currently incore.

Fields

qs_version: i8

version number for future changes

qs_flags: u16

FS_QUOTA_{U,P,G}DQ_{ACCT,ENFD}

qs_pad: i8

unused

qs_uquota: fs_qfilestat_t

user quota storage information

qs_gquota: fs_qfilestat_t

group quota storage information

qs_incoredqs: u32

number of dquots incore

qs_btimelimit: i32

limit for blks timer

qs_itimelimit: i32

limit for inodes timer

qs_rtbtimelimit: i32

limit for rt blks timer

qs_bwarnlimit: u16

limit for num warnings

qs_iwarnlimit: u16

limit for num warnings

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.