Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:copy_from_xfs_dqblk

Proto:static void copy_from_xfs_dqblk(struct qc_dqblk *dst, struct fs_disk_quota *src)

Type:void

Parameter:

TypeParameterName
struct qc_dqblk *dst
struct fs_disk_quota *src
486  absolute limit on used space = quota_bbtob( absolute limit on disk blks )
487  preferred limit on used space = quota_bbtob( preferred limit on disk blks )
488  maximum # allocated inodes = maximum # allocated inodes
489  preferred inode limit = preferred inode limit
490  Space owned by the user = quota_bbtob( # disk blocks owned by the user )
491  # inodes owned by the user = # inodes owned by the user
492  zero if within inode limits = zero if within inode limits
493  similar to above; for space = similar to above; for disk blocks
494  # warnings issued wrt num inodes = # warnings issued wrt num inodes
495  # warnings issued wrt used space = # warnings issued wrt disk blocks
496  absolute limit on realtime space = quota_bbtob( absolute limit on realtime blks )
497  preferred limit on RT space = quota_bbtob( preferred limit on RT disk blks )
498  altime space owned = quota_bbtob( # realtime blocks owned )
499  similar to above; for RT space = similar to above; for RT disk blks
500  # warnings issued wrt RT space = # warnings issued wrt RT disk blks
501  mask of fields to change in ->set_dqblk() = 0
502  If field specifier & These fields are sent to Q_XSETQLIM to specify fields that need to change. 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
504  If field specifier & FS_DQ_IHARD Then mask of fields to change in ->set_dqblk() |= QC_INO_HARD
506  If field specifier & FS_DQ_BSOFT Then mask of fields to change in ->set_dqblk() |= QC_SPC_SOFT
508  If field specifier & FS_DQ_BHARD Then mask of fields to change in ->set_dqblk() |= QC_SPC_HARD
510  If field specifier & FS_DQ_RTBSOFT Then mask of fields to change in ->set_dqblk() |= QC_RT_SPC_SOFT
512  If field specifier & FS_DQ_RTBHARD Then mask of fields to change in ->set_dqblk() |= QC_RT_SPC_HARD
514  If field specifier & These timers can only be set in super user's dquot. For others, timers are* automatically started and stopped. Superusers timer values set the limits* for the rest. In case these values are zero, the DQ_{F,B}TIMELIMIT values* defined below are used. Then mask of fields to change in ->set_dqblk() |= QC_SPC_TIMER
516  If field specifier & FS_DQ_ITIMER Then mask of fields to change in ->set_dqblk() |= QC_INO_TIMER
518  If field specifier & FS_DQ_RTBTIMER Then mask of fields to change in ->set_dqblk() |= QC_RT_SPC_TIMER
520  If field specifier & Warning counts are set in both super user's dquot and others. For others,* warnings are set/cleared by the administrators (or automatically by going* below the soft limit). Superusers warning values set the warning limits* for the rest Then mask of fields to change in ->set_dqblk() |= QC_SPC_WARNS
522  If field specifier & FS_DQ_IWARNS Then mask of fields to change in ->set_dqblk() |= QC_INO_WARNS
524  If field specifier & FS_DQ_RTBWARNS Then mask of fields to change in ->set_dqblk() |= QC_RT_SPC_WARNS
526  If field specifier & Accounting values. These can only be set for filesystem with* non-transactional quotas that require quotacheck(8) in userspace. Then mask of fields to change in ->set_dqblk() |= QC_SPACE
528  If field specifier & FS_DQ_ICOUNT Then mask of fields to change in ->set_dqblk() |= QC_INO_COUNT
530  If field specifier & FS_DQ_RTBCOUNT Then mask of fields to change in ->set_dqblk() |= QC_RT_SPACE
Caller
NameDescribe
quota_setxquota