Home
last modified time | relevance | path

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

123456

/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_read_format_isorr_rr_moved.c93 assertEqualInt(3, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
105 assertEqualInt(3, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
117 assertEqualInt(3, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
129 assertEqualInt(3, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
141 assertEqualInt(3, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
153 assertEqualInt(3, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
165 assertEqualInt(3, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
177 assertEqualInt(3, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
191 assertEqualInt(3, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
205 assertEqualInt(3, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
[all...]
H A Dtest_read_format_isorr_new_bz2.c87 assertEqualInt(3, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
99 assertEqualInt(2, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
113 assertEqualInt(2, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
130 assertEqualInt(2, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
140 assertEqualInt(1, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
148 assertEqualInt(1, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
156 assertEqualInt(1, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
165 assertEqualInt(1, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
175 assertEqualInt(1, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
184 assertEqualInt(1, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
[all...]
H A Dtest_read_format_isorr_bz2.c87 assertEqualInt(3, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
99 assertEqualInt(2, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
113 assertEqualInt(2, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
130 assertEqualInt(2, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
140 assertEqualInt(1, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
148 assertEqualInt(1, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
156 assertEqualInt(1, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
165 assertEqualInt(1, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
175 assertEqualInt(1, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
184 assertEqualInt(1, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
[all...]
H A Dtest_read_format_isozisofs_bz2.c86 assertEqualInt(3, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
98 assertEqualInt(2, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
117 assertEqualInt(2, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
133 assertEqualInt(2, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
143 assertEqualInt(1, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
151 assertEqualInt(1, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
159 assertEqualInt(1, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
168 assertEqualInt(1, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
H A Dtest_read_format_isorr_ce.c123 assertEqualInt(3, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
135 assertEqualInt(2, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
149 assertEqualInt(1, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
163 assertEqualInt(1, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
177 assertEqualInt(1, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
186 assertEqualInt(1, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
195 assertEqualInt(1, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
204 assertEqualInt(1, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
H A Dtest_read_format_iso_multi_extent.c56 assertEqualInt(2, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
72 assertEqualInt(1, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
H A Dtest_read_format_isojoliet_rr.c80 assertEqualInt(3, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
95 assertEqualInt(2, archive_entry_stat(ae)->st_nlink); in DEFINE_TEST()
/freebsd/tools/test/stress2/misc/
H A Dtmpfs8.sh143 (uintmax_t)sb1.st_nlink, sb1.st_blocks);
146 (uintmax_t)sb2.st_nlink, sb2.st_blocks);
158 (uintmax_t)sb1.st_nlink, sb1.st_blocks);
163 (uintmax_t)sb2.st_nlink, sb2.st_blocks);
168 (uintmax_t)sb3.st_nlink, sb3.st_blocks);
H A Drename9.sh142 fromFile, (uintmax_t)fb.st_ino, (uintmax_t)fb.st_nlink,
146 toFile, (uintmax_t)tb.st_ino, (uintmax_t)tb.st_nlink,
153 (uintmax_t)fa.st_nlink, fa.st_blocks);
156 toFile, (uintmax_t)ta.st_ino, (uintmax_t)ta.st_nlink,
H A Drename6.sh136 (uintmax_t)sb1.st_nlink, sb1.st_blocks);
139 (uintmax_t)sb2.st_nlink, sb2.st_blocks);
/freebsd/tests/sys/cddl/zfs/bin/
H A Drm_lnkcnt_zero_file.c137 if (ret == 0 && (st.st_nlink > 2 || st.st_nlink < 1)) { in main()
139 (int)st.st_nlink); in main()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Drm_lnkcnt_zero_file.c149 if (ret == 0 && (st.st_nlink > 2 || st.st_nlink < 1)) { in main()
151 (int)st.st_nlink); in main()
/freebsd/tools/regression/tmpfs/
H A Dt_rmdir52 [ ${st_nlink} = 3 ] || die
55 [ ${st_nlink} = 2 ] || die
80 [ ${st_nlink} = 2 ] || die
H A Dt_mkdir47 [ ${st_nlink} = 3 ] || die
56 [ ${st_nlink} = 103 ] || die
/freebsd/lib/libc/tests/stdio/
H A Dmkostemp_test.c96 st1.st_nlink != 1 || st1.st_size != 0) { in test_one()
103 st2.st_nlink != 1 || st2.st_size != 0) { in test_one()
120 else if (st2.st_nlink != 0) in test_one()
/freebsd/contrib/sendmail/libsmutil/
H A Dsafefile.c310 if (bitset(SFF_NOHLINK, flags) && st->st_nlink != 1)
314 (int) st->st_nlink);
354 (int) st->st_uid, (int) st->st_nlink,
874 if (lstat(fn, stb) < 0 || stb->st_nlink != 1)
883 if (sta.st_nlink != stb->st_nlink ||
896 (long) stb->st_nlink, (long) sta.st_nlink);
/freebsd/sys/sys/
H A Dstat.h106 __uint16_t st_nlink; /* number of hard links */ member
126 __uint16_t st_nlink; /* number of hard links */ member
160 nlink_t st_nlink; /* number of hard links */ member
196 __uint32_t st_nlink; /* number of hard links */ member
/freebsd/contrib/netbsd-tests/fs/tmpfs/
H A Dt_rmdir.sh70 [ ${st_nlink} = 3 ] || \
74 [ ${st_nlink} = 2 ] || \
148 [ ${st_nlink} = 2 ] || atf_fail "Incorrect number of links"
H A Dt_mkdir.sh47 [ ${st_nlink} = 3 ] || atf_fail "Link count is not 3"
67 [ ${st_nlink} = 102 ] || atf_fail "Link count is not 102"
/freebsd/sys/compat/linux/
H A Dlinux_stats.c149 tbuf.st_nlink = buf->st_nlink; in newstat_copyout()
224 lbuf.st_nlink = buf->st_nlink; in old_stat_copyout()
524 lbuf.st_nlink = buf->st_nlink; in stat64_copyout()
678 tbuf.stx_nlink = buf->st_nlink; in statx_copyout()
/freebsd/sys/compat/freebsd32/
H A Dfreebsd32.h172 __uint32_t st_nlink; /* number of hard links */ member
215 nlink_t st_nlink; member
249 uint16_t st_nlink; member
271 __uint16_t st_nlink; member
/freebsd/sys/i386/linux/
H A Dlinux.h159 l_ushort st_nlink; member
178 l_ushort st_nlink; member
197 l_uint st_nlink; member
/freebsd/sys/amd64/linux32/
H A Dlinux.h187 l_ushort st_nlink; member
206 l_ushort st_nlink; member
225 l_uint st_nlink; member
/freebsd/contrib/netbsd-tests/lib/libc/sys/
H A Dt_link.c89 if (sa.st_nlink != sb.st_nlink - 1) in ATF_TC_BODY()
/freebsd/contrib/diff/src/
H A Dsystem.h320 && (s)->st_nlink == (t)->st_nlink \

123456