Home
last modified time | relevance | path

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

12345678910>>...17

/titanic_44/usr/src/cmd/avs/dscfglockd/
H A Ddscfgcli.c55 (void) fstat(0, &sb); in test()
58 (void) fstat(1, &sb); in test()
63 (void) fstat(0, &sb); in test()
66 (void) fstat(1, &sb); in test()
71 (void) fstat(0, &sb); in test()
74 (void) fstat(1, &sb); in test()
/titanic_44/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_fhistory.c168 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 …]
/titanic_44/usr/src/uts/sparc/sys/
H A Dstat_impl.h47 extern int fstat(int, struct stat *);
61 extern int fstat(), stat();
/titanic_44/usr/src/uts/intel/sys/
H A Dstat_impl.h45 extern int fstat(int, struct stat *);
60 extern int fstat();
/titanic_44/usr/src/lib/libbc/libc/gen/common/
H A Dopendir.c47 extern int open(), close(), fstat();
51 if (fstat(fd, &sb) == -1) {
H A Dscandir.c50 if (fstat(dirp->dd_fd, &stb) < 0) in scandir()
81 if (fstat(dirp->dd_fd, &stb) < 0) in scandir()
/titanic_44/usr/src/lib/libbc/libc/sys/common/
H A D_stat.c67 fstat(int fd, struct stat *buf) in fstat() function
125 ret = fstat(fd, buf); in stat_com()
154 ret = fstat(fd, buf); in stat_com()
H A Dsend.c104 if (fstat(s, &sbuf) != -1)
107 } else if (fstat(s, &sbuf) == -1 ||
/titanic_44/usr/src/lib/libshell/common/features/
H A Dpoll109 if (fstat(sfd[0], &st0) < 0 || fstat(sfd[1], &st1) < 0)
115 fstat(sfd[0], &st0) < 0 ||
119 fstat(sfd[1], &st1) < 0 ||
/titanic_44/usr/src/cmd/tail/
H A Dtail.c170 fstat(fileno(file->fp), &file->st)) { in main()
187 fstat(fileno(fp), &sb)) { in main()
206 if (fstat(fileno(stdin), &sb)) { in main()
/titanic_44/usr/src/lib/libc/port/sys/
H A Dstat.c106 #pragma weak _fstat = fstat
108 fstat(int fd, struct stat *sb) in fstat() function
/titanic_44/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()
/titanic_44/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
/titanic_44/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 ) {
/titanic_44/usr/src/lib/libproc/common/
H A Dproc_get_info.c84 if (fstat(fd, &statb) != 0 || in proc_get_priv()
118 if (fstat(fd, &statb) == 0) in proc_get_ldt()
/titanic_44/usr/src/lib/libast/common/comp/
H A Dstatvfs.c94 if (FSTATFS(fd, &ufs) || fstat(fd, &st))
144 if (fstat(fd, &st))
/titanic_44/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 ) {
/titanic_44/usr/src/lib/libpkg/common/
H A Disdir.c185 if (fstat(fd, &statb) == -1) { in iscpio()
269 r = fstat(a_fd, &statbuf); in isFdRemote()
/titanic_44/usr/src/test/zfs-tests/tests/functional/exec/
H A Dmmap_exec.c59 if (fstat(fd, &statbuf) < 0) { in main()
/titanic_44/usr/src/lib/libshell/common/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()
/titanic_44/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) {
/titanic_44/usr/src/lib/libcmd/common/
H A Dtail.c166 return last || fstat(sffileno(fp), &st) || st.st_size || FIFO(st.st_mode) ? -1 : 0; in tailpos()
300 else if (fstat(sffileno(tp->sp), &st)) in init()
331 if (fstat(sffileno(tp->sp), &st)) in init()
580 if (fstat(0, &st)) in b_tail()
646 if (fstat(sffileno(fp->sp), &st)) in b_tail()
/titanic_44/usr/src/lib/libast/common/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()
/titanic_44/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()
/titanic_44/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()

12345678910>>...17