Home
last modified time | relevance | path

Searched refs:qf_ino (Results 1 – 10 of 10) sorted by relevance

/external/f2fs-tools/fsck/
Dquotaio.c112 f2fs_ino_t qf_ino; in quota_file_open() local
119 qf_ino = sb->qf_ino[qtype]; in quota_file_open()
135 h->qh_qf.ino = qf_ino; in quota_file_open()
170 f2fs_ino_t qf_inum = sb->qf_ino[qtype]; in quota_file_create()
Dmkquota.c75 if ((!qctx) || (!sb->qf_ino[qtype])) in quota_write_inode()
165 if (!sb->qf_ino[qtype]) in quota_init_context()
Dfsck.c2037 if (sb->qf_ino[qtype] == 0) in fsck_chk_quota_node()
2083 ino = sb->qf_ino[qtype]; in fsck_chk_quota_files()
/external/e2fsprogs/lib/support/
Dmkquota.c110 ext2_ino_t qf_ino; in quota_remove_inode() local
119 qf_ino = *quota_sb_inump(fs->super, qtype); in quota_remove_inode()
120 if (qf_ino == 0) in quota_remove_inode()
122 retval = quota_inode_truncate(fs, qf_ino); in quota_remove_inode()
125 if (qf_ino >= EXT2_FIRST_INODE(fs->super)) { in quota_remove_inode()
128 retval = ext2fs_read_inode(fs, qf_ino, &inode); in quota_remove_inode()
131 ext2fs_write_inode(fs, qf_ino, &inode); in quota_remove_inode()
133 ext2fs_inode_alloc_stats2(fs, qf_ino, -1, 0); in quota_remove_inode()
580 errcode_t quota_read_all_dquots(quota_ctx_t qctx, ext2_ino_t qf_ino, in quota_read_all_dquots() argument
596 err = quota_file_open(qctx, qh, qf_ino, qtype, -1, 0); in quota_read_all_dquots()
Dquotaio.c189 ext2_ino_t qf_ino, enum quota_type qtype, in quota_file_open() argument
207 if (qf_ino == 0) in quota_file_open()
208 qf_ino = *quota_sb_inump(fs->super, qtype); in quota_file_open()
210 log_debug("Opening quota ino=%u, type=%d", qf_ino, qtype); in quota_file_open()
211 err = ext2fs_file_open(fs, qf_ino, flags, &e2_file); in quota_file_open()
238 h->qh_qf.ino = qf_ino; in quota_file_open()
Dquotaio.h190 ext2_ino_t qf_ino, enum quota_type type,
230 errcode_t quota_read_all_dquots(quota_ctx_t qctx, ext2_ino_t qf_ino,
/external/f2fs-tools/mkfs/
Df2fs_format.c527 sb->qf_ino[qtype] = cpu_to_le32(c.next_free_nid++); in f2fs_prepare_super_block()
882 journal->nat_j.entries[i].nid = sb->qf_ino[qtype]; in f2fs_write_check_point_pack()
884 journal->nat_j.entries[i].ne.ino = sb->qf_ino[qtype]; in f2fs_write_check_point_pack()
977 (sum_entry + off + j)->nid = sb->qf_ino[qtype]; in f2fs_write_check_point_pack()
1008 sum->entries[1 + i].nid = sb->qf_ino[qtype]; in f2fs_write_check_point_pack()
1454 nat_blk->entries[sb->qf_ino[qtype]].block_addr = in f2fs_update_nat_root()
1458 nat_blk->entries[sb->qf_ino[qtype]].ino = sb->qf_ino[qtype]; in f2fs_update_nat_root()
/external/f2fs-tools/include/
Df2fs_fs.h715 #define QUOTA_INO(sb,t) (le32_to_cpu((sb)->qf_ino[t]))
839 __le32 qf_ino[F2FS_MAX_QUOTAS] __attribute__((packed)); /* quota inode numbers */ member
1669 if (sb->qf_ino[i]) in exist_qf_ino()
1679 if (sb->qf_ino[i] == ino) in is_qf_ino()
1696 raw_node->footer.nid = sb->qf_ino[qtype]; in f2fs_init_qf_inode()
1697 raw_node->footer.ino = sb->qf_ino[qtype]; in f2fs_init_qf_inode()
/external/e2fsprogs/e2fsck/
Dsuper.c268 ext2_ino_t qf_ino; in e2fsck_read_all_quotas() local
280 qf_ino = *quota_sb_inump(ctx->fs->super, qtype); in e2fsck_read_all_quotas()
281 if (qf_ino == 0) in e2fsck_read_all_quotas()
284 retval = quota_read_all_dquots(ctx->qctx, qf_ino, qtype, in e2fsck_read_all_quotas()
/external/e2fsprogs/misc/
Dtune2fs.c1646 ext2_ino_t qf_ino; in handle_quota_options() local
1683 if ((qf_ino = quota_file_exists(fs, qtype)) > 0) { in handle_quota_options()
1684 retval = quota_read_all_dquots(qctx, qf_ino, in handle_quota_options()