Home
last modified time | relevance | path

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

123456

/external/ltp/testcases/kernel/syscalls/link/
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()
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()
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/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-generic/
Dstat.h28 unsigned int st_nlink; /* Link count. */ member
53 unsigned int st_nlink; /* Link count. */ member
/external/rust/crates/libc/src/fuchsia/
Daarch64.rs12 pub st_nlink: ::nlink_t,
34 pub st_nlink: ::nlink_t,
Dx86_64.rs11 pub st_nlink: ::nlink_t,
32 pub st_nlink: ::nlink_t,
/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/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/autotest/server/cros/
Dlockfile.py239 nlinks = os.stat(self.unique_name).st_nlink
281 os.stat(self.unique_name).st_nlink == 2)
/external/python/pyfakefs/pyfakefs/
Dhelpers.py72 self.st_nlink = 0
103 self.st_nlink == other.st_nlink and
229 return self.st_nlink
Dfake_scandir.py101 self._statresult_symlink.st_nlink = 0
109 self._statresult.st_nlink = 0
/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/rust/crates/libc/src/unix/linux_like/linux/uclibc/mips/mips64/
Dmod.rs22 pub st_nlink: ::nlink_t,
46 pub st_nlink: ::nlink_t,
/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/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd11/
Db64.rs7 pub st_nlink: ::nlink_t, field
/external/rust/crates/libc/src/unix/linux_like/android/b32/
Dmod.rs30 pub st_nlink: ::c_uint,
52 pub st_nlink: ::c_uint,
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd13/
Db64.rs6 pub st_nlink: ::nlink_t, field
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd12/
Db64.rs6 pub st_nlink: ::nlink_t, field
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/
Dx86.rs14 pub st_nlink: ::nlink_t,
Dpowerpc64.rs14 pub st_nlink: ::nlink_t,
Darm.rs14 pub st_nlink: ::nlink_t,

123456