Searched refs:qh_qf (Results 1 – 9 of 9) sorted by relevance
/external/e2fsprogs/lib/support/ |
D | quotaio.c | 258 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 …]
|
D | mkquota.c | 206 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()
|
D | quotaio_v2.c | 140 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()
|
D | quotaio_tree.c | 66 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()
|
D | quotaio.h | 124 struct quota_file qh_qf; member
|
/external/f2fs-tools/fsck/ |
D | quotaio.c | 124 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()
|
D | quotaio_v2.c | 141 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()
|
D | quotaio_tree.c | 67 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()
|
D | quotaio.h | 117 struct quota_file qh_qf; member
|