Home
last modified time | relevance | path

Searched refs:qh_qf (Results 1 – 9 of 9) sorted by relevance

/external/e2fsprogs/lib/support/
Dquotaio.c261 h->qh_qf.e2_file = e2_file; in quota_file_open()
262 h->qh_qf.fs = fs; in quota_file_open()
263 h->qh_qf.ino = qf_ino; in quota_file_open()
344 h->qh_qf.fs = fs; in quota_file_create()
366 h->qh_qf.ino = qf_inum; in quota_file_create()
377 h->qh_qf.e2_file = e2_file; in quota_file_create()
416 if (h->qh_qf.e2_file) { in quota_file_close()
419 new_size = compute_inode_size(h->qh_qf.fs, h->qh_qf.ino); in quota_file_close()
420 ext2fs_file_flush(h->qh_qf.e2_file); in quota_file_close()
421 if (ext2fs_file_get_lsize(h->qh_qf.e2_file, &size)) in quota_file_close()
[all …]
Dquotaio_v2.c140 if (h->e2fs_read(&h->qh_qf, 0, dqh, sizeof(struct v2_disk_dqheader)) != in v2_read_header()
184 if (h->e2fs_read(&h->qh_qf, V2_DQINFOOFF, &ddqinfo, in v2_init_io()
206 if (h->e2fs_write(&h->qh_qf, 0, &ddqheader, sizeof(ddqheader)) != in v2_new_io()
221 if (h->e2fs_write(&h->qh_qf, V2_DQINFOOFF, &ddqinfo, in v2_new_io()
237 if (h->e2fs_write(&h->qh_qf, V2_DQINFOOFF, &ddqinfo, sizeof(ddqinfo)) != in v2_write_info()
Dmkquota.c209 if (h->qh_qf.e2_file) in quota_write_inode()
210 ext2fs_file_close(h->qh_qf.e2_file); in quota_write_inode()
211 (void) quota_inode_truncate(fs, h->qh_qf.ino); in quota_write_inode()
216 quota_set_sb_inum(fs, h->qh_qf.ino, qtype); in quota_write_inode()
634 if (qh->qh_qf.e2_file) in quota_update_limits()
635 ext2fs_file_close(qh->qh_qf.e2_file); in quota_update_limits()
693 if (qh.qh_qf.e2_file) in quota_compare_and_update()
694 ext2fs_file_close(qh.qh_qf.e2_file); in quota_compare_and_update()
Dquotaio_tree.c66 err = h->e2fs_read(&h->qh_qf, blk << QT_BLKSIZE_BITS, buf, in read_blk()
79 err = h->e2fs_write(&h->qh_qf, blk << QT_BLKSIZE_BITS, buf, in write_blk()
341 ret = h->e2fs_write(&h->qh_qf, dquot->dq_dqb.u.v2_mdqb.dqb_off, ddquot, in qtree_write_dquot()
529 ret = h->e2fs_read(&h->qh_qf, offset, ddquot, in qtree_read_dquot()
Dquotaio.h124 struct quota_file qh_qf; member
/external/f2fs-tools/fsck/
Dquotaio.c125 h->qh_qf.sbi = sbi; in quota_file_open()
126 h->qh_qf.ino = qf_ino; in quota_file_open()
164 memset(&h->qh_qf, 0, sizeof(h->qh_qf)); in quota_file_create()
165 h->qh_qf.sbi = sbi; in quota_file_create()
166 h->qh_qf.ino = qf_inum; in quota_file_create()
202 f2fs_filesize_update(sbi, h->qh_qf.ino, h->qh_qf.filesize); in quota_file_close()
Dquotaio_v2.c141 if (h->read(&h->qh_qf, 0, dqh, sizeof(struct v2_disk_dqheader)) != in v2_read_header()
182 if (h->read(&h->qh_qf, V2_DQINFOOFF, &ddqinfo, in v2_init_io()
204 if (h->write(&h->qh_qf, 0, &ddqheader, sizeof(ddqheader)) != in v2_new_io()
219 if (h->write(&h->qh_qf, V2_DQINFOOFF, &ddqinfo, in v2_new_io()
235 if (h->write(&h->qh_qf, V2_DQINFOOFF, &ddqinfo, sizeof(ddqinfo)) != in v2_write_info()
Dquotaio_tree.c67 err = h->read(&h->qh_qf, blk << QT_BLKSIZE_BITS, buf, in read_blk()
80 err = h->write(&h->qh_qf, blk << QT_BLKSIZE_BITS, buf, in write_blk()
350 ret = h->write(&h->qh_qf, dquot->dq_dqb.u.v2_mdqb.dqb_off, ddquot, in qtree_write_dquot()
538 ret = h->read(&h->qh_qf, offset, ddquot, in qtree_read_dquot()
Dquotaio.h117 struct quota_file qh_qf; member