Home
last modified time | relevance | path

Searched refs:dqhead (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/fs/quota/
H A Dquota_v2.c58 struct v2_disk_dqheader *dqhead) in v2_read_header()
62 size = sb->s_op->quota_read(sb, type, (char *)dqhead, in v2_read_header()
77 struct v2_disk_dqheader dqhead; in v2_check_quota_file() local
81 if (v2_read_header(sb, type, &dqhead)) in v2_check_quota_file()
83 if (le32_to_cpu(dqhead.dqh_magic) != quota_magics[type] || in v2_check_quota_file()
84 le32_to_cpu(dqhead.dqh_version) > quota_versions[type]) in v2_check_quota_file()
93 struct v2_disk_dqheader dqhead; in v2_read_file_info() local
102 ret = v2_read_header(sb, type, &dqhead); in v2_read_file_info()
105 version = le32_to_cpu(dqhead.dqh_version); in v2_read_file_info()
57 v2_read_header(struct super_block *sb, int type, struct v2_disk_dqheader *dqhead) v2_read_header() argument
H A Dquota_v1.c132 struct v2_disk_dqheader dqhead; in v1_check_quota_file() local
147 size = sb->s_op->quota_read(sb, type, (char *)&dqhead, in v1_check_quota_file()
151 if (le32_to_cpu(dqhead.dqh_magic) != quota_magics[type]) in v1_check_quota_file()
/kernel/linux/linux-6.6/fs/quota/
H A Dquota_v2.c58 struct v2_disk_dqheader *dqhead) in v2_read_header()
62 size = sb->s_op->quota_read(sb, type, (char *)dqhead, in v2_read_header()
77 struct v2_disk_dqheader dqhead; in v2_check_quota_file() local
81 if (v2_read_header(sb, type, &dqhead)) in v2_check_quota_file()
83 if (le32_to_cpu(dqhead.dqh_magic) != quota_magics[type] || in v2_check_quota_file()
84 le32_to_cpu(dqhead.dqh_version) > quota_versions[type]) in v2_check_quota_file()
93 struct v2_disk_dqheader dqhead; in v2_read_file_info() local
102 ret = v2_read_header(sb, type, &dqhead); in v2_read_file_info()
105 version = le32_to_cpu(dqhead.dqh_version); in v2_read_file_info()
57 v2_read_header(struct super_block *sb, int type, struct v2_disk_dqheader *dqhead) v2_read_header() argument
H A Dquota_v1.c132 struct v2_disk_dqheader dqhead; in v1_check_quota_file() local
147 size = sb->s_op->quota_read(sb, type, (char *)&dqhead, in v1_check_quota_file()
151 if (le32_to_cpu(dqhead.dqh_magic) != quota_magics[type]) in v1_check_quota_file()
/kernel/linux/linux-5.10/fs/ocfs2/
H A Dquota_local.c171 struct ocfs2_disk_dqheader *dqhead; in ocfs2_local_check_quota_file() local
182 dqhead = (struct ocfs2_disk_dqheader *)(bh->b_data); in ocfs2_local_check_quota_file()
183 if (le32_to_cpu(dqhead->dqh_magic) != lmagics[type]) { in ocfs2_local_check_quota_file()
185 " type=%d\n", le32_to_cpu(dqhead->dqh_magic), in ocfs2_local_check_quota_file()
189 if (le32_to_cpu(dqhead->dqh_version) != lversions[type]) { in ocfs2_local_check_quota_file()
191 " type=%d\n", le32_to_cpu(dqhead->dqh_version), in ocfs2_local_check_quota_file()
214 dqhead = (struct ocfs2_disk_dqheader *)(bh->b_data); in ocfs2_local_check_quota_file()
215 if (le32_to_cpu(dqhead->dqh_magic) != gmagics[type]) { in ocfs2_local_check_quota_file()
218 le32_to_cpu(dqhead->dqh_magic), gmagics[type], type); in ocfs2_local_check_quota_file()
221 if (le32_to_cpu(dqhead in ocfs2_local_check_quota_file()
[all...]
/kernel/linux/linux-6.6/fs/ocfs2/
H A Dquota_local.c171 struct ocfs2_disk_dqheader *dqhead; in ocfs2_local_check_quota_file() local
182 dqhead = (struct ocfs2_disk_dqheader *)(bh->b_data); in ocfs2_local_check_quota_file()
183 if (le32_to_cpu(dqhead->dqh_magic) != lmagics[type]) { in ocfs2_local_check_quota_file()
185 " type=%d\n", le32_to_cpu(dqhead->dqh_magic), in ocfs2_local_check_quota_file()
189 if (le32_to_cpu(dqhead->dqh_version) != lversions[type]) { in ocfs2_local_check_quota_file()
191 " type=%d\n", le32_to_cpu(dqhead->dqh_version), in ocfs2_local_check_quota_file()
214 dqhead = (struct ocfs2_disk_dqheader *)(bh->b_data); in ocfs2_local_check_quota_file()
215 if (le32_to_cpu(dqhead->dqh_magic) != gmagics[type]) { in ocfs2_local_check_quota_file()
218 le32_to_cpu(dqhead->dqh_magic), gmagics[type], type); in ocfs2_local_check_quota_file()
221 if (le32_to_cpu(dqhead in ocfs2_local_check_quota_file()
[all...]

Completed in 5 milliseconds