Home
last modified time | relevance | path

Searched refs:dq_dqb (Results 1 – 9 of 9) sorted by relevance

/linux/fs/ocfs2/
A Dquota_global.c74 struct mem_dqblk *m = &dquot->dq_dqb; in ocfs2_global_disk2memdqb()
99 struct mem_dqblk *m = &dquot->dq_dqb; in ocfs2_global_mem2diskdqb()
513 olditime = dquot->dq_dqb.dqb_itime; in __ocfs2_sync_dquot()
527 dquot->dq_dqb.dqb_curspace > dquot->dq_dqb.dqb_bsoftlimit) { in __ocfs2_sync_dquot()
530 if (dquot->dq_dqb.dqb_btime > 0) in __ocfs2_sync_dquot()
531 dquot->dq_dqb.dqb_btime = in __ocfs2_sync_dquot()
537 dquot->dq_dqb.dqb_btime = 0; in __ocfs2_sync_dquot()
542 dquot->dq_dqb.dqb_curinodes > dquot->dq_dqb.dqb_isoftlimit) { in __ocfs2_sync_dquot()
545 if (dquot->dq_dqb.dqb_itime > 0) in __ocfs2_sync_dquot()
546 dquot->dq_dqb.dqb_itime = in __ocfs2_sync_dquot()
[all …]
A Dquota_local.c530 dquot->dq_dqb.dqb_curspace += spacechange; in ocfs2_recover_local_quota_file()
531 dquot->dq_dqb.dqb_curinodes += inodechange; in ocfs2_recover_local_quota_file()
883 dqblk->dqb_spacemod = cpu_to_le64(od->dq_dquot.dq_dqb.dqb_curspace - in olq_set_dquot()
885 dqblk->dqb_inodemod = cpu_to_le64(od->dq_dquot.dq_dqb.dqb_curinodes - in olq_set_dquot()
/linux/fs/quota/
A Ddquot.c1108 dquot->dq_dqb.dqb_rsvspace = 0; in dquot_free_reserved_space()
1110 if (dquot->dq_dqb.dqb_curspace + dquot->dq_dqb.dqb_rsvspace <= in dquot_free_reserved_space()
1123 if (dquot->dq_dqb.dqb_curinodes <= dquot->dq_dqb.dqb_isoftlimit) in dquot_decr_inodes()
1134 dquot->dq_dqb.dqb_curspace = 0; in dquot_decr_space()
1135 if (dquot->dq_dqb.dqb_curspace + dquot->dq_dqb.dqb_rsvspace <= in dquot_decr_space()
1286 dquot->dq_dqb.dqb_itime && in dquot_add_inodes()
1322 tspace = dquot->dq_dqb.dqb_curspace + dquot->dq_dqb.dqb_rsvspace in dquot_add_space()
1336 dquot->dq_dqb.dqb_btime && in dquot_add_space()
1382 dquot->dq_dqb.dqb_curinodes <= dquot->dq_dqb.dqb_isoftlimit || in info_idq_free()
1389 if (dquot->dq_dqb.dqb_curinodes >= dquot->dq_dqb.dqb_ihardlimit && in info_idq_free()
[all …]
A Dquota_v1.c71 v1_disk2mem_dqblk(&dquot->dq_dqb, &dqblk); in v1_read_dqblk()
72 if (dquot->dq_dqb.dqb_bhardlimit == 0 && in v1_read_dqblk()
73 dquot->dq_dqb.dqb_bsoftlimit == 0 && in v1_read_dqblk()
74 dquot->dq_dqb.dqb_ihardlimit == 0 && in v1_read_dqblk()
75 dquot->dq_dqb.dqb_isoftlimit == 0) in v1_read_dqblk()
88 v1_mem2disk_dqblk(&dqblk, &dquot->dq_dqb); in v1_commit_dqblk()
A Dquota_tree.c638 memset(&dquot->dq_dqb, 0, sizeof(struct mem_dqblk)); in qtree_read_dquot()
655 memset(&dquot->dq_dqb, 0, sizeof(struct mem_dqblk)); in qtree_read_dquot()
661 if (!dquot->dq_dqb.dqb_bhardlimit && in qtree_read_dquot()
662 !dquot->dq_dqb.dqb_bsoftlimit && in qtree_read_dquot()
663 !dquot->dq_dqb.dqb_ihardlimit && in qtree_read_dquot()
664 !dquot->dq_dqb.dqb_isoftlimit) in qtree_read_dquot()
679 !(dquot->dq_dqb.dqb_curinodes | dquot->dq_dqb.dqb_curspace)) in qtree_release_dquot()
A Dquota_v2.c223 struct mem_dqblk *m = &dquot->dq_dqb; in v2r0_disk2memdqb()
243 struct mem_dqblk *m = &dquot->dq_dqb; in v2r0_mem2diskdqb()
276 struct mem_dqblk *m = &dquot->dq_dqb; in v2r1_disk2memdqb()
296 struct mem_dqblk *m = &dquot->dq_dqb; in v2r1_mem2diskdqb()
/linux/include/linux/
A Dquota.h306 struct mem_dqblk dq_dqb; /* Diskquota usage [dq_dqb_lock] */ member
/linux/fs/f2fs/
A Dsuper.c1654 limit = min_not_zero(dquot->dq_dqb.dqb_bsoftlimit, in f2fs_statfs_project()
1655 dquot->dq_dqb.dqb_bhardlimit); in f2fs_statfs_project()
1660 curblock = (dquot->dq_dqb.dqb_curspace + in f2fs_statfs_project()
1661 dquot->dq_dqb.dqb_rsvspace) >> sb->s_blocksize_bits; in f2fs_statfs_project()
1668 limit = min_not_zero(dquot->dq_dqb.dqb_isoftlimit, in f2fs_statfs_project()
1669 dquot->dq_dqb.dqb_ihardlimit); in f2fs_statfs_project()
1674 (buf->f_files > dquot->dq_dqb.dqb_curinodes) ? in f2fs_statfs_project()
1675 (buf->f_files - dquot->dq_dqb.dqb_curinodes) : 0; in f2fs_statfs_project()
/linux/fs/ext4/
A Dsuper.c6053 limit = min_not_zero(dquot->dq_dqb.dqb_bsoftlimit, in ext4_statfs_project()
6054 dquot->dq_dqb.dqb_bhardlimit); in ext4_statfs_project()
6058 curblock = (dquot->dq_dqb.dqb_curspace + in ext4_statfs_project()
6059 dquot->dq_dqb.dqb_rsvspace) >> sb->s_blocksize_bits; in ext4_statfs_project()
6066 limit = min_not_zero(dquot->dq_dqb.dqb_isoftlimit, in ext4_statfs_project()
6067 dquot->dq_dqb.dqb_ihardlimit); in ext4_statfs_project()
6071 (buf->f_files > dquot->dq_dqb.dqb_curinodes) ? in ext4_statfs_project()
6072 (buf->f_files - dquot->dq_dqb.dqb_curinodes) : 0; in ext4_statfs_project()

Completed in 36 milliseconds