Home
last modified time | relevance | path

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

/fs/quota/
Dquota.c221 struct fs_quota_stat fqs; in quota_getxstate() local
226 ret = sb->s_qcop->get_xstate(sb, &fqs); in quota_getxstate()
227 if (!ret && copy_to_user(addr, &fqs, sizeof(fqs))) in quota_getxstate()
234 struct fs_quota_statv fqs; in quota_getxstatev() local
240 memset(&fqs, 0, sizeof(fqs)); in quota_getxstatev()
241 if (copy_from_user(&fqs, addr, 1)) /* Just read qs_version */ in quota_getxstatev()
245 switch (fqs.qs_version) { in quota_getxstatev()
251 ret = sb->s_qcop->get_xstatev(sb, &fqs); in quota_getxstatev()
252 if (!ret && copy_to_user(addr, &fqs, sizeof(fqs))) in quota_getxstatev()
/fs/xfs/
Dxfs_quotaops.c48 struct fs_quota_stat *fqs) in xfs_fs_get_xstate() argument
54 return xfs_qm_scall_getqstat(mp, fqs); in xfs_fs_get_xstate()
60 struct fs_quota_statv *fqs) in xfs_fs_get_xstatev() argument
66 return xfs_qm_scall_getqstatv(mp, fqs); in xfs_fs_get_xstatev()
/fs/gfs2/
Dquota.c1476 struct fs_quota_stat *fqs) in gfs2_quota_get_xstate() argument
1480 memset(fqs, 0, sizeof(struct fs_quota_stat)); in gfs2_quota_get_xstate()
1481 fqs->qs_version = FS_QSTAT_VERSION; in gfs2_quota_get_xstate()
1485 fqs->qs_flags |= (FS_QUOTA_UDQ_ENFD | FS_QUOTA_GDQ_ENFD); in gfs2_quota_get_xstate()
1488 fqs->qs_flags |= (FS_QUOTA_UDQ_ACCT | FS_QUOTA_GDQ_ACCT); in gfs2_quota_get_xstate()
1495 fqs->qs_uquota.qfs_ino = GFS2_I(sdp->sd_quota_inode)->i_no_addr; in gfs2_quota_get_xstate()
1496 fqs->qs_uquota.qfs_nblks = sdp->sd_quota_inode->i_blocks; in gfs2_quota_get_xstate()
1498 fqs->qs_uquota.qfs_nextents = 1; /* unsupported */ in gfs2_quota_get_xstate()
1499 fqs->qs_gquota = fqs->qs_uquota; /* its the same inode in both cases */ in gfs2_quota_get_xstate()
1500 fqs->qs_incoredqs = list_lru_count(&gfs2_qd_lru); in gfs2_quota_get_xstate()