Lines Matching refs:dh
96 struct qt_disk_dqdbheader *dh)
101 le32_to_cpu(dh->dqdh_next_free), 0,
106 le32_to_cpu(dh->dqdh_prev_free), 0,
116 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf;
126 ret = check_dquot_block_header(info, dh);
129 info->dqi_free_blk = le32_to_cpu(dh->dqdh_next_free);
149 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf;
152 dh->dqdh_next_free = cpu_to_le32(info->dqi_free_blk);
153 dh->dqdh_prev_free = cpu_to_le32(0);
154 dh->dqdh_entries = cpu_to_le16(0);
168 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf;
169 uint nextblk = le32_to_cpu(dh->dqdh_next_free);
170 uint prevblk = le32_to_cpu(dh->dqdh_prev_free);
180 dh->dqdh_prev_free;
190 dh->dqdh_next_free;
199 dh->dqdh_next_free = dh->dqdh_prev_free = cpu_to_le32(0);
215 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf;
220 dh->dqdh_next_free = cpu_to_le32(info->dqi_free_entry);
221 dh->dqdh_prev_free = cpu_to_le32(0);
261 struct qt_disk_dqdbheader *dh;
270 dh = (struct qt_disk_dqdbheader *)buf;
276 *err = check_dquot_block_header(info, dh);
293 if (le16_to_cpu(dh->dqdh_entries) + 1 >= qtree_dqstr_in_blk(info)) {
301 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) ==