|
NAME | LIBRARY | SYNOPSIS | DESCRIPTION | STANDARDS | HISTORY | SEE ALSO | COLOPHON |
|
|
|
dqblk(2type) dqblk(2type)
dqblk - disk quota block
Standard C library (libc)
#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)
.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.
Linux.
Linux 2.4.22.
Q_GETQUOTA(2const), Q_SETQUOTA(2const), nextdqblk(2type)
This page is part of the man-pages (Linux kernel and C library
user-space interface documentation) project. Information about
the project can be found at
⟨https://www.kernel.org/doc/man-pages/⟩. If you have a bug report
for this manual page, see
⟨https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/CONTRIBUTING⟩.
This page was obtained from the tarball man-pages-6.19.tar.gz
fetched from
⟨https://mirrors.edge.kernel.org/pub/linux/docs/man-pages/⟩ on
2026-09-09. If you discover any rendering problems in this HTML
version of the page, or you believe there is a better or more up-
to-date source for the page, or you have corrections or
improvements to the information in this COLOPHON (which is not
part of the original manual page), send a mail to
man-pages@man7.org
Linux man-pages 6.19 2026-06-05 dqblk(2type)
Pages that refer to this page: Q_GETNEXTQUOTA(2const), Q_GETQUOTA(2const), Q_SETQUOTA(2const)