/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_read_format_isorr_rr_moved.c | 93 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 D | test_read_format_isorr_new_bz2.c | 87 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 D | test_read_format_isorr_bz2.c | 87 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 D | test_read_format_isozisofs_bz2.c | 86 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 D | test_read_format_isorr_ce.c | 123 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 D | test_read_format_iso_multi_extent.c | 56 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 D | test_read_format_isojoliet_rr.c | 80 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 D | tmpfs8.sh | 143 (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 D | rename9.sh | 142 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 D | rename6.sh | 136 (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 D | rm_lnkcnt_zero_file.c | 137 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 D | rm_lnkcnt_zero_file.c | 149 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 D | t_rmdir | 52 [ ${st_nlink} = 3 ] || die 55 [ ${st_nlink} = 2 ] || die 80 [ ${st_nlink} = 2 ] || die
|
H A D | t_mkdir | 47 [ ${st_nlink} = 3 ] || die 56 [ ${st_nlink} = 103 ] || die
|
/freebsd/lib/libc/tests/stdio/ |
H A D | mkostemp_test.c | 96 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 D | safefile.c | 310 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 D | stat.h | 106 __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 D | t_rmdir.sh | 70 [ ${st_nlink} = 3 ] || \ 74 [ ${st_nlink} = 2 ] || \ 148 [ ${st_nlink} = 2 ] || atf_fail "Incorrect number of links"
|
H A D | t_mkdir.sh | 47 [ ${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 D | linux_stats.c | 149 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 D | freebsd32.h | 172 __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 D | linux.h | 159 l_ushort st_nlink; member 178 l_ushort st_nlink; member 197 l_uint st_nlink; member
|
/freebsd/sys/amd64/linux32/ |
H A D | linux.h | 187 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 D | t_link.c | 89 if (sa.st_nlink != sb.st_nlink - 1) in ATF_TC_BODY()
|
/freebsd/contrib/diff/src/ |
H A D | system.h | 320 && (s)->st_nlink == (t)->st_nlink \
|