Searched refs:dqh (Results 1 – 1 of 1) sorted by relevance
137 static int v2_read_header(struct quota_handle *h, struct v2_disk_dqheader *dqh) in v2_read_header() argument139 if (h->e2fs_read(&h->qh_qf, 0, dqh, sizeof(struct v2_disk_dqheader)) != in v2_read_header()151 struct v2_disk_dqheader dqh; in v2_check_file() local157 if (!v2_read_header(h, &dqh)) in v2_check_file()160 if (ext2fs_le32_to_cpu(dqh.dqh_magic) != file_magics[type]) { in v2_check_file()161 if (ext2fs_be32_to_cpu(dqh.dqh_magic) == file_magics[type]) in v2_check_file()165 if (V2_VERSION != ext2fs_le32_to_cpu(dqh.dqh_version)) in v2_check_file()