Home
last modified time | relevance | path

Searched refs:statb (Results 76 – 96 of 96) sorted by relevance

1234

/illumos-gate/usr/src/cmd/mail/
H A Dmain.c45 struct stat statb; in main() local
/illumos-gate/usr/src/cmd/bnu/
H A Dct.c757 struct stat statb; local
759 if (stat (file, &statb) == -1 && errno == ENOENT)
/illumos-gate/usr/src/lib/watchmalloc/common/
H A Dmalloc.c1364 struct stat statb; in nowatch() local
1370 else if (fstat(ctlfd, &statb) != 0 || in nowatch()
1371 statb.st_dev != ctlstatb.st_dev || in nowatch()
1372 statb.st_ino != ctlstatb.st_ino) { in nowatch()
/illumos-gate/usr/src/lib/libc/port/aio/
H A Dposix_aio.c776 struct stat statb; in aio_fsync() local
789 if (fstat(aiocbp->aio_fildes, &statb) < 0) in aio_fsync()
1633 struct stat64 statb; in aio_fsync64() local
1646 if (fstat64(aiocbp->aio_fildes, &statb) < 0) in aio_fsync64()
/illumos-gate/usr/src/cmd/mailx/
H A Dcmd2.c266 struct stat statb; in savemsglist() local
272 if (stat(file, &statb) >= 0) in savemsglist()
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dmqueue.c939 struct stat64 statb; in mq_notify() local
995 if (fstat64(port, &statb) != 0 || in mq_notify()
996 !S_ISPORT(statb.st_mode)) { in mq_notify()
/illumos-gate/usr/src/cmd/bart/
H A Drules.c622 struct stat64 statb; in add_subtree_rule() local
757 ret = lstat64(current_level->dirname, &statb); in add_subtree_rule()
/illumos-gate/usr/src/cmd/fs.d/ufs/newfs/
H A Dnewfs.c1017 struct stat64 statb; in read_sb() local
1022 if (stat64(fsdev, &statb) < 0) in read_sb()
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dutilities.c1442 struct stat64 statb; in is_errorlocked() local
1451 if (stat64(fs, &statb) < 0) in is_errorlocked()
1454 if (S_ISDIR(statb.st_mode)) { in is_errorlocked()
1456 } else if (S_ISBLK(statb.st_mode) || S_ISCHR(statb.st_mode)) { in is_errorlocked()
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dmain.c274 struct stat statb; in main() local
1712 if (stat(p_pkgmap, &statb) == -1) { in main()
1718 pkgmap_blks = nblk(statb.st_size, svfsb.f_bsize, svfsb.f_frsize); in main()
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/
H A Ddcs.c2239 struct stat statb; in is_socket() local
2240 if (fstat(fd, &statb) < 0) { in is_socket()
2243 return (S_ISSOCK(statb.st_mode)); in is_socket()
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/
H A Dkdb_db2.c826 struct stat statb; in destroy_file_suffix() local
844 if (fstat(fd, &statb) == -1) { in destroy_file_suffix()
859 while (pos < statb.st_size) { in destroy_file_suffix()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rshd.c440 struct stat statb; in doit() local
1259 if (stat("/usr/ucb/rdist", &statb) != 0) { in doit()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/inetconv/
H A Dinetconv.c440 struct stat statb; in valid_inetconfent() local
541 } else if ((stat(iconf->server_program, &statb) == -1) && in valid_inetconfent()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dxec.c1315 struct stat statb; in sh_exec() local
1319 memset(&statb, 0, sizeof(struct stat)); in sh_exec()
1361 stat(".",&statb); in sh_exec()
1445 if(statb.st_ino!=stata.st_ino || statb.st_dev!=stata.st_dev) in sh_exec()
4015 struct stat statb; in sh_ntfork() local
4017 if(stat(devfd=sfstruse(shp->strbuf),&statb)>=0) in sh_ntfork()
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dreadcf.c105 struct stat statb; local
128 if (fstat(sm_io_getinfo(cf, SM_IO_WHAT_FD, NULL), &statb) < 0)
134 if (!S_ISREG(statb.st_mode))
140 if (OpMode != MD_TEST && bitset(S_IWGRP|S_IWOTH, statb.st_mode))
H A Dqueue.c5935 struct stat statb; local
5943 if (lstat(name, &statb) < 0)
5945 if (stat(name, &statb) < 0)
5954 if (S_ISLNK(statb.st_mode))
5961 if (stat(name, &statb) < 0)
5971 if (!S_ISDIR(statb.st_mode))
/illumos-gate/usr/src/cmd/mv/
H A Dmv.c1244 struct stat statb, s1save; in rcopy() local
1248 if (fold == 0 || ((pflg || mve) && fstat(fold->dd_fd, &statb) < 0)) { in rcopy()
/illumos-gate/usr/src/cmd/syslogd/
H A Dsyslogd.c2104 struct stat statb; in writetodev() local
2120 if (fstat(ttyf, &statb) != 0) { in writetodev()
2125 } else if (!(statb.st_mode & S_IWRITE)) { in writetodev()
2135 } else if (getpwuid_r(statb.st_uid, &pw, pwbuf, in writetodev()
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.c1046 struct stat statb; in chgreel() local
1049 if (fstat(Archive, &statb) < 0) in chgreel()
1051 if ((statb.st_mode & S_IFMT) != S_IFCHR) { in chgreel()
/illumos-gate/usr/src/uts/common/c2/
H A Daudit_event.c1202 long statb; in aui_fstatat() member

1234