Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\quota\quota.c Create Date:2022-07-28 20:33:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:copy_from_if_dqblk

Proto:static void copy_from_if_dqblk(struct qc_dqblk *dst, struct if_dqblk *src)

Type:void

Parameter:

TypeParameterName
struct qc_dqblk *dst
struct if_dqblk *src
249  absolute limit on used space = qbtos(dqb_bhardlimit)
250  preferred limit on used space = qbtos(dqb_bsoftlimit)
251  Space owned by the user = dqb_curspace
252  maximum # allocated inodes = dqb_ihardlimit
253  preferred inode limit = dqb_isoftlimit
254  # inodes owned by the user = dqb_curinodes
255  similar to above; for space = dqb_btime
256  zero if within inode limits = dqb_itime
258  mask of fields to change in ->set_dqblk() = 0
259  If dqb_valid & QIF_BLIMITS Then mask of fields to change in ->set_dqblk() |= QC_SPC_SOFT | QC_SPC_HARD
261  If dqb_valid & QIF_SPACE Then mask of fields to change in ->set_dqblk() |= QC_SPACE
263  If dqb_valid & QIF_ILIMITS Then mask of fields to change in ->set_dqblk() |= Field specifiers for ->set_dqblk() in struct qc_dqblk and also for* ->set_info() in struct qc_info | QC_INO_HARD
265  If dqb_valid & QIF_INODES Then mask of fields to change in ->set_dqblk() |= QC_INO_COUNT
267  If dqb_valid & QIF_BTIME Then mask of fields to change in ->set_dqblk() |= QC_SPC_TIMER
269  If dqb_valid & QIF_ITIME Then mask of fields to change in ->set_dqblk() |= QC_INO_TIMER
Caller
NameDescribe
quota_setquota