Home
last modified time | relevance | path

Searched refs:fdq (Results 1 – 3 of 3) sorted by relevance

/fs/quota/
Dquota.c133 struct fs_disk_quota fdq; in quota_getquota() local
139 ret = sb->s_qcop->get_dqblk(sb, type, id, &fdq); in quota_getquota()
142 copy_to_if_dqblk(&idq, &fdq); in quota_getquota()
177 struct fs_disk_quota fdq; in quota_setquota() local
184 copy_from_if_dqblk(&fdq, &idq); in quota_setquota()
185 return sb->s_qcop->set_dqblk(sb, type, id, &fdq); in quota_setquota()
215 struct fs_disk_quota fdq; in quota_setxquota() local
217 if (copy_from_user(&fdq, addr, sizeof(fdq))) in quota_setxquota()
221 return sb->s_qcop->set_dqblk(sb, type, id, &fdq); in quota_setxquota()
227 struct fs_disk_quota fdq; in quota_getxquota() local
[all …]
/fs/gfs2/
Dquota.c633 struct fs_disk_quota *fdq) in gfs2_adjust_quota() argument
665 if (fdq) { in gfs2_adjust_quota()
666 if (fdq->d_fieldmask & FS_DQ_BSOFT) { in gfs2_adjust_quota()
667 qp->qu_warn = cpu_to_be64(fdq->d_blk_softlimit >> sdp->sd_fsb2bb_shift); in gfs2_adjust_quota()
670 if (fdq->d_fieldmask & FS_DQ_BHARD) { in gfs2_adjust_quota()
671 qp->qu_limit = cpu_to_be64(fdq->d_blk_hardlimit >> sdp->sd_fsb2bb_shift); in gfs2_adjust_quota()
674 if (fdq->d_fieldmask & FS_DQ_BCOUNT) { in gfs2_adjust_quota()
675 qp->qu_value = cpu_to_be64(fdq->d_bcount >> sdp->sd_fsb2bb_shift); in gfs2_adjust_quota()
1468 struct fs_disk_quota *fdq) in gfs2_get_dqblk() argument
1476 memset(fdq, 0, sizeof(struct fs_disk_quota)); in gfs2_get_dqblk()
[all …]
/fs/xfs/
Dxfs_quotaops.c103 struct fs_disk_quota *fdq) in xfs_fs_get_dqblk() argument
112 return -xfs_qm_scall_getquota(mp, id, xfs_quota_type(type), fdq); in xfs_fs_get_dqblk()
120 struct fs_disk_quota *fdq) in xfs_fs_set_dqblk() argument
131 return -xfs_qm_scall_setqlim(mp, id, xfs_quota_type(type), fdq); in xfs_fs_set_dqblk()