Home
last modified time | relevance | path

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

/external/f2fs-tools/fsck/
Dquotaio.c111 f2fs_ino_t qf_ino; in quota_file_open() local
118 qf_ino = sb->qf_ino[qtype]; in quota_file_open()
134 h->qh_qf.ino = qf_ino; in quota_file_open()
169 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.c1835 if (sb->qf_ino[qtype] == 0) in fsck_chk_quota_node()
1876 ino = sb->qf_ino[qtype]; in fsck_chk_quota_files()
/external/e2fsprogs/lib/support/
Dmkquota.c108 ext2_ino_t qf_ino; in quota_remove_inode() local
117 qf_ino = *quota_sb_inump(fs->super, qtype); in quota_remove_inode()
118 if (qf_ino == 0) in quota_remove_inode()
120 retval = quota_inode_truncate(fs, qf_ino); in quota_remove_inode()
123 if (qf_ino >= EXT2_FIRST_INODE(fs->super)) { in quota_remove_inode()
126 retval = ext2fs_read_inode(fs, qf_ino, &inode); in quota_remove_inode()
129 ext2fs_write_inode(fs, qf_ino, &inode); in quota_remove_inode()
131 ext2fs_inode_alloc_stats2(fs, qf_ino, -1, 0); in quota_remove_inode()
607 errcode_t quota_update_limits(quota_ctx_t qctx, ext2_ino_t qf_ino, in quota_update_limits() argument
622 err = quota_file_open(qctx, qh, qf_ino, qtype, -1, 0); in quota_update_limits()
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,
227 errcode_t quota_update_limits(quota_ctx_t qctx, ext2_ino_t qf_ino,
/external/f2fs-tools/mkfs/
Df2fs_format.c510 sb->qf_ino[qtype] = cpu_to_le32(c.next_free_nid++); in f2fs_prepare_super_block()
855 if (sb->qf_ino[qtype] == 0) in f2fs_write_check_point_pack()
857 journal->nat_j.entries[i].nid = sb->qf_ino[qtype]; in f2fs_write_check_point_pack()
859 journal->nat_j.entries[i].ne.ino = sb->qf_ino[qtype]; in f2fs_write_check_point_pack()
946 if (sb->qf_ino[qtype] == 0) in f2fs_write_check_point_pack()
951 (sum_entry + off + j)->nid = sb->qf_ino[qtype]; in f2fs_write_check_point_pack()
980 if (sb->qf_ino[qtype] == 0) in f2fs_write_check_point_pack()
982 sum->entries[1 + i].nid = sb->qf_ino[qtype]; in f2fs_write_check_point_pack()
1362 raw_node->footer.nid = sb->qf_ino[qtype]; in f2fs_write_qf_inode()
1363 raw_node->footer.ino = sb->qf_ino[qtype]; in f2fs_write_qf_inode()
[all …]
/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_update_limits(ctx->qctx, qf_ino, qtype); in e2fsck_read_all_quotas()
/external/f2fs-tools/include/
Df2fs_fs.h687 #define QUOTA_INO(sb,t) (le32_to_cpu((sb)->qf_ino[t]))
773 __le32 qf_ino[F2FS_MAX_QUOTAS]; /* quota inode numbers */ member
1530 if (sb->qf_ino[i]) in exist_qf_ino()
1540 if (sb->qf_ino[i] == ino) in is_qf_ino()
/external/e2fsprogs/misc/
Dtune2fs.c1570 ext2_ino_t qf_ino; in handle_quota_options() local
1607 if ((qf_ino = quota_file_exists(fs, qtype)) > 0) { in handle_quota_options()
1608 retval = quota_update_limits(qctx, qf_ino, in handle_quota_options()