• Home
  • Raw
  • Download

Lines Matching full:dh

96 				    struct qt_disk_dqdbheader *dh)  in check_dquot_block_header()  argument
101 le32_to_cpu(dh->dqdh_next_free), 0, in check_dquot_block_header()
106 le32_to_cpu(dh->dqdh_prev_free), 0, in check_dquot_block_header()
116 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf; in get_free_dqblk() local
126 ret = check_dquot_block_header(info, dh); in get_free_dqblk()
129 info->dqi_free_blk = le32_to_cpu(dh->dqdh_next_free); in get_free_dqblk()
149 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf; in put_free_dqblk() local
152 dh->dqdh_next_free = cpu_to_le32(info->dqi_free_blk); in put_free_dqblk()
153 dh->dqdh_prev_free = cpu_to_le32(0); in put_free_dqblk()
154 dh->dqdh_entries = cpu_to_le16(0); in put_free_dqblk()
168 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf; in remove_free_dqentry() local
169 uint nextblk = le32_to_cpu(dh->dqdh_next_free); in remove_free_dqentry()
170 uint prevblk = le32_to_cpu(dh->dqdh_prev_free); in remove_free_dqentry()
180 dh->dqdh_prev_free; in remove_free_dqentry()
190 dh->dqdh_next_free; in remove_free_dqentry()
199 dh->dqdh_next_free = dh->dqdh_prev_free = cpu_to_le32(0); in remove_free_dqentry()
215 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf; in insert_free_dqentry() local
220 dh->dqdh_next_free = cpu_to_le32(info->dqi_free_entry); in insert_free_dqentry()
221 dh->dqdh_prev_free = cpu_to_le32(0); in insert_free_dqentry()
261 struct qt_disk_dqdbheader *dh; in find_free_dqentry() local
270 dh = (struct qt_disk_dqdbheader *)buf; in find_free_dqentry()
276 *err = check_dquot_block_header(info, dh); in find_free_dqentry()
293 if (le16_to_cpu(dh->dqdh_entries) + 1 >= qtree_dqstr_in_blk(info)) { in find_free_dqentry()
301 le16_add_cpu(&dh->dqdh_entries, 1); in find_free_dqentry()
451 struct qt_disk_dqdbheader *dh; in free_dqentry() local
470 dh = (struct qt_disk_dqdbheader *)buf; in free_dqentry()
471 ret = check_dquot_block_header(info, dh); in free_dqentry()
474 le16_add_cpu(&dh->dqdh_entries, -1); in free_dqentry()
475 if (!le16_to_cpu(dh->dqdh_entries)) { /* Block got free? */ in free_dqentry()
488 if (le16_to_cpu(dh->dqdh_entries) == in free_dqentry()