Home
last modified time | relevance | path

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

1234

/illumos-gate/usr/src/uts/common/sys/
H A Dstat.h76 nlink_t st_nlink; member
93 nlink_t st_nlink; member
114 nlink_t st_nlink;
136 nlink_t st_nlink;
221 nlink_t st_nlink;
247 nlink_t st_nlink;
282 nlink_t st_nlink;
308 nlink_t st_nlink;
355 nlink32_t st_nlink; member
380 nlink32_t st_nlink; member
H A Dbootstat.h52 uint32_t st_nlink; member
/illumos-gate/usr/src/test/zfs-tests/cmd/rm_lnkcnt_zero_file/
H A Drm_lnkcnt_zero_file.c143 if (ret == 0 && (st.st_nlink > 2 || st.st_nlink < 1)) { in main()
145 (int)st.st_nlink); in main()
/illumos-gate/usr/src/cmd/cpio/
H A Dcpiostat.c56 TmpSt->st_nlink = FromStat->st_nlink; in stat_to_svr32_stat()
H A Dcpio.h277 o_nlink_t st_nlink; member
/illumos-gate/usr/src/cmd/truss/
H A Dstat.c70 statb.st_nlink, in show_stat32()
115 statb.st_nlink, in show_stat64_32()
158 statb.st_nlink, in show_stat64()
/illumos-gate/usr/src/cmd/sendmail/libsmutil/
H A Dsafefile.c311 if (bitset(SFF_NOHLINK, flags) && st->st_nlink != 1)
315 (int) st->st_nlink);
355 (int) st->st_uid, (int) st->st_nlink,
875 if (lstat(fn, stb) < 0 || stb->st_nlink != 1)
884 if (sta.st_nlink != stb->st_nlink ||
897 (long) stb->st_nlink, (long) sta.st_nlink);
/illumos-gate/usr/src/cmd/mail/
H A Dcreatemf.c87 } else if (sb.st_nlink != 1 || S_ISLNK(sb.st_mode)) {
103 (fstat(mbfd, &fsb) || fsb.st_nlink != 1 ||
/illumos-gate/usr/src/boot/sys/sys/
H A Dstat.h107 nlink_t st_nlink; /* number of hard links */ member
126 nlink_t st_nlink; /* number of hard links */ member
157 __uint32_t st_nlink; /* number of hard links */ member
/illumos-gate/usr/src/tools/protolist/
H A Dprotolist.c139 if (st->st_nlink == 1) in visit_dir()
146 inum, st->st_nlink, maj, min); in visit_dir()
/illumos-gate/usr/src/cmd/rpcbind/
H A Dwarmstart.c148 (sbuf_fstat.st_nlink != 1)) { in read_struct()
168 (sbuf_lstat.st_nlink != 1) || in read_struct()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Drm.c77 #define beenhere(f) (((f)->fts_number>>1)==(f)->fts_statp->st_nlink)
81 #define retry(f) ((f)->fts_number=((f)->fts_statp->st_nlink<<1))
178 …v = st.st_nlink <= 2 || st.st_ino == ent->fts_parent->fts_statp->st_ino && st.st_dev == ent->fts_p… in rm()
/illumos-gate/usr/src/lib/libtsol/common/
H A Dcall_labeld.c171 (void) printf("\t\toutstanding requests = %d\n", st.st_nlink-1); in __call_labeld()
223 (void) printf("\t\toutstanding requests = %d\n", st.st_nlink-1); in __call_labeld()
/illumos-gate/usr/src/stand/lib/fs/common/
H A Dfsswitch.c176 sb->st_nlink = buf.st_nlink; in fstat()
/illumos-gate/usr/src/uts/common/syscall/
H A Dstat.c235 sb.st_nlink = vattr.va_nlink; in cstat()
358 sb.st_nlink = vattr.va_nlink; in cstat32()
466 lsb.st_nlink = vattr.va_nlink; in cstat64()
585 lsb.st_nlink = vattr.va_nlink; in cstat64_32()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dsafechown.c37 if (!S_ISDIR(fdbuf.st_mode) && fdbuf.st_nlink != 1) { in safechown()
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfake_stat.c78 lsb.st_nlink = vattr.va_nlink; in fake_stat()
/illumos-gate/usr/src/tools/smatch/src/smatch_data/
H A Dkernel.implicit_dependencies.v1638 …struct compat_stat)->st_ino, (struct kstat)->ino, (struct compat_stat)->st_nlink, (struct kstat)->…
639 …struct compat_stat)->st_ino, (struct kstat)->ino, (struct compat_stat)->st_nlink, (struct kstat)->…
640 …struct compat_stat)->st_ino, (struct kstat)->ino, (struct compat_stat)->st_nlink, (struct kstat)->…
641 …struct compat_stat)->st_ino, (struct kstat)->ino, (struct compat_stat)->st_nlink, (struct kstat)->…
645 SYSC_newfstat read_list: [(struct stat)->st_ino, (struct kstat)->ino, (struct stat)->st_nlink, (str…
646 SYSC_newfstatat read_list: [(struct stat)->st_ino, (struct kstat)->ino, (struct stat)->st_nlink, (s…
647 SYSC_newlstat read_list: [(struct stat)->st_ino, (struct kstat)->ino, (struct stat)->st_nlink, (str…
648 SYSC_newstat read_list: [(struct stat)->st_ino, (struct kstat)->ino, (struct stat)->st_nlink, (stru…
649 …_kernel_stat)->st_ino, (struct kstat)->ino, (struct __old_kernel_stat)->st_nlink, (struct kstat)->…
650 …_kernel_stat)->st_ino, (struct kstat)->ino, (struct __old_kernel_stat)->st_nlink, (struct kstat)->…
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dfmtls.c68 …rintf(s, LS_W_MAX, "%s%3u", fmtmode(st->st_mode, flags & LS_EXTERNAL), (unsigned int)st->st_nlink); in fmtls()
/illumos-gate/usr/src/cmd/sendmail/util/
H A Dmail.local.c823 } else if (sb.st_nlink != 1) {
832 (fstat(mbfd, &fsb) || fsb.st_nlink != 1 ||
957 sb.st_nlink != 1 ||
/illumos-gate/usr/src/lib/libproc/common/
H A Dpr_stat.c50 dest->st_nlink = (nlink_t)src->st_nlink; in stat64_32_to_n()
/illumos-gate/usr/src/cmd/acct/
H A Dacctdusg.c223 if (statb.st_nlink > 1) { in charge()
/illumos-gate/usr/src/cmd/backup/restore/
H A Dutilities.c527 (left->st_nlink == right->st_nlink) && in statcmp()
666 if (post_lstat.st_nlink != 1) { in safe_open()
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dscratchops.c102 if (!S_ISREG(lbuf.st_mode) || lbuf.st_nlink != 1 || in zonecfg_open_scratch()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dserver.c340 if ((stb.st_mode & S_IFMT) == S_IFREG && stb.st_nlink > 1) in sendf()
422 if (stb.st_nlink > 1) { in sendf()
476 if (stb.st_nlink > 1) { in sendf()
574 lp->count = stp->st_nlink - 1; in savelink()

1234