Searched refs:filestat (Results 1 - 12 of 12) sorted by relevance

/freebsd-9.3-release/gnu/usr.bin/patch/
H A Dinp.c86 statfailed = stat(filename, &filestat);
94 statfailed = stat(filename, &filestat);
106 (filestat.st_mode & 0222) == 0 ||
108 ((filestat.st_mode & 0022) == 0 && filestat.st_uid != myuid)))) {
133 ((filestat.st_dev ^ cstat.st_dev) |
134 (filestat.st_ino ^ cstat.st_ino)))) {
151 if ((filestat.st_mode & 0222) != 0)
172 if (system(buf) || stat(filename, &filestat))
177 filemode = filestat
[all...]
H A Dutil.c72 if (stat(to, &filestat) == 0) { /* output file exists */
73 dev_t to_device = filestat.st_dev;
74 ino_t to_inode = filestat.st_ino;
87 while (stat(bakname, &filestat) == 0 &&
88 to_device == filestat.st_dev &&
89 to_inode == filestat.st_ino) {
419 if (stat(fullname, &filestat) == 0 &&
420 S_ISDIR(filestat.st_mode)) {
429 if (stat(name, &filestat) && !assume_exists) {
437 (Sprintf(tmpbuf + pathlen, f, a1, a2), stat(tmpbuf, &filestat)
[all...]
H A Dcommon.h106 EXT struct stat filestat; /* file statistics area */ variable in typeref:struct:stat
H A Dpch.c98 Fstat(fileno(pfp), &filestat); local
99 p_filesize = filestat.st_size;
/freebsd-9.3-release/lib/libprocstat/
H A Dlibprocstat.h105 struct filestat { struct
107 int fs_flags; /* filestat specific flags. */
115 STAILQ_ENTRY(filestat) next;
160 STAILQ_HEAD(filestat_list, filestat);
181 int procstat_get_pipe_info(struct procstat *procstat, struct filestat *fst,
183 int procstat_get_pts_info(struct procstat *procstat, struct filestat *fst,
185 int procstat_get_sem_info(struct procstat *procstat, struct filestat *fst,
187 int procstat_get_shm_info(struct procstat *procstat, struct filestat *fst,
189 int procstat_get_socket_info(struct procstat *procstat, struct filestat *fst,
191 int procstat_get_vnode_info(struct procstat *procstat, struct filestat *fs
[all...]
H A Dlibprocstat.c125 static int procstat_get_pipe_info_sysctl(struct filestat *fst,
127 static int procstat_get_pipe_info_kvm(kvm_t *kd, struct filestat *fst,
129 static int procstat_get_pts_info_sysctl(struct filestat *fst,
131 static int procstat_get_pts_info_kvm(kvm_t *kd, struct filestat *fst,
133 static int procstat_get_sem_info_sysctl(struct filestat *fst,
135 static int procstat_get_sem_info_kvm(kvm_t *kd, struct filestat *fst,
137 static int procstat_get_shm_info_sysctl(struct filestat *fst,
139 static int procstat_get_shm_info_kvm(kvm_t *kd, struct filestat *fst,
141 static int procstat_get_socket_info_sysctl(struct filestat *fst,
143 static int procstat_get_socket_info_kvm(kvm_t *kd, struct filestat *fs
[all...]
/freebsd-9.3-release/usr.bin/fstat/
H A Dfstat.c82 struct filestat *fst, const char *uname, const char *cmd, int pid);
84 struct filestat *fst);
86 struct filestat *fst);
88 struct filestat *fst);
90 struct filestat *fst);
92 struct filestat *fst);
94 struct filestat *fst);
210 struct filestat *fst;
228 print_file_info(struct procstat *procstat, struct filestat *fst,
314 print_socket_info(struct procstat *procstat, struct filestat *fs
[all...]
H A Dfuser.c289 struct filestat *fst;
/freebsd-9.3-release/contrib/bind9/lib/isc/unix/
H A Dfile.c410 struct stat filestat; local
411 memset(&filestat,0,sizeof(struct stat));
413 if ((stat(filename, &filestat)) == -1)
416 if(! S_ISREG(filestat.st_mode))
428 struct stat filestat; local
429 memset(&filestat,0,sizeof(struct stat));
431 if ((stat(filename, &filestat)) == -1)
434 if(! S_ISDIR(filestat.st_mode))
/freebsd-9.3-release/contrib/ntp/lib/isc/unix/
H A Dfile.c357 struct stat filestat; local
358 memset(&filestat,0,sizeof(struct stat));
360 if ((stat(filename, &filestat)) == -1)
363 if(! S_ISREG(filestat.st_mode))
/freebsd-9.3-release/contrib/ntp/lib/isc/win32/
H A Dfile.c406 struct stat filestat; local
407 memset(&filestat,0,sizeof(struct stat));
409 if ((stat(filename, &filestat)) == -1)
412 if(! S_ISREG(filestat.st_mode))
/freebsd-9.3-release/usr.bin/procstat/
H A Dprocstat_files.c267 struct filestat *fst;

Completed in 145 milliseconds