dqblk(2type)

NAME
dqblk - disk quota block

LIBRARY
Standard C library (libc)

SYNOPSIS
#include <sys/quota.h>

    struct dqblk {
    	uint64_t  dqb_bhardlimit;
    	uint64_t  dqb_bsoftlimit;
    	uint64_t  dqb_curspace;
    	uint64_t  dqb_ihardlimit;
    	uint64_t  dqb_isoftlimit;
    	uint64_t  dqb_curinodes;
    	uint64_t  dqb_btime;
    	uint64_t  dqb_itime;

    	uint32_t  dqb_valid;
    };

    #define QIF_BLIMITS   1
    #define QIF_SPACE     2
    #define QIF_ILIMITS   4
    #define QIF_INODES    8
    #define QIF_BTIME     16
    #define QIF_ITIME     32
    #define QIF_LIMITS    (QIF_BLIMITS | QIF_ILIMITS)
    #define QIF_USAGE     (QIF_SPACE | QIF_INODES)
    #define QIF_TIMES     (QIF_BTIME | QIF_ITIME)
    #define QIF_ALL       (QIF_LIMITS | QIF_USAGE | QIF_TIMES)

DESCRIPTION

.dqb_bhardlimit
.dqb_bsoftlimit
    Absolute and preferred limits on disk quota blocks.

.dqb_curspace
    Current occupied space (in bytes).

.dqb_ihardlimit
.dqb_isoftlimit
    Absolute and preferred limits on number of allocated inodes.

.dqb_curinodes
    Current number of allocated inodes.

.dqb_btime
    Time limit for excessive disk use.

.dqb_itime
    Time limit for excessive files.

.dqb_valid
    Bit mask of QIF_* constants. It is set to indicate which fields in the dqblk structure are valid.

STANDARDS
Linux.

HISTORY
Linux 2.4.22.

SEE ALSO
Q_GETQUOTA(2const), Q_SETQUOTA(2const), nextdqblk(2type)