Home
last modified time | relevance | path

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

/linux-2.6.39/fs/quota/
Dquota.c134 struct fs_disk_quota fdq; in quota_getquota() local
140 ret = sb->s_qcop->get_dqblk(sb, type, id, &fdq); in quota_getquota()
143 copy_to_if_dqblk(&idq, &fdq); in quota_getquota()
178 struct fs_disk_quota fdq; in quota_setquota() local
185 copy_from_if_dqblk(&fdq, &idq); in quota_setquota()
186 return sb->s_qcop->set_dqblk(sb, type, id, &fdq); in quota_setquota()
216 struct fs_disk_quota fdq; in quota_setxquota() local
218 if (copy_from_user(&fdq, addr, sizeof(fdq))) in quota_setxquota()
222 return sb->s_qcop->set_dqblk(sb, type, id, &fdq); in quota_setxquota()
228 struct fs_disk_quota fdq; in quota_getxquota() local
[all …]
/linux-2.6.39/fs/xfs/linux-2.6/
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()
/linux-2.6.39/fs/gfs2/
Dquota.c631 struct fs_disk_quota *fdq) in gfs2_adjust_quota() argument
660 if (fdq) { in gfs2_adjust_quota()
661 if (fdq->d_fieldmask & FS_DQ_BSOFT) { in gfs2_adjust_quota()
662 qp->qu_warn = cpu_to_be64(fdq->d_blk_softlimit >> sdp->sd_fsb2bb_shift); in gfs2_adjust_quota()
665 if (fdq->d_fieldmask & FS_DQ_BHARD) { in gfs2_adjust_quota()
666 qp->qu_limit = cpu_to_be64(fdq->d_blk_hardlimit >> sdp->sd_fsb2bb_shift); in gfs2_adjust_quota()
669 if (fdq->d_fieldmask & FS_DQ_BCOUNT) { in gfs2_adjust_quota()
670 qp->qu_value = cpu_to_be64(fdq->d_bcount >> sdp->sd_fsb2bb_shift); in gfs2_adjust_quota()
1480 struct fs_disk_quota *fdq) in gfs2_get_dqblk() argument
1488 memset(fdq, 0, sizeof(struct fs_disk_quota)); in gfs2_get_dqblk()
[all …]