Home
last modified time | relevance | path

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

123

/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()
Dbmove.c143 if ((inode.i_links_count == 0) || in ext2fs_move_blocks()
Dsymlink.c105 inode.i_links_count = 1; in ext2fs_symlink()
Dres_gdt.c125 inode.i_links_count = 1; in ext2fs_create_resize_inode()
Dswapfs.c272 t->i_links_count = ext2fs_swab16(f->i_links_count); in ext2fs_swap_inode_full()
Dext2_fs.h401 __u16 i_links_count; /* Links count */ member
449 __u16 i_links_count; /* Links count */ member
/external/e2fsprogs/e2fsck/
Dpass4.c244 if ((link_count != inode->i_links_count) && !isdir && in e2fsck_pass4()
245 (inode->i_links_count <= EXT2_LINK_MAX)) { in e2fsck_pass4()
257 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.c772 (inode->i_links_count == 1) && !not_device) in check_is_really_dir()
1428 inode->i_links_count > 0 && in e2fsck_pass1()
1455 inode->i_dtime = inode->i_links_count ? in e2fsck_pass1()
1463 if (inode->i_links_count) { in e2fsck_pass1()
1465 ino, inode->i_links_count); in e2fsck_pass1()
1467 pctx.num = inode->i_links_count; in e2fsck_pass1()
1600 (inode->i_links_count || (ino == EXT2_BAD_INO) || in e2fsck_pass1()
1628 (inode->i_links_count || (ino == EXT2_BAD_INO) || in e2fsck_pass1()
1659 inode->i_gid || inode->i_links_count || in e2fsck_pass1()
1722 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.c346 j_inode->i_ext2.i_links_count = 1; in e2fsck_get_journal()
353 if (!j_inode->i_ext2.i_links_count || in e2fsck_get_journal()
1083 if (inode.i_links_count != 1) in e2fsck_move_ext3_journal()
1128 inode.i_links_count = 0; in e2fsck_move_ext3_journal()
Dmessage.c301 fprintf(f, "%d", inode->i_links_count); in expand_inode_expression()
/external/e2fsprogs/debugfs/
Dncheck.c147 iw.names_left += inode.i_links_count; in do_ncheck()
168 if (!inode.i_links_count) in do_ncheck()
Ddebugfs.c868 prefix, inode->i_links_count, in internal_dump_inode()
874 prefix, inode->i_links_count, inode->i_blocks); in internal_dump_inode()
1366 modify_u16(argv[0], "Link count", decimal_format, &inode.i_links_count); in do_modify_inode()
1574 inode.i_links_count = LINUX_S_ISDIR(inode.i_mode) ? 2 : 1; in do_undel()
1901 --inode.i_links_count; in do_rm()
1906 if (inode.i_links_count == 0) in do_rm()
1978 inode.i_links_count = 0; in do_rmdir()
1988 if (inode.i_links_count > 1) in do_rmdir()
1989 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()
/external/e2fsprogs/misc/
Dfuse2fs.c792 statbuf->st_nlink = inode.i_links_count; in stat_inode()
1013 inode.i_links_count = 1; in op_mknod()
1236 inode.i_links_count); in remove_inode()
1238 switch (inode.i_links_count) { in remove_inode()
1242 inode.i_links_count--; in remove_inode()
1246 inode.i_links_count--; in remove_inode()
1253 if (inode.i_links_count) in remove_inode()
1400 if (inode.i_links_count > 1) in __op_rmdir()
1401 inode.i_links_count--; in __op_rmdir()
1730 inode.i_links_count--; in op_rename()
[all …]
Dcreate_inode.c101 inode.i_links_count++; in add_link()
318 inode.i_links_count = 1; in do_mknod_internal()
666 inode.i_links_count = 1; in do_write_internal()
De2fuzz.c129 if (inode.i_links_count == 0) in find_metadata_blocks()
/external/e2fsprogs/lib/support/
Dmkquota.c42 fprintf(stderr, " i_links_count = %d\n", inode->i_links_count); in print_inode()
503 if (inode->i_links_count && in quota_compute_usage()
Dquotaio.c292 inode.i_links_count = 1; in quota_inode_init_new()
/external/kernel-headers/original/uapi/linux/
Dnilfs2_ondisk.h64 __le16 i_links_count; member

123