Home
last modified time | relevance | path

Searched refs:ddquot (Results 1 – 2 of 2) sorted by relevance

/external/e2fsprogs/lib/support/
Dquotaio_tree.c200 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()
[all …]
/external/f2fs-tools/fsck/
Dquotaio_tree.c200 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
328 retval = quota_get_mem(info->dqi_entry_size, &ddquot); in qtree_write_dquot()
335 memset(ddquot, 0, info->dqi_entry_size); in qtree_write_dquot()
340 info->dqi_ops->mem2disk_dqblk(ddquot, dquot); in qtree_write_dquot()
344 ret = h->write(&h->qh_qf, dquot->dq_dqb.u.v2_mdqb.dqb_off, ddquot, in qtree_write_dquot()
353 quota_free_mem(&ddquot); in qtree_write_dquot()
[all …]