Home
last modified time | relevance | path

Searched refs:i_links_count (Results 1 – 25 of 40) sorted by relevance

12

/external/e2fsprogs/e2fsck/
Dpass4.c166 if ((link_count != inode->i_links_count) && !isdir && in e2fsck_pass4()
167 (inode->i_links_count <= EXT2_LINK_MAX)) { in e2fsck_pass4()
179 inode->i_links_count = link_counted; in e2fsck_pass4()
Dpass3.c217 inode.i_links_count = 2; in check_root()
462 inode.i_links_count = 2; in e2fsck_get_lost_and_found()
570 inode.i_links_count); in e2fsck_adjust_inode_count()
575 if (inode.i_links_count == (__u16) ~0) in e2fsck_adjust_inode_count()
578 inode.i_links_count++; in e2fsck_adjust_inode_count()
581 if (inode.i_links_count == 0) in e2fsck_adjust_inode_count()
584 inode.i_links_count--; in e2fsck_adjust_inode_count()
Dquota.c33 inode.i_links_count = 1; in move_quota_inode()
Dpass1.c470 (inode->i_links_count == 1) && !not_device) in check_is_really_dir()
751 if (inode->i_links_count) { in e2fsck_pass1()
753 ino, inode->i_links_count); in e2fsck_pass1()
755 pctx.num = inode->i_links_count; in e2fsck_pass1()
778 (inode->i_links_count || (ino == EXT2_BAD_INO) || in e2fsck_pass1()
805 (inode->i_links_count || (ino == EXT2_BAD_INO) || in e2fsck_pass1()
835 inode->i_links_count || inode->i_file_acl) && in e2fsck_pass1()
894 if (inode->i_dtime && inode->i_links_count) { in e2fsck_pass1()
914 if ((inode->i_links_count || in e2fsck_pass1()
941 if ((inode->i_links_count || in e2fsck_pass1()
[all …]
Dscantest.c122 if (!inode.i_links_count) in main()
Dsuper.c173 if (inode->i_links_count) { in release_inode_blocks()
273 pctx.str = inode.i_links_count ? _("Truncating") : in release_orphan_inodes()
290 if (!inode.i_links_count) { in release_orphan_inodes()
382 if ((i < EXT2_N_BLOCKS) || !blk || !inode.i_links_count || in check_resize_inode()
Djournal.c294 j_inode->i_ext2.i_links_count = 1; in e2fsck_get_journal()
301 if (!j_inode->i_ext2.i_links_count || in e2fsck_get_journal()
993 if (inode.i_links_count != 1) in e2fsck_move_ext3_journal()
1038 inode.i_links_count = 0; in e2fsck_move_ext3_journal()
Dmessage.c306 fprintf(f, "%d", inode->i_links_count); in expand_inode_expression()
/external/e2fsprogs/lib/ext2fs/
Dmkdir.c91 inode.i_links_count = 2; in ext2fs_mkdir()
136 parent_inode.i_links_count++; in ext2fs_mkdir()
Dtst_inode_size.c59 check_field(i_links_count, 2); in main()
Dsymlink.c81 inode.i_links_count = 1; in ext2fs_symlink()
Dbmove.c142 if ((inode.i_links_count == 0) || in ext2fs_move_blocks()
Dres_gdt.c112 inode.i_links_count = 1; in ext2fs_create_resize_inode()
Dswapfs.c223 t->i_links_count = ext2fs_swab16(f->i_links_count); in ext2fs_swap_inode_full()
Dext2_fs.h365 __u16 i_links_count; /* Links count */ member
413 __u16 i_links_count; /* Links count */ member
Dmkjournal.c387 inode.i_links_count = 1; in write_journal_inode()
/external/e2fsprogs/debugfs/
Ddebugfs.c777 prefix, inode->i_links_count, in internal_dump_inode()
783 prefix, inode->i_links_count, inode->i_blocks); in internal_dump_inode()
1236 modify_u16(argv[0], "Link count", decimal_format, &inode.i_links_count); in do_modify_inode()
1439 inode.i_links_count = LINUX_S_ISDIR(inode.i_mode) ? 2 : 1; in do_undel()
1718 inode.i_links_count = 1; in do_write()
1834 inode.i_links_count = 1; in do_mknod()
1948 --inode.i_links_count; in do_rm()
1953 if (inode.i_links_count == 0) in do_rm()
2024 inode.i_links_count = 0; in do_rmdir()
2034 if (inode.i_links_count > 1) in do_rmdir()
[all …]
Dicheck.c111 if (!inode.i_links_count) in do_icheck()
Dncheck.c156 if (!inode.i_links_count) in do_ncheck()
Dlogdump.c214 journal_inode.i_links_count = 1; in do_logdump()
Dset_fields.c168 { "links_count", &set_inode.i_links_count, NULL, 2, parse_uint },
/external/e2fsprogs/lib/quota/
Dmkquota.c41 fprintf(stderr, " i_links_count = %d\n", inode->i_links_count); in print_inode()
392 if (inode.i_links_count && in quota_compute_usage()
Dquotaio.c264 inode.i_links_count = 1; in quota_inode_init_new()
/external/e2fsprogs/ext2ed/
Dext2.descriptors84 __u16 i_links_count; /* Links count */
/external/e2fsprogs/misc/
De2image.c1301 if (!inode.i_links_count) in write_raw_image_file()

12