Lines Matching refs:dh
91 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf; in get_free_dqblk() local
101 info->dqi_free_blk = ext2fs_le32_to_cpu(dh->dqdh_next_free); in get_free_dqblk()
121 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf; in put_free_dqblk() local
124 dh->dqdh_next_free = ext2fs_cpu_to_le32(info->dqi_free_blk); in put_free_dqblk()
125 dh->dqdh_prev_free = ext2fs_cpu_to_le32(0); in put_free_dqblk()
126 dh->dqdh_entries = ext2fs_cpu_to_le16(0); in put_free_dqblk()
136 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf; in remove_free_dqentry() local
137 uint nextblk = ext2fs_le32_to_cpu(dh->dqdh_next_free), prevblk = in remove_free_dqentry()
139 ext2fs_le32_to_cpu(dh->dqdh_prev_free); in remove_free_dqentry()
147 dh->dqdh_prev_free; in remove_free_dqentry()
153 dh->dqdh_next_free; in remove_free_dqentry()
160 dh->dqdh_next_free = dh->dqdh_prev_free = ext2fs_cpu_to_le32(0); in remove_free_dqentry()
169 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf; in insert_free_dqentry() local
175 dh->dqdh_next_free = ext2fs_cpu_to_le32(info->dqi_free_entry); in insert_free_dqentry()
176 dh->dqdh_prev_free = ext2fs_cpu_to_le32(0); in insert_free_dqentry()
194 struct qt_disk_dqdbheader *dh; in find_free_dqentry() local
206 dh = (struct qt_disk_dqdbheader *)buf; in find_free_dqentry()
223 if (ext2fs_le16_to_cpu(dh->dqdh_entries) + 1 >= in find_free_dqentry()
227 dh->dqdh_entries = in find_free_dqentry()
228 ext2fs_cpu_to_le16(ext2fs_le16_to_cpu(dh->dqdh_entries) + 1); in find_free_dqentry()
350 struct qt_disk_dqdbheader *dh; in free_dqentry() local
364 dh = (struct qt_disk_dqdbheader *)buf; in free_dqentry()
365 dh->dqdh_entries = in free_dqentry()
366 ext2fs_cpu_to_le16(ext2fs_le16_to_cpu(dh->dqdh_entries) - 1); in free_dqentry()
368 if (!ext2fs_le16_to_cpu(dh->dqdh_entries)) { /* Block got free? */ in free_dqentry()
377 if (ext2fs_le16_to_cpu(dh->dqdh_entries) == in free_dqentry()
549 struct qt_disk_dqdbheader *dh; in report_block() local
558 dh = (struct qt_disk_dqdbheader *)buf; in report_block()
560 entries = ext2fs_le16_to_cpu(dh->dqdh_entries); in report_block()