Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/quota/
Dquota_v2.c147 qinfo->dqi_blocks = le32_to_cpu(dinfo.dqi_blocks); in v2_read_file_info()
162 if ((loff_t)qinfo->dqi_blocks << qinfo->dqi_blocksize_bits > in v2_read_file_info()
165 (loff_t)qinfo->dqi_blocks << qinfo->dqi_blocksize_bits, in v2_read_file_info()
169 if (qinfo->dqi_free_blk >= qinfo->dqi_blocks) { in v2_read_file_info()
171 qinfo->dqi_free_blk, qinfo->dqi_blocks); in v2_read_file_info()
174 if (qinfo->dqi_free_entry >= qinfo->dqi_blocks) { in v2_read_file_info()
176 qinfo->dqi_free_entry, qinfo->dqi_blocks); in v2_read_file_info()
207 dinfo.dqi_blocks = cpu_to_le32(qinfo->dqi_blocks); in v2_write_file_info()
Dquota_tree.c102 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()
Dquotaio_v2.h68 __le32 dqi_blocks; /* Number of blocks in file */ member
/kernel/linux/linux-5.10/fs/ocfs2/
Dquota_local.c290 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()
Dquota.h54 unsigned int dqi_blocks; /* Number of blocks allocated for local quota file */ member
Dquota_global.c396 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()
Docfs2_fs.h1154 __le32 dqi_blocks; /* Number of blocks in quota file */ member
1204 __le32 dqi_blocks; /* Number of blocks allocated for quota file */ member
Ddlmglue.c4161 lvb->lvb_blocks = cpu_to_be32(oinfo->dqi_gi.dqi_blocks); in ocfs2_set_qinfo_lvb()
4191 oinfo->dqi_gi.dqi_blocks = be32_to_cpu(lvb->lvb_blocks); in ocfs2_refresh_qinfo()
4207 oinfo->dqi_gi.dqi_blocks = le32_to_cpu(gdinfo->dqi_blocks); in ocfs2_refresh_qinfo()
/kernel/linux/linux-5.10/include/linux/
Ddqblk_qtree.h32 unsigned int dqi_blocks; /* # of blocks in quota file */ member