Searched refs:stat (Results 1 - 25 of 2480) sorted by last modified time

1234567891011>>

/freebsd-current/usr.sbin/pw/
H A Drm_r.c31 #include <sys/stat.h>
64 struct stat st;
124 struct statfs stat; local
146 if (statfs(path, &stat) != 0) {
154 if (strcmp(stat.f_mntonname, path) != 0)
156 argv[2] = stat.f_mntfromname;
H A Dpw_user.c87 struct stat st;
671 struct stat st;
675 stat(e->d_name, &st) == 0 &&
830 struct stat st;
1181 struct stat st;
1522 struct stat st;
/freebsd-current/usr.sbin/kldxref/
H A Dkldxref.c38 #include <sys/stat.h>
769 struct stat sb;
797 if (stat(argv[0], &sb) != 0)
/freebsd-current/usr.bin/man/
H A Dman.sh998 [ $(stat -f %i /usr/bin/man) -ne $(stat -f %i /usr/bin/apropos) ] && \
1086 [ $(stat -f %i /usr/bin/man) -ne $(stat -f %i /usr/bin/whatis) ] && \
/freebsd-current/tools/test/stress2/tools/
H A Dflip.c34 #include <sys/stat.h>
85 struct stat st;
121 err(1, "stat %s", argv[0]);
/freebsd-current/sys/rpc/
H A Dsvc.c927 enum xprt_stat stat; local
1022 if ((stat = SVC_STAT(xprt)) == XPRT_DIED) {
1028 return (stat);
1163 enum xprt_stat stat; local
1279 stat = svc_getreq(xprt, &rqstp);
1300 } while (rqstp == NULL && stat == XPRT_MOREREQS
1445 bool_t stat; local
1451 stat = xargs(&xdrs, args);
1454 return (stat);
/freebsd-current/sys/fs/tmpfs/
H A Dtmpfs_subr.c53 #include <sys/stat.h>
/freebsd-current/sys/dev/bnxt/bnxt_re/
H A Dmain.c1685 struct bnxt_qplib_stats *stat; local
1691 stat = (tid == 0xffff) ? &hctx->stats : &hctx->stats2;
1692 stat->fw_id = INVALID_STATS_CTX_ID;
1702 req.stats_dma_addr = cpu_to_le64(stat->dma_map);
1712 stat->fw_id = le32_to_cpu(resp.stat_ctx_id);
1714 stat->fw_id);
4339 "Failed initial device stat query");
/freebsd-current/sys/compat/linux/
H A Dlinux_misc.c51 #include <sys/stat.h>
/freebsd-current/sbin/reboot/
H A Dreboot.c35 #include <sys/stat.h>
329 struct stat sb;
334 if (stat(k, &sb) != 0)
335 err(1, "stat %s", k);
/freebsd-current/sbin/pfctl/
H A Dpfctl.c42 #include <sys/stat.h>
2298 struct stat st;
/freebsd-current/lib/libpmc/pmu-events/
H A Djevents.c33 #include <sys/stat.h>
53 nftw_ordered(const char *path, int (*fn)(const char *, const struct stat *, int,
1035 struct stat st;
1038 if (stat(path, &st))
1067 static int preprocess_arch_std_files(const char *fpath, const struct stat *sb,
1079 static int process_one_file(const char *fpath, const struct stat *sb,
1240 struct stat stbuf;
1265 if (stat(ldirname, &stbuf) < 0) {
1368 nftw_ordered(const char *path, int (*fn)(const char *, const struct stat *, int,
/freebsd-current/lib/libpam/modules/pam_xdg/
H A Dpam_xdg.c28 #include <sys/stat.h>
59 struct stat sb;
214 struct stat sb;
/freebsd-current/contrib/ntp/util/
H A Dntp-keygen.c88 #include <sys/stat.h>
H A Dntp-keygen-opts.c43 #include <sys/stat.h>
1530 puts(_("error %d (%s) stat-ing %s\n"));
1532 puts(_("error %d (%s) stat-ing %s\n"));
/freebsd-current/contrib/ntp/tests/libntp/
H A Ddigests.c5 #include <sys/stat.h>
45 struct stat msg_stat;
H A Drun-digests.c30 #include <sys/stat.h>
/freebsd-current/contrib/ntp/sntp/
H A Dsntp-opts.c43 #include <sys/stat.h>
1388 puts(_("error %d (%s) stat-ing %s\n"));
1390 puts(_("error %d (%s) stat-ing %s\n"));
H A Dconfigure654 # include <sys/stat.h>
2694 struct stat;
2697 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2731 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2997 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
8613 struct stat st;
25945 struct stat st;
/freebsd-current/contrib/ntp/sntp/libevent/
H A Dconfigure653 # include <sys/stat.h>
2630 struct stat;
2633 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2667 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2932 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
14750 ac_fn_c_check_header_compile "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
/freebsd-current/contrib/ntp/ntpsnmpd/
H A Dntpsnmpd-opts.c43 #include <sys/stat.h>
721 puts(_("error %d (%s) stat-ing %s\n"));
723 puts(_("error %d (%s) stat-ing %s\n"));
H A Dnetsnmp_daemonize.c121 #include <sys/stat.h>
/freebsd-current/contrib/ntp/ntpq/
H A Dntpq-opts.c43 #include <sys/stat.h>
1059 puts(_("error %d (%s) stat-ing %s\n"));
1061 puts(_("error %d (%s) stat-ing %s\n"));
/freebsd-current/contrib/ntp/ntpdc/
H A Dntpdc-opts.c43 #include <sys/stat.h>
1014 puts(_("error %d (%s) stat-ing %s\n"));
1016 puts(_("error %d (%s) stat-ing %s\n"));
/freebsd-current/contrib/ntp/ntpd/
H A Drefclock_oncore.c171 #include <sys/stat.h>
602 struct stat stat1, stat2;
666 the stat below without error even though the file has already had its
674 if (stat(device1, &stat1)) {
675 oncore_log_f(instance, LOG_ERR, "Can't stat fd1 (%s)",
680 if (stat(device2, &stat2)) {
682 oncore_log_f(instance, LOG_ERR, "Can't stat fd2 (%s) %d %m",
940 struct stat sbuf;

Completed in 709 milliseconds

1234567891011>>