/external/ltp/testcases/kernel/syscalls/link/ |
D | link05.c | 111 if (fbuf.st_nlink <= 1 || lbuf.st_nlink <= 1 || in main() 112 (fbuf.st_nlink != lbuf.st_nlink)) { in main() 119 (int)fbuf.st_nlink, (int)lbuf.st_nlink); in main() 128 nlinks, (int)fbuf.st_nlink); in main()
|
D | link02.c | 67 if (fbuf.st_nlink > 1 && lbuf.st_nlink > 1 && in verify_link() 68 fbuf.st_nlink == lbuf.st_nlink) { in verify_link() 74 (int)fbuf.st_nlink, (int)lbuf.st_nlink); in verify_link()
|
D | link03.c | 115 if (buf.st_nlink != (nlink_t)links) { in main() 118 fname, (int)buf.st_nlink, links); in main() 125 if (buf.st_nlink != (nlink_t)links) { in main() 129 lname, (int)buf.st_nlink, links); in main()
|
/external/ltp/lib/ |
D | tst_fs_link_count.c | 70 if (s.st_nlink != i) { in tst_fs_fill_hardlinks_() 74 (int)s.st_nlink, i); in tst_fs_fill_hardlinks_() 79 base_filename, (int)s.st_nlink); in tst_fs_fill_hardlinks_() 80 return s.st_nlink; in tst_fs_fill_hardlinks_() 149 if (s.st_nlink != (i + 2)) { in tst_fs_fill_subdirs_() 152 (int)s.st_nlink, i + 2); in tst_fs_fill_subdirs_() 156 "%s is hit: %d", dir, (int)s.st_nlink); in tst_fs_fill_subdirs_() 157 return s.st_nlink; in tst_fs_fill_subdirs_()
|
/external/kernel-headers/original/uapi/asm-x86/asm/ |
D | stat.h | 14 unsigned short st_nlink; member 49 unsigned int st_nlink; member 86 __kernel_ulong_t st_nlink; member 121 unsigned short st_nlink; member
|
/external/u-boot/include/linux/ |
D | stat.h | 51 nlink_t st_nlink; /* number of links */ member 78 unsigned short st_nlink; member 105 nlink_t st_nlink; member 135 unsigned short st_nlink; member
|
/external/kernel-headers/original/uapi/asm-arm/asm/ |
D | stat.h | 9 unsigned short st_nlink; member 30 unsigned short st_nlink; member 64 unsigned int st_nlink; member
|
/external/kernel-headers/original/uapi/asm-mips/asm/ |
D | stat.h | 24 __u32 st_nlink; member 59 __u32 st_nlink; member 100 __u32 st_nlink; member
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | stat.h | 28 unsigned int st_nlink; /* Link count. */ member 53 unsigned int st_nlink; /* Link count. */ member
|
/external/libgsm/src/ |
D | toast.c | 320 if (!instat.st_nlink) return; /* couldn't stat in */ in P0() 341 if (!instat.st_nlink) return; /* couldn't stat in */ in P0() 353 if (!instat.st_nlink) return; /* couldn't stat in */ in P0() 417 if (st->st_nlink > 1 && !f_cat && !f_precious) { 420 progname, name, (int)(st->st_nlink - 1), 421 "s" + (st->st_nlink <= 2)); 463 st->st_nlink = 0; /* indicates `undefined' value */
|
/external/linux-kselftest/tools/testing/selftests/memfd/ |
D | fuse_mnt.c | 33 st->st_nlink = 2; in memfd_getattr() 36 st->st_nlink = 1; in memfd_getattr()
|
/external/autotest/server/cros/ |
D | lockfile.py | 235 nlinks = os.stat(self.unique_name).st_nlink 277 os.stat(self.unique_name).st_nlink == 2)
|
/external/ltp/testcases/kernel/syscalls/symlink/ |
D | symlink01.c | 1431 else if (statter.st_nlink != asymlink.st_nlink) in do_stat() 1434 (intmax_t) statter.st_nlink, in do_stat() 1435 (intmax_t) asymlink.st_nlink); in do_stat() 1556 if ((statter.st_nlink == 2) && (asymlink.st_nlink == 2)) { in do_link() 1566 …Buffer, tc_ptr->fn_arg[1], "nick", statter.st_nlink, tc_ptr->fn_arg[1], asymlink.st_nlink, tc_ptr-… in do_link() 1567 stbuf.st_nlink); in do_link()
|
/external/f2fs-tools/tools/ |
D | fibmap.c | 75 (unsigned long)st->st_nlink, in print_stat() 76 (long)st->st_nlink); in print_stat()
|
/external/strace/linux/x86_64/ |
D | asm_stat.h | 19 kernel_ulong_t st_nlink; member
|
/external/openssh/ |
D | sftp-common.c | 251 (u_int)st->st_nlink, ulen, user, glen, group, in ls_file() 255 (u_int)st->st_nlink, ulen, user, glen, group, in ls_file()
|
/external/toybox/toys/pending/ |
D | mke2fs.c | 336 if (S_ISDIR(current->st.st_mode)) current->st.st_nlink = 2; in check_treelinks() 343 current->st.st_nlink = 0; in check_treelinks() 348 current->st.st_nlink++; in check_treelinks() 536 in->links_count = SWAP_LE16(that->st.st_nlink); in fill_inode()
|
/external/strace/ |
D | oldstat.c | 52 .nlink = zero_extend_signed_to_ull(buf.st_nlink), in print_old_kernel_stat()
|
D | fetch_struct_stat64.c | 89 dst->nlink = zero_extend_signed_to_ull(buf.st_nlink); in MPERS_PRINTER_DECL()
|
D | fetch_struct_stat.c | 91 dst->nlink = zero_extend_signed_to_ull(buf.st_nlink); in MPERS_PRINTER_DECL()
|
/external/strace/tests-mx32/ |
D | xstatx.c | 158 printf(", st_nlink=%llu", zero_extend_signed_to_ull(st->st_nlink)); in print_stat() 377 LOG_STAT_OFFSETOF_SIZEOF(*st, st_nlink); in main()
|
/external/strace/tests-m32/ |
D | xstatx.c | 158 printf(", st_nlink=%llu", zero_extend_signed_to_ull(st->st_nlink)); in print_stat() 377 LOG_STAT_OFFSETOF_SIZEOF(*st, st_nlink); in main()
|
/external/strace/tests/ |
D | xstatx.c | 158 printf(", st_nlink=%llu", zero_extend_signed_to_ull(st->st_nlink)); in print_stat() 377 LOG_STAT_OFFSETOF_SIZEOF(*st, st_nlink); in main()
|
/external/ltp/testcases/kernel/syscalls/nftw/ |
D | test_func.c | 214 if (st_buf.st_nlink != stat_pointer->st_nlink) { in test_func8()
|
D | test_func64.c | 216 if (st_buf.st_nlink != stat_pointer->st_nlink) { in test_func8()
|