Lines Matching refs:dh
87 struct qt_disk_dqdbheader *dh)
92 le32_to_cpu(dh->dqdh_next_free), 0,
97 le32_to_cpu(dh->dqdh_prev_free), 0,
102 le16_to_cpu(dh->dqdh_entries), 0,
112 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf;
122 ret = check_dquot_block_header(info, dh);
125 info->dqi_free_blk = le32_to_cpu(dh->dqdh_next_free);
145 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf;
148 dh->dqdh_next_free = cpu_to_le32(info->dqi_free_blk);
149 dh->dqdh_prev_free = cpu_to_le32(0);
150 dh->dqdh_entries = cpu_to_le16(0);
164 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf;
165 uint nextblk = le32_to_cpu(dh->dqdh_next_free);
166 uint prevblk = le32_to_cpu(dh->dqdh_prev_free);
176 dh->dqdh_prev_free;
186 dh->dqdh_next_free;
195 dh->dqdh_next_free = dh->dqdh_prev_free = cpu_to_le32(0);
211 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf;
216 dh->dqdh_next_free = cpu_to_le32(info->dqi_free_entry);
217 dh->dqdh_prev_free = cpu_to_le32(0);
257 struct qt_disk_dqdbheader *dh;
266 dh = (struct qt_disk_dqdbheader *)buf;
272 *err = check_dquot_block_header(info, dh);
289 if (le16_to_cpu(dh->dqdh_entries) + 1 >= qtree_dqstr_in_blk(info)) {
297 le16_add_cpu(&dh->dqdh_entries, 1);
451 struct qt_disk_dqdbheader *dh;
470 dh = (struct qt_disk_dqdbheader *)buf;
471 ret = check_dquot_block_header(info, dh);
474 le16_add_cpu(&dh->dqdh_entries, -1);
475 if (!le16_to_cpu(dh->dqdh_entries)) { /* Block got free? */
488 if (le16_to_cpu(dh->dqdh_entries) ==