/illumos-gate/usr/src/test/os-tests/tests/ |
H A D | fifo-tvnsec.c | 127 VERIFY0(fstat(wfd, &st)); in check_fifos() 132 VERIFY0(fstat(rfd, &st)); in check_fifos() 148 VERIFY0(fstat(wfd, &st)); in check_fifos() 154 VERIFY0(fstat(rfd, &st)); in check_fifos() 166 VERIFY0(fstat(rfd, &st)); in check_fifos() 172 VERIFY0(fstat(wfd, &st)); in check_fifos() 184 VERIFY0(fstat(wfd, &st)); in check_fifos() 189 VERIFY0(fstat(rfd, &st)); in check_fifos()
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_fhistory.c | 168 ndmpd_get_file_entry_type(file_stat->st_mode, &entry->fstat.ftype); in ndmpd_api_file_history_path_v2() 174 entry->fstat.mtime = (ulong_t)file_stat->st_mtime; in ndmpd_api_file_history_path_v2() 175 entry->fstat.atime = (ulong_t)file_stat->st_atime; in ndmpd_api_file_history_path_v2() 176 entry->fstat.ctime = (ulong_t)file_stat->st_ctime; in ndmpd_api_file_history_path_v2() 177 entry->fstat.uid = file_stat->st_uid; in ndmpd_api_file_history_path_v2() 178 entry->fstat.gid = file_stat->st_gid; in ndmpd_api_file_history_path_v2() 179 entry->fstat.mode = (file_stat->st_mode) & 0x0fff; in ndmpd_api_file_history_path_v2() 180 entry->fstat.size = long_long_to_quad((u_longlong_t)file_stat->st_size); in ndmpd_api_file_history_path_v2() 181 entry->fstat.fh_info = long_long_to_quad((u_longlong_t)fh_info); in ndmpd_api_file_history_path_v2() 347 ndmpd_get_file_entry_type(file_stat->st_mode, &entry->fstat.ftype); in ndmpd_api_file_history_node_v2() [all …]
|
/illumos-gate/usr/src/test/libproc-tests/tests/syscall/ |
H A D | pr_target.c | 79 if (fstat(fd, &targ) != 0) { in pr_target_check_fd() 110 if (fstat(fd, &nstat) != 0) { in main() 120 if (fstat(fd, &zstat) != 0) { in main()
|
/illumos-gate/usr/src/uts/sparc/sys/ |
H A D | stat_impl.h | 45 extern int fstat(int, struct stat *); 59 extern int fstat(), stat();
|
/illumos-gate/usr/src/uts/intel/sys/ |
H A D | stat_impl.h | 45 extern int fstat(int, struct stat *); 60 extern int fstat();
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/features/ |
H A D | poll | 111 if (fstat(sfd[0], &st0) < 0 || fstat(sfd[1], &st1) < 0) 117 fstat(sfd[0], &st0) < 0 || 121 fstat(sfd[1], &st1) < 0 ||
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | syslog.c | 232 if ((fstat(LogFile, &statbuff) != 0) || in vsyslog() 445 if ((fstat(LogFile, &statbuff) == 0) && in openlog() 452 (void) fstat(LogFile, &statbuff); in openlog() 476 if ((fstat(LogFile, &statbuff) == 0) && (statbuff.st_rdev == LogDev)) { in closelog()
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | stat.c | 106 #pragma weak _fstat = fstat 108 fstat(int fd, struct stat *sb) in fstat() function
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | stat.h | 160 #pragma redefine_extname fstat fstat64 171 #define fstat fstat64 189 #pragma redefine_extname fstat64 fstat 199 #define fstat64 fstat
|
/illumos-gate/usr/src/cmd/tail/ |
H A D | tail.c | 175 fstat(fileno(file->fp), &file->st)) { in main() 192 fstat(fileno(fp), &sb)) { in main() 211 if (fstat(fileno(stdin), &sb)) { in main()
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | ulockf.c | 333 if (fstat(fd, &_st_buf) != 0) in fd_mklock() 393 if (fstat(fd, &_st_buf) != 0) in fd_cklock() 418 if (fstat(fd, &_st_buf) == 0) { in fd_rmlock()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | statvfs.c | 94 if (FSTATFS(fd, &ufs) || fstat(fd, &st)) 144 if (fstat(fd, &st))
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | ulockf.c | 350 if ( fstat(fd, &_st_buf) != 0 ) 412 if ( fstat(fd, &_st_buf) != 0 ) 438 if ( fstat(fd, &_st_buf) == 0 ) {
|
/illumos-gate/usr/src/test/os-tests/tests/portfs/ |
H A D | file_assoc.c | 111 if (fstat(filefd, &st) != 0) { in fa_run_test() 147 if (fstat(filefd, &st) != 0) { in fa_run_test()
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | isdir.c | 186 if (fstat(fd, &statb) == -1) { in iscpio() 270 r = fstat(a_fd, &statbuf); in isFdRemote()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | suid_exec.c | 130 if(fstat(FDVERIFY,&statb) < 0 || statb.st_uid != 0 || in main() 165 if(fstat(FDIN,&statb) < 0 || (statb.st_mode & ~S_IFMT) != SPECIAL) in main() 191 if(fstat(n, &statb) < 0 || !S_ISREG(statb.st_mode)) in main()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.comsat.c | 218 fstat(uf, &statbf); in onalrm() 338 if (fstat(fd, &stb) != 0 || stb.st_uid != pwd->pw_uid) { in notify() 370 if (fstat(mbox, &stb) == -1 || lstat(name, &stl) == -1) { in notify()
|
/illumos-gate/usr/src/test/smbclient-tests/cmd/prot_mmap/ |
H A D | prot_mmap.c | 141 if (fstat(src_fid, &sb) == -1) { in main() 153 if (fstat(des_fid, &sb) == -1) { in main()
|
/illumos-gate/usr/src/cmd/acpi/common/ |
H A D | osl.c | 33 if (fstat(fd, &sb) != 0) in CmGetFileSize()
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | stat.c | 46 rv = fstat(fd, sb); in stat()
|
/illumos-gate/usr/src/lib/libtsol/common/ |
H A D | call_labeld.c | 163 if (fstat(doorfd, &st) < 0) { in __call_labeld() 214 if (fstat(doorfd, &st) < 0) { in __call_labeld()
|
/illumos-gate/usr/src/stand/lib/fs/common/ |
H A D | fsswitch.c | 161 fstat(int fd, struct stat *sb) in fstat() function 200 ret = fstat(fd, sb); in stat()
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | fseek.c | 200 fp->f_file < 0 || fstat(fp->f_file, &st) || 219 if (fstat(fp->f_file, &st))
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | proc_get_info.c | 115 if (fstat(fd, &statb) != 0 || in proc_get_priv() 149 if (fstat(fd, &statb) == 0) in proc_get_ldt()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | tail.c | 168 return last || fstat(sffileno(fp), &st) || st.st_size || FIFO(st.st_mode) ? -1 : 0; in tailpos() 311 else if (fstat(sffileno(tp->sp), &st)) in init() 342 if (fstat(sffileno(tp->sp), &st)) in init() 593 if (fstat(0, &st)) in b_tail() 664 if (fstat(sffileno(fp->sp), &st)) in b_tail()
|