Home
last modified time | relevance | path

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

/freebsd-head/lib/libprocstat/
HDlibprocstat_compat.c91 struct filestat *fst, struct freebsd11_ptsstat *pts, char *errbuf);
93 struct filestat *fst, struct freebsd12_ptsstat *pts_compat, char *errbuf);
95 struct filestat *fst, struct freebsd11_semstat *sem, char *errbuf);
97 struct filestat *fst, struct freebsd11_shmstat *shm, char *errbuf);
99 struct filestat *fst, struct freebsd11_sockstat *sock, char *errbuf);
101 struct filestat *fst, struct freebsd11_vnstat *vn, char *errbuf);
103 struct filestat *fst, struct freebsd12_vnstat *vn_compat, char *errbuf);
109 struct filestat *fst, struct freebsd11_ptsstat *pts_compat, char *errbuf) in freebsd11_procstat_get_pts_info()
128 struct filestat *fst, struct freebsd12_ptsstat *pts_compat, char *errbuf) in freebsd12_procstat_get_pts_info()
147 struct filestat *fst, struct freebsd11_semstat *sem_compat, char *errbuf) in freebsd11_procstat_get_sem_info()
[all …]
HDlibprocstat.h117 struct filestat { struct
127 STAILQ_ENTRY(filestat) next; argument
173 STAILQ_HEAD(filestat_list, filestat);
226 int procstat_get_pipe_info(struct procstat *procstat, struct filestat *fst,
228 int procstat_get_pts_info(struct procstat *procstat, struct filestat *fst,
230 int procstat_get_sem_info(struct procstat *procstat, struct filestat *fst,
232 int procstat_get_shm_info(struct procstat *procstat, struct filestat *fst,
234 int procstat_get_socket_info(struct procstat *procstat, struct filestat *fst,
236 int procstat_get_vnode_info(struct procstat *procstat, struct filestat *fst,
HDlibprocstat.c127 static int procstat_get_pipe_info_sysctl(struct filestat *fst,
129 static int procstat_get_pipe_info_kvm(kvm_t *kd, struct filestat *fst,
131 static int procstat_get_pts_info_sysctl(struct filestat *fst,
133 static int procstat_get_pts_info_kvm(kvm_t *kd, struct filestat *fst,
135 static int procstat_get_sem_info_sysctl(struct filestat *fst,
137 static int procstat_get_sem_info_kvm(kvm_t *kd, struct filestat *fst,
139 static int procstat_get_shm_info_sysctl(struct filestat *fst,
141 static int procstat_get_shm_info_kvm(kvm_t *kd, struct filestat *fst,
143 static int procstat_get_socket_info_sysctl(struct filestat *fst,
145 static int procstat_get_socket_info_kvm(kvm_t *kd, struct filestat *fst,
[all …]
/freebsd-head/usr.bin/patch/
HDutil.c97 struct stat filestat; in backup_file() local
102 if (backup_type == none || stat(orig, &filestat) != 0) in backup_file()
113 orig_device = filestat.st_dev; in backup_file()
114 orig_inode = filestat.st_ino; in backup_file()
138 while (stat(bakname, &filestat) == 0 && in backup_file()
139 orig_device == filestat.st_dev && orig_inode == filestat.st_ino) { in backup_file()
357 struct stat filestat; in fetchname() local
391 if (stat(fullname, &filestat) == 0 && S_ISDIR(filestat.st_mode)) { in fetchname()
399 *exists = stat(name, &filestat) == 0; in fetchname()
HDinp.c141 struct stat filestat; in plan_a() local
154 statfailed = stat(filename, &filestat); in plan_a()
168 statfailed = stat(filename, &filestat); in plan_a()
172 filemode = filestat.st_mode; in plan_a()
175 if ((uint64_t)filestat.st_size > SIZE_MAX) { in plan_a()
179 i_size = (size_t)filestat.st_size; in plan_a()
HDpch.c105 struct stat filestat; in open_patch_file() local
124 if (fstat(fileno(pfp), &filestat)) in open_patch_file()
126 p_filesize = filestat.st_size; in open_patch_file()
/freebsd-head/usr.bin/fstat/
HDfstat.c85 struct filestat *fst, const char *uname, const char *cmd, int pid);
87 struct filestat *fst);
89 struct filestat *fst);
91 struct filestat *fst);
93 struct filestat *fst);
95 struct filestat *fst);
97 struct filestat *fst);
216 struct filestat *fst; in dofiles()
234 print_file_info(struct procstat *procstat, struct filestat *fst, in print_file_info()
371 print_socket_info(struct procstat *procstat, struct filestat *fst) in print_socket_info()
[all …]
HDfuser.c288 struct filestat *fst; in dofiles()
/freebsd-head/contrib/ntp/libntp/lib/isc/unix/
HDfile.c357 struct stat filestat; in isc_file_isplainfile() local
358 memset(&filestat,0,sizeof(struct stat)); in isc_file_isplainfile()
360 if ((stat(filename, &filestat)) == -1) in isc_file_isplainfile()
363 if(! S_ISREG(filestat.st_mode)) in isc_file_isplainfile()
/freebsd-head/usr.bin/procstat/
HDprocstat_pwdx.c53 struct filestat *fst; in procstat_pwdx()
HDprocstat_kqueue.c284 struct filestat *f; in procstat_kqueues()
HDprocstat_files.c295 struct filestat *fst; in procstat_files()