Home
last modified time | relevance | path

Searched refs:qsize_t (Results 1 – 14 of 14) sorted by relevance

/linux/include/linux/
H A Dquotaops.h72 int __dquot_alloc_space(struct inode *inode, qsize_t number, int flags);
73 void __dquot_free_space(struct inode *inode, qsize_t number, int flags);
77 void dquot_claim_space_nodirty(struct inode *inode, qsize_t number);
79 void dquot_reclaim_space_nodirty(struct inode *inode, qsize_t number);
245 static inline int __dquot_alloc_space(struct inode *inode, qsize_t number, in __dquot_alloc_space()
253 static inline void __dquot_free_space(struct inode *inode, qsize_t number, in __dquot_free_space()
260 static inline void dquot_claim_space_nodirty(struct inode *inode, qsize_t number) in dquot_claim_space_nodirty()
266 qsize_t number) in dquot_reclaim_space_nodirty()
297 static inline int dquot_alloc_space_nodirty(struct inode *inode, qsize_t nr) in dquot_alloc_space_nodirty()
302 static inline void dquot_alloc_space_nofail(struct inode *inode, qsize_t nr) in dquot_alloc_space_nofail()
[all …]
H A Dquota.h66 typedef long long qsize_t; /* Type in which we store sizes */ typedef
206 qsize_t dqb_bhardlimit; /* absolute limit on disk blks alloc */
207 qsize_t dqb_bsoftlimit; /* preferred limit on disk blks */
208 qsize_t dqb_curspace; /* current used space */
209 qsize_t dqb_rsvspace; /* current reserved space for delalloc*/
210 qsize_t dqb_ihardlimit; /* absolute limit on allocated inodes */
211 qsize_t dqb_isoftlimit; /* preferred inode limit */
212 qsize_t dqb_curinodes; /* current # allocated inodes */
230 qsize_t dqi_max_spc_limit; /* Maximum space limit [static] */
231 qsize_t dqi_max_ino_limit; /* Maximum inode limit [static] */
[all …]
H A Dshmem_fs.h51 qsize_t usrquota_bhardlimit; /* Default user quota block hard limit */
52 qsize_t usrquota_ihardlimit; /* Default user quota inode hard limit */
53 qsize_t grpquota_bhardlimit; /* Default group quota block hard limit */
54 qsize_t grpquota_ihardlimit; /* Default group quota inode hard limit */
/linux/mm/
H A Dshmem_quota.c49 qsize_t bhardlimit;
50 qsize_t bsoftlimit;
51 qsize_t ihardlimit;
52 qsize_t isoftlimit;
240 qsize_t bhardlimit; in shmem_is_empty_dquot()
241 qsize_t ihardlimit; in shmem_is_empty_dquot()
/linux/fs/quota/
H A Dquota_v1.c22 static inline qsize_t v1_stoqb(qsize_t space) in v1_stoqb()
27 static inline qsize_t v1_qbtos(qsize_t blocks) in v1_qbtos()
H A Ddquot.c266 static qsize_t inode_get_rsv_space(struct inode *inode);
267 static qsize_t __inode_get_rsv_space(struct inode *inode);
1129 void dquot_free_reserved_space(struct dquot *dquot, qsize_t number) in dquot_free_reserved_space()
1143 static void dquot_decr_inodes(struct dquot *dquot, qsize_t number) in dquot_decr_inodes()
1155 static void dquot_decr_space(struct dquot *dquot, qsize_t number) in dquot_decr_space()
1291 static int dquot_add_inodes(struct dquot *dquot, qsize_t inodes, in dquot_add_inodes()
1294 qsize_t newinodes; in dquot_add_inodes()
1336 static int dquot_add_space(struct dquot *dquot, qsize_t space, in dquot_add_space()
1337 qsize_t rsv_space, unsigned int flags, in dquot_add_space()
1340 qsize_t tspace; in dquot_add_space()
[all …]
H A Dquota_v2.c47 static inline qsize_t v2_stoqb(qsize_t space) in v2_stoqb()
52 static inline qsize_t v2_qbtos(qsize_t blocks) in v2_qbtos()
H A Dquota.c177 static inline qsize_t qbtos(qsize_t blocks) in qbtos()
182 static inline qsize_t stoqb(qsize_t space) in stoqb()
/linux/fs/ext4/
H A Dxattr.h226 extern int ext4_get_inode_usage(struct inode *inode, qsize_t *usage);
H A Dioctl.c379 qsize_t size, size_bl, diff; in swap_inode_boot_loader()
456 size = (qsize_t)(inode->i_blocks) * (1 << 9) + inode->i_bytes; in swap_inode_boot_loader()
457 size_bl = (qsize_t)(inode_bl->i_blocks) * (1 << 9) + inode_bl->i_bytes; in swap_inode_boot_loader()
H A Dxattr.c863 int ext4_get_inode_usage(struct inode *inode, qsize_t *usage) in ext4_get_inode_usage()
870 qsize_t ea_inode_refs = 0; in ext4_get_inode_usage()
H A Dext4.h1142 qsize_t i_reserved_quota;
3029 extern qsize_t *ext4_get_reserved_space(struct inode *inode);
H A Dinode.c327 qsize_t *ext4_get_reserved_space(struct inode *inode) in ext4_get_reserved_space()
/linux/fs/ocfs2/
H A Dquota_local.c472 qsize_t spacechange, inodechange; in ocfs2_recover_local_quota_file()