Lines Matching refs:dh
93 struct qt_disk_dqdbheader *dh)
98 le32_to_cpu(dh->dqdh_next_free), 0,
103 le32_to_cpu(dh->dqdh_prev_free), 0,
108 le16_to_cpu(dh->dqdh_entries), 0,
118 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf;
128 ret = check_dquot_block_header(info, dh);
131 info->dqi_free_blk = le32_to_cpu(dh->dqdh_next_free);
151 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf;
154 dh->dqdh_next_free = cpu_to_le32(info->dqi_free_blk);
155 dh->dqdh_prev_free = cpu_to_le32(0);
156 dh->dqdh_entries = cpu_to_le16(0);
170 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf;
171 uint nextblk = le32_to_cpu(dh->dqdh_next_free);
172 uint prevblk = le32_to_cpu(dh->dqdh_prev_free);
182 dh->dqdh_prev_free;
192 dh->dqdh_next_free;
201 dh->dqdh_next_free = dh->dqdh_prev_free = cpu_to_le32(0);
217 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf;
222 dh->dqdh_next_free = cpu_to_le32(info->dqi_free_entry);
223 dh->dqdh_prev_free = cpu_to_le32(0);
263 struct qt_disk_dqdbheader *dh;
272 dh = (struct qt_disk_dqdbheader *)buf;
278 *err = check_dquot_block_header(info, dh);
295 if (le16_to_cpu(dh->dqdh_entries) + 1 >= qtree_dqstr_in_blk(info)) {
303 le16_add_cpu(&dh->dqdh_entries, 1);
482 struct qt_disk_dqdbheader *dh;
501 dh = (struct qt_disk_dqdbheader *)buf;
502 ret = check_dquot_block_header(info, dh);
505 le16_add_cpu(&dh->dqdh_entries, -1);
506 if (!le16_to_cpu(dh->dqdh_entries)) { /* Block got free? */
519 if (le16_to_cpu(dh->dqdh_entries) ==