Home
last modified time | relevance | path

Searched refs:st_nlink (Results 1 – 25 of 63) sorted by relevance

123

/external/ltp/testcases/kernel/syscalls/link/
Dlink05.c111 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()
Dlink02.c67 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()
Dlink03.c115 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/
Dtst_fs_link_count.c70 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/
Dstat.h14 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/
Dstat.h51 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/
Dstat.h9 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/
Dstat.h24 __u32 st_nlink; member
59 __u32 st_nlink; member
100 __u32 st_nlink; member
/external/kernel-headers/original/uapi/asm-generic/
Dstat.h28 unsigned int st_nlink; /* Link count. */ member
53 unsigned int st_nlink; /* Link count. */ member
/external/libgsm/src/
Dtoast.c320 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/
Dfuse_mnt.c33 st->st_nlink = 2; in memfd_getattr()
36 st->st_nlink = 1; in memfd_getattr()
/external/autotest/server/cros/
Dlockfile.py235 nlinks = os.stat(self.unique_name).st_nlink
277 os.stat(self.unique_name).st_nlink == 2)
/external/ltp/testcases/kernel/syscalls/symlink/
Dsymlink01.c1431 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/
Dfibmap.c75 (unsigned long)st->st_nlink, in print_stat()
76 (long)st->st_nlink); in print_stat()
/external/strace/linux/x86_64/
Dasm_stat.h19 kernel_ulong_t st_nlink; member
/external/openssh/
Dsftp-common.c251 (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/
Dmke2fs.c336 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/
Doldstat.c52 .nlink = zero_extend_signed_to_ull(buf.st_nlink), in print_old_kernel_stat()
Dfetch_struct_stat64.c89 dst->nlink = zero_extend_signed_to_ull(buf.st_nlink); in MPERS_PRINTER_DECL()
Dfetch_struct_stat.c91 dst->nlink = zero_extend_signed_to_ull(buf.st_nlink); in MPERS_PRINTER_DECL()
/external/strace/tests-mx32/
Dxstatx.c158 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/
Dxstatx.c158 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/
Dxstatx.c158 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/
Dtest_func.c214 if (st_buf.st_nlink != stat_pointer->st_nlink) { in test_func8()
Dtest_func64.c216 if (st_buf.st_nlink != stat_pointer->st_nlink) { in test_func8()

123