Home
last modified time | relevance | path

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

12345

/third_party/ltp/testcases/kernel/syscalls/link/
Dlink05.c40 if (fbuf.st_nlink <= 1 || lbuf.st_nlink <= 1 || in verify_link()
41 (fbuf.st_nlink != lbuf.st_nlink)) { in verify_link()
48 (int)fbuf.st_nlink, (int)lbuf.st_nlink); in verify_link()
58 nlinks, (int)fbuf.st_nlink); in verify_link()
Dlink02.c34 if (fbuf.st_nlink > 1 && fbuf.st_nlink == lbuf.st_nlink) { in verify_link()
40 (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()
/third_party/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_()
151 dir, (int)s.st_nlink, i + 2); in tst_fs_fill_subdirs_()
155 "%s is hit: %d", dir, (int)s.st_nlink); in tst_fs_fill_subdirs_()
156 return s.st_nlink; in tst_fs_fill_subdirs_()
/third_party/musl/libc-test/src/functional/
Dstat.c22 TEST(st.st_nlink>0, "%ju\n", (uintmax_t)st.st_nlink); in main()
31 TEST(st.st_nlink>0, "%ju\n", (uintmax_t)st.st_nlink); in main()
/third_party/ltp/testcases/kernel/syscalls/stat/
Dstat01.c74 if (stat_buf.st_nlink != 1) { in verify_stat()
76 stat_buf.st_nlink); in verify_stat()
/third_party/musl/src/stat/
Dfstatat.c47 .st_nlink = stx.stx_nlink, in fstatat_statx()
108 .st_nlink = kst.st_nlink, in fstatat_kstat()
/third_party/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()
/third_party/musl/arch/mips64/
Dkstat.h6 unsigned st_nlink; member
/third_party/musl/arch/powerpc64/bits/
Dstat.h4 nlink_t st_nlink; member
/third_party/musl/arch/s390x/bits/
Dstat.h4 nlink_t st_nlink; member
/third_party/musl/arch/s390x/
Dkstat.h4 nlink_t st_nlink; member
/third_party/musl/arch/powerpc64/
Dkstat.h4 nlink_t st_nlink; member
/third_party/musl/arch/x86_64/
Dkstat.h4 nlink_t st_nlink; member
/third_party/musl/arch/x86_64/bits/
Dstat.h7 nlink_t st_nlink; member
/third_party/musl/arch/powerpc/
Dkstat.h5 nlink_t st_nlink; member
/third_party/musl/arch/mips/
Dkstat.h6 nlink_t st_nlink; member
/third_party/musl/arch/mipsn32/
Dkstat.h6 nlink_t st_nlink; member
/third_party/musl/arch/x32/
Dkstat.h4 nlink_t st_nlink; member
/third_party/musl/arch/x32/bits/
Dstat.h7 nlink_t st_nlink; member
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dkstat.h6 nlink_t st_nlink; member
/third_party/musl/arch/m68k/
Dkstat.h6 nlink_t st_nlink; member
/third_party/musl/arch/microblaze/
Dkstat.h5 nlink_t st_nlink; member
/third_party/musl/arch/or1k/
Dkstat.h5 nlink_t st_nlink; member
/third_party/musl/arch/arm/
Dkstat.h6 nlink_t st_nlink; member

12345