Searched refs:dq_dqb (Results 1 – 10 of 10) sorted by relevance
/linux-6.6.21/mm/ |
D | shmem_quota.c | 215 dquot->dq_dqb.dqb_bhardlimit = entry->bhardlimit; in shmem_acquire_dquot() 216 dquot->dq_dqb.dqb_bsoftlimit = entry->bsoftlimit; in shmem_acquire_dquot() 217 dquot->dq_dqb.dqb_ihardlimit = entry->ihardlimit; in shmem_acquire_dquot() 218 dquot->dq_dqb.dqb_isoftlimit = entry->isoftlimit; in shmem_acquire_dquot() 220 if (!dquot->dq_dqb.dqb_bhardlimit && in shmem_acquire_dquot() 221 !dquot->dq_dqb.dqb_bsoftlimit && in shmem_acquire_dquot() 222 !dquot->dq_dqb.dqb_ihardlimit && in shmem_acquire_dquot() 223 !dquot->dq_dqb.dqb_isoftlimit) in shmem_acquire_dquot() 251 (dquot->dq_dqb.dqb_curspace == 0 && in shmem_is_empty_dquot() 252 dquot->dq_dqb.dqb_curinodes == 0 && in shmem_is_empty_dquot() [all …]
|
/linux-6.6.21/fs/ocfs2/ |
D | quota_global.c | 74 struct mem_dqblk *m = &dquot->dq_dqb; in ocfs2_global_disk2memdqb() 99 struct mem_dqblk *m = &dquot->dq_dqb; in ocfs2_global_mem2diskdqb() 510 spacechange = dquot->dq_dqb.dqb_curspace - in __ocfs2_sync_dquot() 512 inodechange = dquot->dq_dqb.dqb_curinodes - in __ocfs2_sync_dquot() 514 olditime = dquot->dq_dqb.dqb_itime; in __ocfs2_sync_dquot() 515 oldbtime = dquot->dq_dqb.dqb_btime; in __ocfs2_sync_dquot() 518 dquot->dq_dqb.dqb_curspace, in __ocfs2_sync_dquot() 520 dquot->dq_dqb.dqb_curinodes, in __ocfs2_sync_dquot() 523 dquot->dq_dqb.dqb_curspace += spacechange; in __ocfs2_sync_dquot() 525 dquot->dq_dqb.dqb_curinodes += inodechange; in __ocfs2_sync_dquot() [all …]
|
D | quota_local.c | 530 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() 878 dqblk->dqb_spacemod = cpu_to_le64(od->dq_dquot.dq_dqb.dqb_curspace - in olq_set_dquot() 880 dqblk->dqb_inodemod = cpu_to_le64(od->dq_dquot.dq_dqb.dqb_curinodes - in olq_set_dquot()
|
/linux-6.6.21/fs/quota/ |
D | dquot.c | 1137 if (dquot->dq_dqb.dqb_rsvspace >= number) in dquot_free_reserved_space() 1138 dquot->dq_dqb.dqb_rsvspace -= number; in dquot_free_reserved_space() 1141 dquot->dq_dqb.dqb_rsvspace = 0; in dquot_free_reserved_space() 1143 if (dquot->dq_dqb.dqb_curspace + dquot->dq_dqb.dqb_rsvspace <= in dquot_free_reserved_space() 1144 dquot->dq_dqb.dqb_bsoftlimit) in dquot_free_reserved_space() 1145 dquot->dq_dqb.dqb_btime = (time64_t) 0; in dquot_free_reserved_space() 1152 dquot->dq_dqb.dqb_curinodes >= number) in dquot_decr_inodes() 1153 dquot->dq_dqb.dqb_curinodes -= number; in dquot_decr_inodes() 1155 dquot->dq_dqb.dqb_curinodes = 0; in dquot_decr_inodes() 1156 if (dquot->dq_dqb.dqb_curinodes <= dquot->dq_dqb.dqb_isoftlimit) in dquot_decr_inodes() [all …]
|
D | quota_v1.c | 71 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()
|
D | quota_tree.c | 681 memset(&dquot->dq_dqb, 0, sizeof(struct mem_dqblk)); in qtree_read_dquot() 698 memset(&dquot->dq_dqb, 0, sizeof(struct mem_dqblk)); in qtree_read_dquot() 704 if (!dquot->dq_dqb.dqb_bhardlimit && in qtree_read_dquot() 705 !dquot->dq_dqb.dqb_bsoftlimit && in qtree_read_dquot() 706 !dquot->dq_dqb.dqb_ihardlimit && in qtree_read_dquot() 707 !dquot->dq_dqb.dqb_isoftlimit) in qtree_read_dquot() 722 !(dquot->dq_dqb.dqb_curinodes | dquot->dq_dqb.dqb_curspace)) in qtree_release_dquot()
|
D | quota_v2.c | 223 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-6.6.21/include/linux/ |
D | quota.h | 308 struct mem_dqblk dq_dqb; /* Diskquota usage [dq_dqb_lock] */ member
|
/linux-6.6.21/fs/f2fs/ |
D | super.c | 1794 limit = min_not_zero(dquot->dq_dqb.dqb_bsoftlimit, in f2fs_statfs_project() 1795 dquot->dq_dqb.dqb_bhardlimit); in f2fs_statfs_project() 1800 curblock = (dquot->dq_dqb.dqb_curspace + in f2fs_statfs_project() 1801 dquot->dq_dqb.dqb_rsvspace) >> sb->s_blocksize_bits; in f2fs_statfs_project() 1808 limit = min_not_zero(dquot->dq_dqb.dqb_isoftlimit, in f2fs_statfs_project() 1809 dquot->dq_dqb.dqb_ihardlimit); in f2fs_statfs_project() 1814 (buf->f_files > dquot->dq_dqb.dqb_curinodes) ? in f2fs_statfs_project() 1815 (buf->f_files - dquot->dq_dqb.dqb_curinodes) : 0; in f2fs_statfs_project()
|
/linux-6.6.21/fs/ext4/ |
D | super.c | 6780 limit = min_not_zero(dquot->dq_dqb.dqb_bsoftlimit, in ext4_statfs_project() 6781 dquot->dq_dqb.dqb_bhardlimit); in ext4_statfs_project() 6785 curblock = (dquot->dq_dqb.dqb_curspace + in ext4_statfs_project() 6786 dquot->dq_dqb.dqb_rsvspace) >> sb->s_blocksize_bits; in ext4_statfs_project() 6793 limit = min_not_zero(dquot->dq_dqb.dqb_isoftlimit, in ext4_statfs_project() 6794 dquot->dq_dqb.dqb_ihardlimit); in ext4_statfs_project() 6798 (buf->f_files > dquot->dq_dqb.dqb_curinodes) ? in ext4_statfs_project() 6799 (buf->f_files - dquot->dq_dqb.dqb_curinodes) : 0; in ext4_statfs_project()
|