Home
last modified time | relevance | path

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

123

/third_party/e2fsprogs/e2fsck/
Dpass4.c246 if ((link_count != inode->i_links_count) && !isdir && in e2fsck_pass4()
247 (inode->i_links_count <= EXT2_LINK_MAX)) { in e2fsck_pass4()
269 inode->i_links_count = link_counted; in e2fsck_pass4()
Dpass3.c216 inode.i_links_count = 2; in check_root()
527 inode.i_links_count = 2; in e2fsck_get_lost_and_found()
664 inode.i_links_count); in e2fsck_adjust_inode_count()
669 if (inode.i_links_count == (__u16) ~0) in e2fsck_adjust_inode_count()
672 inode.i_links_count++; in e2fsck_adjust_inode_count()
675 if (inode.i_links_count == 0) in e2fsck_adjust_inode_count()
678 inode.i_links_count--; in e2fsck_adjust_inode_count()
Dscantest.c123 if (!inode.i_links_count) in main()
Dquota.c41 inode.i_links_count = 1; in move_quota_inode()
Dpass1.c763 (inode->i_links_count == 1) && !not_device) in check_is_really_dir()
1426 inode->i_links_count > 0 && in e2fsck_pass1()
1453 inode->i_dtime = inode->i_links_count ? in e2fsck_pass1()
1461 if (inode->i_links_count) { in e2fsck_pass1()
1463 ino, inode->i_links_count); in e2fsck_pass1()
1465 pctx.num = inode->i_links_count; in e2fsck_pass1()
1598 (inode->i_links_count || (ino == EXT2_BAD_INO) || in e2fsck_pass1()
1626 (inode->i_links_count || (ino == EXT2_BAD_INO) || in e2fsck_pass1()
1657 inode->i_gid || inode->i_links_count || in e2fsck_pass1()
1720 if (inode->i_dtime && inode->i_links_count) { in e2fsck_pass1()
[all …]
Dsuper.c208 if (inode->i_links_count) { in release_inode_blocks()
374 pctx.str = inode.i_links_count ? _("Truncating") : in release_orphan_inodes()
391 if (!inode.i_links_count) { in release_orphan_inodes()
498 if ((i < EXT2_N_BLOCKS) || !blk || !inode.i_links_count || in check_resize_inode()
Djournal.c781 if (inode->i_links_count) in ext4_fc_handle_inode()
1015 j_inode->i_ext2.i_links_count = 1; in e2fsck_get_journal()
1022 if (!j_inode->i_ext2.i_links_count || in e2fsck_get_journal()
1778 if (inode.i_links_count != 1) in e2fsck_move_ext3_journal()
1823 inode.i_links_count = 0; in e2fsck_move_ext3_journal()
Dmessage.c298 fprintf(f, "%d", inode->i_links_count); in expand_inode_expression()
/third_party/e2fsprogs/lib/ext2fs/
Dmkdir.c118 inode.i_links_count = 2; in ext2fs_mkdir()
181 parent_inode.i_links_count++; in ext2fs_mkdir()
Dtst_inode_size.c60 check_field(i_links_count, 2); in main()
Dbmove.c143 if ((inode.i_links_count == 0) || in ext2fs_move_blocks()
Dsymlink.c106 inode.i_links_count = 1; in ext2fs_symlink()
Dres_gdt.c125 inode.i_links_count = 1; in ext2fs_create_resize_inode()
Dswapfs.c271 t->i_links_count = ext2fs_swab16(f->i_links_count); in ext2fs_swap_inode_full()
Dext2_fs.h413 __u16 i_links_count; /* Links count */ member
461 __u16 i_links_count; /* Links count */ member
Dext_attr.c925 ea_inode->i_links_count == 0) in read_xattrs_from_buffer()
1231 inode.i_links_count = 1; in xattr_create_ea_inode()
1281 inode.i_links_count = 0; in xattr_inode_dec_ref()
/third_party/e2fsprogs/debugfs/
Dncheck.c147 iw.names_left += inode.i_links_count; in do_ncheck()
168 if (!inode.i_links_count) in do_ncheck()
Ddebugfs.c883 prefix, inode->i_links_count, in internal_dump_inode()
889 prefix, inode->i_links_count, inode->i_blocks); in internal_dump_inode()
1383 modify_u16(argv[0], "Link count", decimal_format, &inode.i_links_count); in do_modify_inode()
1591 inode.i_links_count = LINUX_S_ISDIR(inode.i_mode) ? 2 : 1; in do_undel()
1918 --inode.i_links_count; in do_rm()
1923 if (inode.i_links_count == 0) in do_rm()
1995 inode.i_links_count = 0; in do_rmdir()
2005 if (inode.i_links_count > 1) in do_rmdir()
2006 inode.i_links_count--; in do_rmdir()
Dicheck.c113 if (!inode.i_links_count) in do_icheck()
Djournal.c348 j_inode->i_ext2.i_links_count = 1; in ext2fs_get_journal()
352 if (!j_inode->i_ext2.i_links_count || in ext2fs_get_journal()
/third_party/e2fsprogs/misc/
Dfuse2fs.c776 statbuf->st_nlink = inode.i_links_count; in stat_inode()
998 inode.i_links_count = 1; in op_mknod()
1225 inode.i_links_count); in remove_inode()
1227 switch (inode.i_links_count) { in remove_inode()
1231 inode.i_links_count--; in remove_inode()
1235 inode.i_links_count--; in remove_inode()
1242 if (inode.i_links_count) in remove_inode()
1389 if (inode.i_links_count > 1) in __op_rmdir()
1390 inode.i_links_count--; in __op_rmdir()
1721 inode.i_links_count--; in op_rename()
[all …]
Dcreate_inode.c101 inode.i_links_count++; in add_link()
326 inode.i_links_count = 1; in do_mknod_internal()
687 inode.i_links_count = 1; in do_write_internal()
De2fuzz.c130 if (inode.i_links_count == 0) in find_metadata_blocks()
/third_party/e2fsprogs/lib/support/
Dmkquota.c42 fprintf(stderr, " i_links_count = %d\n", inode->i_links_count); in print_inode()
506 if (!inode->i_links_count) in quota_compute_usage()
Dquotaio.c292 inode.i_links_count = 1; in quota_inode_init_new()

123