Home
last modified time | relevance | path

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

123

/external/e2fsprogs/e2fsck/
Dpass4.c176 if ((link_count != inode->i_links_count) && !isdir && in e2fsck_pass4()
177 (inode->i_links_count <= EXT2_LINK_MAX)) { in e2fsck_pass4()
189 inode->i_links_count = link_counted; in e2fsck_pass4()
Dpass3.c215 inode.i_links_count = 2; in check_root()
521 inode.i_links_count = 2; in e2fsck_get_lost_and_found()
658 inode.i_links_count); in e2fsck_adjust_inode_count()
663 if (inode.i_links_count == (__u16) ~0) in e2fsck_adjust_inode_count()
666 inode.i_links_count++; in e2fsck_adjust_inode_count()
669 if (inode.i_links_count == 0) in e2fsck_adjust_inode_count()
672 inode.i_links_count--; in e2fsck_adjust_inode_count()
Dquota.c37 inode.i_links_count = 1; in move_quota_inode()
Dscantest.c123 if (!inode.i_links_count) in main()
Dsuper.c174 if (inode->i_links_count) { in release_inode_blocks()
274 pctx.str = inode.i_links_count ? _("Truncating") : in release_orphan_inodes()
291 if (!inode.i_links_count) { in release_orphan_inodes()
380 if ((i < EXT2_N_BLOCKS) || !blk || !inode.i_links_count || in check_resize_inode()
Dpass1.c662 (inode->i_links_count == 1) && !not_device) in check_is_really_dir()
1308 inode->i_links_count > 0 && in e2fsck_pass1()
1315 if (inode->i_links_count) { in e2fsck_pass1()
1317 ino, inode->i_links_count); in e2fsck_pass1()
1319 pctx.num = inode->i_links_count; in e2fsck_pass1()
1430 (inode->i_links_count || (ino == EXT2_BAD_INO) || in e2fsck_pass1()
1458 (inode->i_links_count || (ino == EXT2_BAD_INO) || in e2fsck_pass1()
1489 inode->i_gid || inode->i_links_count || in e2fsck_pass1()
1552 if (inode->i_dtime && inode->i_links_count) { in e2fsck_pass1()
1575 if ((inode->i_links_count || in e2fsck_pass1()
[all …]
Djournal.c345 j_inode->i_ext2.i_links_count = 1; in e2fsck_get_journal()
352 if (!j_inode->i_ext2.i_links_count || in e2fsck_get_journal()
1080 if (inode.i_links_count != 1) in e2fsck_move_ext3_journal()
1125 inode.i_links_count = 0; in e2fsck_move_ext3_journal()
/external/e2fsprogs/lib/ext2fs/
Dmkdir.c117 inode.i_links_count = 2; in ext2fs_mkdir()
172 parent_inode.i_links_count++; in ext2fs_mkdir()
Dtst_inode_size.c60 check_field(i_links_count, 2); in main()
Dsymlink.c86 inode.i_links_count = 1; in ext2fs_symlink()
Dbmove.c143 if ((inode.i_links_count == 0) || in ext2fs_move_blocks()
Dres_gdt.c125 inode.i_links_count = 1; in ext2fs_create_resize_inode()
Dswapfs.c232 t->i_links_count = ext2fs_swab16(f->i_links_count); in ext2fs_swap_inode_full()
Dext2_fs.h387 __u16 i_links_count; /* Links count */ member
435 __u16 i_links_count; /* Links count */ member
/external/e2fsprogs/debugfs/
Ddebugfs.c856 prefix, inode->i_links_count, in internal_dump_inode()
862 prefix, inode->i_links_count, inode->i_blocks); in internal_dump_inode()
1339 modify_u16(argv[0], "Link count", decimal_format, &inode.i_links_count); in do_modify_inode()
1542 inode.i_links_count = LINUX_S_ISDIR(inode.i_mode) ? 2 : 1; in do_undel()
1852 --inode.i_links_count; in do_rm()
1857 if (inode.i_links_count == 0) in do_rm()
1928 inode.i_links_count = 0; in do_rmdir()
1938 if (inode.i_links_count > 1) in do_rmdir()
1939 inode.i_links_count--; in do_rmdir()
Dicheck.c112 if (!inode.i_links_count) in do_icheck()
Dncheck.c159 if (!inode.i_links_count) in do_ncheck()
Dcreate_inode.c91 inode.i_links_count++; in add_link()
302 inode.i_links_count = 1; in do_mknod_internal()
647 inode.i_links_count = 1; in do_write_internal()
/external/e2fsprogs/misc/
Dfuse2fs.c783 statbuf->st_nlink = inode.i_links_count; in stat_inode()
1004 inode.i_links_count = 1; in op_mknod()
1226 inode.i_links_count); in remove_inode()
1228 switch (inode.i_links_count) { in remove_inode()
1232 inode.i_links_count--; in remove_inode()
1236 inode.i_links_count--; in remove_inode()
1243 if (inode.i_links_count) in remove_inode()
1390 if (inode.i_links_count > 1) in __op_rmdir()
1391 inode.i_links_count--; in __op_rmdir()
1719 inode.i_links_count--; in op_rename()
[all …]
Dcreate_inode.c91 inode.i_links_count++; in add_link()
302 inode.i_links_count = 1; in do_mknod_internal()
647 inode.i_links_count = 1; in do_write_internal()
De2fuzz.c129 if (inode.i_links_count == 0) in find_metadata_blocks()
/external/syslinux/core/fs/ext2/
Dext2_fs.h184 uint16_t i_links_count; /* 24: Links count */ member
/external/syslinux/libinstaller/ext2fs/
Dext2_fs.h364 __u16 i_links_count; /* Links count */ member
412 __u16 i_links_count; /* Links count */ member
/external/e2fsprogs/lib/support/
Dmkquota.c42 fprintf(stderr, " i_links_count = %d\n", inode->i_links_count); in print_inode()
481 if (inode->i_links_count && in quota_compute_usage()
/external/kernel-headers/original/uapi/linux/
Dnilfs2_ondisk.h63 __le16 i_links_count; member

123