Searched refs:dqi_blocks (Results 1 – 8 of 8) sorted by relevance
/fs/quota/ |
D | quota_v2.c | 149 qinfo->dqi_blocks = le32_to_cpu(dinfo.dqi_blocks); in v2_read_file_info() 164 if ((loff_t)qinfo->dqi_blocks << qinfo->dqi_blocksize_bits > in v2_read_file_info() 167 (loff_t)qinfo->dqi_blocks << qinfo->dqi_blocksize_bits, in v2_read_file_info() 171 if (qinfo->dqi_free_blk >= qinfo->dqi_blocks) { in v2_read_file_info() 173 qinfo->dqi_free_blk, qinfo->dqi_blocks); in v2_read_file_info() 176 if (qinfo->dqi_free_entry >= qinfo->dqi_blocks) { in v2_read_file_info() 178 qinfo->dqi_free_entry, qinfo->dqi_blocks); in v2_read_file_info() 209 dinfo.dqi_blocks = cpu_to_le32(qinfo->dqi_blocks); in v2_write_file_info()
|
D | quota_tree.c | 102 info->dqi_blocks - 1); in check_dquot_block_header() 107 info->dqi_blocks - 1); in check_dquot_block_header() 134 ret = write_blk(info, info->dqi_blocks, buf); in get_free_dqblk() 137 blk = info->dqi_blocks++; in get_free_dqblk() 396 if (info->dqi_blocks <= QT_TREEOFF) { in dq_insert_tree() 530 if (newblk < QT_TREEOFF || newblk >= info->dqi_blocks) { in remove_tree() 532 newblk, info->dqi_blocks); in remove_tree() 636 if (blk < QT_TREEOFF || blk >= info->dqi_blocks) { in find_tree_dqentry() 638 blk, info->dqi_blocks); in find_tree_dqentry()
|
D | quotaio_v2.h | 68 __le32 dqi_blocks; /* Number of blocks in file */ member
|
/fs/ocfs2/ |
D | quota_local.c | 290 ldinfo->dqi_blocks = cpu_to_le32(oinfo->dqi_blocks); in olq_update_info() 732 oinfo->dqi_blocks = le32_to_cpu(ldinfo->dqi_blocks); in ocfs2_local_read_info() 825 len = (oinfo->dqi_blocks - in ocfs2_local_free_info() 942 len = (oinfo->dqi_blocks - in ocfs2_find_free_entry() 1007 status = ocfs2_extent_map_get_blocks(lqinode, oinfo->dqi_blocks, in ocfs2_local_quota_add_chunk() 1036 status = ocfs2_extent_map_get_blocks(lqinode, oinfo->dqi_blocks + 1, in ocfs2_local_quota_add_chunk() 1061 oinfo->dqi_blocks += 2; in ocfs2_local_quota_add_chunk() 1113 chunk_blocks = oinfo->dqi_blocks - in ocfs2_extend_local_quota_file() 1134 status = ocfs2_extent_map_get_blocks(lqinode, oinfo->dqi_blocks, in ocfs2_extend_local_quota_file() 1185 oinfo->dqi_blocks++; in ocfs2_extend_local_quota_file()
|
D | quota.h | 54 unsigned int dqi_blocks; /* Number of blocks allocated for local quota file */ member
|
D | quota_global.c | 396 oinfo->dqi_gi.dqi_blocks = le32_to_cpu(dinfo.dqi_blocks); in ocfs2_global_read_info() 430 dinfo.dqi_blocks = cpu_to_le32(oinfo->dqi_gi.dqi_blocks); in __ocfs2_global_write_info()
|
D | ocfs2_fs.h | 1154 __le32 dqi_blocks; /* Number of blocks in quota file */ member 1204 __le32 dqi_blocks; /* Number of blocks allocated for quota file */ member
|
D | dlmglue.c | 4163 lvb->lvb_blocks = cpu_to_be32(oinfo->dqi_gi.dqi_blocks); in ocfs2_set_qinfo_lvb() 4193 oinfo->dqi_gi.dqi_blocks = be32_to_cpu(lvb->lvb_blocks); in ocfs2_refresh_qinfo() 4209 oinfo->dqi_gi.dqi_blocks = le32_to_cpu(gdinfo->dqi_blocks); in ocfs2_refresh_qinfo()
|