Home
last modified time | relevance | path

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

1234

/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.c68 if (s.st_nlink != i) { in tst_fs_fill_hardlinks_()
72 (int)s.st_nlink, i); in tst_fs_fill_hardlinks_()
76 base_filename, (int)s.st_nlink); in tst_fs_fill_hardlinks_()
77 return s.st_nlink; in tst_fs_fill_hardlinks_()
143 if (s.st_nlink != (i + 2)) { in tst_fs_fill_subdirs_()
146 (int)s.st_nlink, i + 2); in tst_fs_fill_subdirs_()
149 "%s is hit: %d", dir, (int)s.st_nlink); in tst_fs_fill_subdirs_()
150 return s.st_nlink; in tst_fs_fill_subdirs_()
Drmobj.c171 if (statbuf.st_nlink >= 3) { in rmobj()
/external/kernel-headers/original/uapi/asm-x86/asm/
Dstat.h13 unsigned short st_nlink; member
48 unsigned int st_nlink; member
85 __kernel_ulong_t st_nlink; member
120 unsigned short st_nlink; member
/external/kernel-headers/original/uapi/asm-arm/asm/
Dstat.h8 unsigned short st_nlink; member
29 unsigned short st_nlink; member
63 unsigned int st_nlink; member
/external/kernel-headers/original/uapi/asm-mips/asm/
Dstat.h23 __u32 st_nlink; member
58 __u32 st_nlink; member
99 __u32 st_nlink; member
/external/kernel-headers/original/uapi/asm-generic/
Dstat.h27 unsigned int st_nlink; /* Link count. */ member
52 unsigned int st_nlink; /* Link count. */ member
/external/linux-kselftest/tools/testing/selftests/memfd/
Dfuse_mnt.c32 st->st_nlink = 2; in memfd_getattr()
35 st->st_nlink = 1; in memfd_getattr()
/external/libchrome/sandbox/linux/services/
Dthread_helpers.cc44 CHECK_LE(3UL, task_stat.st_nlink); in IsSingleThreadedImpl()
48 return task_stat.st_nlink == 3; in IsSingleThreadedImpl()
/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.c40 printf("nlink [0x%8lx : %ld]\n", st->st_nlink, st->st_nlink); in print_stat()
/external/strace/mpers-mx32/
Dstruct_stat.h7 uint64_t st_nlink; member
/external/strace/mpers-m32/
Dstruct_stat.h8 uint16_t st_nlink; member
Dstruct_stat64.h9 uint32_t st_nlink; member
/external/strace/linux/x86_64/
Dasm_stat.h19 kernel_ulong_t st_nlink; member
/external/strace/tests-mx32/
Dxstatx.c165 printf(", st_nlink=%llu", zero_extend_signed_to_ull(st->st_nlink)); in print_stat()
296 LOG_STAT_OFFSETOF_SIZEOF(st[0], st_nlink); in main()
/external/strace/tests/
Dxstatx.c165 printf(", st_nlink=%llu", zero_extend_signed_to_ull(st->st_nlink)); in print_stat()
296 LOG_STAT_OFFSETOF_SIZEOF(st[0], st_nlink); in main()
/external/strace/tests-m32/
Dxstatx.c165 printf(", st_nlink=%llu", zero_extend_signed_to_ull(st->st_nlink)); in print_stat()
296 LOG_STAT_OFFSETOF_SIZEOF(st[0], st_nlink); in main()
/external/valgrind/include/vki/
Dvki-s390x-linux.h406 unsigned short st_nlink; member
432 unsigned int st_nlink; member
456 unsigned long st_nlink; member
/external/toybox/toys/pending/
Dmke2fs.c200 if (S_ISDIR(current->st.st_mode)) current->st.st_nlink = 2; in check_treelinks()
207 current->st.st_nlink = 0; in check_treelinks()
212 current->st.st_nlink++; in check_treelinks()
400 in->links_count = SWAP_LE16(that->st.st_nlink); in fill_inode()
/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/libedit/examples/
Dfileman.c366 (long) finfo.st_nlink, in com_stat()
367 (finfo.st_nlink == 1) ? "" : "s", in com_stat()
/external/strace/
Doldstat.c51 .nlink = zero_extend_signed_to_ull(buf.st_nlink), in print_old_kernel_stat()

1234