Lines Matching refs:ddquot
200 char *ddquot; in find_free_dqentry() local
234 ddquot = buf + sizeof(struct qt_disk_dqdbheader); in find_free_dqentry()
236 i < qtree_dqstr_in_blk(info) && !qtree_entry_unused(info, ddquot); in find_free_dqentry()
238 ddquot += info->dqi_entry_size; in find_free_dqentry()
319 char *ddquot; in qtree_write_dquot() local
326 retval = ext2fs_get_mem(info->dqi_entry_size, &ddquot); in qtree_write_dquot()
333 memset(ddquot, 0, info->dqi_entry_size); in qtree_write_dquot()
337 info->dqi_ops->mem2disk_dqblk(ddquot, dquot); in qtree_write_dquot()
341 ret = h->e2fs_write(&h->qh_qf, dquot->dq_dqb.u.v2_mdqb.dqb_off, ddquot, in qtree_write_dquot()
350 ext2fs_free_mem(&ddquot); in qtree_write_dquot()
451 char *ddquot = buf + sizeof(struct qt_disk_dqdbheader); in find_block_dqentry() local
458 i < qtree_dqstr_in_blk(info) && !info->dqi_ops->is_id(ddquot, dquot); in find_block_dqentry()
460 ddquot += info->dqi_entry_size; in find_block_dqentry()
511 char *ddquot; in qtree_read_dquot() local
516 if (ext2fs_get_mem(info->dqi_entry_size, &ddquot)) { in qtree_read_dquot()
529 ret = h->e2fs_read(&h->qh_qf, offset, ddquot, in qtree_read_dquot()
537 info->dqi_ops->disk2mem_dqblk(dquot, ddquot); in qtree_read_dquot()
539 ext2fs_free_mem(&ddquot); in qtree_read_dquot()