xfs_qm.h (465e2def7cb45864da1f82afb973a6acd1046ed8) | xfs_qm.h (14bf61ffe6ac54afcd1e888a4407fe16054483db) |
---|---|
1/* 2 * Copyright (c) 2000-2005 Silicon Graphics, Inc. 3 * All Rights Reserved. 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public License as 7 * published by the Free Software Foundation. 8 * --- 143 unchanged lines hidden (view full) --- 152#define XFS_QM_RTBTIMELIMIT (7 * 24*60*60) /* 1 week */ 153#define XFS_QM_ITIMELIMIT (7 * 24*60*60) /* 1 week */ 154 155#define XFS_QM_BWARNLIMIT 5 156#define XFS_QM_IWARNLIMIT 5 157#define XFS_QM_RTBWARNLIMIT 5 158 159extern void xfs_qm_destroy_quotainfo(struct xfs_mount *); | 1/* 2 * Copyright (c) 2000-2005 Silicon Graphics, Inc. 3 * All Rights Reserved. 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public License as 7 * published by the Free Software Foundation. 8 * --- 143 unchanged lines hidden (view full) --- 152#define XFS_QM_RTBTIMELIMIT (7 * 24*60*60) /* 1 week */ 153#define XFS_QM_ITIMELIMIT (7 * 24*60*60) /* 1 week */ 154 155#define XFS_QM_BWARNLIMIT 5 156#define XFS_QM_IWARNLIMIT 5 157#define XFS_QM_RTBWARNLIMIT 5 158 159extern void xfs_qm_destroy_quotainfo(struct xfs_mount *); |
160extern int xfs_qm_write_sb_changes(struct xfs_mount *, __int64_t); |
|
160 161/* dquot stuff */ 162extern void xfs_qm_dqpurge_all(struct xfs_mount *, uint); 163extern void xfs_qm_dqrele_all_inodes(struct xfs_mount *, uint); 164 165/* quota ops */ 166extern int xfs_qm_scall_trunc_qfiles(struct xfs_mount *, uint); 167extern int xfs_qm_scall_getquota(struct xfs_mount *, xfs_dqid_t, | 161 162/* dquot stuff */ 163extern void xfs_qm_dqpurge_all(struct xfs_mount *, uint); 164extern void xfs_qm_dqrele_all_inodes(struct xfs_mount *, uint); 165 166/* quota ops */ 167extern int xfs_qm_scall_trunc_qfiles(struct xfs_mount *, uint); 168extern int xfs_qm_scall_getquota(struct xfs_mount *, xfs_dqid_t, |
168 uint, struct fs_disk_quota *); | 169 uint, struct qc_dqblk *); |
169extern int xfs_qm_scall_setqlim(struct xfs_mount *, xfs_dqid_t, uint, | 170extern int xfs_qm_scall_setqlim(struct xfs_mount *, xfs_dqid_t, uint, |
170 struct fs_disk_quota *); | 171 struct qc_dqblk *); |
171extern int xfs_qm_scall_getqstat(struct xfs_mount *, 172 struct fs_quota_stat *); 173extern int xfs_qm_scall_getqstatv(struct xfs_mount *, 174 struct fs_quota_statv *); 175extern int xfs_qm_scall_quotaon(struct xfs_mount *, uint); 176extern int xfs_qm_scall_quotaoff(struct xfs_mount *, uint); 177 178#endif /* __XFS_QM_H__ */ | 172extern int xfs_qm_scall_getqstat(struct xfs_mount *, 173 struct fs_quota_stat *); 174extern int xfs_qm_scall_getqstatv(struct xfs_mount *, 175 struct fs_quota_statv *); 176extern int xfs_qm_scall_quotaon(struct xfs_mount *, uint); 177extern int xfs_qm_scall_quotaoff(struct xfs_mount *, uint); 178 179#endif /* __XFS_QM_H__ */ |