Home
last modified time | relevance | path

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

/external/e2fsprogs/lib/support/
Dquotaio.c258 h->qh_qf.e2_file = e2_file; in quota_file_open()
259 h->qh_qf.fs = fs; in quota_file_open()
260 h->qh_qf.ino = qf_ino; in quota_file_open()
339 h->qh_qf.fs = fs; in quota_file_create()
361 h->qh_qf.ino = qf_inum; in quota_file_create()
372 h->qh_qf.e2_file = e2_file; in quota_file_create()
411 if (h->qh_qf.e2_file) { in quota_file_close()
414 new_size = compute_inode_size(h->qh_qf.fs, h->qh_qf.ino); in quota_file_close()
415 ext2fs_file_flush(h->qh_qf.e2_file); in quota_file_close()
416 if (ext2fs_file_get_lsize(h->qh_qf.e2_file, &size)) in quota_file_close()
[all …]
Dmkquota.c206 if (h->qh_qf.e2_file) in quota_write_inode()
207 ext2fs_file_close(h->qh_qf.e2_file); in quota_write_inode()
208 (void) quota_inode_truncate(fs, h->qh_qf.ino); in quota_write_inode()
213 quota_set_sb_inum(fs, h->qh_qf.ino, qtype); in quota_write_inode()
608 if (qh->qh_qf.e2_file) in quota_update_limits()
609 ext2fs_file_close(qh->qh_qf.e2_file); in quota_update_limits()
666 if (qh.qh_qf.e2_file) in quota_compare_and_update()
667 ext2fs_file_close(qh.qh_qf.e2_file); in quota_compare_and_update()
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()
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.c124 h->qh_qf.sbi = sbi; in quota_file_open()
125 h->qh_qf.ino = qf_ino; in quota_file_open()
163 h->qh_qf.sbi = sbi; in quota_file_create()
164 h->qh_qf.ino = qf_inum; in quota_file_create()
200 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()
344 ret = h->write(&h->qh_qf, dquot->dq_dqb.u.v2_mdqb.dqb_off, ddquot, in qtree_write_dquot()
532 ret = h->read(&h->qh_qf, offset, ddquot, in qtree_read_dquot()
Dquotaio.h117 struct quota_file qh_qf; member