Home
last modified time | relevance | path

Searched refs:fstat (Results 1 – 25 of 413) sorted by relevance

12345678910>>...17

/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_fhistory.c174 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()
350 entry->fstat.mtime = (ulong_t)file_stat->st_mtime; in ndmpd_api_file_history_node_v2()
351 entry->fstat.atime = (ulong_t)file_stat->st_atime; in ndmpd_api_file_history_node_v2()
352 entry->fstat.ctime = (ulong_t)file_stat->st_ctime; in ndmpd_api_file_history_node_v2()
353 entry->fstat.uid = file_stat->st_uid; in ndmpd_api_file_history_node_v2()
[all …]
/illumos-gate/usr/src/uts/sparc/sys/
H A Dstat_impl.h45 extern int fstat(int, struct stat *);
59 extern int fstat(), stat();
/illumos-gate/usr/src/uts/intel/sys/
H A Dstat_impl.h45 extern int fstat(int, struct stat *);
60 extern int fstat();
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/features/
H A Dpoll111 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/sys/
H A Dstat.c106 #pragma weak _fstat = fstat
108 fstat(int fd, struct stat *sb) in fstat() function
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dsyslog.c232 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/uts/common/sys/
H A Dstat.h160 #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 Dtail.c175 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 Dulockf.c352 if ( fstat(fd, &_st_buf) != 0 )
414 if ( fstat(fd, &_st_buf) != 0 )
440 if ( fstat(fd, &_st_buf) == 0 ) {
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dstatvfs.c94 if (FSTATFS(fd, &ufs) || fstat(fd, &st))
144 if (fstat(fd, &st))
/illumos-gate/usr/src/cmd/bnu/
H A Dulockf.c353 if ( fstat(fd, &_st_buf) != 0 )
415 if ( fstat(fd, &_st_buf) != 0 )
441 if ( fstat(fd, &_st_buf) == 0 ) {
/illumos-gate/usr/src/lib/libpkg/common/
H A Disdir.c186 if (fstat(fd, &statb) == -1) { in iscpio()
270 r = fstat(a_fd, &statbuf); in isFdRemote()
/illumos-gate/usr/src/lib/libproc/common/
H A Dproc_get_info.c113 if (fstat(fd, &statb) != 0 || in proc_get_priv()
147 if (fstat(fd, &statb) == 0) in proc_get_ldt()
/illumos-gate/usr/src/cmd/acpi/common/
H A Dosl.c33 if (fstat(fd, &sb) != 0) in CmGetFileSize()
/illumos-gate/usr/src/boot/lib/libstand/
H A Dstat.c46 rv = fstat(fd, sb); in stat()
H A Dfstat.c39 fstat(int fd, struct stat *sb) in fstat() function
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dtail.c166 return last || fstat(sffileno(fp), &st) || st.st_size || FIFO(st.st_mode) ? -1 : 0; in tailpos()
298 else if (fstat(sffileno(tp->sp), &st)) in init()
329 if (fstat(sffileno(tp->sp), &st)) in init()
579 if (fstat(0, &st)) in b_tail()
650 if (fstat(sffileno(fp->sp), &st)) in b_tail()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dsuid_exec.c130 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 Din.comsat.c225 fstat(uf, &statbf); in onalrm()
347 if (fstat(fd, &stb) != 0 || stb.st_uid != pwd->pw_uid) {
379 if (fstat(mbox, &stb) == -1 || lstat(name, &stl) == -1) {
/illumos-gate/usr/src/test/smbclient-tests/cmd/prot_mmap/
H A Dprot_mmap.c141 if (fstat(src_fid, &sb) == -1) { in main()
153 if (fstat(des_fid, &sb) == -1) { in main()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/exec/
H A Dmmap_exec.c59 if (fstat(fd, &statbuf) < 0) { in main()
/illumos-gate/usr/src/lib/libtsol/common/
H A Dcall_labeld.c163 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 Dfsswitch.c161 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 Dfseek.c202 fp->f_file < 0 || fstat(fp->f_file, &st) ||
221 if (fstat(fp->f_file, &st))
/illumos-gate/usr/src/contrib/ast/src/lib/libast/vec/
H A Dvecfile.c50 …if (!fstat(fd, &st) && S_ISREG(st.st_mode) && (n = st.st_size) > 0 && (buf = newof(0, char, n + 1,… in vecfile()

12345678910>>...17