Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A Dshmem_quota.c218 dquot->dq_dqb.dqb_bhardlimit = entry->bhardlimit; in shmem_acquire_dquot()
219 dquot->dq_dqb.dqb_bsoftlimit = entry->bsoftlimit; in shmem_acquire_dquot()
220 dquot->dq_dqb.dqb_ihardlimit = entry->ihardlimit; in shmem_acquire_dquot()
223 if (!dquot->dq_dqb.dqb_bhardlimit && in shmem_acquire_dquot()
224 !dquot->dq_dqb.dqb_bsoftlimit && in shmem_acquire_dquot()
225 !dquot->dq_dqb.dqb_ihardlimit && in shmem_acquire_dquot()
226 !dquot->dq_dqb.dqb_isoftlimit) in shmem_acquire_dquot()
254 (dquot->dq_dqb.dqb_curspace == 0 && in shmem_is_empty_dquot()
255 dquot->dq_dqb.dqb_curinodes == 0 && in shmem_is_empty_dquot()
256 dquot->dq_dqb.dqb_bhardlimit == bhardlimit && in shmem_is_empty_dquot()
[all …]
/openbmc/linux/fs/ocfs2/
H 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()
514 olditime = dquot->dq_dqb.dqb_itime; in __ocfs2_sync_dquot()
528 dquot->dq_dqb.dqb_curspace > dquot->dq_dqb.dqb_bsoftlimit) { in __ocfs2_sync_dquot()
531 if (dquot->dq_dqb.dqb_btime > 0) in __ocfs2_sync_dquot()
532 dquot->dq_dqb.dqb_btime = in __ocfs2_sync_dquot()
538 dquot->dq_dqb.dqb_btime = 0; in __ocfs2_sync_dquot()
543 dquot->dq_dqb.dqb_curinodes > dquot->dq_dqb.dqb_isoftlimit) { in __ocfs2_sync_dquot()
546 if (dquot->dq_dqb.dqb_itime > 0) in __ocfs2_sync_dquot()
547 dquot->dq_dqb.dqb_itime = in __ocfs2_sync_dquot()
[all …]
H 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()
882 dqblk->dqb_spacemod = cpu_to_le64(od->dq_dquot.dq_dqb.dqb_curspace - in olq_set_dquot()
884 dqblk->dqb_inodemod = cpu_to_le64(od->dq_dquot.dq_dqb.dqb_curinodes - in olq_set_dquot()
/openbmc/linux/fs/quota/
H A Ddquot.c1144 dquot->dq_dqb.dqb_rsvspace = 0; in dquot_free_reserved_space()
1146 if (dquot->dq_dqb.dqb_curspace + dquot->dq_dqb.dqb_rsvspace <= in dquot_free_reserved_space()
1159 if (dquot->dq_dqb.dqb_curinodes <= dquot->dq_dqb.dqb_isoftlimit) in dquot_decr_inodes()
1170 dquot->dq_dqb.dqb_curspace = 0; in dquot_decr_space()
1171 if (dquot->dq_dqb.dqb_curspace + dquot->dq_dqb.dqb_rsvspace <= in dquot_decr_space()
1322 dquot->dq_dqb.dqb_itime && in dquot_add_inodes()
1358 tspace = dquot->dq_dqb.dqb_curspace + dquot->dq_dqb.dqb_rsvspace in dquot_add_space()
1372 dquot->dq_dqb.dqb_btime && in dquot_add_space()
1418 dquot->dq_dqb.dqb_curinodes <= dquot->dq_dqb.dqb_isoftlimit || in info_idq_free()
1425 if (dquot->dq_dqb.dqb_curinodes >= dquot->dq_dqb.dqb_ihardlimit && in info_idq_free()
[all …]
H 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()
H A Dquota_tree.c745 memset(&dquot->dq_dqb, 0, sizeof(struct mem_dqblk)); in qtree_read_dquot()
762 memset(&dquot->dq_dqb, 0, sizeof(struct mem_dqblk)); in qtree_read_dquot()
768 if (!dquot->dq_dqb.dqb_bhardlimit && in qtree_read_dquot()
769 !dquot->dq_dqb.dqb_bsoftlimit && in qtree_read_dquot()
770 !dquot->dq_dqb.dqb_ihardlimit && in qtree_read_dquot()
771 !dquot->dq_dqb.dqb_isoftlimit) in qtree_read_dquot()
786 !(dquot->dq_dqb.dqb_curinodes | dquot->dq_dqb.dqb_curspace)) in qtree_release_dquot()
H A Dquota_v2.c226 struct mem_dqblk *m = &dquot->dq_dqb; in v2r0_disk2memdqb()
246 struct mem_dqblk *m = &dquot->dq_dqb; in v2r0_mem2diskdqb()
279 struct mem_dqblk *m = &dquot->dq_dqb; in v2r1_disk2memdqb()
299 struct mem_dqblk *m = &dquot->dq_dqb; in v2r1_mem2diskdqb()
/openbmc/linux/include/linux/
H A Dquota.h308 struct mem_dqblk dq_dqb; /* Diskquota usage [dq_dqb_lock] */ member
/openbmc/linux/fs/f2fs/
H A Dsuper.c1757 limit = min_not_zero(dquot->dq_dqb.dqb_bsoftlimit, in f2fs_statfs_project()
1758 dquot->dq_dqb.dqb_bhardlimit); in f2fs_statfs_project()
1763 curblock = (dquot->dq_dqb.dqb_curspace + in f2fs_statfs_project()
1764 dquot->dq_dqb.dqb_rsvspace) >> sb->s_blocksize_bits; in f2fs_statfs_project()
1771 limit = min_not_zero(dquot->dq_dqb.dqb_isoftlimit, in f2fs_statfs_project()
1772 dquot->dq_dqb.dqb_ihardlimit); in f2fs_statfs_project()
1777 (buf->f_files > dquot->dq_dqb.dqb_curinodes) ? in f2fs_statfs_project()
1778 (buf->f_files - dquot->dq_dqb.dqb_curinodes) : 0; in f2fs_statfs_project()
/openbmc/linux/fs/ext4/
H A Dsuper.c6794 limit = min_not_zero(dquot->dq_dqb.dqb_bsoftlimit, in ext4_statfs_project()
6795 dquot->dq_dqb.dqb_bhardlimit); in ext4_statfs_project()
6799 curblock = (dquot->dq_dqb.dqb_curspace + in ext4_statfs_project()
6800 dquot->dq_dqb.dqb_rsvspace) >> sb->s_blocksize_bits; in ext4_statfs_project()
6807 limit = min_not_zero(dquot->dq_dqb.dqb_isoftlimit, in ext4_statfs_project()
6808 dquot->dq_dqb.dqb_ihardlimit); in ext4_statfs_project()
6812 (buf->f_files > dquot->dq_dqb.dqb_curinodes) ? in ext4_statfs_project()
6813 (buf->f_files - dquot->dq_dqb.dqb_curinodes) : 0; in ext4_statfs_project()