Symbol: stat
bin/cat/cat.c
240
struct stat rst;
bin/cat/cat.c
241
static struct stat ost;
bin/cp/cp.c
211
r = stat(to.p_path, &to_stat);
bin/cp/cp.c
230
stat(*argv, &tmp_stat);
bin/cp/cp.c
260
struct stat to_stat;
bin/cp/cp.c
382
if (stat(to.p_path, &to_stat) == -1)
bin/cp/cp.c
93
struct stat to_stat, tmp_stat;
bin/cp/extern.h
44
int copy_fifo(struct stat *, int);
bin/cp/extern.h
47
int copy_special(struct stat *, int);
bin/cp/extern.h
48
int setfile(struct stat *, int);
bin/cp/utils.c
249
copy_fifo(struct stat *from_stat, int exists)
bin/cp/utils.c
263
copy_special(struct stat *from_stat, int exists)
bin/cp/utils.c
277
setfile(struct stat *fs, int fd)
bin/cp/utils.c
280
struct stat ts;
bin/cp/utils.c
296
(islink ? lstat(to.p_path, &ts) : stat(to.p_path, &ts)))
bin/cp/utils.c
56
struct stat *fs;
bin/cpdup/cpdup.c
106
static void RemoveRecur(const char *dpath, dev_t devNo, struct stat *dstat);
bin/cpdup/cpdup.c
110
static int AddList(List *list, const char *name, int n, struct stat *st);
bin/cpdup/cpdup.c
115
static int OwnerMatch(struct stat *st1, struct stat *st2);
bin/cpdup/cpdup.c
117
static int FlagsMatch(struct stat *st1, struct stat *st2);
bin/cpdup/cpdup.c
121
static struct hlink *hltlookup(struct stat *);
bin/cpdup/cpdup.c
122
static struct hlink *hltadd(struct stat *, const char *);
bin/cpdup/cpdup.c
123
static char *checkHLPath(struct stat *st, const char *spath, const char *dpath);
bin/cpdup/cpdup.c
133
static int DoCopy(copy_info_t info, struct stat *stat1, int depth);
bin/cpdup/cpdup.c
136
static int mtimecmp(struct stat *st1, struct stat *st2);
bin/cpdup/cpdup.c
137
static int symlink_mfo_test(struct HostConf *hc, struct stat *st1,
bin/cpdup/cpdup.c
138
struct stat *st2);
bin/cpdup/cpdup.c
1381
struct stat *statptr;
bin/cpdup/cpdup.c
1463
RemoveRecur(const char *dpath, dev_t devNo, struct stat *dstat)
bin/cpdup/cpdup.c
1465
struct stat st;
bin/cpdup/cpdup.c
1588
AddList(List *list, const char *name, int n, struct stat *st)
bin/cpdup/cpdup.c
1813
mtimecmp(struct stat *st1, struct stat *st2)
bin/cpdup/cpdup.c
1829
symlink_mfo_test(struct HostConf *hc, struct stat *st1, struct stat *st2)
bin/cpdup/cpdup.c
378
CountSourceBytes += sizeof(struct stat) * CountSourceItems;
bin/cpdup/cpdup.c
379
CountSourceReadBytes += sizeof(struct stat) * CountSourceItems;
bin/cpdup/cpdup.c
380
CountWriteBytes += sizeof(struct stat) * CountCopiedItems;
bin/cpdup/cpdup.c
381
CountWriteBytes += sizeof(struct stat) * CountRemovedItems;
bin/cpdup/cpdup.c
487
OwnerMatch(struct stat *st1, struct stat *st2)
bin/cpdup/cpdup.c
499
FlagsMatch(struct stat *st1, struct stat *st2)
bin/cpdup/cpdup.c
520
hltlookup(struct stat *stp)
bin/cpdup/cpdup.c
538
hltadd(struct stat *stp, const char *path)
bin/cpdup/cpdup.c
603
checkHLPath(struct stat *st1, const char *spath, const char *dpath)
bin/cpdup/cpdup.c
605
struct stat sthl;
bin/cpdup/cpdup.c
682
DoCopy(copy_info_t info, struct stat *stat1, int depth)
bin/cpdup/cpdup.c
688
struct stat st1;
bin/cpdup/cpdup.c
689
struct stat st2;
bin/cpdup/cpdup.c
77
struct stat *no_Stat;
bin/cpdup/hcproto.c
11
static int hc_decode_stat(hctransaction_t trans, struct stat *, struct HCHead *);
bin/cpdup/hcproto.c
12
static int hc_decode_stat_item(struct stat *st, struct HCLeaf *item);
bin/cpdup/hcproto.c
13
static int rc_encode_stat(hctransaction_t trans, struct stat *);
bin/cpdup/hcproto.c
220
hc_stat(struct HostConf *hc, const char *path, struct stat *st)
bin/cpdup/hcproto.c
226
return(stat(path, st));
bin/cpdup/hcproto.c
238
hc_lstat(struct HostConf *hc, const char *path, struct stat *st)
bin/cpdup/hcproto.c
256
hc_decode_stat(hctransaction_t trans, struct stat *st, struct HCHead *head)
bin/cpdup/hcproto.c
267
hc_decode_stat_item(struct stat *st, struct HCLeaf *item)
bin/cpdup/hcproto.c
333
struct stat st;
bin/cpdup/hcproto.c
342
if (stat(path, &st) < 0)
bin/cpdup/hcproto.c
351
struct stat st;
bin/cpdup/hcproto.c
373
rc_encode_stat(hctransaction_t trans, struct stat *st)
bin/cpdup/hcproto.c
471
hc_readdir(struct HostConf *hc, DIR *dir, struct stat **statpp)
bin/cpdup/hcproto.c
512
*statpp = malloc(sizeof(struct stat));
bin/cpdup/hcproto.c
513
bzero(*statpp, sizeof(struct stat));
bin/cpdup/hcproto.c
624
struct stat st;
bin/cpdup/hcproto.h
96
int hc_stat(struct HostConf *hc, const char *path, struct stat *st);
bin/cpdup/hcproto.h
97
int hc_lstat(struct HostConf *hc, const char *path, struct stat *st);
bin/cpdup/hcproto.h
99
struct HCDirEntry *hc_readdir(struct HostConf *hc, DIR *dir, struct stat **statpp);
bin/cpdup/md5.c
264
struct stat st;
bin/cpdup/md5.c
314
struct stat st;
bin/cpdup/md5.c
315
if (stat(filename, &st) == 0) {
bin/dd/dd.c
262
struct stat sb;
bin/df/df.c
103
struct stat stbuf;
bin/df/df.c
194
if (stat(*argv, &stbuf) < 0) {
bin/ln/ln.c
156
if (stat(targetdir, &sb))
bin/ln/ln.c
174
struct stat sb1, sb2;
bin/ln/ln.c
198
if (stat(pathbuf, &sb1) != 0)
bin/ln/ln.c
206
if (stat(pathbuf, &sb2) != 0)
bin/ln/ln.c
214
struct stat sb;
bin/ln/ln.c
223
if ((Pflag ? lstat : stat)(source, &sb)) {
bin/ln/ln.c
241
(!hflag && stat(target, &sb) == 0 && S_ISDIR(sb.st_mode))) {
bin/ln/ln.c
260
if (stat(source, &sb) != 0)
bin/ln/ln.c
273
if (stat(wbuf, &sb) != 0)
bin/ln/ln.c
63
struct stat sb;
bin/ls/ls.c
539
struct stat *sp;
bin/ls/print.c
129
struct stat *sp;
bin/ls/print.c
317
struct stat *sp;
bin/mkdir/mkdir.c
131
struct stat sb;
bin/mkdir/mkdir.c
169
if (stat(path, &sb)) {
bin/mkdir/mkdir.c
200
struct stat sb;
bin/mkdir/mkdir.c
204
if (stat(path, &sb) == 0 && S_ISDIR(sb.st_mode))
bin/mv/mv.c
118
if (stat(argv[argc - 1], &sb) || !S_ISDIR(sb.st_mode)) {
bin/mv/mv.c
171
struct stat sb;
bin/mv/mv.c
197
} else if (access(to, W_OK) && !stat(to, &sb) && isatty(STDIN_FILENO)) {
bin/mv/mv.c
279
fastcopy(const char *from, const char *to, struct stat *sbp)
bin/mv/mv.c
370
struct stat sb;
bin/mv/mv.c
65
static int fastcopy(const char *, const char *, struct stat *);
bin/mv/mv.c
77
struct stat sb;
bin/pax/ar_io.c
72
static struct stat arsb; /* stat of archive device at open */
bin/pax/ar_subs.c
150
struct stat sb;
bin/pax/ar_subs.c
724
struct stat sb;
bin/pax/ar_subs.c
742
if (stat(dirptr, &sb) < 0) {
bin/pax/buf_subs.c
604
struct stat sb;
bin/pax/buf_subs.c
669
struct stat sb;
bin/pax/buf_subs.c
758
struct stat sb;
bin/pax/extern.h
255
void add_dir (char *, int, struct stat *, int);
bin/pax/file_subs.c
171
struct stat sb;
bin/pax/file_subs.c
229
struct stat sb;
bin/pax/file_subs.c
264
mk_link(char *to, struct stat *to_sb, char *from,
bin/pax/file_subs.c
267
struct stat sb;
bin/pax/file_subs.c
344
struct stat sb;
bin/pax/file_subs.c
503
struct stat sb;
bin/pax/file_subs.c
53
mk_link (char *,struct stat *,char *, int);
bin/pax/file_subs.c
555
struct stat sb;
bin/pax/file_subs.c
639
struct stat sb;
bin/pax/file_subs.c
927
struct stat sb;
bin/pax/gen_subs.c
75
struct stat *sbp;
bin/pax/options.c
981
struct stat sb;
bin/pax/options.c
994
if (stat(path, &sb)) {
bin/pax/pax.h
192
struct stat sb; /* stat buffer see stat(2) */
bin/pax/tables.c
1119
add_dir(char *name, int nlen, struct stat *psb, int frc_mode)
bin/ps/print.c
221
switch (KI_PROC(k, stat)) {
bin/ps/print.c
228
switch (KI_LWP(k, stat)) {
bin/ps/print.c
243
if (KI_LWP(k, stat) == LSRUN) {
bin/ps/print.c
281
if (flag & P_WEXIT && KI_PROC(k, stat) != SZOMB)
bin/ps/ps.c
255
struct stat sb;
bin/ps/ps.c
272
if (stat(ttypath, &sb) == -1)
bin/pwd/pwd.c
104
if (stat(pwd, &logic) == -1 || stat(".", &phy) == -1)
bin/pwd/pwd.c
96
struct stat logic, phy;
bin/rm/rm.c
345
struct stat sb;
bin/rm/rm.c
428
rm_overwrite(const char *file, struct stat *sbp)
bin/rm/rm.c
430
struct stat sb;
bin/rm/rm.c
490
check(const char *path, const char *name, struct stat *sp)
bin/rm/rm.c
578
struct stat st;
bin/rm/rm.c
58
static int check(const char *, const char *, struct stat *);
bin/rm/rm.c
62
static int rm_overwrite(const char *, struct stat *);
bin/sh/cd.c
124
if (stat(p, &statb) < 0) {
bin/sh/cd.c
189
struct stat statb;
bin/sh/cd.c
419
struct stat stdot, stpwd;
bin/sh/cd.c
422
if (pwd && *pwd == '/' && stat(".", &stdot) != -1 &&
bin/sh/cd.c
423
stat(pwd, &stpwd) != -1 &&
bin/sh/cd.c
85
struct stat statb;
bin/sh/exec.c
359
struct stat statb;
bin/sh/exec.c
412
if (stat(fullname, &statb) < 0) {
bin/sh/expand.c
1079
struct stat statb;
bin/sh/mail.c
100
if (stat(p, &statb) < 0)
bin/sh/mail.c
108
if (stat(p, &statb) < 0)
bin/sh/mail.c
78
struct stat statb;
bin/sh/main.c
285
struct stat statb;
bin/sh/main.c
292
if ((stat(fullname, &statb) == 0) && S_ISREG(statb.st_mode)) {
bin/sh/redir.c
180
struct stat sb;
bin/sh/redir.c
201
if (stat(fname, &sb) == -1) {
bin/stty/util.c
54
struct stat sb1, sb2;
bin/test/test.c
371
struct stat s;
bin/test/test.c
373
if (mode == FILSYM ? lstat(nm, &s) : stat(nm, &s))
bin/test/test.c
601
struct stat b1, b2;
bin/test/test.c
603
if (stat(f1, &b1) != 0 || stat(f2, &b2) != 0)
bin/test/test.c
623
struct stat b1, b2;
bin/test/test.c
625
return (stat (f1, &b1) == 0 &&
bin/test/test.c
626
stat (f2, &b2) == 0 &&
crypto/libressl/apps/openssl/apps.c
2038
struct stat st;
crypto/libressl/apps/openssl/apps.c
2040
if (stat(name, &st) == 0)
crypto/libressl/apps/openssl/certhash.c
478
struct stat sb;
crypto/libressl/crypto/x509/by_dir.c
342
struct stat st;
crypto/libressl/crypto/x509/by_dir.c
343
if (stat(b->data, &st) < 0)
crypto/libressl/tls/tls_client.c
171
struct stat sb;
crypto/libressl/tls/tls_config.c
43
struct stat st;
crypto/libressl/tls/tls_config.c
705
struct stat sb;
crypto/libressl/tls/tls_util.c
157
struct stat st;
crypto/openssh/auth-rhosts.c
195
struct stat st;
crypto/openssh/auth-rhosts.c
216
r = stat(path, &st);
crypto/openssh/auth-rhosts.c
229
stat(_PATH_RHOSTS_EQUIV, &st) == -1 &&
crypto/openssh/auth-rhosts.c
230
stat(_PATH_SSH_HOSTS_EQUIV, &st) == -1) {
crypto/openssh/auth-rhosts.c
260
if (stat(pw->pw_dir, &st) == -1) {
crypto/openssh/auth-rhosts.c
285
if (stat(path, &st) == -1) {
crypto/openssh/auth-rhosts.c
65
struct stat st;
crypto/openssh/auth.c
101
struct stat st;
crypto/openssh/auth.c
125
if (stat(shell, &st) == -1) {
crypto/openssh/auth.c
421
struct stat st;
crypto/openssh/auth.c
431
(stat(user_hostfile, &st) == 0) &&
crypto/openssh/auth2-pubkeyfile.c
446
struct stat st;
crypto/openssh/auth2.c
108
struct stat st;
crypto/openssh/authfile.c
92
struct stat st;
crypto/openssh/channels.c
5129
struct stat sbuf;
crypto/openssh/channels.c
5137
if (stat(path, &sbuf) == 0) {
crypto/openssh/channels.c
5143
if (stat(path, &sbuf) == 0) {
crypto/openssh/clientloop.c
2241
struct stat sb;
crypto/openssh/clientloop.c
2306
if (stat(options.user_hostfiles[i], &sb) != 0) {
crypto/openssh/clientloop.c
298
struct stat st;
crypto/openssh/clientloop.c
311
if (xauth_path != NULL && stat(xauth_path, &st) == -1) {
crypto/openssh/hostfile.c
480
struct stat st;
crypto/openssh/hostfile.c
488
if (stat(dotsshdir, &st) == 0)
crypto/openssh/loginrec.c
1095
struct stat buf;
crypto/openssh/loginrec.c
1185
struct stat st;
crypto/openssh/loginrec.c
1267
struct stat buf;
crypto/openssh/loginrec.c
1350
struct stat st;
crypto/openssh/loginrec.c
1482
struct stat st;
crypto/openssh/loginrec.c
1484
if (stat(LASTLOG_FILE, &st) != 0) {
crypto/openssh/loginrec.c
1672
struct stat fst;
crypto/openssh/misc.c
2233
safe_path(const char *name, struct stat *stp, const char *pw_dir,
crypto/openssh/misc.c
2239
struct stat st;
crypto/openssh/misc.c
2268
if (stat(buf, &st) == -1 ||
crypto/openssh/misc.c
2300
struct stat st;
crypto/openssh/misc.c
2740
struct stat st;
crypto/openssh/misc.c
2783
if (stat(av[0], &st) == -1) {
crypto/openssh/misc.c
3061
struct stat st;
crypto/openssh/misc.h
204
struct stat;
crypto/openssh/misc.h
205
int safe_path(const char *, struct stat *, const char *, uid_t,
crypto/openssh/readconf.c
2460
struct stat sb;
crypto/openssh/scp.c
1046
struct stat sb;
crypto/openssh/scp.c
1190
if (stat(argv[i], &sb) != 0) {
crypto/openssh/scp.c
1343
struct stat st;
crypto/openssh/scp.c
1346
if (stat(src, &st) != 0)
crypto/openssh/scp.c
1393
struct stat stb;
crypto/openssh/scp.c
1503
rsource(char *name, struct stat *statp)
crypto/openssh/scp.c
1559
struct stat st;
crypto/openssh/scp.c
1597
if ((r = stat(dst, &st)) != 0)
crypto/openssh/scp.c
1664
struct stat stb;
crypto/openssh/scp.c
1698
if (stat(targ, &stb) == 0 && S_ISDIR(stb.st_mode))
crypto/openssh/scp.c
1846
exists = stat(np, &stb) == 0;
crypto/openssh/scp.c
2185
struct stat stb;
crypto/openssh/scp.c
2187
if (!stat(cp, &stb)) {
crypto/openssh/scp.c
2231
struct stat stb;
crypto/openssh/scp.c
459
void rsource(char *, struct stat *);
crypto/openssh/scp.c
736
do_times(int fd, int verb, const struct stat *sb)
crypto/openssh/servconf.c
2708
struct stat st;
crypto/openssh/session.c
1195
struct stat st;
crypto/openssh/session.c
1204
stat(user_rc, &st) >= 0) {
crypto/openssh/session.c
1219
} else if (stat(_PATH_SSH_SYSTEM_RC, &st) >= 0) {
crypto/openssh/session.c
1267
struct stat sb;
crypto/openssh/session.c
1279
if (stat(nl, &sb) == -1)
crypto/openssh/session.c
1301
struct stat st;
crypto/openssh/session.c
1323
if (stat(component, &st) != 0)
crypto/openssh/session.c
1942
struct stat st;
crypto/openssh/session.c
1961
if (stat(prog, &st) == -1)
crypto/openssh/session.c
2566
struct stat st;
crypto/openssh/session.c
2580
(stat(options.xauth_location, &st) == -1)) {
crypto/openssh/session.c
808
struct stat st;
crypto/openssh/session.c
815
if (login_getcapbool(lc, "hushlogin", 0) || stat(buf, &st) >= 0)
crypto/openssh/session.c
818
if (stat(buf, &st) >= 0)
crypto/openssh/sftp-client.c
1609
struct stat st;
crypto/openssh/sftp-client.c
2041
struct stat sb;
crypto/openssh/sftp-client.c
2258
struct stat sb;
crypto/openssh/sftp-client.c
2269
if (stat(src, &sb) == -1) {
crypto/openssh/sftp-client.c
2333
if (stat(new_src, &sb) == -1) {
crypto/openssh/sftp-common.c
217
ls_file(const char *name, const struct stat *st, int remote, int si_units,
crypto/openssh/sftp-common.c
68
stat_to_attrib(const struct stat *st, Attrib *a)
crypto/openssh/sftp-common.c
86
attrib_to_stat(const Attrib *a, struct stat *st)
crypto/openssh/sftp-common.h
46
void stat_to_attrib(const struct stat *, Attrib *);
crypto/openssh/sftp-common.h
47
void attrib_to_stat(const Attrib *, struct stat *);
crypto/openssh/sftp-common.h
50
char *ls_file(const char *, const struct stat *, int, int,
crypto/openssh/sftp-glob.c
111
fudge_lstat(const char *path, struct stat *st)
crypto/openssh/sftp-glob.c
124
fudge_stat(const char *path, struct stat *st)
crypto/openssh/sftp-glob.c
143
struct stat sb;
crypto/openssh/sftp-realpath.c
60
struct stat sb;
crypto/openssh/sftp-server.c
1146
struct stat st;
crypto/openssh/sftp-server.c
1272
struct stat sb;
crypto/openssh/sftp-server.c
1294
struct stat st;
crypto/openssh/sftp-server.c
1300
if (stat(newpath, &st) == -1) {
crypto/openssh/sftp-server.c
1316
} else if (stat(newpath, &sb) == -1) {
crypto/openssh/sftp-server.c
902
struct stat st;
crypto/openssh/sftp-server.c
911
r = do_lstat ? lstat(name, &st) : stat(name, &st);
crypto/openssh/sftp-server.c
940
struct stat st;
crypto/openssh/sftp.c
641
struct stat sb;
crypto/openssh/sftp.c
643
if (stat(path, &sb) == -1)
crypto/openssh/sftp.c
743
struct stat sb;
crypto/openssh/sftp.c
771
if (stat(g.gl_pathv[i], &sb) == -1) {
crypto/openssh/sftp.c
906
struct stat sb;
crypto/openssh/sftp.c
944
const struct stat *as = sort_glob->gl_statv[a];
crypto/openssh/sftp.c
945
const struct stat *bs = sort_glob->gl_statv[b];
crypto/openssh/ssh-add.c
1019
struct stat st;
crypto/openssh/ssh-add.c
1032
if (stat(buf, &st) == -1)
crypto/openssh/ssh-keygen.c
1079
struct stat st;
crypto/openssh/ssh-keygen.c
1092
if (stat(prv_file, &st) == 0) {
crypto/openssh/ssh-keygen.c
1317
struct stat sb;
crypto/openssh/ssh-keygen.c
1327
if (stat(identity_file, &sb) != 0)
crypto/openssh/ssh-keygen.c
1421
struct stat st;
crypto/openssh/ssh-keygen.c
1427
if (stat(identity_file, &st) == -1)
crypto/openssh/ssh-keygen.c
1501
struct stat st;
crypto/openssh/ssh-keygen.c
1516
if (stat(fname, &st) == -1) {
crypto/openssh/ssh-keygen.c
1538
struct stat st;
crypto/openssh/ssh-keygen.c
1543
if (stat(identity_file, &st) == -1)
crypto/openssh/ssh-keygen.c
2177
struct stat st;
crypto/openssh/ssh-keygen.c
2187
if (strcmp(identity_file, "-") != 0 && stat(identity_file, &st) == -1)
crypto/openssh/ssh-keygen.c
241
struct stat st;
crypto/openssh/ssh-keygen.c
243
if (stat(filename, &st) != 0)
crypto/openssh/ssh-keygen.c
2440
struct stat sb;
crypto/openssh/ssh-keygen.c
2448
if (stat(identity_file, &sb) == -1) {
crypto/openssh/ssh-keygen.c
2527
struct stat st;
crypto/openssh/ssh-keygen.c
2544
if (waspub && stat(privpath, &st) != 0 && errno == ENOENT)
crypto/openssh/ssh-keygen.c
429
struct stat st;
crypto/openssh/ssh-keygen.c
434
if (stat(identity_file, &st) == -1)
crypto/openssh/ssh-keygen.c
766
struct stat st;
crypto/openssh/ssh-keygen.c
770
if (stat(identity_file, &st) == -1)
crypto/openssh/ssh-keygen.c
826
struct stat st;
crypto/openssh/ssh-keygen.c
832
if (stat(identity_file, &st) == -1)
crypto/openssh/ssh-keygen.c
935
struct stat st;
crypto/openssh/ssh-keygen.c
940
if (stat(identity_file, &st) == -1)
crypto/openssh/ssh.c
1489
if (stat(options.forward_agent_sock_path, &st) != 0) {
crypto/openssh/ssh.c
675
struct stat st;
crypto/openssh/ssh.c
884
if (stat(p, &st) == -1)
crypto/openssh/sshbuf-io.c
38
struct stat st;
crypto/openssh/sshconnect2.c
1523
struct stat st;
crypto/openssh/sshconnect2.c
1525
if (stat(id->filename, &st) == -1) {
crypto/openssh/sshconnect2.c
2014
struct stat st;
crypto/openssh/sshconnect2.c
2024
if (stat(_PATH_SSH_KEY_SIGN, &st) == -1) {
crypto/openssh/sshd.c
1190
struct stat sb;
crypto/openssh/sshd.c
1612
if ((stat(_PATH_PRIVSEP_CHROOT_DIR, &sb) == -1) ||
crypto/openssh/sshd.c
1656
if (stat(rexec_argv[0], &sb) != 0 || !(sb.st_mode & (S_IXOTH|S_IXUSR)))
crypto/openssh/sshpty.c
171
struct stat st;
crypto/openssh/sshpty.c
185
if (stat(tty, &st) == -1)
games/boggle/boggle/word.c
126
struct stat statb;
games/cribbage/instr.c
50
struct stat sb;
games/cribbage/instr.c
55
if (stat(_PATH_INSTR, &sb)) {
games/fortune/fortune/fortune.c
731
struct stat sbuf;
games/fortune/fortune/fortune.c
733
if (stat(file, &sbuf) < 0)
games/hack/hack.unix.c
160
static struct stat buf, hbuf;
games/hack/hack.unix.c
170
if(stat(name, &hbuf))
games/hack/hack.unix.c
199
if (stat(filename, &hbuf) == 0)
games/hack/hack.unix.c
368
static struct stat omstat, nmstat;
games/hack/hack.unix.c
377
if (stat(mailbox, &omstat)) {
games/hack/hack.unix.c
397
if (stat(mailbox, &nmstat)) {
games/hangman/setup.c
44
static struct stat sbuf;
games/hunt/huntd/makemaze.c
135
int stat;
games/hunt/huntd/makemaze.c
143
stat = 0;
games/hunt/huntd/makemaze.c
145
stat |= NORTH;
games/hunt/huntd/makemaze.c
147
stat |= SOUTH;
games/hunt/huntd/makemaze.c
149
stat |= EAST;
games/hunt/huntd/makemaze.c
151
stat |= WEST;
games/hunt/huntd/makemaze.c
152
switch (stat) {
games/larn/diag.c
177
struct stat statbuf;
games/larn/diag.c
243
struct stat filetimes;
games/larn/main.c
142
if (stat(scorefile, &sb) < 0 || sb.st_size == 0) /* not there */
games/larn/main.c
72
struct stat sb;
games/larn/scores.c
704
struct stat stbuf;
games/mille/save.c
109
if (sp == buf || (!Fromfile && stat(buf, &junk) > -1
games/mille/save.c
51
typedef struct stat STAT;
games/monop/execute.c
240
struct stat sb;
games/monop/execute.c
255
if (stat(buf, &sb) == 0
games/monop/execute.c
51
typedef struct stat STAT;
games/phantasia/setup.c
59
struct stat fbuf; /* for getting files statistics */
games/phantasia/setup.c
85
if (stat(*filename, &fbuf) == 0) {
games/rogue/machdep.c
257
struct stat sbuf;
games/rogue/machdep.c
259
if (stat(fname, &sbuf)) {
games/rogue/machdep.c
276
struct stat sbuf;
games/rogue/machdep.c
278
stat(fname, &sbuf);
games/rogue/machdep.c
332
struct stat sbuf;
games/rogue/machdep.c
336
stat(fname, &sbuf);
games/rogue/pack.c
554
short n, stat;
games/rogue/pack.c
559
if ((obj = pick_up(rogue.row, rogue.col, &stat)) != NULL) {
games/rogue/pack.c
573
if (obj || (!stat)) {
games/sail/sync.c
224
struct stat s;
games/sail/sync.c
230
if (stat(path, &s) < 0) {
games/sail/sync.c
250
struct stat tmp;
games/sail/sync.c
257
if (stat(sync_file, &tmp) < 0) {
games/trek/shield.c
105
if (*stat)
games/trek/shield.c
115
i = !*stat;
games/trek/shield.c
117
if (*stat == i) {
games/trek/shield.c
134
*stat = i;
games/trek/shield.c
68
char *stat;
games/trek/shield.c
83
stat = &Ship.cloaked;
games/trek/shield.c
90
stat = &Ship.shldup;
include/fts.h
116
struct stat *fts_statp; /* stat(2) information */
include/ftw.h
56
int ftw(const char *, int (*)(const char *, const struct stat *, int), int);
include/ftw.h
57
int nftw(const char *, int (*)(const char *, const struct stat *, int,
include/glob.h
47
struct stat;
include/glob.h
65
int (*gl_lstat)(const char *, struct stat *);
include/glob.h
66
int (*gl_stat)(const char *, struct stat *);
lib/libc/citrus/citrus_mapper.c
78
struct stat st;
lib/libc/citrus/citrus_mapper.c
91
ret = stat(path, &st);
lib/libc/citrus/citrus_mmap.c
54
struct stat st;
lib/libc/db/btree/bt_open.c
91
struct stat sb;
lib/libc/db/hash/hash.c
272
struct stat statbuf;
lib/libc/db/hash/hash.c
290
if (stat(file, &statbuf))
lib/libc/db/hash/hash.c
99
struct stat statbuf;
lib/libc/db/mpool/mpool.c
62
struct stat sb;
lib/libc/db/recno/rec_open.c
60
struct stat sb;
lib/libc/db/test/dbtest.c
648
struct stat sb;
lib/libc/db/test/hash.tests/tdel.c
102
stat = (dbp->del)(dbp, &key, 0);
lib/libc/db/test/hash.tests/tdel.c
103
if (stat) {
lib/libc/db/test/hash.tests/tdel.c
55
int stat;
lib/libc/db/test/hash.tests/thash4.c
107
stat = (dbp->get)(dbp, &key, &res, 0);
lib/libc/db/test/hash.tests/thash4.c
108
if (stat < 0 ) {
lib/libc/db/test/hash.tests/thash4.c
112
} else if ( stat > 0 ) {
lib/libc/db/test/hash.tests/thash4.c
57
int stat;
lib/libc/db/test/hash.tests/tread2.c
57
int stat;
lib/libc/db/test/hash.tests/tread2.c
84
stat = (dbp->get)(dbp, &key, &res,0);
lib/libc/db/test/hash.tests/tread2.c
85
if (stat < 0) {
lib/libc/db/test/hash.tests/tread2.c
88
} else if ( stat > 0 ) {
lib/libc/db/test/hash.tests/tseq.c
54
int stat;
lib/libc/db/test/hash.tests/tseq.c
65
for ( stat = (dbp->seq) (dbp, &res, &item, 1 );
lib/libc/db/test/hash.tests/tseq.c
66
stat == 0;
lib/libc/db/test/hash.tests/tseq.c
67
stat = (dbp->seq) (dbp, &res, &item, 0 ) ) {
lib/libc/db/test/hash.tests/tverify.c
58
int stat;
lib/libc/db/test/hash.tests/tverify.c
83
stat = (dbp->get)(dbp, &key, &res,0);
lib/libc/db/test/hash.tests/tverify.c
84
if (stat < 0) {
lib/libc/db/test/hash.tests/tverify.c
87
} else if ( stat > 0 ) {
lib/libc/gen/exec.c
154
struct stat sb;
lib/libc/gen/exec.c
245
if (stat(bp, &sb) != 0)
lib/libc/gen/fdevname.c
62
struct stat sb;
lib/libc/gen/fstab.c
101
if (stat(buf, &sb) != 0 ||
lib/libc/gen/fstab.c
89
struct stat sb;
lib/libc/gen/ftok.c
38
struct stat st;
lib/libc/gen/ftok.c
40
if (stat(path, &st) < 0)
lib/libc/gen/fts.c
1098
struct stat sb;
lib/libc/gen/fts.c
858
struct stat *sbp, sb;
lib/libc/gen/fts.c
881
if (stat(p->fts_accpath, sbp)) {
lib/libc/gen/fts.c
892
err: memset(sbp, 0, sizeof(struct stat));
lib/libc/gen/fts.c
984
struct stat statbuf;
lib/libc/gen/ftw.c
33
ftw(const char *path, int (*fn)(const char *, const struct stat *, int),
lib/libc/gen/getdevpath.c
185
xlatedevpath(char **pathp, struct stat *st)
lib/libc/gen/getdevpath.c
48
static int xlatedevpath(char **pathp, struct stat *st);
lib/libc/gen/getdevpath.c
58
struct stat st;
lib/libc/gen/getnetgrent.c
149
struct stat _yp_statp;
lib/libc/gen/getnetgrent.c
168
if (((stat(_PATH_NETGROUP, &_yp_statp) < 0) &&
lib/libc/gen/glob.c
167
static int g_lstat(Char *, struct stat *, glob_t *);
lib/libc/gen/glob.c
173
static int g_stat(Char *, struct stat *, glob_t *);
lib/libc/gen/glob.c
579
struct stat sb;
lib/libc/gen/glob.c
889
g_lstat(Char *fn, struct stat *sb, glob_t *pglob)
lib/libc/gen/glob.c
903
g_stat(Char *fn, struct stat *sb, glob_t *pglob)
lib/libc/gen/glob.c
913
return (stat(buf, sb));
lib/libc/gen/nftw.c
32
nftw(const char *path, int (*fn)(const char *, const struct stat *, int,
lib/libc/gen/nlist.c
109
struct stat st;
lib/libc/gen/nlist.c
242
struct stat st;
lib/libc/gen/opendir.c
102
struct stat statb;
lib/libc/gen/opendir.c
72
struct stat statb;
lib/libc/gen/opendir.c
80
if (stat(name, &statb) != 0)
lib/libc/gen/posixshm.c
51
struct stat stab;
lib/libc/gen/scandir.c
59
struct stat stb;
lib/libc/gen/ttyname.c
63
struct stat sb;
lib/libc/gen/utmpx.c
377
struct stat st;
lib/libc/gen/utmpx.c
69
struct stat st;
lib/libc/locale/collate.c
112
struct stat sbuf;
lib/libc/locale/ldpart.c
60
struct stat st;
lib/libc/locale/rune.c
64
struct stat sb;
lib/libc/net/nsdispatch.c
334
struct stat statbuf;
lib/libc/net/nsdispatch.c
351
if (stat(path, &statbuf) != 0)
lib/libc/net/rcmd.c
424
struct stat sbuf;
lib/libc/nls/msgcat.c
120
struct stat sbuf;
lib/libc/nls/msgcat.c
248
if (stat(path, &sbuf) == 0) {
lib/libc/nls/msgcat.c
380
struct stat st;
lib/libc/rpc/auth_unix.c
260
int stat;
lib/libc/rpc/auth_unix.c
275
stat = xdr_authunix_parms(&xdrs, &aup);
lib/libc/rpc/auth_unix.c
276
if (! stat)
lib/libc/rpc/auth_unix.c
284
stat = xdr_authunix_parms(&xdrs, &aup);
lib/libc/rpc/auth_unix.c
285
if (! stat)
lib/libc/rpc/auth_unix.c
294
return (stat);
lib/libc/rpc/clnt_bcast.c
238
enum clnt_stat stat = RPC_SUCCESS; /* Return status */
lib/libc/rpc/clnt_bcast.c
318
stat = RPC_CANTSEND;
lib/libc/rpc/clnt_bcast.c
340
stat = RPC_SYSTEMERROR;
lib/libc/rpc/clnt_bcast.c
350
if (stat == RPC_SUCCESS)
lib/libc/rpc/clnt_bcast.c
351
stat = RPC_UNKNOWNPROTO;
lib/libc/rpc/clnt_bcast.c
355
if (stat == RPC_SUCCESS)
lib/libc/rpc/clnt_bcast.c
356
stat = RPC_CANTSEND;
lib/libc/rpc/clnt_bcast.c
362
stat = RPC_SYSTEMERROR;
lib/libc/rpc/clnt_bcast.c
388
stat = RPC_CANTENCODEARGS;
lib/libc/rpc/clnt_bcast.c
412
stat = RPC_CANTENCODEARGS;
lib/libc/rpc/clnt_bcast.c
433
stat = RPC_CANTSEND;
lib/libc/rpc/clnt_bcast.c
459
stat = RPC_CANTSEND;
lib/libc/rpc/clnt_bcast.c
481
stat = RPC_CANTSEND;
lib/libc/rpc/clnt_bcast.c
496
stat = RPC_SUCCESS;
lib/libc/rpc/clnt_bcast.c
507
stat = RPC_TIMEDOUT;
lib/libc/rpc/clnt_bcast.c
545
stat = RPC_CANTRECV;
lib/libc/rpc/clnt_bcast.c
619
stat = RPC_SUCCESS;
lib/libc/rpc/clnt_bcast.c
643
return (stat);
lib/libc/rpc/clnt_perror.c
211
clnt_sperrno(enum clnt_stat stat)
lib/libc/rpc/clnt_perror.c
213
unsigned int errnum = stat;
lib/libc/rpc/clnt_perror.c
302
auth_errmsg(enum auth_stat stat)
lib/libc/rpc/clnt_perror.c
304
unsigned int errnum = stat;
lib/libc/rpc/crypt_client.c
54
int stat;
lib/libc/rpc/crypt_client.c
87
stat = result_1->stat;
lib/libc/rpc/crypt_client.c
89
if (result_1->stat == DESERR_NONE ||
lib/libc/rpc/crypt_client.c
90
result_1->stat == DESERR_NOHWDEVICE) {
lib/libc/rpc/crypt_client.c
98
return(stat);
lib/libc/rpc/pmap_rmt.c
100
stat = CLNT_CALL(client, (rpcproc_t)PMAPPROC_CALLIT,
lib/libc/rpc/pmap_rmt.c
105
stat = RPC_FAILED;
lib/libc/rpc/pmap_rmt.c
108
return (stat);
lib/libc/rpc/pmap_rmt.c
84
enum clnt_stat stat;
lib/libc/rpc/rpcb_clnt.c
1124
enum clnt_stat stat;
lib/libc/rpc/rpcb_clnt.c
1129
stat = 0;
lib/libc/rpc/rpcb_clnt.c
1147
stat = CLNT_CALL(client, (rpcproc_t)RPCBPROC_CALLIT,
lib/libc/rpc/rpcb_clnt.c
1150
if ((stat == RPC_SUCCESS) && (addr_ptr != NULL)) {
lib/libc/rpc/rpcb_clnt.c
1155
stat = RPC_N2AXLATEFAILURE;
lib/libc/rpc/rpcb_clnt.c
1162
stat = RPC_FAILED; /* XXX A better error no */
lib/libc/rpc/rpcb_clnt.c
1175
} else if ((stat != RPC_PROGVERSMISMATCH) &&
lib/libc/rpc/rpcb_clnt.c
1176
(stat != RPC_PROGUNAVAIL)) {
lib/libc/rpc/rpcb_clnt.c
1184
return (stat);
lib/libc/rpc/svc.c
541
enum xprt_stat stat;
lib/libc/rpc/svc.c
611
if ((stat = SVC_STAT(xprt)) == XPRT_DIED){
lib/libc/rpc/svc.c
615
} while (stat == XPRT_MOREREQS);
lib/libc/rpc/svc_auth_unix.c
110
stat = AUTH_BADCRED;
lib/libc/rpc/svc_auth_unix.c
116
stat = AUTH_BADCRED;
lib/libc/rpc/svc_auth_unix.c
132
stat = AUTH_OK;
lib/libc/rpc/svc_auth_unix.c
135
return (stat);
lib/libc/rpc/svc_auth_unix.c
58
enum auth_stat stat;
lib/libc/rpc/svc_auth_unix.c
85
stat = AUTH_BADCRED;
lib/libc/rpc/svc_auth_unix.c
96
stat = AUTH_BADCRED;
lib/libc/rpc/svc_dg.c
220
bool_t stat = FALSE;
lib/libc/rpc/svc_dg.c
231
stat = TRUE;
lib/libc/rpc/svc_dg.c
236
return (stat);
lib/libc/stdio/fseek.c
96
struct stat st;
lib/libc/stdio/makebuf.c
89
struct stat st;
lib/libc/stdio/mktemp.c
111
struct stat sbuf;
lib/libc/stdio/mktemp.c
153
rval = stat(path, &sbuf);
lib/libc/stdio/remove.c
45
struct stat sb;
lib/libc/stdlib/posix_fadvise.c
42
struct stat buf;
lib/libc/stdlib/realpath.c
53
struct stat sb;
lib/libc/stdtime/getdate.c
68
struct stat sb;
lib/libc/stdtime/getdate.c
79
if (stat(datemsk, &sb) < 0) {
lib/libc/stdtime/localtime.c
347
struct stat stab;
lib/libc/xdr/xdr_array.c
117
for (i = 0; (i < c) && stat; i++) {
lib/libc/xdr/xdr_array.c
118
stat = (*elproc)(xdrs, target);
lib/libc/xdr/xdr_array.c
129
return (stat);
lib/libc/xdr/xdr_array.c
76
bool_t stat = TRUE;
lib/libc/xdr/xdr_reference.c
100
return (stat);
lib/libc/xdr/xdr_reference.c
74
bool_t stat;
lib/libc/xdr/xdr_reference.c
94
stat = (*proc)(xdrs, loc);
lib/libc/xdr/xdr_sizeof.c
129
bool_t stat;
lib/libc/xdr/xdr_sizeof.c
151
stat = func(&x, data);
lib/libc/xdr/xdr_sizeof.c
154
return (stat == TRUE ? (unsigned) x.x_handy: 0);
lib/libc/yp/xdryp.c
80
status = out.ypresp_all_u.val.stat;
lib/libc/yp/yplib.c
1035
if (!(r = ypprot_err(yprm.stat))) {
lib/libc/yp/yplib.c
1077
if (!(r = ypprot_err(ypml.stat))) {
lib/libc/yp/yplib.c
722
if (!(r = ypprot_err(yprv.stat))) {
lib/libc/yp/yplib.c
800
if (!(r = ypprot_err(yprkv.stat))) {
lib/libc/yp/yplib.c
860
if (!(r = ypprot_err(yprkv.stat))) {
lib/libc/yp/yplib.c
988
if (!(r = ypprot_err(ypro.stat))) {
lib/libcompat/4.3/rexec.c
141
struct stat stb;
lib/libdm/dm_task.c
781
struct stat sb;
lib/libdm/dm_task.c
783
if (stat("/dev/mapper/control", &sb) < 0)
lib/libdmsg/crypto.c
348
struct stat st;
lib/libdmsg/crypto.c
395
if (stat(path, &st) < 0) {
lib/libdmsg/msg.c
116
struct stat st;
lib/libevtr/evtr.c
1856
struct stat st;
lib/libexecinfo/private_libelf.h
2857
struct stat sb;
lib/libfetch/common.c
1634
memcpy(&tmp->stat, us, sizeof(*us));
lib/libfetch/fetch.h
63
struct url_stat stat;
lib/libfetch/file.c
103
struct stat sb;
lib/libfetch/file.c
107
if (stat(fn, &sb) == -1) {
lib/libhammer/compat.c
54
struct stat st;
lib/libkvm/kvm.c
154
struct stat st;
lib/libpam/modules/pam_nologin/pam_nologin.c
66
struct stat st;
lib/librt/aio.c
219
struct stat sb;
lib/libssh/openbsd-compat/glob.c
1015
g_lstat(Char *fn, struct stat *sb, glob_t *pglob)
lib/libssh/openbsd-compat/glob.c
1027
g_stat(Char *fn, struct stat *sb, glob_t *pglob)
lib/libssh/openbsd-compat/glob.c
1035
return(stat(buf, sb));
lib/libssh/openbsd-compat/glob.c
152
struct stat *gps_stat;
lib/libssh/openbsd-compat/glob.c
158
static int g_lstat(Char *, struct stat *, glob_t *);
lib/libssh/openbsd-compat/glob.c
162
static int g_stat(Char *, struct stat *, glob_t *);
lib/libssh/openbsd-compat/glob.c
170
struct stat *);
lib/libssh/openbsd-compat/glob.c
635
struct stat sb;
lib/libssh/openbsd-compat/glob.c
801
struct stat *sb)
lib/libssh/openbsd-compat/glob.c
807
struct stat **statv;
lib/libssh/openbsd-compat/glob.h
55
struct stat;
lib/libssh/openbsd-compat/glob.h
62
struct stat **gl_statv; /* Stat entries corresponding to gl_pathv */
lib/libssh/openbsd-compat/glob.h
74
int (*gl_lstat)(const char *, struct stat *);
lib/libssh/openbsd-compat/glob.h
75
int (*gl_stat)(const char *, struct stat *);
lib/libtcplay/tcplay.c
1382
struct stat sb;
lib/libtcplay/tcplay.c
1410
if ((stat(path, &sb)) < 0)
lib/libthread_xu/thread/thr_sem.c
440
struct stat sbuf;
lib/libthread_xu/thread/thr_sem.c
521
struct stat sbuf;
lib/libutil/_secure_path.c
48
struct stat sb;
lib/libutil/flopen.c
42
struct stat sb, fsb;
lib/libutil/flopen.c
76
if (stat(path, &sb) == -1) {
lib/libutil/getmntopts.c
118
struct stat sb;
lib/libutil/getmntopts.c
120
if (realpath(path, resolved) != NULL && stat(resolved, &sb) == 0) {
lib/libutil/gr_util.c
101
struct stat st;
lib/libutil/pidfile.c
54
struct stat sb;
lib/libutil/pidfile.c
98
struct stat sb;
lib/libutil/pw_util.c
174
struct stat st;
lib/libutil/pw_util.c
284
struct stat st1, st2;
lib/libutil/pw_util.c
290
if (stat(tempname, &st1) == -1)
lib/libutil/pw_util.c
339
if (stat(tempname, &st2) == -1)
libexec/atrun/atrun.c
125
struct stat buf, lbuf;
libexec/atrun/atrun.c
341
stat(filename, &buf);
libexec/atrun/atrun.c
438
struct stat buf;
libexec/atrun/atrun.c
502
if (stat(dirent->d_name,&buf) != 0)
libexec/bootpd/bootpd.c
1123
struct stat st;
libexec/bootpd/bootpd.c
1125
if ((stat(path, &st) == 0) && (st.st_mode & (S_IREAD >> 6))) {
libexec/bootpd/readfile.c
321
struct stat st;
libexec/bootpd/readfile.c
328
if (stat(bootptab, &st) < 0) {
libexec/comsat/comsat.c
152
struct stat stb;
libexec/comsat/comsat.c
167
if (stat(tty, &stb) == -1 || !(stb.st_mode & (S_IXUSR | S_IXGRP))) {
libexec/dma/dma.c
322
struct stat st;
libexec/dma/dma.c
341
if (stat(it->queuefn, &st) != 0) {
libexec/dma/spool.c
237
struct stat st;
libexec/dma/spool.c
255
if (stat(it->queuefn, &st) == 0 || stat(it->mailfn, &st) == 0)
libexec/dma/spool.c
284
struct stat sb;
libexec/dma/spool.c
315
if (stat(queuefn, &sb) != 0)
libexec/dma/spool.c
322
if (stat(mailfn, &sb) != 0)
libexec/dma/spool.c
406
struct stat st;
libexec/dma/spool.c
412
if (stat(flushfn, &st) < 0) {
libexec/dma/spool.c
78
struct stat st;
libexec/ftpd/ftpcmd.y
1609
struct stat stbuf;
libexec/ftpd/ftpcmd.y
1610
if (stat(filename, &stbuf) < 0)
libexec/ftpd/ftpcmd.y
1621
struct stat stbuf;
libexec/ftpd/ftpcmd.y
745
struct stat stbuf;
libexec/ftpd/ftpcmd.y
746
if (stat($4, &stbuf) < 0)
libexec/ftpd/ftpd.c
1619
struct stat st;
libexec/ftpd/ftpd.c
2295
struct stat st;
libexec/ftpd/ftpd.c
2543
struct stat st;
libexec/ftpd/ftpd.c
2626
struct stat st;
libexec/ftpd/ftpd.c
2643
struct stat st;
libexec/ftpd/ftpd.c
2647
if (guest && (stat(to, &st) == 0)) {
libexec/ftpd/ftpd.c
3029
struct stat st;
libexec/ftpd/ftpd.c
3037
if (stat(cp ? local : ".", &st) < 0) {
libexec/ftpd/ftpd.c
3099
struct stat st;
libexec/ftpd/ftpd.c
3131
if (stat(dirname, &st) < 0) {
libexec/ftpd/ftpd.c
3184
if (simple || (stat(nbuf, &st) == 0 &&
libexec/ftpd/site_md5.c
45
struct stat st;
libexec/rbootd/parseconf.c
308
struct stat statb;
libexec/rbootd/parseconf.c
336
if (stat(dp->d_name, &statb) < 0 ||
libexec/rpc.rquotad/rquotad.c
191
struct stat st;
libexec/rpc.rquotad/rquotad.c
209
stat(fs_current->fs_file, &st);
libexec/rpc.rquotad/rquotad.c
225
struct stat st_path;
libexec/rpc.rquotad/rquotad.c
229
if (stat(path, &st_path) < 0)
libexec/rpc.rusersd/rusers_proc.c
109
struct stat st;
libexec/rpc.rusersd/rusers_proc.c
134
if (stat(ttyname, &st) < 0) {
libexec/rtld-elf/libmap.c
103
struct stat st;
libexec/rtld-elf/map_object.c
53
map_object(int fd, const char *path, const struct stat *sb)
libexec/rtld-elf/rtld.c
2149
struct stat sb;
libexec/rtld-elf/rtld.c
2224
do_load_object(int fd, const char *name, char *path, struct stat *sbp,
libexec/rtld-elf/rtld.c
94
static Obj_Entry *do_load_object(int, const char *, char *, struct stat *, int);
libexec/rtld-elf/rtld.h
340
Obj_Entry *map_object(int, const char *, const struct stat *);
libexec/rtld-elf/rtld.h
63
struct stat;
libexec/talkd/announce.c
68
struct stat stbuf;
libexec/talkd/announce.c
72
if (stat(full_tty, &stbuf) < 0 || (stbuf.st_mode&020) == 0)
libexec/talkd/process.c
184
struct stat statb;
libexec/talkd/process.c
205
if (stat(ftty, &statb) == 0) {
libexec/telnetd/sys_term.c
388
struct stat stb;
libexec/telnetd/sys_term.c
397
if (stat(line, &stb) < 0)
libexec/tftpd/tftpd.c
236
struct stat sb;
libexec/tftpd/tftpd.c
247
statret = stat(tempchroot, &sb);
libexec/tftpd/tftpd.c
474
struct stat stbuf;
libexec/tftpd/tftpd.c
502
if (stat(filename, &stbuf) < 0)
libexec/tftpd/tftpd.c
534
if (stat(pathname, &stbuf) == 0 &&
libexec/utmp_update/utmp_update.c
76
struct stat st;
libexec/ypxfr/ypxfr_main.c
553
int stat;
libexec/ypxfr/ypxfr_main.c
554
if ((stat = callrpc("localhost",YPPROG,YPVERS,YPPROC_CLEAR,
libexec/ypxfr/ypxfr_main.c
558
clnt_sperrno((enum clnt_stat) stat));
libexec/ypxfr/ypxfr_misc.c
171
if (resp->stat != YP_TRUE) {
libexec/ypxfr/ypxfr_misc.c
172
switch (resp->stat) {
libexec/ypxfr/ypxfr_misc.c
235
if (resp->stat != YP_TRUE) {
libexec/ypxfr/ypxfr_misc.c
236
switch (resp->stat) {
libexec/ypxfr/ypxfr_misc.c
285
if (ypval->stat != YP_TRUE) {
sbin/badsect/badsect.c
86
struct stat stbuf, devstat;
sbin/badsect/badsect.c
93
if (chdir(argv[1]) < 0 || stat(".", &stbuf) < 0)
sbin/ccdconfig/ccdconfig.c
386
struct stat st;
sbin/ccdconfig/ccdconfig.c
388
if (stat(path, &st) != 0)
sbin/ccdconfig/ccdconfig.c
400
struct stat st;
sbin/ccdconfig/ccdconfig.c
403
if (stat(path, &st) != 0)
sbin/devfsctl/devfsctl.c
147
struct stat sb;
sbin/devfsctl/devfsctl.c
150
error = stat(tokens[1], &sb);
sbin/devfsctl/devfsctl.c
564
struct stat sb;
sbin/devfsctl/devfsctl.c
716
struct stat sb;
sbin/devfsctl/devfsctl.c
723
error = stat(tokens[0], &sb);
sbin/devfsctl/devfsctl.c
839
struct stat sb;
sbin/devfsctl/devfsctl.c
895
error = stat(config_name, &sb);
sbin/devfsctl/devfsctl.c
899
error = stat(config_name, &sb);
sbin/disklabel32/disklabel.c
531
struct stat sb;
sbin/disklabel64/disklabel64.c
1479
struct stat st;
sbin/disklabel64/disklabel64.c
570
struct stat st;
sbin/dmesg/dmesg.c
104
if (stat(memf, &st) || stat(nlistf, &st)) {
sbin/dmesg/dmesg.c
79
struct stat st;
sbin/dump/main.c
100
struct stat sb;
sbin/dump/main.c
577
struct stat sb;
sbin/dump/main.c
579
if (stat(cp, &sb) == 0) {
sbin/dump/tape.c
300
struct stat sb;
sbin/dumpon/dumpon.c
131
static struct stat *
sbin/dumpon/dumpon.c
134
struct stat *stab;
sbin/dumpon/dumpon.c
47
static struct stat *get_dumpdev(void);
sbin/dumpon/dumpon.c
54
struct stat stab;
sbin/dumpon/dumpon.c
55
struct stat *stab_old;
sbin/dumpon/dumpon.c
87
if (stat(path, &stab) != 0)
sbin/fdisk/fdisk.c
502
struct stat sb;
sbin/fdisk/fdisk.c
780
struct stat st;
sbin/fdisk/fdisk.c
782
if (stat(disk, &st) == -1) {
sbin/fdisk/fdisk.c
844
struct stat st;
sbin/ffsinfo/ffsinfo.c
134
struct stat st;
sbin/ffsinfo/ffsinfo.c
198
if (0 == strrchr(device, '/') && (stat(device, &st) == -1)) {
sbin/ffsinfo/ffsinfo.c
215
if (stat(special, &st) == -1) {
sbin/ffsinfo/ffsinfo.c
217
if (stat(special, &st) == -1) {
sbin/ffsinfo/ffsinfo.c
220
if (stat(special, &st) == -1) {
sbin/ffsinfo/ffsinfo.c
240
stat(device, &st);
sbin/fsck/fsutil.c
160
struct stat stb;
sbin/fsck/fsutil.c
164
if (stat(name, &stb) < 0)
sbin/fsck/fsutil.c
189
struct stat stslash, stchar;
sbin/fsck/fsutil.c
191
if (stat("/", &stslash) < 0) {
sbin/fsck/fsutil.c
196
if (stat(origname, &stchar) < 0) {
sbin/fsck/fsutil.c
214
struct stat devstat, mntdevstat;
sbin/fsck/fsutil.c
220
if (stat(name, &devstat) != 0)
sbin/fsck/fsutil.c
240
if (stat(devname, &mntdevstat) == 0 &&
sbin/fsck/fsutil.c
256
struct stat stslash, stblock, stchar;
sbin/fsck/fsutil.c
262
if (stat("/", &stslash) < 0) {
sbin/fsck/fsutil.c
269
if (stat(newname, &stblock) < 0) {
sbin/fsck/fsutil.c
278
if (stat(raw, &stchar) < 0) {
sbin/fsck/main.c
382
struct stat devstat, mntdevstat;
sbin/fsck/main.c
388
if (stat(name, &devstat) != 0 ||
sbin/fsck/main.c
401
if (stat(devname, &mntdevstat) == 0 &&
sbin/fsck/preen.c
279
struct stat stblock;
sbin/fsck/preen.c
286
if (stat(newname, &stblock) < 0) {
sbin/fsck/preen.c
288
if (stat(newname, &stblock) < 0) {
sbin/fsck/setup.c
85
struct stat statb;
sbin/fsck/setup.c
90
if (stat(dev, &statb) < 0) {
sbin/gpt/gpt.c
591
struct stat sb;
sbin/growfs/growfs.c
1919
struct stat st;
sbin/growfs/growfs.c
1978
if (stat(special, &st) == -1) {
sbin/growfs/growfs.c
1980
if (stat(special, &st) == -1) {
sbin/growfs/growfs.c
1983
if (stat(special, &st) == -1) {
sbin/hammer/cmd_cleanup.c
154
struct stat st;
sbin/hammer/cmd_cleanup.c
294
if (stat(snapshots_path, &st) < 0) {
sbin/hammer/cmd_cleanup.c
344
if (stat(npath, &st) < 0 && errno == ENOENT) {
sbin/hammer/cmd_cleanup.c
345
if (stat(snapshots_path, &st) < 0 && errno == ENOENT) {
sbin/hammer/cmd_cleanup.c
367
} else if (stat(npath, &st) < 0 && errno == ENOENT) {
sbin/hammer/cmd_cleanup.c
600
struct stat st;
sbin/hammer/cmd_cleanup.c
862
struct stat st;
sbin/hammer/cmd_cleanup.c
911
struct stat st;
sbin/hammer/cmd_config.c
107
struct stat st;
sbin/hammer/cmd_config.c
178
if (stat(path, &st) < 0) {
sbin/hammer/cmd_history.c
190
struct stat st;
sbin/hammer/cmd_history.c
194
if (stat(s, &st) == 0)
sbin/hammer/cmd_mirror.c
772
struct stat st;
sbin/hammer/cmd_pfs.c
150
struct stat st;
sbin/hammer/cmd_pfs.c
152
if (stat(path, &st))
sbin/hammer/cmd_pfs.c
259
struct stat st;
sbin/hammer/cmd_pfs.c
73
struct stat st;
sbin/hammer/cmd_recover.c
322
struct stat st;
sbin/hammer/cmd_snapshot.c
202
struct stat st;
sbin/hammer/cmd_snapshot.c
321
struct stat st;
sbin/hammer/cmd_snapshot.c
342
if (stat(softlink_dir, &st) == 0) {
sbin/hammer/cmd_snapshot.c
381
if (stat(softlink_fmt, &st) != 0 ||
sbin/hammer/cmd_snapshot.c
62
struct stat st;
sbin/hammer/cmd_snapshot.c
79
if (stat(av[0], &st) < 0) {
sbin/hammer/cmd_softprune.c
261
struct stat st;
sbin/hammer/cmd_softprune.c
410
struct stat *st,
sbin/hammer/cmd_softprune.c
57
struct stat *st,
sbin/hammer/cycle.c
42
struct stat st;
sbin/hammer/ondisk.c
118
struct stat st1, st2;
sbin/hammer/ondisk.c
239
struct stat st;
sbin/hammer2/cmd_recover.c
1034
if (stat(dest, &st) == 0) {
sbin/hammer2/cmd_recover.c
1079
if (stat(path, &st) == 0) {
sbin/hammer2/cmd_recover.c
1098
if (stat(path, &st) == 0) {
sbin/hammer2/cmd_recover.c
190
struct stat st;
sbin/hammer2/cmd_recover.c
193
if (stat(destdir, &st) == -1) {
sbin/hammer2/cmd_recover.c
967
struct stat st;
sbin/hammer2/cmd_rsa.c
49
struct stat st;
sbin/hammer2/cmd_rsa.c
59
if (stat(dir_path, &st) < 0) {
sbin/hammer2/cmd_rsa.c
75
if (stat(str1, &st) < 0) {
sbin/hammer2/cmd_rsa.c
94
if (stat(str2, &st) < 0) {
sbin/hammer2/cmd_service.c
529
struct stat st;
sbin/hammer2/cmd_service.c
552
if (stat(HAMMER2_DEFAULT_DIR "/autoconn", &st) == 0) {
sbin/hammer2/cmd_setcheck.c
38
struct stat *st);
sbin/hammer2/cmd_setcheck.c
44
struct stat st;
sbin/hammer2/cmd_setcheck.c
96
cmd_setcheck_core(uint8_t check_algo, const char *path_str, struct stat *st)
sbin/hammer2/cmd_setcomp.c
132
cmd_setcomp_core(uint8_t comp_algo, const char *path_str, struct stat *st)
sbin/hammer2/cmd_setcomp.c
38
struct stat *st);
sbin/hammer2/cmd_setcomp.c
44
struct stat st;
sbin/hammer2/ondisk.c
208
struct stat st;
sbin/hammer2/ondisk.c
267
struct stat *st;
sbin/hammer2/ondisk.c
305
if (stat(path, &st[i]) != 0)
sbin/hammer2/subs.c
314
struct stat st;
sbin/ifconfig/regdomain.c
623
struct stat sb;
sbin/init/init.c
1004
if (stat(devpath, &st) < 0)
sbin/init/init.c
1014
if (stat(devpath, &st) < 0 ||
sbin/init/init.c
1138
struct stat st;
sbin/init/init.c
1145
if (stat(_PATH_WTMPX, &st) != -1 && st.st_size != 0) {
sbin/init/init.c
1587
struct stat sb;
sbin/init/init.c
1595
if (stat(_PATH_RUNDOWN, &sb) == -1 && errno == ENOENT)
sbin/init/init.c
224
struct stat sts;
sbin/init/init.c
300
if (stat("/dev/null", &sts) < 0) {
sbin/init/init.c
991
struct stat st;
sbin/jscan/jfile.c
115
if (stat(data, &st) == 0)
sbin/jscan/jfile.c
158
struct stat st;
sbin/jscan/jfile.c
228
struct stat st;
sbin/jscan/jfile.c
524
if (stat(filename, &st) == 0) {
sbin/jscan/jfile.c
577
struct stat st;
sbin/jscan/jfile.c
76
struct stat st;
sbin/jscan/jscan.c
192
struct stat sb;
sbin/jscan/jscan.c
193
if (stat(mirror_directory, &sb) != 0) {
sbin/jscan/jscan.c
227
} else if (stat(av[optind], &st) == 0 && S_ISREG(st.st_mode)) {
sbin/jscan/jscan.c
82
struct stat st;
sbin/kldload/kldload.c
42
struct stat st1, st2;
sbin/kldload/kldload.c
46
if (stat(kldname, &st1) != 0)
sbin/kldload/kldload.c
48
if (stat(kldst->pathname, &st2) != 0)
sbin/kldstat/kldstat.c
144
struct module_stat stat;
sbin/kldstat/kldstat.c
154
stat.version = sizeof(struct module_stat);
sbin/kldstat/kldstat.c
155
if (modstat(modid, &stat) < 0)
sbin/kldstat/kldstat.c
159
printf("%3d %4d %s\n", stat.id, stat.refs, stat.name);
sbin/kldstat/kldstat.c
48
struct module_stat stat;
sbin/kldstat/kldstat.c
50
stat.version = sizeof(struct module_stat);
sbin/kldstat/kldstat.c
51
if (modstat(modid, &stat) < 0)
sbin/kldstat/kldstat.c
54
printf("\t\t%2d %s\n", stat.id, stat.name);
sbin/kldstat/kldstat.c
60
struct kld_file_stat stat;
sbin/kldstat/kldstat.c
64
stat.version = sizeof(struct kld_file_stat);
sbin/kldstat/kldstat.c
65
if (kldstat(fileid, &stat) < 0) {
sbin/kldstat/kldstat.c
69
humanize_number(buf, sizeof(buf), stat.size, "",
sbin/kldstat/kldstat.c
72
stat.id, stat.refs, POINTER_WIDTH, stat.address,
sbin/kldstat/kldstat.c
73
buf, stat.name);
sbin/kldstat/kldstat.c
76
stat.id, stat.refs, POINTER_WIDTH, stat.address,
sbin/kldstat/kldstat.c
77
stat.size, stat.name);
sbin/kldstat/kldstat.c
82
printf(" (%s)\n", stat.pathname);
sbin/kldunload/kldunload.c
92
struct kld_file_stat stat;
sbin/kldunload/kldunload.c
93
stat.version = sizeof stat;
sbin/kldunload/kldunload.c
94
if (kldstat(fileid, &stat) < 0)
sbin/kldunload/kldunload.c
96
printf("Unloading %s, id=%d\n", stat.name, fileid);
sbin/ldconfig/elfhints.c
191
struct stat s;
sbin/ldconfig/elfhints.c
240
struct stat s;
sbin/ldconfig/elfhints.c
242
if (stat(argv[i], &s) == -1)
sbin/ldconfig/elfhints.c
62
struct stat stbuf;
sbin/ldconfig/elfhints.c
67
if (stat(name, &stbuf) == -1) {
sbin/md5/md5.c
202
struct stat st;
sbin/mount/mount.c
720
struct stat sb;
sbin/mount/mount.c
734
if (stat(_PATH_FSTAB, &sb) != -1) {
sbin/mount/mount.c
809
struct stat st;
sbin/mount/mount.c
819
if (stat(path, &st) < 0)
sbin/mount_fuse/mount_fusefs.c
119
struct stat st;
sbin/mount_fuse/mount_fusefs.c
172
if (stat(fusedev, &st) == -1)
sbin/mount_hpfs/mount_hpfs.c
129
if (stat(dir, &sb) == -1)
sbin/mount_hpfs/mount_hpfs.c
66
struct stat sb;
sbin/mount_msdos/mount_msdos.c
189
if (stat(mntpath, &sb) == -1)
sbin/mount_msdos/mount_msdos.c
82
struct stat sb;
sbin/mount_nfs/mount_nfs.c
155
u_long stat;
sbin/mount_nfs/mount_nfs.c
731
if (nfhret.stat != 0) {
sbin/mount_nfs/mount_nfs.c
733
hostp, spec, strerror(nfhret.stat));
sbin/mount_nfs/mount_nfs.c
858
if (!xdr_u_long(xdrsp, &np->stat))
sbin/mount_nfs/mount_nfs.c
860
if (np->stat)
sbin/mount_nfs/mount_nfs.c
886
np->stat = EAUTH;
sbin/mount_ntfs/mount_ntfs.c
140
if (stat(mntpath, &sb) == -1)
sbin/mount_ntfs/mount_ntfs.c
72
struct stat sb;
sbin/mount_tmpfs/mount_tmpfs.c
243
if (stat(canon_dir, &sb) == -1)
sbin/mount_tmpfs/mount_tmpfs.c
95
struct stat sb;
sbin/mount_ufs/mount.c
677
struct stat sb;
sbin/mount_ufs/mount.c
691
if (stat(_PATH_FSTAB, &sb) != -1) {
sbin/mountctl/mountctl.c
476
struct stat st1;
sbin/mountctl/mountctl.c
477
struct stat st2;
sbin/mountctl/mountctl.c
487
stat(mountpt, &st2) == 0 && st1.st_dev == st2.st_dev
sbin/mountd/mountd.c
2581
struct stat sb;
sbin/mountd/mountd.c
748
struct stat stb;
sbin/mountd/mountd.c
803
stat(dirpath, &stb) < 0 ||
sbin/newfs/fscopy.c
336
struct stat *st = &node->fs_St;
sbin/newfs/fscopy.c
47
struct stat fs_St;
sbin/newfs/mkfs.c
1188
struct stat st;
sbin/newfs/mkfs.c
1191
stat(mfs_mtpt, &st) < 0 ||
sbin/newfs/mkfs.c
65
extern struct stat mfs_mtstat; /* stat prior to mount */
sbin/newfs/newfs.c
152
struct stat mfs_mtstat; /* stat prior to mount */
sbin/newfs/newfs.c
210
struct stat st;
sbin/newfs/newfs.c
422
if (stat(special, &st) < 0 && special[0] && special[0] != '/')
sbin/newfs/newfs.c
626
stat(mfs_mtpt, &mfs_mtstat) < 0 ||
sbin/newfs_msdos/mkfs_msdos.c
234
struct stat sb;
sbin/newfs_msdos/mkfs_msdos.c
894
struct stat st;
sbin/newfs_msdos/newfs_msdos.c
55
struct stat st;
sbin/newfs_msdos/newfs_msdos.c
59
if (stat(b, &st) != -1)
sbin/rconfig/server.c
268
struct stat st;
sbin/rconfig/server.c
270
if (stat(path, &st) == 0) {
sbin/rcorder/rcorder.c
453
struct stat st;
sbin/restore/interactive.c
727
glob_stat(const char *name, struct stat *stp)
sbin/restore/interactive.c
78
static int glob_stat(const char *, struct stat *);
sbin/restore/symtab.c
525
struct stat stbuf;
sbin/restore/tape.c
181
struct stat stbuf;
sbin/restore/tape.c
227
if (stat(".", &stbuf) < 0) {
sbin/restore/utilities.c
210
struct stat s;
sbin/restore/utilities.c
216
if (stat(existing, &s) == 0 && s.st_flags != 0 &&
sbin/routed/parms.c
164
struct stat sb;
sbin/routed/trace.c
283
struct stat stbuf;
sbin/routed/trace.c
318
|| 0 > stat(_PATH_TRACE, &stbuf))
sbin/routed/trace.c
327
if (stat(filename, &stbuf) >= 0 && !S_ISREG(stbuf.st_mode)) {
sbin/sysctl/sysctl.c
663
static struct stat statb;
sbin/sysctl/sysctl.c
666
int rc = stat (path, &statb);
sbin/tunefs/tunefs.c
100
if (stat(special, &st) < 0) {
sbin/tunefs/tunefs.c
78
struct stat st;
sbin/vinum/commands.c
544
struct devstat *stat = &statinfo.dinfo->devices[i];
sbin/vinum/commands.c
546
if ((((stat->device_type & DEVSTAT_TYPE_MASK) == DEVSTAT_TYPE_DIRECT) /* disk device */
sbin/vinum/commands.c
547
|| ((stat->device_type & DEVSTAT_TYPE_MASK) == DEVSTAT_TYPE_STORARRAY)) /* storage array */
sbin/vinum/commands.c
548
&&((stat->device_type & DEVSTAT_TYPE_IF_MASK) != DEVSTAT_TYPE_IF_OTHER) /* and not md */
sbin/vinum/commands.c
549
&&((stat->device_type & DEVSTAT_TYPE_PASS) == 0) /* and not passthrough */
sbin/vinum/commands.c
550
&&((stat->device_name[0] != '\0'))) { /* and it has a name */
sbin/vinum/commands.c
551
sprintf(enamelist, "%s%s%d", _PATH_DEV, stat->device_name, stat->unit_number);
sbin/vinum/list.c
1254
struct devstat *stat = &statinfo.dinfo->devices[i];
sbin/vinum/list.c
1256
if (((stat->device_type & DEVSTAT_TYPE_MASK) == DEVSTAT_TYPE_DIRECT) /* disk device */
sbin/vinum/list.c
1257
&&((stat->device_type & DEVSTAT_TYPE_PASS) == 0) /* and not passthrough */
sbin/vinum/list.c
1258
&&((stat->device_name[0] != '\0'))) { /* and it has a name */
sbin/vinum/list.c
1259
sprintf(enamelist, "/dev/%s%d", stat->device_name, stat->unit_number);
sbin/vinum/v.c
108
struct stat histstat;
sbin/vinum/v.c
123
if (stat(historyfile, &histstat) == 0) { /* history file exists */
share/examples/kld/syscall/test/call.c
51
struct module_stat stat;
share/examples/kld/syscall/test/call.c
53
stat.version = sizeof(stat);
share/examples/kld/syscall/test/call.c
54
modstat(modfind("syscall"), &stat);
share/examples/kld/syscall/test/call.c
55
syscall_num = stat.data.intval;
share/examples/scsi_target/scsi_target.c
198
struct stat st;
share/examples/ses/srcs/chpmon.c
110
if (stat & SES_ENCSTAT_UNRECOV)
share/examples/ses/srcs/chpmon.c
113
if (stat & SES_ENCSTAT_CRITICAL)
share/examples/ses/srcs/chpmon.c
116
if (stat & SES_ENCSTAT_NONCRITICAL)
share/examples/ses/srcs/chpmon.c
119
stat = SES_ENCSTAT_CRITICAL;
share/examples/ses/srcs/chpmon.c
120
if (ioctl(fd, SESIOC_SETENCSTAT, (caddr_t) &stat) < 0) {
share/examples/ses/srcs/chpmon.c
56
ses_encstat stat, *carray;
share/examples/ses/srcs/chpmon.c
82
stat = 0;
share/examples/ses/srcs/chpmon.c
83
if (ioctl(fd, SESIOC_SETENCSTAT, (caddr_t) &stat) < 0) {
share/examples/ses/srcs/chpmon.c
92
if (ioctl(fd, SESIOC_GETENCSTAT, (caddr_t) &stat) < 0) {
share/examples/ses/srcs/chpmon.c
99
if ((stat & BADSTAT) == 0) {
share/examples/ses/srcs/sesd.c
129
if (ioctl(fd, SESIOC_GETENCSTAT, (caddr_t) &stat) < 0) {
share/examples/ses/srcs/sesd.c
137
if (stat == carray[dev])
share/examples/ses/srcs/sesd.c
140
carray[dev] = stat;
share/examples/ses/srcs/sesd.c
141
if ((stat & ALLSTAT) == 0) {
share/examples/ses/srcs/sesd.c
145
if (stat & SES_ENCSTAT_INFO) {
share/examples/ses/srcs/sesd.c
150
if (stat & SES_ENCSTAT_NONCRITICAL) {
share/examples/ses/srcs/sesd.c
154
if (stat & SES_ENCSTAT_CRITICAL) {
share/examples/ses/srcs/sesd.c
158
if (stat & SES_ENCSTAT_UNRECOV) {
share/examples/ses/srcs/sesd.c
60
ses_encstat stat, *carray;
share/examples/ses/srcs/setencstat.c
50
ses_encstat stat;
share/examples/ses/srcs/setencstat.c
63
stat = (ses_encstat) val;
share/examples/ses/srcs/setencstat.c
64
if (ioctl(fd, SESIOC_SETENCSTAT, (caddr_t) &stat) < 0) {
stand/boot/common/bootstrap.h
34
struct stat;
stand/boot/common/bootstrap.h
82
int rel_stat(const char *path, struct stat *st);
stand/boot/common/commands.c
533
struct stat sb;
stand/boot/common/commands.c
587
struct stat sb;
stand/boot/common/ls.c
137
struct stat sb;
stand/boot/common/ls.c
57
struct stat sb;
stand/boot/common/module.c
672
struct stat st;
stand/boot/common/module.c
734
struct stat sb;
stand/boot/common/module.c
987
struct stat st;
stand/boot/common/rel_open.c
108
if (stat(base, &st) == 0 && S_ISDIR(st.st_mode)) {
stand/boot/common/rel_open.c
186
rel_stat(const char *path, struct stat *st)
stand/boot/common/rel_open.c
197
res = stat(ptr, st);
stand/boot/common/rel_open.c
200
res = stat(path, st);
stand/boot/common/rel_open.c
81
struct stat st;
stand/boot/pc32/btxld/btxld.c
308
struct stat sb;
stand/lib/bzipfs.c
146
struct stat sb;
stand/lib/bzipfs.c
286
bzf_stat(struct open_file *f, struct stat *sb)
stand/lib/bzipfs.c
52
static int bzf_stat(struct open_file *f, struct stat *sb);
stand/lib/cd9660.c
585
cd9660_stat(struct open_file *f, struct stat *sb)
stand/lib/cd9660.c
70
static int cd9660_stat(struct open_file *f, struct stat *sb);
stand/lib/dosfs.c
354
dos_stat(struct open_file *fd, struct stat *sb)
stand/lib/dosfs.c
49
static int dos_stat(struct open_file *fd, struct stat *sb);
stand/lib/ext2fs.c
861
ext2fs_stat(struct open_file *f, struct stat *sb)
stand/lib/ext2fs.c
96
static int ext2fs_stat(struct open_file *f, struct stat *sb);
stand/lib/fstat.c
38
fstat(int fd, struct stat *sb)
stand/lib/gzipfs.c
173
struct stat sb;
stand/lib/gzipfs.c
321
zf_stat(struct open_file *f, struct stat *sb)
stand/lib/gzipfs.c
49
static int zf_stat(struct open_file *f, struct stat *sb);
stand/lib/hammer1.c
1025
hammer_stat(struct open_file *f, struct stat *st)
stand/lib/hammer1.c
1080
struct stat st;
stand/lib/hammer1.c
699
hstat(struct hfs *hfs, ino_t ino, struct stat* st)
stand/lib/hammer1.c
943
struct stat st;
stand/lib/hammer2.c
914
hammer2_stat(struct open_file *f, struct stat *st)
stand/lib/nfs.c
134
static int nfs_stat(struct open_file *f, struct stat *sb);
stand/lib/nfs.c
675
nfs_stat(struct open_file *f, struct stat *sb)
stand/lib/nullfs.c
105
null_stat(struct open_file *f, struct stat *sb)
stand/lib/splitfs.c
281
splitfs_stat(struct open_file *f, struct stat *sb)
stand/lib/splitfs.c
51
static int splitfs_stat(struct open_file *f, struct stat *sb);
stand/lib/splitfs.c
86
struct stat sb;
stand/lib/stand.h
109
int (*fo_stat)(struct open_file *, struct stat *);
stand/lib/stand.h
368
extern int null_stat(struct open_file *, struct stat *);
stand/lib/stat.c
38
stat(const char *str, struct stat *sb)
stand/lib/tftp.c
414
tftp_stat(struct open_file *f, struct stat *sb)
stand/lib/tftp.c
68
static int tftp_stat(struct open_file *f, struct stat *sb);
stand/lib/ufs.c
679
ufs_stat(struct open_file *f, struct stat *sb)
stand/lib/ufs.c
80
static int ufs_stat(struct open_file *f, struct stat *sb);
sys/bus/firewire/fwohci.c
1027
u_int stat, status;
sys/bus/firewire/fwohci.c
1068
stat = status & FWOHCIEV_MASK;
sys/bus/firewire/fwohci.c
1069
switch(stat){
sys/bus/firewire/fwohci.c
1077
device_printf(sc->fc.dev, "txd err=%2x %s\n", stat, fwohcicode[stat]);
sys/bus/firewire/fwohci.c
1082
device_printf(sc->fc.dev, "txd err=%2x %s\n", stat, fwohcicode[stat]);
sys/bus/firewire/fwohci.c
1097
stat, fwohcicode[stat]);
sys/bus/firewire/fwohci.c
1120
} else if (stat != FWOHCIEV_ACKPEND) {
sys/bus/firewire/fwohci.c
1121
if (stat != FWOHCIEV_ACKCOMPL)
sys/bus/firewire/fwohci.c
1477
u_int32_t stat;
sys/bus/firewire/fwohci.c
1526
stat = OREAD(sc, OHCI_ITCTL(dmach));
sys/bus/firewire/fwohci.c
1527
if (firewire_debug && (stat & OHCI_CNTL_CYCMATCH_S))
sys/bus/firewire/fwohci.c
1528
kprintf("stat 0x%x\n", stat);
sys/bus/firewire/fwohci.c
1530
if (stat & (OHCI_CNTL_DMA_ACTIVE | OHCI_CNTL_CYCMATCH_S))
sys/bus/firewire/fwohci.c
1545
kprintf("fwohci_itxbuf_enable: kick 0x%08x\n", stat);
sys/bus/firewire/fwohci.c
1550
if ((stat & OHCI_CNTL_DMA_RUN) == 0) {
sys/bus/firewire/fwohci.c
1576
} else if ((stat & OHCI_CNTL_CYCMATCH_S) == 0) {
sys/bus/firewire/fwohci.c
1578
"IT DMA underrun (0x%08x)\n", stat);
sys/bus/firewire/fwohci.c
1591
u_int32_t stat;
sys/bus/firewire/fwohci.c
1654
stat = OREAD(sc, OHCI_IRCTL(dmach));
sys/bus/firewire/fwohci.c
1655
if (stat & OHCI_CNTL_DMA_ACTIVE)
sys/bus/firewire/fwohci.c
1657
if (stat & OHCI_CNTL_DMA_RUN) {
sys/bus/firewire/fwohci.c
1659
device_printf(sc->fc.dev, "IR DMA overrun (0x%08x)\n", stat);
sys/bus/firewire/fwohci.c
1663
kprintf("start IR DMA 0x%x\n", stat);
sys/bus/firewire/fwohci.c
1746
fwohci_intr_body(struct fwohci_softc *sc, u_int32_t stat, int count)
sys/bus/firewire/fwohci.c
1753
if(stat & OREAD(sc, FWOHCI_INTMASK))
sys/bus/firewire/fwohci.c
1755
stat & OHCI_INT_EN ? "DMA_EN ":"",
sys/bus/firewire/fwohci.c
1756
stat & OHCI_INT_PHY_REG ? "PHY_REG ":"",
sys/bus/firewire/fwohci.c
1757
stat & OHCI_INT_CYC_LONG ? "CYC_LONG ":"",
sys/bus/firewire/fwohci.c
1758
stat & OHCI_INT_ERR ? "INT_ERR ":"",
sys/bus/firewire/fwohci.c
1759
stat & OHCI_INT_CYC_ERR ? "CYC_ERR ":"",
sys/bus/firewire/fwohci.c
1760
stat & OHCI_INT_CYC_LOST ? "CYC_LOST ":"",
sys/bus/firewire/fwohci.c
1761
stat & OHCI_INT_CYC_64SECOND ? "CYC_64SECOND ":"",
sys/bus/firewire/fwohci.c
1762
stat & OHCI_INT_CYC_START ? "CYC_START ":"",
sys/bus/firewire/fwohci.c
1763
stat & OHCI_INT_PHY_INT ? "PHY_INT ":"",
sys/bus/firewire/fwohci.c
1764
stat & OHCI_INT_PHY_BUS_R ? "BUS_RESET ":"",
sys/bus/firewire/fwohci.c
1765
stat & OHCI_INT_PHY_SID ? "SID ":"",
sys/bus/firewire/fwohci.c
1766
stat & OHCI_INT_LR_ERR ? "DMA_LR_ERR ":"",
sys/bus/firewire/fwohci.c
1767
stat & OHCI_INT_PW_ERR ? "DMA_PW_ERR ":"",
sys/bus/firewire/fwohci.c
1768
stat & OHCI_INT_DMA_IR ? "DMA_IR ":"",
sys/bus/firewire/fwohci.c
1769
stat & OHCI_INT_DMA_IT ? "DMA_IT " :"",
sys/bus/firewire/fwohci.c
1770
stat & OHCI_INT_DMA_PRRS ? "DMA_PRRS " :"",
sys/bus/firewire/fwohci.c
1771
stat & OHCI_INT_DMA_PRRQ ? "DMA_PRRQ " :"",
sys/bus/firewire/fwohci.c
1772
stat & OHCI_INT_DMA_ARRS ? "DMA_ARRS " :"",
sys/bus/firewire/fwohci.c
1773
stat & OHCI_INT_DMA_ARRQ ? "DMA_ARRQ " :"",
sys/bus/firewire/fwohci.c
1774
stat & OHCI_INT_DMA_ATRS ? "DMA_ATRS " :"",
sys/bus/firewire/fwohci.c
1775
stat & OHCI_INT_DMA_ATRQ ? "DMA_ATRQ " :"",
sys/bus/firewire/fwohci.c
1776
stat, OREAD(sc, FWOHCI_INTMASK)
sys/bus/firewire/fwohci.c
1780
if(stat & OHCI_INT_PHY_BUS_R ){
sys/bus/firewire/fwohci.c
1803
if((stat & OHCI_INT_DMA_IR )){
sys/bus/firewire/fwohci.c
1822
if((stat & OHCI_INT_DMA_IT )){
sys/bus/firewire/fwohci.c
1833
if((stat & OHCI_INT_DMA_PRRS )){
sys/bus/firewire/fwohci.c
1843
if((stat & OHCI_INT_DMA_PRRQ )){
sys/bus/firewire/fwohci.c
1853
if(stat & OHCI_INT_PHY_SID){
sys/bus/firewire/fwohci.c
1923
if((stat & OHCI_INT_DMA_ATRQ )){
sys/bus/firewire/fwohci.c
1929
if((stat & OHCI_INT_DMA_ATRS )){
sys/bus/firewire/fwohci.c
1935
if((stat & OHCI_INT_PW_ERR )){
sys/bus/firewire/fwohci.c
1943
if((stat & OHCI_INT_ERR )){
sys/bus/firewire/fwohci.c
1951
if((stat & OHCI_INT_PHY_INT)) {
sys/bus/firewire/fwohci.c
1968
u_int32_t stat;
sys/bus/firewire/fwohci.c
1971
stat = atomic_readandclear_int(&sc->intstat);
sys/bus/firewire/fwohci.c
1972
if (stat)
sys/bus/firewire/fwohci.c
1973
fwohci_intr_body(sc, stat, -1);
sys/bus/firewire/fwohci.c
1983
u_int32_t stat, irstat, itstat;
sys/bus/firewire/fwohci.c
1985
stat = OREAD(sc, FWOHCI_INTSTAT);
sys/bus/firewire/fwohci.c
1986
if (stat == 0xffffffff) {
sys/bus/firewire/fwohci.c
1989
return(stat);
sys/bus/firewire/fwohci.c
1992
if (stat)
sys/bus/firewire/fwohci.c
1993
OWRITE(sc, FWOHCI_INTSTATCLR, stat);
sys/bus/firewire/fwohci.c
1995
if (stat & OHCI_INT_DMA_IR) {
sys/bus/firewire/fwohci.c
2000
if (stat & OHCI_INT_DMA_IT) {
sys/bus/firewire/fwohci.c
2005
return(stat);
sys/bus/firewire/fwohci.c
2012
u_int32_t stat;
sys/bus/firewire/fwohci.c
2025
stat = fwochi_check_stat(sc);
sys/bus/firewire/fwohci.c
2026
if (stat == 0 || stat == 0xffffffff)
sys/bus/firewire/fwohci.c
2029
atomic_set_int(&sc->intstat, stat);
sys/bus/firewire/fwohci.c
2031
if (stat)
sys/bus/firewire/fwohci.c
2035
if ((stat & ~bus_reset) == 0)
sys/bus/firewire/fwohci.c
2037
bus_reset = stat & OHCI_INT_PHY_BUS_R;
sys/bus/firewire/fwohci.c
2038
fwohci_intr_body(sc, stat, -1);
sys/bus/firewire/fwohci.c
2046
u_int32_t stat;
sys/bus/firewire/fwohci.c
2051
stat = OHCI_INT_DMA_IR | OHCI_INT_DMA_IT |
sys/bus/firewire/fwohci.c
2059
stat = fwochi_check_stat(sc);
sys/bus/firewire/fwohci.c
2060
if (stat == 0 || stat == 0xffffffff)
sys/bus/firewire/fwohci.c
2064
fwohci_intr_body(sc, stat, count);
sys/bus/firewire/fwohci.c
2092
u_int32_t stat, count;
sys/bus/firewire/fwohci.c
2103
stat = FWOHCI_DMA_READ(db[ldesc].db.desc.res)
sys/bus/firewire/fwohci.c
2109
if (stat == 0)
sys/bus/firewire/fwohci.c
2112
switch (stat & FWOHCIEV_MASK){
sys/bus/firewire/fwohci.c
2121
stat, fwohcicode[stat & 0x1f]);
sys/bus/firewire/fwohci.c
2138
u_int32_t stat;
sys/bus/firewire/fwohci.c
2150
stat = FWOHCI_DMA_READ(db_tr->db[ldesc].db.desc.res)
sys/bus/firewire/fwohci.c
2152
if (stat == 0)
sys/bus/firewire/fwohci.c
2169
switch (stat & FWOHCIEV_MASK) {
sys/bus/firewire/fwohci.c
2177
stat, fwohcicode[stat & 0x1f]);
sys/bus/firewire/fwohci.c
2193
u_int32_t off, cntl, stat, cmd, match;
sys/bus/firewire/fwohci.c
2208
cntl = stat = OREAD(sc, off);
sys/bus/firewire/fwohci.c
2217
stat &= 0xffff ;
sys/bus/firewire/fwohci.c
2218
if (stat) {
sys/bus/firewire/fwohci.c
2221
stat & OHCI_CNTL_DMA_RUN ? "RUN," : "",
sys/bus/firewire/fwohci.c
2222
stat & OHCI_CNTL_DMA_WAKE ? "WAKE," : "",
sys/bus/firewire/fwohci.c
2223
stat & OHCI_CNTL_DMA_DEAD ? "DEAD," : "",
sys/bus/firewire/fwohci.c
2224
stat & OHCI_CNTL_DMA_ACTIVE ? "ACTIVE," : "",
sys/bus/firewire/fwohci.c
2225
stat & OHCI_CNTL_DMA_BT ? "BRANCH," : "",
sys/bus/firewire/fwohci.c
2226
stat & OHCI_CNTL_DMA_BAD ? "BADDMA," : "",
sys/bus/firewire/fwohci.c
2227
fwohcicode[stat & 0x1f],
sys/bus/firewire/fwohci.c
2228
stat & 0x1f
sys/bus/firewire/fwohci.c
2326
fwohcireg_t stat;
sys/bus/firewire/fwohci.c
2351
stat = res >> OHCI_STATUS_SHIFT;
sys/bus/firewire/fwohci.c
2361
(u_int)stat,
sys/bus/firewire/fwohci.c
2363
if(stat & 0xff00){
sys/bus/firewire/fwohci.c
2365
stat & OHCI_CNTL_DMA_RUN ? "RUN," : "",
sys/bus/firewire/fwohci.c
2366
stat & OHCI_CNTL_DMA_WAKE ? "WAKE," : "",
sys/bus/firewire/fwohci.c
2367
stat & OHCI_CNTL_DMA_DEAD ? "DEAD," : "",
sys/bus/firewire/fwohci.c
2368
stat & OHCI_CNTL_DMA_ACTIVE ? "ACTIVE," : "",
sys/bus/firewire/fwohci.c
2369
stat & OHCI_CNTL_DMA_BT ? "BRANCH," : "",
sys/bus/firewire/fwohci.c
2370
stat & OHCI_CNTL_DMA_BAD ? "BADDMA," : "",
sys/bus/firewire/fwohci.c
2371
fwohcicode[stat & 0x1f],
sys/bus/firewire/fwohci.c
2372
stat & 0x1f
sys/bus/firewire/fwohci.c
2679
u_int32_t stat, status;
sys/bus/firewire/fwohci.c
2806
stat = FWOHCI_DMA_READ(((struct fwohci_trailer *)(ld - sizeof(struct fwohci_trailer)))->stat) >> 16;
sys/bus/firewire/fwohci.c
2808
stat = ((struct fwohci_trailer *)(ld - sizeof(struct fwohci_trailer)))->stat;
sys/bus/firewire/fwohci.c
2812
plen ,stat);
sys/bus/firewire/fwohci.c
2814
spd = (stat >> 5) & 0x3;
sys/bus/firewire/fwohci.c
2815
stat &= 0x1f;
sys/bus/firewire/fwohci.c
2816
switch(stat){
sys/bus/firewire/fwohci.c
2841
device_printf(sc->fc.dev, "Async DMA Receive error err = %02x %s\n", stat, fwohcicode[stat]);
sys/bus/firewire/fwohci.c
292
u_int32_t fun, stat;
sys/bus/firewire/fwohci.c
316
stat = OREAD(sc, FWOHCI_INTSTAT);
sys/bus/firewire/fwohci.c
317
if ((stat & OHCI_INT_REG_FAIL) != 0 ||
sys/bus/firewire/fwohcireg.h
399
stat:16;
sys/bus/u4b/controller/ehci.c
3208
USETW(sc->sc_hub_desc.stat.wStatus, UDS_SELF_POWERED);
sys/bus/u4b/controller/ehci.c
3213
USETW(sc->sc_hub_desc.stat.wStatus, 0);
sys/bus/u4b/controller/ehci.h
309
struct usb_status stat;
sys/bus/u4b/controller/ohci.c
2182
USETW(sc->sc_hub_desc.stat.wStatus, UDS_SELF_POWERED);
sys/bus/u4b/controller/ohci.c
2187
USETW(sc->sc_hub_desc.stat.wStatus, 0);
sys/bus/u4b/controller/ohci.h
217
struct usb_status stat;
sys/bus/u4b/controller/uhci.c
2577
USETW(sc->sc_hub_desc.stat.wStatus, UDS_SELF_POWERED);
sys/bus/u4b/controller/uhci.c
2582
USETW(sc->sc_hub_desc.stat.wStatus, 0);
sys/bus/u4b/controller/uhci.h
177
struct usb_status stat;
sys/bus/u4b/controller/xhci.c
3406
USETW(sc->sc_hub_desc.stat.wStatus, UDS_SELF_POWERED);
sys/bus/u4b/controller/xhci.c
3411
USETW(sc->sc_hub_desc.stat.wStatus, 0);
sys/bus/u4b/controller/xhci.h
480
struct usb_status stat;
sys/bus/u4b/net/if_aue.c
774
struct aue_rxpkt stat;
sys/bus/u4b/net/if_aue.c
793
if (actlen <= (int)(sizeof(stat) + ETHER_CRC_LEN)) {
sys/bus/u4b/net/if_aue.c
797
usbd_copy_out(pc, actlen - sizeof(stat), &stat,
sys/bus/u4b/net/if_aue.c
798
sizeof(stat));
sys/bus/u4b/net/if_aue.c
804
stat.aue_rxstat &= AUE_RXSTAT_MASK;
sys/bus/u4b/net/if_aue.c
805
if (stat.aue_rxstat) {
sys/bus/u4b/net/if_aue.c
810
actlen -= (sizeof(stat) + ETHER_CRC_LEN);
sys/bus/u4b/net/if_udav.c
653
struct udav_rxpkt stat;
sys/bus/u4b/net/if_udav.c
662
if (actlen < sizeof(stat) + ETHER_CRC_LEN) {
sys/bus/u4b/net/if_udav.c
667
usbd_copy_out(pc, 0, &stat, sizeof(stat));
sys/bus/u4b/net/if_udav.c
668
actlen -= sizeof(stat);
sys/bus/u4b/net/if_udav.c
669
len = min(actlen, le16toh(stat.pktlen));
sys/bus/u4b/net/if_udav.c
672
if (stat.rxstat & UDAV_RSR_LCS) {
sys/bus/u4b/net/if_udav.c
676
if (stat.rxstat & UDAV_RSR_ERR) {
sys/bus/u4b/net/if_udav.c
680
uether_rxbuf(ue, pc, sizeof(stat), len);
sys/bus/u4b/usb_generic.c
2061
struct usb_device_stats *stat;
sys/bus/u4b/usb_generic.c
2170
u.stat->uds_requests_fail[n] =
sys/bus/u4b/usb_generic.c
2173
u.stat->uds_requests_ok[n] =
sys/bus/u4b/wlan/if_mtw.c
2166
uint32_t stat;
sys/bus/u4b/wlan/if_mtw.c
2175
mtw_read(sc, MTW_TX_STAT_FIFO, &stat);
sys/bus/u4b/wlan/if_mtw.c
2176
MTW_DPRINTF(sc, MTW_DEBUG_XMIT, "tx stat 0x%08x\n", stat);
sys/bus/u4b/wlan/if_mtw.c
2177
if (!(stat & MTW_TXQ_VLD))
sys/bus/u4b/wlan/if_mtw.c
2180
wcid = (stat >> MTW_TXQ_WCID_SHIFT) & 0xff;
sys/bus/u4b/wlan/if_mtw.c
2183
if (!(stat & MTW_TXQ_ACKREQ) || wcid > MTW_WCID_MAX ||
sys/bus/u4b/wlan/if_mtw.c
2200
if (stat & MTW_TXQ_OK) {
sys/bus/u4b/wlan/if_mtw.c
2214
mcs = (stat >> MTW_TXQ_MCS_SHIFT) & 0x7f;
sys/bus/u4b/wlan/if_mtw.c
2215
pid = (stat >> MTW_TXQ_PID_SHIFT) & 0xf;
sys/bus/u4b/wlan/if_run.c
2506
uint32_t stat;
sys/bus/u4b/wlan/if_run.c
2515
run_read(sc, RT2860_TX_STAT_FIFO, &stat);
sys/bus/u4b/wlan/if_run.c
2516
DPRINTFN(4, "tx stat 0x%08x\n", stat);
sys/bus/u4b/wlan/if_run.c
2517
if (!(stat & RT2860_TXQ_VLD))
sys/bus/u4b/wlan/if_run.c
2520
wcid = (stat >> RT2860_TXQ_WCID_SHIFT) & 0xff;
sys/bus/u4b/wlan/if_run.c
2523
if (!(stat & RT2860_TXQ_ACKREQ) || wcid > RT2870_WCID_MAX ||
sys/bus/u4b/wlan/if_run.c
2539
if (stat & RT2860_TXQ_OK) {
sys/bus/u4b/wlan/if_run.c
2553
mcs = (stat >> RT2860_TXQ_MCS_SHIFT) & 0x7f;
sys/bus/u4b/wlan/if_run.c
2554
pid = (stat >> RT2860_TXQ_PID_SHIFT) & 0xf;
sys/bus/u4b/wlan/if_urtwn.c
1000
m = urtwn_rx_copy_to_mbuf(sc, stat, totlen);
sys/bus/u4b/wlan/if_urtwn.c
1059
struct r92c_rx_stat *stat;
sys/bus/u4b/wlan/if_urtwn.c
1065
stat = mtod(m, struct r92c_rx_stat *);
sys/bus/u4b/wlan/if_urtwn.c
1066
rxdw0 = le32toh(stat->rxdw0);
sys/bus/u4b/wlan/if_urtwn.c
1067
rxdw3 = le32toh(stat->rxdw3);
sys/bus/u4b/wlan/if_urtwn.c
1076
rssi = urtwn_r88e_get_rssi(sc, rate, &stat[1]);
sys/bus/u4b/wlan/if_urtwn.c
1078
rssi = urtwn_get_rssi(sc, rate, &stat[1]);
sys/bus/u4b/wlan/if_urtwn.c
1091
le32toh(stat->rxdw5))) {
sys/bus/u4b/wlan/if_urtwn.c
1096
tap->wr_tsft += stat->rxdw5;
sys/bus/u4b/wlan/if_urtwn.c
1117
m_adj(m, sizeof(*stat) + infosz);
sys/bus/u4b/wlan/if_urtwn.c
851
urtwn_rx_copy_to_mbuf(struct urtwn_softc *sc, struct r92c_rx_stat *stat,
sys/bus/u4b/wlan/if_urtwn.c
867
rxdw0 = le32toh(stat->rxdw0);
sys/bus/u4b/wlan/if_urtwn.c
901
memcpy(mtod(m, uint8_t *), (uint8_t *)stat, totlen);
sys/bus/u4b/wlan/if_urtwn.c
920
struct r92c_rx_stat *stat;
sys/bus/u4b/wlan/if_urtwn.c
926
if (len < sizeof(*stat)) {
sys/bus/u4b/wlan/if_urtwn.c
936
stat = (struct r92c_rx_stat *)buf;
sys/bus/u4b/wlan/if_urtwn.c
948
int report_sel = MS(le32toh(stat->rxdw3), R88E_RXDW3_RPT);
sys/bus/u4b/wlan/if_urtwn.c
954
urtwn_r88e_ratectl_tx_complete(sc, &stat[1]);
sys/bus/u4b/wlan/if_urtwn.c
971
struct r92c_rx_stat *stat;
sys/bus/u4b/wlan/if_urtwn.c
977
stat = (struct r92c_rx_stat *)buf;
sys/bus/u4b/wlan/if_urtwn.c
978
npkts = MS(le32toh(stat->rxdw2), R92C_RXDW2_PKTCNT);
sys/bus/u4b/wlan/if_urtwn.c
984
if (len < sizeof(*stat))
sys/bus/u4b/wlan/if_urtwn.c
986
stat = (struct r92c_rx_stat *)buf;
sys/bus/u4b/wlan/if_urtwn.c
987
rxdw0 = le32toh(stat->rxdw0);
sys/bus/u4b/wlan/if_urtwn.c
996
totlen = sizeof(*stat) + infosz + pktlen;
sys/dev/disk/iscsi/initiator/isc_sm.c
427
if(statSN > (sp->sn.stat + 1)) {
sys/dev/disk/iscsi/initiator/isc_sm.c
429
statSN, sp->sn.stat);
sys/dev/disk/iscsi/initiator/isc_sm.c
432
sp->sn.stat = statSN;
sys/dev/disk/iscsi/initiator/isc_sm.c
512
bhs->ExpStSN = htonl(sn->stat);
sys/dev/disk/iscsi/initiator/isc_sm.c
650
sp->cws, sp->sn.cmd, sp->sn.expCmd, sp->sn.maxCmd, sp->sn.stat, sp->sn.itt);
sys/dev/disk/iscsi/initiator/iscsi.c
392
sp->cws, sp->sn.cmd, sp->sn.expCmd, sp->sn.maxCmd, sp->sn.stat, sp->sn.itt);
sys/dev/disk/iscsi/initiator/iscsi.h
119
int stat;
sys/dev/disk/iscsi/initiator/iscsi.h
417
u_int stat;
sys/dev/disk/nata/chipsets/ata-promise.c
850
uint8_t /* err, */ stat;
sys/dev/disk/nata/chipsets/ata-promise.c
853
stat = ATA_IDX_INB(ch, ATA_STATUS);
sys/dev/disk/nata/chipsets/ata-promise.c
855
if (!(stat & ATA_S_BUSY)) {
sys/dev/disk/nata/chipsets/ata-promise.c
863
if (!(stat & ATA_S_BUSY) || (stat == 0xff && timeout > 10))
sys/dev/disk/vpo/vpo.c
275
&vpo->vpo_sense.stat, &vpo->vpo_sense.count,
sys/dev/disk/vpo/vpo.c
283
&vpo->vpo_sense.stat, &vpo->vpo_sense.count,
sys/dev/disk/vpo/vpo.c
290
error, vpo->vpo_sense.stat, vpo->vpo_sense.count, vpo->vpo_error);
sys/dev/disk/vpo/vpo.c
294
if (error == 0 && vpo->vpo_sense.stat == SCSI_STATUS_OK) {
sys/dev/disk/vpo/vpo.c
63
unsigned int stat;
sys/dev/drm/amd/amdgpu/amdgpu_kms.c
1108
int vpos, hpos, stat;
sys/dev/drm/amd/amdgpu/amdgpu_kms.c
1134
stat = amdgpu_display_get_crtc_scanoutpos(
sys/dev/drm/amd/amdgpu/amdgpu_kms.c
1140
if (((stat & (DRM_SCANOUTPOS_VALID | DRM_SCANOUTPOS_ACCURATE)) !=
sys/dev/drm/amd/amdgpu/amdgpu_kms.c
1142
DRM_DEBUG_VBL("Query failed! stat %d\n", stat);
sys/dev/drm/i915/intel_crt.c
514
u32 stat;
sys/dev/drm/i915/intel_crt.c
546
stat = I915_READ(PORT_HOTPLUG_STAT);
sys/dev/drm/i915/intel_crt.c
547
if ((stat & CRT_HOTPLUG_MONITOR_MASK) != CRT_HOTPLUG_MONITOR_NONE)
sys/dev/drm/i915/intel_display.c
16278
u32 stat;
sys/dev/drm/i915/intel_display.c
16355
error->pipe[i].stat = I915_READ(PIPESTAT(i));
sys/dev/drm/i915/intel_display.c
16407
err_printf(m, " STAT: %08x\n", error->pipe[i].stat);
sys/dev/drm/i915/intel_opregion.c
125
u32 stat;
sys/dev/drm/linux_dma-buf.c
41
dmabuf_stat(struct file *fp, struct stat *sb, struct ucred *cred)
sys/dev/drm/radeon/radeon_kms.c
764
int vpos, hpos, stat;
sys/dev/drm/radeon/radeon_kms.c
791
stat = radeon_get_crtc_scanoutpos(
sys/dev/drm/radeon/radeon_kms.c
797
if (((stat & (DRM_SCANOUTPOS_VALID | DRM_SCANOUTPOS_ACCURATE)) !=
sys/dev/drm/radeon/radeon_kms.c
799
DRM_DEBUG_VBL("Query failed! stat %d\n", stat);
sys/dev/drm/radeon/radeon_pm.c
795
enum sensor_status stat;
sys/dev/drm/radeon/radeon_pm.c
812
stat = SENSOR_S_CRIT;
sys/dev/drm/radeon/radeon_pm.c
814
stat = SENSOR_S_WARN;
sys/dev/drm/radeon/radeon_pm.c
816
stat = SENSOR_S_OK;
sys/dev/drm/radeon/radeon_pm.c
818
sensor_set(s, temp * 1000 + 273150000, stat);
sys/dev/misc/psm/psm.c
1073
int stat[3];
sys/dev/misc/psm/psm.c
1146
if (get_mouse_status(kbdc, stat, 0, 3) < 3)
sys/dev/misc/psm/psm.c
1157
int stat[3];
sys/dev/misc/psm/psm.c
1182
get_mouse_status(sc->kbdc, stat, 0, 3);
sys/dev/misc/psm/psm.c
1184
stat[1] == 0x47) &&
sys/dev/misc/psm/psm.c
1185
stat[2] == 0x40) {
sys/dev/misc/psm/psm.c
1238
if (get_mouse_status(sc->kbdc, stat, 0, 3) < 3)
sys/dev/misc/psm/psm.c
1405
int stat[3];
sys/dev/misc/psm/psm.c
1599
if (get_mouse_status(sc->kbdc, stat, 0, 3) >= 3) {
sys/dev/misc/psm/psm.c
1600
sc->dflt_mode.rate = sc->mode.rate = stat[2];
sys/dev/misc/psm/psm.c
1601
sc->dflt_mode.resolution = sc->mode.resolution = stat[1];
sys/dev/misc/psm/psm.c
1701
if (get_mouse_status(sc->kbdc, stat, 0, 3) < 3)
sys/dev/misc/psm/psm.c
1708
sc->dflt_mode.rate = sc->mode.rate = stat[2];
sys/dev/misc/psm/psm.c
1709
sc->dflt_mode.resolution = sc->mode.resolution = stat[1];
sys/dev/misc/psm/psm.c
2339
int stat[3];
sys/dev/misc/psm/psm.c
2390
if (get_mouse_status(sc->kbdc, stat, 0, 3) < 3)
sys/dev/misc/psm/psm.c
2637
int stat[3];
sys/dev/misc/psm/psm.c
2795
get_mouse_status(sc->kbdc, stat, 0, 3);
sys/dev/netif/age/if_age.c
1764
struct age_stats *stat;
sys/dev/netif/age/if_age.c
1767
stat = &sc->age_stat;
sys/dev/netif/age/if_age.c
1777
stat->rx_frames += smb->rx_frames;
sys/dev/netif/age/if_age.c
1778
stat->rx_bcast_frames += smb->rx_bcast_frames;
sys/dev/netif/age/if_age.c
1779
stat->rx_mcast_frames += smb->rx_mcast_frames;
sys/dev/netif/age/if_age.c
1780
stat->rx_pause_frames += smb->rx_pause_frames;
sys/dev/netif/age/if_age.c
1781
stat->rx_control_frames += smb->rx_control_frames;
sys/dev/netif/age/if_age.c
1782
stat->rx_crcerrs += smb->rx_crcerrs;
sys/dev/netif/age/if_age.c
1783
stat->rx_lenerrs += smb->rx_lenerrs;
sys/dev/netif/age/if_age.c
1784
stat->rx_bytes += smb->rx_bytes;
sys/dev/netif/age/if_age.c
1785
stat->rx_runts += smb->rx_runts;
sys/dev/netif/age/if_age.c
1786
stat->rx_fragments += smb->rx_fragments;
sys/dev/netif/age/if_age.c
1787
stat->rx_pkts_64 += smb->rx_pkts_64;
sys/dev/netif/age/if_age.c
1788
stat->rx_pkts_65_127 += smb->rx_pkts_65_127;
sys/dev/netif/age/if_age.c
1789
stat->rx_pkts_128_255 += smb->rx_pkts_128_255;
sys/dev/netif/age/if_age.c
1790
stat->rx_pkts_256_511 += smb->rx_pkts_256_511;
sys/dev/netif/age/if_age.c
1791
stat->rx_pkts_512_1023 += smb->rx_pkts_512_1023;
sys/dev/netif/age/if_age.c
1792
stat->rx_pkts_1024_1518 += smb->rx_pkts_1024_1518;
sys/dev/netif/age/if_age.c
1793
stat->rx_pkts_1519_max += smb->rx_pkts_1519_max;
sys/dev/netif/age/if_age.c
1794
stat->rx_pkts_truncated += smb->rx_pkts_truncated;
sys/dev/netif/age/if_age.c
1795
stat->rx_fifo_oflows += smb->rx_fifo_oflows;
sys/dev/netif/age/if_age.c
1796
stat->rx_desc_oflows += smb->rx_desc_oflows;
sys/dev/netif/age/if_age.c
1797
stat->rx_alignerrs += smb->rx_alignerrs;
sys/dev/netif/age/if_age.c
1798
stat->rx_bcast_bytes += smb->rx_bcast_bytes;
sys/dev/netif/age/if_age.c
1799
stat->rx_mcast_bytes += smb->rx_mcast_bytes;
sys/dev/netif/age/if_age.c
1800
stat->rx_pkts_filtered += smb->rx_pkts_filtered;
sys/dev/netif/age/if_age.c
1803
stat->tx_frames += smb->tx_frames;
sys/dev/netif/age/if_age.c
1804
stat->tx_bcast_frames += smb->tx_bcast_frames;
sys/dev/netif/age/if_age.c
1805
stat->tx_mcast_frames += smb->tx_mcast_frames;
sys/dev/netif/age/if_age.c
1806
stat->tx_pause_frames += smb->tx_pause_frames;
sys/dev/netif/age/if_age.c
1807
stat->tx_excess_defer += smb->tx_excess_defer;
sys/dev/netif/age/if_age.c
1808
stat->tx_control_frames += smb->tx_control_frames;
sys/dev/netif/age/if_age.c
1809
stat->tx_deferred += smb->tx_deferred;
sys/dev/netif/age/if_age.c
1810
stat->tx_bytes += smb->tx_bytes;
sys/dev/netif/age/if_age.c
1811
stat->tx_pkts_64 += smb->tx_pkts_64;
sys/dev/netif/age/if_age.c
1812
stat->tx_pkts_65_127 += smb->tx_pkts_65_127;
sys/dev/netif/age/if_age.c
1813
stat->tx_pkts_128_255 += smb->tx_pkts_128_255;
sys/dev/netif/age/if_age.c
1814
stat->tx_pkts_256_511 += smb->tx_pkts_256_511;
sys/dev/netif/age/if_age.c
1815
stat->tx_pkts_512_1023 += smb->tx_pkts_512_1023;
sys/dev/netif/age/if_age.c
1816
stat->tx_pkts_1024_1518 += smb->tx_pkts_1024_1518;
sys/dev/netif/age/if_age.c
1817
stat->tx_pkts_1519_max += smb->tx_pkts_1519_max;
sys/dev/netif/age/if_age.c
1818
stat->tx_single_colls += smb->tx_single_colls;
sys/dev/netif/age/if_age.c
1819
stat->tx_multi_colls += smb->tx_multi_colls;
sys/dev/netif/age/if_age.c
1820
stat->tx_late_colls += smb->tx_late_colls;
sys/dev/netif/age/if_age.c
1821
stat->tx_excess_colls += smb->tx_excess_colls;
sys/dev/netif/age/if_age.c
1822
stat->tx_underrun += smb->tx_underrun;
sys/dev/netif/age/if_age.c
1823
stat->tx_desc_underrun += smb->tx_desc_underrun;
sys/dev/netif/age/if_age.c
1824
stat->tx_lenerrs += smb->tx_lenerrs;
sys/dev/netif/age/if_age.c
1825
stat->tx_pkts_truncated += smb->tx_pkts_truncated;
sys/dev/netif/age/if_age.c
1826
stat->tx_bcast_bytes += smb->tx_bcast_bytes;
sys/dev/netif/age/if_age.c
1827
stat->tx_mcast_bytes += smb->tx_mcast_bytes;
sys/dev/netif/alc/if_alc.c
2958
struct alc_hw_stats *stat;
sys/dev/netif/alc/if_alc.c
2965
stat = &sc->alc_stats;
sys/dev/netif/alc/if_alc.c
2990
stat->rx_frames += smb->rx_frames;
sys/dev/netif/alc/if_alc.c
2991
stat->rx_bcast_frames += smb->rx_bcast_frames;
sys/dev/netif/alc/if_alc.c
2992
stat->rx_mcast_frames += smb->rx_mcast_frames;
sys/dev/netif/alc/if_alc.c
2993
stat->rx_pause_frames += smb->rx_pause_frames;
sys/dev/netif/alc/if_alc.c
2994
stat->rx_control_frames += smb->rx_control_frames;
sys/dev/netif/alc/if_alc.c
2995
stat->rx_crcerrs += smb->rx_crcerrs;
sys/dev/netif/alc/if_alc.c
2996
stat->rx_lenerrs += smb->rx_lenerrs;
sys/dev/netif/alc/if_alc.c
2997
stat->rx_bytes += smb->rx_bytes;
sys/dev/netif/alc/if_alc.c
2998
stat->rx_runts += smb->rx_runts;
sys/dev/netif/alc/if_alc.c
2999
stat->rx_fragments += smb->rx_fragments;
sys/dev/netif/alc/if_alc.c
3000
stat->rx_pkts_64 += smb->rx_pkts_64;
sys/dev/netif/alc/if_alc.c
3001
stat->rx_pkts_65_127 += smb->rx_pkts_65_127;
sys/dev/netif/alc/if_alc.c
3002
stat->rx_pkts_128_255 += smb->rx_pkts_128_255;
sys/dev/netif/alc/if_alc.c
3003
stat->rx_pkts_256_511 += smb->rx_pkts_256_511;
sys/dev/netif/alc/if_alc.c
3004
stat->rx_pkts_512_1023 += smb->rx_pkts_512_1023;
sys/dev/netif/alc/if_alc.c
3005
stat->rx_pkts_1024_1518 += smb->rx_pkts_1024_1518;
sys/dev/netif/alc/if_alc.c
3006
stat->rx_pkts_1519_max += smb->rx_pkts_1519_max;
sys/dev/netif/alc/if_alc.c
3007
stat->rx_pkts_truncated += smb->rx_pkts_truncated;
sys/dev/netif/alc/if_alc.c
3008
stat->rx_fifo_oflows += smb->rx_fifo_oflows;
sys/dev/netif/alc/if_alc.c
3009
stat->rx_rrs_errs += smb->rx_rrs_errs;
sys/dev/netif/alc/if_alc.c
3010
stat->rx_alignerrs += smb->rx_alignerrs;
sys/dev/netif/alc/if_alc.c
3011
stat->rx_bcast_bytes += smb->rx_bcast_bytes;
sys/dev/netif/alc/if_alc.c
3012
stat->rx_mcast_bytes += smb->rx_mcast_bytes;
sys/dev/netif/alc/if_alc.c
3013
stat->rx_pkts_filtered += smb->rx_pkts_filtered;
sys/dev/netif/alc/if_alc.c
3016
stat->tx_frames += smb->tx_frames;
sys/dev/netif/alc/if_alc.c
3017
stat->tx_bcast_frames += smb->tx_bcast_frames;
sys/dev/netif/alc/if_alc.c
3018
stat->tx_mcast_frames += smb->tx_mcast_frames;
sys/dev/netif/alc/if_alc.c
3019
stat->tx_pause_frames += smb->tx_pause_frames;
sys/dev/netif/alc/if_alc.c
3020
stat->tx_excess_defer += smb->tx_excess_defer;
sys/dev/netif/alc/if_alc.c
3021
stat->tx_control_frames += smb->tx_control_frames;
sys/dev/netif/alc/if_alc.c
3022
stat->tx_deferred += smb->tx_deferred;
sys/dev/netif/alc/if_alc.c
3023
stat->tx_bytes += smb->tx_bytes;
sys/dev/netif/alc/if_alc.c
3024
stat->tx_pkts_64 += smb->tx_pkts_64;
sys/dev/netif/alc/if_alc.c
3025
stat->tx_pkts_65_127 += smb->tx_pkts_65_127;
sys/dev/netif/alc/if_alc.c
3026
stat->tx_pkts_128_255 += smb->tx_pkts_128_255;
sys/dev/netif/alc/if_alc.c
3027
stat->tx_pkts_256_511 += smb->tx_pkts_256_511;
sys/dev/netif/alc/if_alc.c
3028
stat->tx_pkts_512_1023 += smb->tx_pkts_512_1023;
sys/dev/netif/alc/if_alc.c
3029
stat->tx_pkts_1024_1518 += smb->tx_pkts_1024_1518;
sys/dev/netif/alc/if_alc.c
3030
stat->tx_pkts_1519_max += smb->tx_pkts_1519_max;
sys/dev/netif/alc/if_alc.c
3031
stat->tx_single_colls += smb->tx_single_colls;
sys/dev/netif/alc/if_alc.c
3032
stat->tx_multi_colls += smb->tx_multi_colls;
sys/dev/netif/alc/if_alc.c
3033
stat->tx_late_colls += smb->tx_late_colls;
sys/dev/netif/alc/if_alc.c
3034
stat->tx_excess_colls += smb->tx_excess_colls;
sys/dev/netif/alc/if_alc.c
3035
stat->tx_underrun += smb->tx_underrun;
sys/dev/netif/alc/if_alc.c
3036
stat->tx_desc_underrun += smb->tx_desc_underrun;
sys/dev/netif/alc/if_alc.c
3037
stat->tx_lenerrs += smb->tx_lenerrs;
sys/dev/netif/alc/if_alc.c
3038
stat->tx_pkts_truncated += smb->tx_pkts_truncated;
sys/dev/netif/alc/if_alc.c
3039
stat->tx_bcast_bytes += smb->tx_bcast_bytes;
sys/dev/netif/alc/if_alc.c
3040
stat->tx_mcast_bytes += smb->tx_mcast_bytes;
sys/dev/netif/ale/if_ale.c
1862
struct ale_hw_stats *stat;
sys/dev/netif/ale/if_ale.c
1869
stat = &sc->ale_stats;
sys/dev/netif/ale/if_ale.c
1884
stat->rx_frames += smb->rx_frames;
sys/dev/netif/ale/if_ale.c
1885
stat->rx_bcast_frames += smb->rx_bcast_frames;
sys/dev/netif/ale/if_ale.c
1886
stat->rx_mcast_frames += smb->rx_mcast_frames;
sys/dev/netif/ale/if_ale.c
1887
stat->rx_pause_frames += smb->rx_pause_frames;
sys/dev/netif/ale/if_ale.c
1888
stat->rx_control_frames += smb->rx_control_frames;
sys/dev/netif/ale/if_ale.c
1889
stat->rx_crcerrs += smb->rx_crcerrs;
sys/dev/netif/ale/if_ale.c
1890
stat->rx_lenerrs += smb->rx_lenerrs;
sys/dev/netif/ale/if_ale.c
1891
stat->rx_bytes += smb->rx_bytes;
sys/dev/netif/ale/if_ale.c
1892
stat->rx_runts += smb->rx_runts;
sys/dev/netif/ale/if_ale.c
1893
stat->rx_fragments += smb->rx_fragments;
sys/dev/netif/ale/if_ale.c
1894
stat->rx_pkts_64 += smb->rx_pkts_64;
sys/dev/netif/ale/if_ale.c
1895
stat->rx_pkts_65_127 += smb->rx_pkts_65_127;
sys/dev/netif/ale/if_ale.c
1896
stat->rx_pkts_128_255 += smb->rx_pkts_128_255;
sys/dev/netif/ale/if_ale.c
1897
stat->rx_pkts_256_511 += smb->rx_pkts_256_511;
sys/dev/netif/ale/if_ale.c
1898
stat->rx_pkts_512_1023 += smb->rx_pkts_512_1023;
sys/dev/netif/ale/if_ale.c
1899
stat->rx_pkts_1024_1518 += smb->rx_pkts_1024_1518;
sys/dev/netif/ale/if_ale.c
1900
stat->rx_pkts_1519_max += smb->rx_pkts_1519_max;
sys/dev/netif/ale/if_ale.c
1901
stat->rx_pkts_truncated += smb->rx_pkts_truncated;
sys/dev/netif/ale/if_ale.c
1902
stat->rx_fifo_oflows += smb->rx_fifo_oflows;
sys/dev/netif/ale/if_ale.c
1903
stat->rx_rrs_errs += smb->rx_rrs_errs;
sys/dev/netif/ale/if_ale.c
1904
stat->rx_alignerrs += smb->rx_alignerrs;
sys/dev/netif/ale/if_ale.c
1905
stat->rx_bcast_bytes += smb->rx_bcast_bytes;
sys/dev/netif/ale/if_ale.c
1906
stat->rx_mcast_bytes += smb->rx_mcast_bytes;
sys/dev/netif/ale/if_ale.c
1907
stat->rx_pkts_filtered += smb->rx_pkts_filtered;
sys/dev/netif/ale/if_ale.c
1910
stat->tx_frames += smb->tx_frames;
sys/dev/netif/ale/if_ale.c
1911
stat->tx_bcast_frames += smb->tx_bcast_frames;
sys/dev/netif/ale/if_ale.c
1912
stat->tx_mcast_frames += smb->tx_mcast_frames;
sys/dev/netif/ale/if_ale.c
1913
stat->tx_pause_frames += smb->tx_pause_frames;
sys/dev/netif/ale/if_ale.c
1914
stat->tx_excess_defer += smb->tx_excess_defer;
sys/dev/netif/ale/if_ale.c
1915
stat->tx_control_frames += smb->tx_control_frames;
sys/dev/netif/ale/if_ale.c
1916
stat->tx_deferred += smb->tx_deferred;
sys/dev/netif/ale/if_ale.c
1917
stat->tx_bytes += smb->tx_bytes;
sys/dev/netif/ale/if_ale.c
1918
stat->tx_pkts_64 += smb->tx_pkts_64;
sys/dev/netif/ale/if_ale.c
1919
stat->tx_pkts_65_127 += smb->tx_pkts_65_127;
sys/dev/netif/ale/if_ale.c
1920
stat->tx_pkts_128_255 += smb->tx_pkts_128_255;
sys/dev/netif/ale/if_ale.c
1921
stat->tx_pkts_256_511 += smb->tx_pkts_256_511;
sys/dev/netif/ale/if_ale.c
1922
stat->tx_pkts_512_1023 += smb->tx_pkts_512_1023;
sys/dev/netif/ale/if_ale.c
1923
stat->tx_pkts_1024_1518 += smb->tx_pkts_1024_1518;
sys/dev/netif/ale/if_ale.c
1924
stat->tx_pkts_1519_max += smb->tx_pkts_1519_max;
sys/dev/netif/ale/if_ale.c
1925
stat->tx_single_colls += smb->tx_single_colls;
sys/dev/netif/ale/if_ale.c
1926
stat->tx_multi_colls += smb->tx_multi_colls;
sys/dev/netif/ale/if_ale.c
1927
stat->tx_late_colls += smb->tx_late_colls;
sys/dev/netif/ale/if_ale.c
1928
stat->tx_excess_colls += smb->tx_excess_colls;
sys/dev/netif/ale/if_ale.c
1929
stat->tx_abort += smb->tx_abort;
sys/dev/netif/ale/if_ale.c
1930
stat->tx_underrun += smb->tx_underrun;
sys/dev/netif/ale/if_ale.c
1931
stat->tx_desc_underrun += smb->tx_desc_underrun;
sys/dev/netif/ale/if_ale.c
1932
stat->tx_lenerrs += smb->tx_lenerrs;
sys/dev/netif/ale/if_ale.c
1933
stat->tx_pkts_truncated += smb->tx_pkts_truncated;
sys/dev/netif/ale/if_ale.c
1934
stat->tx_bcast_bytes += smb->tx_bcast_bytes;
sys/dev/netif/ale/if_ale.c
1935
stat->tx_mcast_bytes += smb->tx_mcast_bytes;
sys/dev/netif/bge/if_bge.c
3480
#define READ_STAT(sc, stats, stat) \
sys/dev/netif/bge/if_bge.c
3481
CSR_READ_4(sc, stats + offsetof(struct bge_stats, stat))
sys/dev/netif/bwn/bwn/if_bwn.c
5290
struct bwn_txstatus stat;
sys/dev/netif/bwn/bwn/if_bwn.c
5308
stat.cookie = (stat0 >> 16);
sys/dev/netif/bwn/bwn/if_bwn.c
5309
stat.seq = (stat1 & 0x0000ffff);
sys/dev/netif/bwn/bwn/if_bwn.c
5310
stat.phy_stat = ((stat1 & 0x00ff0000) >> 16);
sys/dev/netif/bwn/bwn/if_bwn.c
5312
stat.framecnt = ((tmp & 0xf000) >> 12);
sys/dev/netif/bwn/bwn/if_bwn.c
5313
stat.rtscnt = ((tmp & 0x0f00) >> 8);
sys/dev/netif/bwn/bwn/if_bwn.c
5314
stat.sreason = ((tmp & 0x001c) >> 2);
sys/dev/netif/bwn/bwn/if_bwn.c
5315
stat.pm = (tmp & 0x0080) ? 1 : 0;
sys/dev/netif/bwn/bwn/if_bwn.c
5316
stat.im = (tmp & 0x0040) ? 1 : 0;
sys/dev/netif/bwn/bwn/if_bwn.c
5317
stat.ampdu = (tmp & 0x0020) ? 1 : 0;
sys/dev/netif/bwn/bwn/if_bwn.c
5318
stat.ack = (tmp & 0x0002) ? 1 : 0;
sys/dev/netif/bwn/bwn/if_bwn.c
5324
stat.cookie,
sys/dev/netif/bwn/bwn/if_bwn.c
5325
stat.seq,
sys/dev/netif/bwn/bwn/if_bwn.c
5326
stat.phy_stat,
sys/dev/netif/bwn/bwn/if_bwn.c
5327
stat.framecnt,
sys/dev/netif/bwn/bwn/if_bwn.c
5328
stat.rtscnt,
sys/dev/netif/bwn/bwn/if_bwn.c
5329
stat.sreason,
sys/dev/netif/bwn/bwn/if_bwn.c
5330
stat.pm,
sys/dev/netif/bwn/bwn/if_bwn.c
5331
stat.im,
sys/dev/netif/bwn/bwn/if_bwn.c
5332
stat.ampdu,
sys/dev/netif/bwn/bwn/if_bwn.c
5333
stat.ack);
sys/dev/netif/bwn/bwn/if_bwn.c
5335
bwn_handle_txeof(mac, &stat);
sys/dev/netif/iwm/if_iwm.c
1060
if (sc->rxq.stat)
sys/dev/netif/iwm/if_iwm.c
1061
memset(sc->rxq.stat, 0, sizeof(*sc->rxq.stat));
sys/dev/netif/iwm/if_iwm.c
5710
hw = le16toh(sc->rxq.stat->closed_rb_num) & 0xfff;
sys/dev/netif/iwm/if_iwm.c
978
sizeof(*ring->stat), 16);
sys/dev/netif/iwm/if_iwm.c
984
ring->stat = ring->stat_dma.vaddr;
sys/dev/netif/iwm/if_iwmvar.h
305
struct iwm_rb_status *stat;
sys/dev/netif/iwn/if_iwn.c
1923
error = iwn_dma_contig_alloc(sc, &ring->stat_dma, (void **)&ring->stat,
sys/dev/netif/iwn/if_iwn.c
3024
struct iwn_rx_stat *stat = (struct iwn_rx_stat *)(desc + 1);
sys/dev/netif/iwn/if_iwn.c
3030
memcpy(&sc->last_rx_stat, stat, sizeof (*stat));
sys/dev/netif/iwn/if_iwn.c
3048
struct iwn_rx_stat *stat;
sys/dev/netif/iwn/if_iwn.c
3063
stat = &sc->last_rx_stat;
sys/dev/netif/iwn/if_iwn.c
3065
stat = (struct iwn_rx_stat *)(desc + 1);
sys/dev/netif/iwn/if_iwn.c
3069
if (stat->cfg_phy_len > IWN_STAT_MAXLEN) {
sys/dev/netif/iwn/if_iwn.c
3072
stat->cfg_phy_len);
sys/dev/netif/iwn/if_iwn.c
3080
head = (caddr_t)(stat + 1) + stat->cfg_phy_len;
sys/dev/netif/iwn/if_iwn.c
3081
len = le16toh(stat->len);
sys/dev/netif/iwn/if_iwn.c
3168
rssi = ops->get_rssi(sc, stat);
sys/dev/netif/iwn/if_iwn.c
3174
if (stat->flags & htole16(IWN_STAT_FLAG_SHPREAMBLE))
sys/dev/netif/iwn/if_iwn.c
3178
tap->wr_tsft = stat->tstamp;
sys/dev/netif/iwn/if_iwn.c
3179
switch (stat->rate) {
sys/dev/netif/iwn/if_iwn.c
3583
struct iwn4965_tx_stat *stat = (struct iwn4965_tx_stat *)(desc + 1);
sys/dev/netif/iwn/if_iwn.c
3593
stat->rtsfailcnt,
sys/dev/netif/iwn/if_iwn.c
3594
stat->ackfailcnt,
sys/dev/netif/iwn/if_iwn.c
3595
stat->btkillcnt,
sys/dev/netif/iwn/if_iwn.c
3596
stat->rate, le16toh(stat->duration),
sys/dev/netif/iwn/if_iwn.c
3597
le32toh(stat->status));
sys/dev/netif/iwn/if_iwn.c
3601
iwn_ampdu_tx_done(sc, qid, desc->idx, stat->nframes,
sys/dev/netif/iwn/if_iwn.c
3602
stat->ackfailcnt, &stat->status);
sys/dev/netif/iwn/if_iwn.c
3604
iwn_tx_done(sc, desc, stat->ackfailcnt,
sys/dev/netif/iwn/if_iwn.c
3605
le32toh(stat->status) & 0xff);
sys/dev/netif/iwn/if_iwn.c
3613
struct iwn5000_tx_stat *stat = (struct iwn5000_tx_stat *)(desc + 1);
sys/dev/netif/iwn/if_iwn.c
3623
stat->rtsfailcnt,
sys/dev/netif/iwn/if_iwn.c
3624
stat->ackfailcnt,
sys/dev/netif/iwn/if_iwn.c
3625
stat->btkillcnt,
sys/dev/netif/iwn/if_iwn.c
3626
stat->rate, le16toh(stat->duration),
sys/dev/netif/iwn/if_iwn.c
3627
le32toh(stat->status));
sys/dev/netif/iwn/if_iwn.c
3636
iwn_ampdu_tx_done(sc, qid, desc->idx, stat->nframes,
sys/dev/netif/iwn/if_iwn.c
3637
stat->ackfailcnt, &stat->status);
sys/dev/netif/iwn/if_iwn.c
3639
iwn_tx_done(sc, desc, stat->ackfailcnt,
sys/dev/netif/iwn/if_iwn.c
3640
le16toh(stat->status) & 0xff);
sys/dev/netif/iwn/if_iwn.c
3741
int ackfailcnt, void *stat)
sys/dev/netif/iwn/if_iwn.c
3751
uint32_t *status = stat;
sys/dev/netif/iwn/if_iwn.c
3752
uint16_t *aggstatus = stat;
sys/dev/netif/iwn/if_iwn.c
3900
hw = le16toh(sc->rxq.stat->closed_count) & 0xfff;
sys/dev/netif/iwn/if_iwn.c
5811
iwn4965_get_rssi(struct iwn_softc *sc, struct iwn_rx_stat *stat)
sys/dev/netif/iwn/if_iwn.c
5813
struct iwn4965_rx_phystat *phy = (void *)stat->phybuf;
sys/dev/netif/iwn/if_iwn.c
5838
iwn5000_get_rssi(struct iwn_softc *sc, struct iwn_rx_stat *stat)
sys/dev/netif/iwn/if_iwn.c
5840
struct iwn5000_rx_phystat *phy = (void *)stat->phybuf;
sys/dev/netif/iwn/if_iwnvar.h
129
struct iwn_rx_status *stat;
sys/dev/netif/mii_layer/ip1000phy.c
313
uint32_t bmsr, bmcr, stat;
sys/dev/netif/mii_layer/ip1000phy.c
336
stat = PHY_READ(sc, STGE_PhyCtrl);
sys/dev/netif/mii_layer/ip1000phy.c
337
switch (PC_LinkSpeed(stat)) {
sys/dev/netif/mii_layer/ip1000phy.c
351
if ((stat & PC_PhyDuplexStatus) != 0)
sys/dev/netif/mii_layer/ip1000phy.c
378
stat = PHY_READ(sc, IP1000PHY_MII_1000SR);
sys/dev/netif/mii_layer/ip1000phy.c
379
if ((stat & IP1000PHY_1000SR_MASTER) != 0)
sys/dev/netif/mn/if_mn.c
1188
u_int32_t stat, lstat, u;
sys/dev/netif/mn/if_mn.c
1192
stat = sc->m32x->stat;
sys/dev/netif/mn/if_mn.c
1195
if (!stat && !(lstat & 2))
sys/dev/netif/mn/if_mn.c
1199
if (stat & ~0xc200) {
sys/dev/netif/mn/if_mn.c
1200
kprintf("%s: I stat=%08x lstat=%08x\n", sc->name, stat, lstat);
sys/dev/netif/mn/if_mn.c
1203
if ((stat & 0x200) || (lstat & 2))
sys/dev/netif/mn/if_mn.c
1245
sc->m32x->stat = stat;
sys/dev/netif/mn/if_mn.c
73
u_int32_t conf, cmd, stat, imask;
sys/dev/netif/mn/if_mn.c
732
u = sc->m32x->stat;
sys/dev/netif/mn/if_mn.c
735
sc->m32x->stat = 1;
sys/dev/netif/mn/if_mn.c
773
u = sc->m32x->stat;
sys/dev/netif/mn/if_mn.c
776
sc->m32x->stat = 1;
sys/dev/netif/mn/if_mn.c
963
u = sc->m32x->stat;
sys/dev/netif/mn/if_mn.c
964
sc->m32x->stat = u;
sys/dev/netif/mn/if_mn.c
968
u = sc->m32x->stat;
sys/dev/netif/mn/if_mn.c
969
sc->m32x->stat = u;
sys/dev/netif/ral/rt2661.c
484
ring->cur = ring->next = ring->stat = 0;
sys/dev/netif/ral/rt2661.c
584
ring->cur = ring->next = ring->stat = 0;
sys/dev/netif/ral/rt2661.c
909
data = &txq->data[txq->stat];
sys/dev/netif/ral/rt2661.c
953
DPRINTFN(sc, 15, "tx done q=%d idx=%u\n", qid, txq->stat);
sys/dev/netif/ral/rt2661.c
956
if (++txq->stat >= txq->count) /* faster than % count */
sys/dev/netif/ral/rt2661.c
957
txq->stat = 0;
sys/dev/netif/ral/rt2661var.h
71
int stat;
sys/dev/netif/ral/rt2860.c
1128
uint32_t stat;
sys/dev/netif/ral/rt2860.c
1133
while ((stat = RAL_READ(sc, RT2860_TX_STAT_FIFO)) & RT2860_TXQ_VLD) {
sys/dev/netif/ral/rt2860.c
1134
DPRINTFN(4, ("tx stat 0x%08x\n", stat));
sys/dev/netif/ral/rt2860.c
1136
wcid = (stat >> RT2860_TXQ_WCID_SHIFT) & 0xff;
sys/dev/netif/ral/rt2860.c
1140
if (!(stat & RT2860_TXQ_ACKREQ) || wcid == 0xff || ni == NULL)
sys/dev/netif/ral/rt2860.c
1144
if (stat & RT2860_TXQ_OK) {
sys/dev/netif/ral/rt2860.c
1151
mcs = (stat >> RT2860_TXQ_MCS_SHIFT) & 0x7f;
sys/dev/netif/ral/rt2860.c
1152
pid = (stat >> RT2860_TXQ_PID_SHIFT) & 0xf;
sys/dev/netif/sk/if_sk.c
1784
sk_rxvalid(struct sk_softc *sc, uint32_t stat, uint32_t len)
sys/dev/netif/sk/if_sk.c
1787
if ((stat & XM_RXSTAT_ERRFRAME) == XM_RXSTAT_ERRFRAME ||
sys/dev/netif/sk/if_sk.c
1788
XM_RXSTAT_BYTES(stat) != len)
sys/dev/netif/sk/if_sk.c
1791
if ((stat & (YU_RXSTAT_CRCERR | YU_RXSTAT_LONGERR |
sys/dev/netif/sk/if_sk.c
1794
(stat & YU_RXSTAT_RXOK) != YU_RXSTAT_RXOK ||
sys/dev/netif/sk/if_sk.c
1795
YU_RXSTAT_BYTES(stat) != len)
sys/dev/netif/wi/if_wi.c
1489
u_int16_t stat;
sys/dev/netif/wi/if_wi.c
1497
wi_read_bap(sc, fid, sizeof(ltbuf), &stat, sizeof(stat));
sys/dev/netif/wi/if_wi.c
1498
DPRINTF(("wi_info_intr: LINK_STAT 0x%x\n", le16toh(stat)));
sys/dev/netif/wi/if_wi.c
1503
switch (le16toh(stat)) {
sys/dev/netif/wi/if_wi.c
1542
wi_read_bap(sc, fid, off, &stat, sizeof(stat));
sys/dev/netif/wi/if_wi.c
1544
if (stat & 0xf000)
sys/dev/netif/wi/if_wi.c
1545
stat = ~stat;
sys/dev/netif/wi/if_wi.c
1547
*ptr += stat;
sys/dev/netif/wpi/if_wpi.c
1948
struct wpi_rx_stat *stat;
sys/dev/netif/wpi/if_wpi.c
1959
stat = (struct wpi_rx_stat *)(desc + 1);
sys/dev/netif/wpi/if_wpi.c
1961
if (__predict_false(stat->len > WPI_STAT_MAXLEN)) {
sys/dev/netif/wpi/if_wpi.c
1967
head = (struct wpi_rx_head *)((caddr_t)(stat + 1) + stat->len);
sys/dev/netif/wpi/if_wpi.c
1974
le32toh(desc->len), len, (int8_t)stat->rssi,
sys/dev/netif/wpi/if_wpi.c
2057
tap->wr_dbm_antsignal = (int8_t)(stat->rssi + WPI_RSSI_OFFSET);
sys/dev/netif/wpi/if_wpi.c
2068
(void)ieee80211_input(ni, m, stat->rssi, WPI_RSSI_OFFSET);
sys/dev/netif/wpi/if_wpi.c
2072
(void)ieee80211_input_all(ic, m, stat->rssi, WPI_RSSI_OFFSET);
sys/dev/netif/wpi/if_wpi.c
2099
struct wpi_tx_stat *stat = (struct wpi_tx_stat *)(desc + 1);
sys/dev/netif/wpi/if_wpi.c
2103
uint32_t status = le32toh(stat->status);
sys/dev/netif/wpi/if_wpi.c
2104
int ackfailcnt = stat->ackfailcnt / WPI_NTRIES_DEFAULT;
sys/dev/netif/wpi/if_wpi.c
2113
"status %x\n", __func__, desc->qid, desc->idx, stat->ackfailcnt,
sys/dev/netif/wpi/if_wpi.c
2114
stat->btkillcnt, stat->rate, le32toh(stat->duration), status);
sys/dev/netif/wpi/if_wpi.c
2290
struct wpi_tx_stat *stat =
sys/dev/netif/wpi/if_wpi.c
2292
uint64_t *tsf = (uint64_t *)(stat + 1);
sys/dev/netif/wpi/if_wpi.c
2301
stat->rtsfailcnt, stat->ackfailcnt,
sys/dev/netif/wpi/if_wpi.c
2302
stat->btkillcnt, stat->rate, le32toh(stat->duration),
sys/dev/netif/wpi/if_wpi.c
2303
le32toh(stat->status), le64toh(*tsf),
sys/dev/powermng/aps/aps.c
184
int bp, stat, n;
sys/dev/powermng/aps/aps.c
191
stat = bus_space_read_1(iot, ioh, APS_STR3);
sys/dev/powermng/aps/aps.c
192
if (stat & (APS_STR3_OBF3B | APS_STR3_SWMF)) {
sys/dev/powermng/aps/aps.c
197
stat = bus_space_read_1(iot, ioh, APS_STR3);
sys/dev/powermng/aps/aps.c
198
if (stat & (APS_STR3_MWMF))
sys/dev/powermng/aps/aps.c
221
stat = bus_space_read_1(iot, ioh, APS_STR3);
sys/dev/powermng/aps/aps.c
222
if (stat & (APS_STR3_OBF3B))
sys/dev/smbus/cyapa/cyapa.c
1192
((regs.stat & CYAPA_STAT_RUNNING) == 0 &&
sys/dev/smbus/cyapa/cyapa.c
1255
if ((regs->stat & CYAPA_STAT_RUNNING) == 0) {
sys/dev/smbus/cyapa/cyapa.c
1267
regs->stat,
sys/dev/smbus/cyapa/cyapa.c
314
while ((boot.stat & CYAPA_STAT_RUNNING) == 0 && retries > 0) {
sys/dev/smbus/cyapa/cyapa.c
376
device_printf(dev, "cyapa init status %02x\n", boot.stat);
sys/dev/smbus/cyapa/cyapa.c
378
device_printf(dev, "cyapa reset status %02x\n", boot.stat);
sys/dev/smbus/cyapa/cyapa.h
45
uint8_t stat; /* CYAPA_STAT_xxx */
sys/dev/smbus/cyapa/cyapa.h
63
uint8_t stat;
sys/dev/smbus/cyapa/test_cyapa.c
174
regs->stat,
sys/dev/smbus/cyapa/test_cyapa.c
18
uint8_t stat;
sys/dev/sound/midi/midi.c
239
static SYSCTL_NODE(_hw_midi, OID_AUTO, stat, CTLFLAG_RD, 0, "Status device");
sys/dev/sound/pci/emu10k1.c
1223
u_int32_t stat, ack, i, x;
sys/dev/sound/pci/emu10k1.c
1227
stat = emu_rd(sc, EMU_IPR, 4);
sys/dev/sound/pci/emu10k1.c
1228
if (stat == 0)
sys/dev/sound/pci/emu10k1.c
1233
if (stat & EMU_IPR_INTERVALTIMER)
sys/dev/sound/pci/emu10k1.c
1236
if (stat & (EMU_IPR_ADCBUFFULL | EMU_IPR_ADCBUFHALFFULL))
sys/dev/sound/pci/emu10k1.c
1237
ack |= stat & (EMU_IPR_ADCBUFFULL | EMU_IPR_ADCBUFHALFFULL);
sys/dev/sound/pci/emu10k1.c
1239
if (stat & (EMU_IPR_EFXBUFFULL | EMU_IPR_EFXBUFHALFFULL))
sys/dev/sound/pci/emu10k1.c
1240
ack |= stat & (EMU_IPR_EFXBUFFULL | EMU_IPR_EFXBUFHALFFULL);
sys/dev/sound/pci/emu10k1.c
1242
if (stat & (EMU_IPR_MICBUFFULL | EMU_IPR_MICBUFHALFFULL))
sys/dev/sound/pci/emu10k1.c
1243
ack |= stat & (EMU_IPR_MICBUFFULL | EMU_IPR_MICBUFHALFFULL);
sys/dev/sound/pci/emu10k1.c
1245
if (stat & EMU_PCIERROR) {
sys/dev/sound/pci/emu10k1.c
1250
if (stat & EMU_IPR_RATETRCHANGE) {
sys/dev/sound/pci/emu10k1.c
1258
if (stat & EMU_IPR_MIDIRECVBUFE) {
sys/dev/sound/pci/emu10k1.c
1264
if (stat & ~ack)
sys/dev/sound/pci/emu10k1.c
1266
stat & ~ack);
sys/dev/sound/pci/emu10k1.c
1268
emu_wr(sc, EMU_IPR, stat, 4);
sys/dev/sound/pci/emu10kx-pcm.c
1229
emu_pcm_intr(void *pcm, uint32_t stat)
sys/dev/sound/pci/emu10kx-pcm.c
1239
if (stat & EMU_IPR_INTERVALTIMER) {
sys/dev/sound/pci/emu10kx-pcm.c
1263
if (stat & (EMU_IPR_ADCBUFFULL | EMU_IPR_ADCBUFHALFFULL)) {
sys/dev/sound/pci/emu10kx-pcm.c
1264
ack |= stat & (EMU_IPR_ADCBUFFULL | EMU_IPR_ADCBUFHALFFULL);
sys/dev/sound/pci/emu10kx-pcm.c
1272
if (stat & (EMU_IPR_EFXBUFFULL | EMU_IPR_EFXBUFHALFFULL)) {
sys/dev/sound/pci/emu10kx-pcm.c
1273
ack |= stat & (EMU_IPR_EFXBUFFULL | EMU_IPR_EFXBUFHALFFULL);
sys/dev/sound/pci/emu10kx-pcm.c
165
static uint32_t emu_pcm_intr(void *pcm, uint32_t stat);
sys/dev/sound/pci/emu10kx.c
1001
if (stat & (~ack))
sys/dev/sound/pci/emu10kx.c
1002
device_printf(sc->dev, "Unhandled interrupt: %08x\n", stat & (~ack));
sys/dev/sound/pci/emu10kx.c
1008
stat = emu_rd(sc, EMU_IPR2, 4);
sys/dev/sound/pci/emu10kx.c
1010
if (stat == 0)
sys/dev/sound/pci/emu10kx.c
1012
emu_wr(sc, EMU_IPR2, stat, 4);
sys/dev/sound/pci/emu10kx.c
1014
device_printf(sc->dev, "EMU_IPR2: %08x\n", stat);
sys/dev/sound/pci/emu10kx.c
1022
stat = emu_rd(sc, EMU_IPR3, 4);
sys/dev/sound/pci/emu10kx.c
1024
if (stat == 0)
sys/dev/sound/pci/emu10kx.c
1026
emu_wr(sc, EMU_IPR3, stat, 4);
sys/dev/sound/pci/emu10kx.c
1028
device_printf(sc->dev, "EMU_IPR3: %08x\n", stat);
sys/dev/sound/pci/emu10kx.c
984
uint32_t stat, ack;
sys/dev/sound/pci/emu10kx.c
988
stat = emu_rd(sc, EMU_IPR, 4);
sys/dev/sound/pci/emu10kx.c
990
if (stat == 0)
sys/dev/sound/pci/emu10kx.c
992
emu_wr(sc, EMU_IPR, stat, 4);
sys/dev/sound/pci/emu10kx.c
994
if ((((sc->ihandler[i].intr_mask) & stat) != 0) &&
sys/dev/sound/pci/emu10kx.c
997
(sc->ihandler[i].intr_mask) & stat);
sys/dev/sound/pci/envy24.c
1273
u_int32_t mask, stat, intr, rtn;
sys/dev/sound/pci/envy24.c
1282
stat = ENVY24_MT_INT_PSTAT | ENVY24_MT_INT_PMASK;
sys/dev/sound/pci/envy24.c
1283
envy24_wrmt(sc, ENVY24_MT_INT, (intr & mask) | stat, 1);
sys/dev/sound/pci/envy24.c
1289
stat = ENVY24_MT_INT_RSTAT | ENVY24_MT_INT_RMASK;
sys/dev/sound/pci/envy24.c
1290
envy24_wrmt(sc, ENVY24_MT_INT, (intr & mask) | stat, 1);
sys/dev/sound/pci/envy24.c
1300
u_int32_t stat, sw;
sys/dev/sound/pci/envy24.c
1310
stat = envy24_rdmt(sc, ENVY24_MT_PCTL, 1);
sys/dev/sound/pci/envy24.c
1311
envy24_wrmt(sc, ENVY24_MT_PCTL, stat | sw, 1);
sys/dev/sound/pci/envy24.c
1324
u_int32_t stat, sw;
sys/dev/sound/pci/envy24.c
1334
stat = envy24_rdmt(sc, ENVY24_MT_PCTL, 1);
sys/dev/sound/pci/envy24.c
1335
envy24_wrmt(sc, ENVY24_MT_PCTL, stat & sw, 1);
sys/dev/sound/pci/envy24ht.c
1227
u_int32_t mask, stat, intr, rtn;
sys/dev/sound/pci/envy24ht.c
1238
stat = envy24ht_rdmt(sc, ENVY24HT_MT_INT_MASK, 1);
sys/dev/sound/pci/envy24ht.c
1239
envy24ht_wrmt(sc, ENVY24HT_MT_INT_MASK, stat | ENVY24HT_MT_INT_PMASK, 1);
sys/dev/sound/pci/envy24ht.c
1246
stat = ENVY24HT_MT_INT_RSTAT | ENVY24HT_MT_INT_RMASK;
sys/dev/sound/pci/envy24ht.c
1249
stat = envy24ht_rdmt(sc, ENVY24HT_MT_INT_MASK, 1);
sys/dev/sound/pci/envy24ht.c
1250
envy24ht_wrmt(sc, ENVY24HT_MT_INT_MASK, stat | ENVY24HT_MT_INT_RMASK, 1);
sys/dev/sound/pci/envy24ht.c
1260
u_int32_t stat, sw;
sys/dev/sound/pci/envy24ht.c
1270
stat = envy24ht_rdmt(sc, ENVY24HT_MT_PCTL, 1);
sys/dev/sound/pci/envy24ht.c
1271
envy24ht_wrmt(sc, ENVY24HT_MT_PCTL, stat | sw, 1);
sys/dev/sound/pci/envy24ht.c
1284
u_int32_t stat, sw;
sys/dev/sound/pci/envy24ht.c
1294
stat = envy24ht_rdmt(sc, ENVY24HT_MT_PCTL, 1);
sys/dev/sound/pci/envy24ht.c
1295
envy24ht_wrmt(sc, ENVY24HT_MT_PCTL, stat & sw, 1);
sys/dev/sound/pci/ich.c
829
uint32_t stat;
sys/dev/sound/pci/ich.c
833
stat = ich_rd(sc, ICH_REG_GLOB_STA, 4);
sys/dev/sound/pci/ich.c
835
if ((stat & ICH_GLOB_STA_PCR) == 0) {
sys/dev/sound/pci/maestro.c
1511
p = ess->stat + ess->bufsz;
sys/dev/sound/pci/maestro.c
171
u_int8_t *stat; /* status buffer pointer */
sys/dev/sound/pci/maestro.c
1829
ess->stat = dma_malloc(ess->stat_dmat, 3*ess->bufsz, &ess->phys,
sys/dev/sound/pci/maestro.c
1831
if (ess->stat == NULL) {
sys/dev/sound/pci/maestro.c
1932
if (ess->stat != NULL)
sys/dev/sound/pci/maestro.c
1933
dma_free(ess->stat_dmat, ess->stat, ess->stat_map);
sys/dev/sound/pci/maestro.c
1976
dma_free(ess->stat_dmat, ess->stat, ess->stat_map);
sys/dev/sound/pci/via8233.c
1013
int i, reg, stat;
sys/dev/sound/pci/via8233.c
1025
stat = via_rd(via, reg, 1);
sys/dev/sound/pci/via8233.c
1026
if (stat & SGD_STATUS_INTR) {
sys/dev/sound/pci/via8233.c
1027
if (via->dma_eol_wake && ((stat & SGD_STATUS_EOL) ||
sys/dev/sound/pci/via8233.c
1028
!(stat & SGD_STATUS_ACTIVE)))
sys/dev/sound/pci/via8233.c
1032
via_wr(via, reg, stat, 1);
sys/dev/sound/pci/via8233.c
1041
stat = via_rd(via, reg, 1);
sys/dev/sound/pci/via8233.c
1042
if (stat & SGD_STATUS_INTR) {
sys/dev/sound/pci/via8233.c
1043
if (via->dma_eol_wake && ((stat & SGD_STATUS_EOL) ||
sys/dev/sound/pci/via8233.c
1044
!(stat & SGD_STATUS_ACTIVE)))
sys/dev/sound/pci/via8233.c
1048
via_wr(via, reg, stat, 1);
sys/dev/video/bktr/bktr_tuner.c
1382
int stat, tad;
sys/dev/video/bktr/bktr_tuner.c
1397
stat = MT2032_GetRegister(0x0e);
sys/dev/video/bktr/bktr_tuner.c
1401
bktr_name(bktr), freq*62500, stat, tad);
sys/dev/virtual/amazon/ena/ena-com/ena_com.c
2020
u32 stat, timeout, cap, reset_val;
sys/dev/virtual/amazon/ena/ena-com/ena_com.c
2023
stat = ena_com_reg_bar_read32(ena_dev, ENA_REGS_DEV_STS_OFF);
sys/dev/virtual/amazon/ena/ena-com/ena_com.c
2026
if (unlikely((stat == ENA_MMIO_READ_TIMEOUT) ||
sys/dev/virtual/amazon/ena/ena-com/ena_com.c
2032
if ((stat & ENA_REGS_DEV_STS_READY_MASK) == 0) {
sys/dev/virtual/vkernel/cdrom/vcd.c
125
struct stat st;
sys/dev/virtual/vkernel/cdrom/vcd.c
81
struct stat st;
sys/dev/virtual/vkernel/disk/vdisk.c
183
struct stat st;
sys/dev/virtual/vkernel/disk/vdisk.c
94
struct stat st;
sys/kern/imgact_elf.c
929
struct stat *sb;
sys/kern/imgact_resident.c
82
struct stat st;
sys/kern/kern_descrip.c
1554
kern_fstat(int fd, struct stat *ub)
sys/kern/kern_descrip.c
1574
struct stat st;
sys/kern/kern_descrip.c
3578
badfo_stat(struct file *fp, struct stat *sb, struct ucred *cred)
sys/kern/kern_event.c
1691
kqueue_stat(struct file *fp, struct stat *st, struct ucred *cred)
sys/kern/kern_event.c
87
static int kqueue_stat(struct file *fp, struct stat *st,
sys/kern/kern_fp.c
379
fp_stat(file_t fp, struct stat *ub)
sys/kern/kern_linker.c
940
struct kld_file_stat* stat;
sys/kern/kern_linker.c
950
stat = uap->stat;
sys/kern/kern_linker.c
955
if ((error = copyin(&stat->version, &version, sizeof(version))) != 0)
sys/kern/kern_linker.c
965
if ((error = copyout(lf->filename, stat->name, namelen)) != 0)
sys/kern/kern_linker.c
971
if ((error = copyout(lf->pathname, stat->pathname, namelen)) != 0)
sys/kern/kern_linker.c
974
if ((error = copyout(&lf->refs, &stat->refs, sizeof(int))) != 0)
sys/kern/kern_linker.c
976
if ((error = copyout(&lf->id, &stat->id, sizeof(int))) != 0)
sys/kern/kern_linker.c
978
if ((error = copyout(&lf->address, &stat->address, sizeof(caddr_t))) != 0)
sys/kern/kern_linker.c
980
if ((error = copyout(&lf->size, &stat->size, sizeof(size_t))) != 0)
sys/kern/kern_module.c
326
struct module_stat* stat;
sys/kern/kern_module.c
335
stat = uap->stat;
sys/kern/kern_module.c
340
if ((error = copyin(&stat->version, &version, sizeof(version))) != 0)
sys/kern/kern_module.c
351
if ((error = copyout(mod->name, &stat->name[0], namelen)) != 0)
sys/kern/kern_module.c
354
if ((error = copyout(&mod->refs, &stat->refs, sizeof(int))) != 0)
sys/kern/kern_module.c
356
if ((error = copyout(&mod->id, &stat->id, sizeof(int))) != 0)
sys/kern/kern_module.c
363
if ((error = copyout(&mod->data, &stat->data, sizeof(mod->data))) != 0)
sys/kern/kern_objcache.c
1001
error = SYSCTL_OUT(req, &stat, sizeof(stat));
sys/kern/kern_objcache.c
948
struct objcache_stats stat;
sys/kern/kern_objcache.c
969
memset(&stat, 0, sizeof(stat));
sys/kern/kern_objcache.c
970
strlcpy(stat.oc_name, desc->name, sizeof(stat.oc_name));
sys/kern/kern_objcache.c
971
stat.oc_limit = desc->total_objects;
sys/kern/kern_objcache.c
982
stat.oc_requested += cache->gets_cumulative;
sys/kern/kern_objcache.c
983
stat.oc_exhausted += cache->gets_exhausted;
sys/kern/kern_objcache.c
984
stat.oc_failed += cache->gets_null;
sys/kern/kern_objcache.c
985
stat.oc_allocated += cache->allocs_cumulative;
sys/kern/kern_objcache.c
992
if (stat.oc_requested > puts)
sys/kern/kern_objcache.c
993
stat.oc_used = stat.oc_requested - puts;
sys/kern/kern_objcache.c
994
if (stat.oc_limit > unalloc + stat.oc_used) {
sys/kern/kern_objcache.c
995
stat.oc_cached = stat.oc_limit -
sys/kern/kern_objcache.c
996
(unalloc + stat.oc_used);
sys/kern/kern_objcache.c
998
stat.oc_requested += stat.oc_failed;
sys/kern/kern_sig.c
1565
proc_stop(struct proc *p, int stat)
sys/kern/kern_sig.c
1575
if (stat == SCORE) {
sys/kern/kern_sig.c
1584
p->p_stat = stat;
sys/kern/kern_sig.c
1647
proc_unstop(struct proc *p, int stat)
sys/kern/kern_sig.c
1653
if (p->p_stat != stat)
sys/kern/sys_mqueue.c
262
mq_stat_fop(file_t *fp, struct stat *st, struct ucred *cred)
sys/kern/sys_mqueue.c
85
static int mq_stat_fop(file_t *, struct stat *, struct ucred *cred);
sys/kern/sys_pipe.c
1054
pipe_stat(struct file *fp, struct stat *ub, struct ucred *cred)
sys/kern/sys_pipe.c
85
static int pipe_stat (struct file *fp, struct stat *sb, struct ucred *cred);
sys/kern/sys_socket.c
196
soo_stat(struct file *fp, struct stat *ub, struct ucred *cred)
sys/kern/uipc_msg.c
500
so_pru_sense(struct socket *so, struct stat *sb)
sys/kern/uipc_usrreq.c
828
struct stat *sb;
sys/kern/vfs_syscalls.c
3012
kern_stat(struct nlookupdata *nd, struct stat *st)
sys/kern/vfs_syscalls.c
3071
struct stat st;
sys/kern/vfs_syscalls.c
3093
struct stat st;
sys/kern/vfs_syscalls.c
3115
struct stat st;
sys/kern/vfs_syscalls.c
5004
struct stat sb;
sys/kern/vfs_vnops.c
72
static int vn_statfile (struct file *fp, struct stat *sb, struct ucred *cred);
sys/kern/vfs_vnops.c
819
vn_statfile(struct file *fp, struct stat *sb, struct ucred *cred)
sys/kern/vfs_vnops.c
833
vn_stat(struct vnode *vp, struct stat *sb, struct ucred *cred)
sys/libprop/prop_object.c
905
struct stat sb;
sys/net/ipfw/ip_fw2.c
7197
u_long stat = 0;
sys/net/ipfw/ip_fw2.c
7201
stat += *((u_long *)((uint8_t *)ipfw_ctx[cpu] + arg2));
sys/net/ipfw/ip_fw2.c
7203
error = sysctl_handle_long(oidp, &stat, 0, req);
sys/net/netmsg.h
254
struct stat *nm_stat;
sys/net/route.c
347
u_long *stat = NULL;
sys/net/route.c
415
stat = &rtstat.rts_dynamic;
sys/net/route.c
429
stat = &rtstat.rts_newgateway;
sys/net/route.c
438
else if (stat != NULL)
sys/net/route.c
439
(*stat)++;
sys/netgraph/cisco/ng_cisco.c
314
struct ng_cisco_stats *stat;
sys/netgraph/cisco/ng_cisco.c
316
NG_MKRESPONSE(resp, msg, sizeof(*stat), M_NOWAIT);
sys/netgraph/cisco/ng_cisco.c
321
stat = (struct ng_cisco_stats *)resp->data;
sys/netgraph/cisco/ng_cisco.c
322
stat->seqRetries = sc->seqRetries;
sys/netgraph/cisco/ng_cisco.c
323
stat->keepAlivePeriod = KEEPALIVE_SECS;
sys/netgraph/lmi/ng_lmi.c
512
struct nglmistat *stat;
sys/netgraph/lmi/ng_lmi.c
515
NG_MKRESPONSE(*resp, msg, sizeof(*stat), M_NOWAIT);
sys/netgraph/lmi/ng_lmi.c
520
stat = (struct nglmistat *) (*resp)->data;
sys/netgraph/lmi/ng_lmi.c
521
strncpy(stat->proto,
sys/netgraph/lmi/ng_lmi.c
522
sc->protoname, sizeof(stat->proto) - 1);
sys/netgraph/lmi/ng_lmi.c
523
strncpy(stat->hook,
sys/netgraph/lmi/ng_lmi.c
524
sc->protoname, sizeof(stat->hook) - 1);
sys/netgraph/lmi/ng_lmi.c
525
stat->autod = !!(sc->flags & SCF_AUTO);
sys/netgraph/lmi/ng_lmi.c
526
stat->fixed = !!(sc->flags & SCF_FIXED);
sys/netgraph/lmi/ng_lmi.c
530
stat->up[k / 8] |= (1 << (k % 8));
sys/netgraph/lmi/ng_lmi.c
533
stat->seen[k / 8] |= (1 << (k % 8));
sys/netgraph7/bluetooth/drivers/bt3c/ng_bt3c_pccard.c
1023
NG_BT3C_STAT_IERROR(sc->stat);
sys/netgraph7/bluetooth/drivers/bt3c/ng_bt3c_pccard.c
1031
NG_BT3C_STAT_IERROR(sc->stat);
sys/netgraph7/bluetooth/drivers/bt3c/ng_bt3c_pccard.c
1085
NG_BT3C_STAT_PCKTS_SENT(sc->stat);
sys/netgraph7/bluetooth/drivers/bt3c/ng_bt3c_pccard.c
1090
NG_BT3C_STAT_BYTES_SENT(sc->stat, wrote);
sys/netgraph7/bluetooth/drivers/bt3c/ng_bt3c_pccard.c
500
bcopy(&sc->stat, rsp->data,
sys/netgraph7/bluetooth/drivers/bt3c/ng_bt3c_pccard.c
505
NG_BT3C_STAT_RESET(sc->stat);
sys/netgraph7/bluetooth/drivers/bt3c/ng_bt3c_pccard.c
562
NG_BT3C_STAT_OERROR(sc->stat);
sys/netgraph7/bluetooth/drivers/bt3c/ng_bt3c_pccard.c
806
NG_BT3C_STAT_IERROR(sc->stat);
sys/netgraph7/bluetooth/drivers/bt3c/ng_bt3c_pccard.c
816
NG_BT3C_STAT_IERROR(sc->stat);
sys/netgraph7/bluetooth/drivers/bt3c/ng_bt3c_pccard.c
875
NG_BT3C_STAT_IERROR(sc->stat);
sys/netgraph7/bluetooth/drivers/bt3c/ng_bt3c_pccard.c
927
NG_BT3C_STAT_BYTES_RECV(sc->stat, sc->m->m_pkthdr.len);
sys/netgraph7/bluetooth/drivers/bt3c/ng_bt3c_pccard.c
928
NG_BT3C_STAT_PCKTS_RECV(sc->stat);
sys/netgraph7/bluetooth/drivers/bt3c/ng_bt3c_pccard.c
935
NG_BT3C_STAT_IERROR(sc->stat);
sys/netgraph7/bluetooth/drivers/bt3c/ng_bt3c_var.h
83
ng_bt3c_node_stat_ep stat; /* statistic */
sys/netgraph7/bluetooth/drivers/h4/ng_h4.c
371
NG_H4_STAT_IERROR(sc->stat);
sys/netgraph7/bluetooth/drivers/h4/ng_h4.c
383
NG_H4_STAT_BYTES_RECV(sc->stat, 1);
sys/netgraph7/bluetooth/drivers/h4/ng_h4.c
391
NG_H4_STAT_IERROR(sc->stat);
sys/netgraph7/bluetooth/drivers/h4/ng_h4.c
446
NG_H4_STAT_IERROR(sc->stat);
sys/netgraph7/bluetooth/drivers/h4/ng_h4.c
515
NG_H4_STAT_IERROR(sc->stat);
sys/netgraph7/bluetooth/drivers/h4/ng_h4.c
544
NG_H4_STAT_IERROR(sc->stat);
sys/netgraph7/bluetooth/drivers/h4/ng_h4.c
553
NG_H4_STAT_PCKTS_RECV(sc->stat);
sys/netgraph7/bluetooth/drivers/h4/ng_h4.c
602
NG_H4_STAT_BYTES_SENT(sc->stat, size);
sys/netgraph7/bluetooth/drivers/h4/ng_h4.c
621
NG_H4_STAT_PCKTS_SENT(sc->stat);
sys/netgraph7/bluetooth/drivers/h4/ng_h4.c
809
NG_H4_STAT_OERROR(sc->stat);
sys/netgraph7/bluetooth/drivers/h4/ng_h4.c
946
bcopy(&sc->stat, resp->data,
sys/netgraph7/bluetooth/drivers/h4/ng_h4.c
951
NG_H4_STAT_RESET(sc->stat);
sys/netgraph7/bluetooth/drivers/h4/ng_h4_var.h
77
ng_h4_node_stat_ep stat;
sys/netgraph7/bluetooth/hci/ng_hci_cmds.c
138
NG_HCI_STAT_CMD_SENT(unit->stat);
sys/netgraph7/bluetooth/hci/ng_hci_cmds.c
139
NG_HCI_STAT_BYTES_SENT(unit->stat, m0->m_pkthdr.len);
sys/netgraph7/bluetooth/hci/ng_hci_evnt.c
226
NG_HCI_STAT_ACL_SENT(unit->stat, count);
sys/netgraph7/bluetooth/hci/ng_hci_evnt.c
239
NG_HCI_STAT_SCO_SENT(unit->stat, count);
sys/netgraph7/bluetooth/hci/ng_hci_evnt.c
328
NG_HCI_STAT_BYTES_SENT(unit->stat, v);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
432
NG_MKRESPONSE(rsp, msg, sizeof(unit->stat), M_WAITOK | M_NULLOK);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
438
bcopy(&unit->stat, rsp->data, sizeof(unit->stat));
sys/netgraph7/bluetooth/hci/ng_hci_main.c
443
NG_HCI_STAT_RESET(unit->stat);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
701
NG_HCI_STAT_BYTES_RECV(unit->stat, m->m_pkthdr.len);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
714
NG_HCI_STAT_ACL_RECV(unit->stat);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
729
NG_HCI_STAT_SCO_RECV(unit->stat);
sys/netgraph7/bluetooth/hci/ng_hci_main.c
744
NG_HCI_STAT_EVNT_RECV(unit->stat);
sys/netgraph7/bluetooth/hci/ng_hci_var.h
140
ng_hci_node_stat_ep stat; /* statistic */
sys/netgraph7/bluetooth/include/ng_btsocket.h
129
ng_hci_node_stat_ep stat;
sys/netgraph7/bluetooth/socket/ng_btsocket_hci_raw.c
1174
&p->stat, sizeof(p->stat));
sys/netgraph7/cisco/ng_cisco.c
307
struct ng_cisco_stats *stat;
sys/netgraph7/cisco/ng_cisco.c
309
NG_MKRESPONSE(resp, msg, sizeof(*stat), M_WAITOK | M_NULLOK);
sys/netgraph7/cisco/ng_cisco.c
314
stat = (struct ng_cisco_stats *)resp->data;
sys/netgraph7/cisco/ng_cisco.c
315
stat->seqRetries = sc->seqRetries;
sys/netgraph7/cisco/ng_cisco.c
316
stat->keepAlivePeriod = KEEPALIVE_SECS;
sys/netgraph7/lmi/ng_lmi.c
502
struct nglmistat *stat;
sys/netgraph7/lmi/ng_lmi.c
505
NG_MKRESPONSE(resp, msg, sizeof(*stat), M_WAITOK | M_NULLOK);
sys/netgraph7/lmi/ng_lmi.c
510
stat = (struct nglmistat *) resp->data;
sys/netgraph7/lmi/ng_lmi.c
511
strncpy(stat->proto,
sys/netgraph7/lmi/ng_lmi.c
512
sc->protoname, sizeof(stat->proto) - 1);
sys/netgraph7/lmi/ng_lmi.c
513
strncpy(stat->hook,
sys/netgraph7/lmi/ng_lmi.c
514
sc->protoname, sizeof(stat->hook) - 1);
sys/netgraph7/lmi/ng_lmi.c
515
stat->autod = !!(sc->flags & SCF_AUTO);
sys/netgraph7/lmi/ng_lmi.c
516
stat->fixed = !!(sc->flags & SCF_FIXED);
sys/netgraph7/lmi/ng_lmi.c
520
stat->up[k / 8] |= (1 << (k % 8));
sys/netgraph7/lmi/ng_lmi.c
523
stat->seen[k / 8] |= (1 << (k % 8));
sys/netinet6/icmp6.c
191
icmp6_errcount(struct icmp6errstat *stat, int type, int code)
sys/netinet6/icmp6.c
197
stat->icp6errs_dst_unreach_noroute++;
sys/netinet6/icmp6.c
200
stat->icp6errs_dst_unreach_admin++;
sys/netinet6/icmp6.c
203
stat->icp6errs_dst_unreach_beyondscope++;
sys/netinet6/icmp6.c
206
stat->icp6errs_dst_unreach_addr++;
sys/netinet6/icmp6.c
209
stat->icp6errs_dst_unreach_noport++;
sys/netinet6/icmp6.c
214
stat->icp6errs_packet_too_big++;
sys/netinet6/icmp6.c
219
stat->icp6errs_time_exceed_transit++;
sys/netinet6/icmp6.c
222
stat->icp6errs_time_exceed_reassembly++;
sys/netinet6/icmp6.c
229
stat->icp6errs_paramprob_header++;
sys/netinet6/icmp6.c
232
stat->icp6errs_paramprob_nextheader++;
sys/netinet6/icmp6.c
235
stat->icp6errs_paramprob_option++;
sys/netinet6/icmp6.c
240
stat->icp6errs_redirect++;
sys/netinet6/icmp6.c
243
stat->icp6errs_unknown++;
sys/netproto/802_11/ieee80211_node.h
259
#define IEEE80211_NODE_STAT(ni,stat) (ni->ni_stats.ns_##stat++)
sys/netproto/802_11/ieee80211_node.h
260
#define IEEE80211_NODE_STAT_ADD(ni,stat,v) (ni->ni_stats.ns_##stat += v)
sys/netproto/802_11/ieee80211_node.h
261
#define IEEE80211_NODE_STAT_SET(ni,stat,v) (ni->ni_stats.ns_##stat = v)
sys/platform/pc64/x86_64/machdep.c
1128
cpu_mwait_cx_hint(struct cpu_idle_stat *stat)
sys/platform/pc64/x86_64/machdep.c
1136
hint = stat->hint;
sys/platform/pc64/x86_64/machdep.c
1141
idx = (stat->repeat + stat->repeat_last + stat->repeat_delta) >>
sys/platform/pc64/x86_64/machdep.c
1145
stat->repeat_delta += 1 << (cpu_mwait_repeat_shift + 1);
sys/platform/pc64/x86_64/machdep.c
1159
stat->mwait_cx[cx_idx]++;
sys/platform/pc64/x86_64/machdep.c
1167
struct cpu_idle_stat *stat = &cpu_idle_stats[gd->gd_cpuid];
sys/platform/pc64/x86_64/machdep.c
1171
stat->repeat = stat->repeat_last = cpu_idle_repeat_max;
sys/platform/pc64/x86_64/machdep.c
1233
stat->repeat = (stat->repeat + stat->repeat_last) >> 1;
sys/platform/pc64/x86_64/machdep.c
1234
if (stat->repeat > cpu_idle_repeat_max)
sys/platform/pc64/x86_64/machdep.c
1235
stat->repeat = cpu_idle_repeat_max;
sys/platform/pc64/x86_64/machdep.c
1236
stat->repeat_last = 0;
sys/platform/pc64/x86_64/machdep.c
1237
stat->repeat_delta = 0;
sys/platform/pc64/x86_64/machdep.c
1239
++stat->repeat_last;
sys/platform/pc64/x86_64/machdep.c
1260
stat->spin++;
sys/platform/pc64/x86_64/machdep.c
1293
cpu_mwait_cx_hint(stat), 0);
sys/platform/pc64/x86_64/machdep.c
1298
stat->halt++;
sys/platform/pc64/x86_64/machdep.c
1337
stat->halt++;
sys/platform/pc64/x86_64/machdep.c
1370
stat->halt++;
sys/platform/pc64/x86_64/machdep.c
1396
struct cpu_idle_stat *stat;
sys/platform/pc64/x86_64/machdep.c
1409
stat = &cpu_idle_stats[gd->gd_cpuid];
sys/platform/pc64/x86_64/machdep.c
1414
cpu_mwait_cx_hint(stat), 0);
sys/platform/pc64/x86_64/machdep.c
3533
cpu_mwait_cx_setname(struct cpu_idle_stat *stat, const char *cx_name)
sys/platform/pc64/x86_64/machdep.c
3540
hint = stat->hint;
sys/platform/pc64/x86_64/machdep.c
3552
stat->hint = hint;
sys/platform/pc64/x86_64/machdep.c
3593
struct cpu_idle_stat *stat = arg1;
sys/platform/pc64/x86_64/machdep.c
3597
&stat->hint, TRUE);
sys/platform/vkernel64/platform/init.c
1044
struct stat st;
sys/platform/vkernel64/platform/init.c
1129
struct stat st;
sys/platform/vkernel64/platform/init.c
865
struct stat st;
sys/sys/file.h
149
int fp_stat(struct file *, struct stat *);
sys/sys/file.h
172
int badfo_stat(struct file *fp, struct stat *sb, struct ucred *cred);
sys/sys/file.h
64
struct stat;
sys/sys/file.h
84
int (*fo_stat) (struct file *fp, struct stat *sb,
sys/sys/file2.h
90
fo_stat(struct file *fp, struct stat *sb, struct ucred *cred)
sys/sys/kern_syscall.h
163
int kern_stat(struct nlookupdata *nd, struct stat *st);
sys/sys/kern_syscall.h
55
struct stat;
sys/sys/kern_syscall.h
71
int kern_fstat(int fd, struct stat *st);
sys/sys/mount.h
823
int fhstat (const struct fhandle *, struct stat *);
sys/sys/protosw.h
205
struct stat;
sys/sys/resident.h
29
struct stat;
sys/sys/resident.h
35
struct stat res_stat;
sys/sys/socketops.h
108
int so_pru_sense (struct socket *so, struct stat *sb);
sys/sys/socketvar.h
390
struct stat;
sys/sys/socketvar.h
407
int soo_stat (struct file *fp, struct stat *ub, struct ucred *cred);
sys/sys/stat.h
297
int fstat(int, struct stat *);
sys/sys/stat.h
299
int lstat(const char * __restrict, struct stat * __restrict);
sys/sys/stat.h
307
int stat(const char * __restrict, struct stat * __restrict);
sys/sys/stat.h
310
int fstatat(int, const char * __restrict, struct stat * __restrict, int);
sys/sys/sysproto.h
1057
struct stat * ub; char ub_[PAD_(struct stat *)];
sys/sys/sysproto.h
1061
struct stat * sb; char sb_[PAD_(struct stat *)];
sys/sys/sysproto.h
1065
struct stat * ub; char ub_[PAD_(struct stat *)];
sys/sys/sysproto.h
1069
struct stat * sb; char sb_[PAD_(struct stat *)];
sys/sys/sysproto.h
1212
struct stat * sb; char sb_[PAD_(struct stat *)];
sys/sys/sysproto.h
720
struct module_stat * stat; char stat_[PAD_(struct module_stat *)];
sys/sys/sysproto.h
742
struct kld_file_stat * stat; char stat_[PAD_(struct kld_file_stat *)];
sys/sys/sysunion.h
250
struct stat_args stat;
sys/sys/vnode.h
420
struct stat;
sys/sys/vnode.h
518
int vn_stat (struct vnode *vp, struct stat *sb, struct ucred *cred);
sys/vfs/devfs/devfs_vnops.c
113
static int devfs_fo_stat(struct file *, struct stat *, struct ucred *);
sys/vfs/devfs/devfs_vnops.c
1383
devfs_fo_stat(struct file *fp, struct stat *sb, struct ucred *cred)
sys/vfs/dirfs/dirfs.h
254
int dirfs_nodetype(struct stat *);
sys/vfs/dirfs/dirfs_subr.c
310
dirfs_nodetype(struct stat *st)
sys/vfs/dirfs/dirfs_subr.c
338
struct stat st;
sys/vfs/dirfs/dirfs_vfsops.c
101
struct stat st;
sys/vfs/dirfs/dirfs_vfsops.c
142
if ((stat(dmp->dm_path, &st)) == 0) {
sys/vm/vm_pageout.c
134
struct vm_page stat;
sys/vm/vm_pageout.c
2242
mark->stat.flags = PG_FICTITIOUS | PG_MARKER;
sys/vm/vm_pageout.c
2243
mark->stat.busy_count = PBUSY_LOCKED;
sys/vm/vm_pageout.c
2244
mark->stat.queue = PQ_ACTIVE + q;
sys/vm/vm_pageout.c
2245
mark->stat.pc = PQ_ACTIVE + q;
sys/vm/vm_pageout.c
2246
mark->stat.wire_count = 1;
sys/vm/vm_pageout.c
2249
&mark->stat, pageq);
sys/vm/vm_pageout.c
2431
&markers[q3iterator & PQ_L2_MASK].stat,
test/debug/fdpassing.c
24
struct stat st;
test/debug/umtx.c
51
struct stat st;
test/interbench/interbench.c
1105
struct stat statbuf;
test/interbench/interbench.c
1114
if (stat(name, &statbuf) == -1)
test/interbench/interbench.c
1127
if (stat(name, &statbuf) == -1)
test/interbench/interbench.c
640
struct stat statbuf;
test/interbench/interbench.c
645
if (stat(name, &statbuf) == -1)
test/interbench/interbench.c
660
if (stat(name, &statbuf) == -1)
test/interbench/interbench.c
686
struct stat statbuf;
test/interbench/interbench.c
692
if (stat(name, &statbuf) == -1)
test/nvmm/demo/toyvirt/elf.c
102
struct stat st;
test/stress/fsstress/fsstress.c
292
int stat;
test/stress/fsstress/fsstress.c
461
while (wait(&stat) > 0)
test/stress/fsstress/global.h
74
#define stat64 stat
test/stress/fsx/fsx.c
414
struct stat statbuf;
test/stress/fsx/fsx.c
435
struct stat statbuf;
test/stress/stress2/lib/main.c
178
struct stat sb;
test/stress/stress2/lib/main.c
184
if (stat(op->wd, &sb) == -1) {
test/stress/stress2/lib/main.c
189
if (stat(op->cd, &sb) == -1) {
test/stress/stress2/testcases/mmap/mmap.c
78
struct stat statbuf;
test/stress/stress2/testcases/openat/doat.c
153
error = stat("tmp/foo", &sb);
test/stress/stress2/testcases/openat/doat.c
91
struct stat buf;
test/stress/stress2/testcases/openat/doat.c
99
struct stat sb;
test/stress/tuxload.c
36
struct stat *st;
test/sysperf/lockmgr2.c
26
struct stat st;
test/sysperf/lockmgr3.c
26
struct stat st;
test/sysperf/syscall4.c
15
struct stat st;
test/sysperf/syscall4.c
27
stat(path, &st);
test/sysperf/syscall4.c
34
stat(path, &st);
test/testcases/posixipc/common/common.c
198
child_worker(int (*func)(void *arg), void *arg, int *stat)
test/testcases/posixipc/common/common.c
223
if (read(pfd[0], stat, sizeof(*stat)) < 0) {
test/testcases/posixipc/common/common.h
56
#define CSTAT_CLASS(stat) ((stat) >> 16)
test/testcases/posixipc/common/common.h
57
#define CSTAT_ERROR(stat) ((stat) & 0xffff)
test/testcases/posixipc/file_test/file_test.c
15
error = stat("/var/run/sem", &sb);
test/testcases/posixipc/file_test/file_test.c
5
struct stat sb;
test/testcases/posixipc/wait_two_proc/wait_two_proc.c
21
if (child_worker(wait_twoproc_child, NULL, &stat) < 0) {
test/testcases/posixipc/wait_two_proc/wait_two_proc.c
28
errno = CSTAT_ERROR(stat);
test/testcases/posixipc/wait_two_proc/wait_two_proc.c
29
switch (CSTAT_CLASS(stat)) {
test/testcases/posixipc/wait_two_proc/wait_two_proc.c
47
fprintf(stderr, "bad child state %#x", stat);
test/testcases/posixipc/wait_two_proc/wait_two_proc.c
7
int stat;
tools/multimedia/cxm/extract_fw/cxm_extract_fw.c
119
struct stat statbuf;
tools/tools/ath/athdecode/main.c
61
struct stat sb;
usr.bin/at/at.c
215
struct stat statbuf;
usr.bin/at/at.c
272
if (stat(atfile, &statbuf) != 0)
usr.bin/at/at.c
469
struct stat buf;
usr.bin/at/at.c
490
if (stat(dirent->d_name, &buf) != 0)
usr.bin/at/at.c
541
struct stat buf;
usr.bin/at/at.c
563
if (stat(dirent->d_name, &buf) != 0)
usr.bin/biff/biff.c
49
struct stat sb;
usr.bin/biff/biff.c
68
if (stat(name, &sb))
usr.bin/chpass/edit.c
194
struct stat sb;
usr.bin/chpass/field.c
210
struct stat sbuf;
usr.bin/chpass/field.c
234
if (stat(pw->pw_shell, &sbuf) < 0) {
usr.bin/cmp/cmp.c
68
struct stat sb1, sb2;
usr.bin/compress/compress.c
187
struct stat isb, sb;
usr.bin/compress/compress.c
192
exists = !stat(out, &sb);
usr.bin/compress/compress.c
202
if (stat(in, &isb)) { /* DON'T FSTAT! */
usr.bin/compress/compress.c
232
if (stat(out, &sb)) {
usr.bin/compress/compress.c
277
struct stat sb;
usr.bin/compress/compress.c
282
exists = !stat(out, &sb);
usr.bin/compress/compress.c
297
if (stat(in, &sb)) {
usr.bin/compress/compress.c
339
setfile(const char *name, struct stat *fs)
usr.bin/compress/compress.c
53
static void setfile(const char *, struct stat *);
usr.bin/crunch/crunchgen/crunchgen.c
1356
struct stat buf;
usr.bin/crunch/crunchgen/crunchgen.c
1358
if (stat(pathname, &buf) == -1)
usr.bin/crunch/crunchgen/crunchgen.c
1367
struct stat buf;
usr.bin/crunch/crunchgen/crunchgen.c
1369
if (stat(pathname, &buf) == -1)
usr.bin/crunch/crunchide/exec_elf64.c
141
struct stat sb;
usr.bin/dc/dc.c
50
struct stat st;
usr.bin/dfregress/kernel.c
67
struct stat sb;
usr.bin/dfregress/kernel.c
70
if ((r = stat("/dev/tbridge", &sb)) != 0) {
usr.bin/diff/diff.c
240
} else if (stat(argv[0], &stb1) != 0)
usr.bin/diff/diff.c
245
} else if (stat(argv[1], &stb2) != 0)
usr.bin/diff/diff.c
257
if (stat(argv[0], &stb1) == -1)
usr.bin/diff/diff.c
262
if (stat(argv[1], &stb2) == -1)
usr.bin/diff/diff.c
43
struct stat stb1, stb2;
usr.bin/diff/diff.h
87
extern struct stat stb1, stb2;
usr.bin/diff/diffdir.c
175
if (stat(path1, &stb1) != 0) {
usr.bin/diff/diffdir.c
185
if (stat(path2, &stb2) != 0) {
usr.bin/dsynth/build.c
110
struct stat st;
usr.bin/dsynth/build.c
133
if (stat(RepositoryPath, &st) < 0) {
usr.bin/dsynth/build.c
142
if (stat(path, &st) < 0) {
usr.bin/dsynth/build.c
1850
struct stat st;
usr.bin/dsynth/build.c
1856
if (stat(path, &st) == 0) {
usr.bin/dsynth/build.c
2825
struct stat st;
usr.bin/dsynth/config.c
106
struct stat st;
usr.bin/dsynth/config.c
159
if (stat(synth_config, &st) < 0 && ConfigBase2) {
usr.bin/dsynth/config.c
164
if (stat(synth_config, &st) < 0) {
usr.bin/dsynth/config.c
202
if (stat(buf, &st) == 0)
usr.bin/dsynth/config.c
232
if (stat(DPortsPath, &st) < 0)
usr.bin/dsynth/config.c
234
if (stat(PackagesPath, &st) < 0)
usr.bin/dsynth/config.c
236
if (stat(OptionsPath, &st) < 0)
usr.bin/dsynth/config.c
238
if (stat(DistFilesPath, &st) < 0)
usr.bin/dsynth/config.c
240
if (stat(BuildBase, &st) < 0)
usr.bin/dsynth/config.c
242
if (stat(LogsPath, &st) < 0)
usr.bin/dsynth/config.c
244
if (stat(SystemPath, &st) < 0)
usr.bin/dsynth/config.c
246
if (UseCCache && stat(CCachePath, &st) < 0)
usr.bin/dsynth/config.c
316
if (stat(RepositoryPath, &st) < 0) {
usr.bin/dsynth/config.c
323
if (stat(RepositoryPath, &st) < 0)
usr.bin/dsynth/config.c
738
struct stat st;
usr.bin/dsynth/config.c
742
if (stat(path, &st) < 0 || (st.st_mode & 0111) == 0) {
usr.bin/dsynth/dsynth.c
547
struct stat st;
usr.bin/dsynth/dsynth.c
557
struct stat st;
usr.bin/dsynth/dsynth.c
609
struct stat st;
usr.bin/dsynth/dsynth.c
613
if (stat(ConfigBase1, &st) == 0) {
usr.bin/dsynth/dsynth.c
616
if (ConfigBase2 && stat(ConfigBase2, &st) == 0) {
usr.bin/dsynth/html.c
102
if (stat(ReportPath, &st) < 0 && mkdir(ReportPath, 0755) < 0)
usr.bin/dsynth/html.c
395
struct stat st;
usr.bin/dsynth/html.c
462
if (stat(path, &st) < 0) {
usr.bin/dsynth/html.c
89
struct stat st;
usr.bin/dsynth/monitor.c
71
struct stat st;
usr.bin/dsynth/monitor.c
74
if (stat(StatsBase, &st) < 0)
usr.bin/dsynth/mount.c
101
if (stat(goodbuf, &st) < 0) {
usr.bin/dsynth/mount.c
155
struct stat st;
usr.bin/dsynth/mount.c
165
if (stat(path, &st) == 0) {
usr.bin/dsynth/mount.c
328
struct stat st;
usr.bin/dsynth/mount.c
339
if (stat(buf, &st) != 0) {
usr.bin/dsynth/mount.c
451
struct stat st;
usr.bin/dsynth/mount.c
471
if (stat(dst, &st) < 0) {
usr.bin/dsynth/mount.c
54
struct stat st;
usr.bin/dsynth/mount.c
75
if (stat(buf, &st) < 0) {
usr.bin/dsynth/mount.c
87
if (stat(buf, &st) < 0)
usr.bin/dsynth/mount.c
94
if (stat(buf, &st) < 0 || st.st_mtime != ls_mtime) {
usr.bin/dsynth/pkglist.c
1312
struct stat st;
usr.bin/dsynth/pkglist.c
199
struct stat st;
usr.bin/dsynth/pkglist.c
202
if (stat(l1, &st) == 0 && S_ISREG(st.st_mode)) {
usr.bin/dsynth/repo.c
535
struct stat st;
usr.bin/dsynth/subs.c
962
struct stat *st;
usr.bin/du/du.c
331
struct stat *st;
usr.bin/du/du.c
75
_stblocks(int tflag, struct stat *st)
usr.bin/env/envopts.c
68
struct stat fin;
usr.bin/env/envopts.c
72
stat(candidate, &fin) == 0 &&
usr.bin/evtranalyze/plotter.c
306
struct stat st;
usr.bin/evtranalyze/plotter.c
307
if ((!stat(ploticus_path, &st)) &&
usr.bin/fetch/fetch.c
1150
} else if (stat(o_filename, &sb) == -1) {
usr.bin/fetch/fetch.c
439
struct stat sb, nsb;
usr.bin/fetch/fetch.c
515
if (stat(i_filename, &sb)) {
usr.bin/fetch/fetch.c
566
r = stat(path, &sb);
usr.bin/fetch/fetch.c
821
(stat(path, &sb) != -1) && sb.st_mode & S_IFREG) {
usr.bin/fetch/fetch.c
879
if (stat(path, &sb) != -1 && (sb.st_mode & S_IFREG))
usr.bin/fetch/fetch.c
923
struct stat sb;
usr.bin/find/extern.h
43
struct stat;
usr.bin/find/extern.h
44
void printlong(char *, char *, struct stat *);
usr.bin/find/function.c
1015
struct stat sb;
usr.bin/find/function.c
1021
if (stat(fn, &sb))
usr.bin/find/function.c
1135
struct stat sb;
usr.bin/find/function.c
1153
if (stat(fn_or_tspec, &sb))
usr.bin/find/ls.c
56
printlong(char *name, char *accpath, struct stat *sb)
usr.bin/finger/lprint.c
288
struct stat sb;
usr.bin/finger/util.c
287
struct stat sb;
usr.bin/finger/util.c
291
if (stat(tbuf, &sb) < 0) {
usr.bin/finger/util.c
311
struct stat sb;
usr.bin/finger/util.c
356
if (stat(tbuf, &sb) < 0) {
usr.bin/finger/util.c
375
struct stat st;
usr.bin/finger/util.c
383
if (stat(buf, &st) == 0)
usr.bin/fstat/fstat.c
1022
struct stat statbuf;
usr.bin/fstat/fstat.c
1025
if (stat(filename, &statbuf)) {
usr.bin/gzip/gzip.c
1029
copymodes(int fd, const struct stat *sbp, const char *file)
usr.bin/gzip/gzip.c
1032
struct stat sb;
usr.bin/gzip/gzip.c
1105
struct stat sb;
usr.bin/gzip/gzip.c
1108
if (lflag == 0 && stat(outfile, &sb) == 0) {
usr.bin/gzip/gzip.c
1131
unlink_input(const char *file, const struct stat *sb)
usr.bin/gzip/gzip.c
1133
struct stat nsb;
usr.bin/gzip/gzip.c
1137
if (stat(file, &nsb) != 0)
usr.bin/gzip/gzip.c
1179
struct stat isb, osb;
usr.bin/gzip/gzip.c
1284
struct stat isb, osb;
usr.bin/gzip/gzip.c
1603
struct stat isb;
usr.bin/gzip/gzip.c
1676
struct stat sb;
usr.bin/gzip/gzip.c
1724
struct stat sb;
usr.bin/gzip/gzip.c
1736
if (stat(path, &sb) != 0) {
usr.bin/gzip/gzip.c
1775
handle_file(char *file, struct stat *sbp)
usr.bin/gzip/gzip.c
193
static void handle_file(char *, struct stat *);
usr.bin/gzip/gzip.c
211
static void copymodes(int fd, const struct stat *, const char *file);
usr.bin/hexdump/display.c
334
struct stat sb;
usr.bin/killall/killall.c
118
struct stat sb;
usr.bin/killall/killall.c
271
if (stat(buf, &sb) < 0)
usr.bin/ktrace/ktrace.c
59
struct stat sb;
usr.bin/last/last.c
323
struct stat stb; /* stat of file for sz */
usr.bin/lastcomm/lastcomm.c
69
struct stat sb;
usr.bin/limits/limits.c
668
struct stat st;
usr.bin/limits/limits.c
673
if (shell != NULL && stat(shell, &st) != -1) {
usr.bin/limits/limits.c
674
struct stat st1;
usr.bin/limits/limits.c
678
if (stat(procdir, &st1) != -1 && memcmp(&st, &st1, sizeof st) == 0)
usr.bin/limits/limits.c
682
if (stat(procdir, &st) == 0 && (fp = fopen(procdir, "r")) != NULL) {
usr.bin/locate/locate/locate.c
269
struct stat sb;
usr.bin/login/login.c
152
struct stat st;
usr.bin/login/login.c
619
if (cx && stat(cx, &st) == 0 && st.st_size != 0)
usr.bin/look/look.c
93
struct stat sb;
usr.bin/mail/collect.c
496
struct stat junk;
usr.bin/mail/collect.c
502
if (stat(name, &junk) >= 0 && S_ISREG(junk.st_mode)) {
usr.bin/mail/edit.c
135
struct stat statb;
usr.bin/mail/edit.c
187
if (stat(tempname, &statb) < 0) {
usr.bin/mail/fio.c
256
struct stat sb;
usr.bin/mail/fio.c
258
if (stat(name, &sb) < 0)
usr.bin/mail/fio.c
301
struct stat sbuf;
usr.bin/mail/fio.c
327
struct stat sbuf;
usr.bin/mail/fio.c
401
if (strchr(xname, ' ') && stat(xname, &sbuf) < 0) {
usr.bin/mail/lex.c
64
struct stat stb;
usr.bin/mail/quit.c
392
struct stat statb;
usr.bin/mail/quit.c
421
if (stat(mailname, &statb) >= 0 && statb.st_size > mailsize) {
usr.bin/mail/quit.c
74
struct stat minfo;
usr.bin/mail/util.c
100
struct stat sbuf;
usr.bin/mail/util.c
102
if (stat(name, &sbuf) < 0)
usr.bin/mail/util.c
315
struct stat sb;
usr.bin/mail/util.c
318
if (stat(name, &sb))
usr.bin/mesg/mesg.c
53
struct stat sb;
usr.bin/mesg/mesg.c
70
if (stat(tty, &sb) < 0)
usr.bin/monitor/monitor.c
159
struct stat st;
usr.bin/msgs/msgs.c
157
struct stat buf; /* stat to check access of bounds */
usr.bin/msgs/msgs.c
242
if (stat(fname, &buf) < 0) {
usr.bin/msgs/msgs.c
263
struct stat stbuf;
usr.bin/msgs/msgs.c
290
if (stat(inbuf, &stbuf) != 0)
usr.bin/patch/inp.c
142
struct stat filestat;
usr.bin/patch/inp.c
155
statfailed = stat(filename, &filestat);
usr.bin/patch/inp.c
169
statfailed = stat(filename, &filestat);
usr.bin/patch/mkpath.c
51
struct stat sb;
usr.bin/patch/mkpath.c
64
if (stat(path, &sb)) {
usr.bin/patch/patch.c
152
struct stat statbuf;
usr.bin/patch/patch.c
250
out_existed = stat(outname, &statbuf) == 0;
usr.bin/patch/patch.c
439
stat(realout, &statbuf) == 0 &&
usr.bin/patch/pch.c
106
struct stat filestat;
usr.bin/patch/util.c
103
if (backup_type == none || stat(orig, &filestat) != 0)
usr.bin/patch/util.c
139
while (stat(bakname, &filestat) == 0 &&
usr.bin/patch/util.c
358
struct stat filestat;
usr.bin/patch/util.c
392
if (stat(fullname, &filestat) == 0 && S_ISDIR(filestat.st_mode)) {
usr.bin/patch/util.c
400
*exists = stat(name, &filestat) == 0;
usr.bin/patch/util.c
98
struct stat filestat;
usr.bin/pathchk/pathchk.c
138
if (!pflag && stat(pathd, &sb) == -1 && errno != ENOENT) {
usr.bin/pathchk/pathchk.c
98
struct stat sb;
usr.bin/pkill/pkill.c
674
struct stat st;
usr.bin/pkill/pkill.c
720
if (stat(buf, &st) != -1)
usr.bin/pkill/pkill.c
756
stat(cp, &st) != -1) {
usr.bin/pkill/pkill.c
761
if (stat(buf, &st) != -1)
usr.bin/pkill/pkill.c
765
if (stat(buf, &st) != -1)
usr.bin/pr/pr.c
1258
struct stat statbuf;
usr.bin/relpath/relpath.c
46
struct stat st1;
usr.bin/relpath/relpath.c
47
struct stat st2;
usr.bin/relpath/relpath.c
55
if (stat(av[1], &st1) < 0)
usr.bin/relpath/relpath.c
67
error = stat(path, &st2);
usr.bin/rpcgen/rpc_main.c
914
struct stat buf;
usr.bin/rpcgen/rpc_main.c
916
if (infile != NULL && stat(infile, &buf) < 0) {
usr.bin/rpcgen/rpc_main.c
921
if (stat(outfile, &buf) < 0)
usr.bin/rpcgen/rpc_scan.c
144
int stat = 0;
usr.bin/rpcgen/rpc_scan.c
161
waitpid(childpid, &stat, WUNTRACED);
usr.bin/rpcgen/rpc_scan.c
162
if (stat > 0) {
usr.bin/rpcgen/rpc_scan.c
166
nonfatalerrors = stat >> 8;
usr.bin/rwall/rwall.c
129
struct stat sbuf;
usr.bin/script/script.c
390
struct stat pst;
usr.bin/sdiff/sdiff.c
149
struct stat sb;
usr.bin/sed/main.c
323
struct stat sb;
usr.bin/sort/file.c
628
struct stat stat_buf;
usr.bin/sort/sort.c
961
struct stat st;
usr.bin/stat/stat.c
179
static void output(const struct stat *, const char *,
usr.bin/stat/stat.c
181
static int format1(const struct stat *, /* stat info */
usr.bin/stat/stat.c
206
struct stat st;
usr.bin/stat/stat.c
366
if ((rc = stat(file, &st)) == -1 &&
usr.bin/stat/stat.c
423
output(const struct stat *st, const char *file,
usr.bin/stat/stat.c
616
format1(const struct stat *st,
usr.bin/systat/icmp.c
146
#define DO(stat) ret->stat = (double)(icmpstat.stat - sub->stat) / divisor
usr.bin/systat/icmp.c
184
#define DO(stat, row, col) \
usr.bin/systat/icmp.c
185
mvwprintw(wnd, row, col, "%9lu", stats.stat)
usr.bin/systat/icmp6.c
143
#define DO(stat) ret->stat = (icmp6stat.stat - sub->stat) / divisor
usr.bin/systat/icmp6.c
179
#define DO(stat, row, col) \
usr.bin/systat/icmp6.c
180
mvwprintw(wnd, row, col, "%9lu", stats.stat)
usr.bin/systat/ip.c
132
domode(struct stat *ret)
usr.bin/systat/ip.c
134
const struct stat *sub;
usr.bin/systat/ip.c
152
#define DO(stat) ret->stat = (double)(curstat.stat - sub->stat) / divisor
usr.bin/systat/ip.c
194
struct stat stats;
usr.bin/systat/ip.c
200
#define DO(stat, row, col) \
usr.bin/systat/ip.c
201
mvwprintw(wnd, row, col, "%9lu", stats.stat)
usr.bin/systat/ip.c
58
static struct stat curstat, initstat, oldstat;
usr.bin/systat/ip6.c
148
#define DO(stat) ret->stat = (curstat.stat - sub->stat) / divisor
usr.bin/systat/ip6.c
187
#define DO(stat, row, col) \
usr.bin/systat/ip6.c
188
mvwprintw(wnd, row, col, "%9lu", stats.stat)
usr.bin/systat/tcp.c
149
#define DO(stat) ret->stat = (double)(curstat.stat - sub->stat) / divisor
usr.bin/systat/tcp.c
223
#define DO(stat, row, col) \
usr.bin/systat/tcp.c
224
mvwprintw(wnd, row, col, "%9lu", stats.stat)
usr.bin/systat/tcp.c
225
#define L(row, stat) DO(stat, row, 0)
usr.bin/systat/tcp.c
226
#define R(row, stat) DO(stat, row, 35)
usr.bin/tail/extern.h
56
struct stat st;
usr.bin/tail/extern.h
64
void forward(FILE *, const char *, enum STYLE, off_t, struct stat *);
usr.bin/tail/extern.h
65
void reverse(FILE *, const char *, enum STYLE, off_t, struct stat *);
usr.bin/tail/forward.c
197
rlines(FILE *fp, const char *fn, off_t off, struct stat *sbp)
usr.bin/tail/forward.c
316
struct stat sb2;
usr.bin/tail/forward.c
391
sizeof(struct stat));
usr.bin/tail/forward.c
56
static void rlines(FILE *, const char *, off_t, struct stat *);
usr.bin/tail/forward.c
94
struct stat *sbp)
usr.bin/tail/reverse.c
101
r_reg(FILE *fp, const char *fn, enum STYLE style, off_t off, struct stat *sbp)
usr.bin/tail/reverse.c
51
static void r_reg(FILE *, const char *, enum STYLE, off_t, struct stat *);
usr.bin/tail/reverse.c
73
struct stat *sbp)
usr.bin/tail/tail.c
56
struct stat sb;
usr.bin/talk/init_disp.c
53
struct stat sb;
usr.bin/talk/init_disp.c
57
if (stat(tty, &sb) < 0)
usr.bin/tcopy/tcopy.c
317
struct stat sp;
usr.bin/tip/remote.c
102
int stat;
usr.bin/tip/remote.c
115
if ((stat = cgetent(&bp, db_array, host)) < 0) {
usr.bin/tip/remote.c
127
switch(stat) {
usr.bin/tip/unidialer.c
164
int ndx, stat;
usr.bin/tip/unidialer.c
177
if ((stat = cgetent (&bp, db_array, (char *)modem)) < 0) {
usr.bin/tip/unidialer.c
178
switch (stat) {
usr.bin/top/m_dragonfly.c
479
if (PP(fixit, stat) == SIDL)
usr.bin/top/m_dragonfly.c
577
int lpstate = LP(pp, stat);
usr.bin/top/m_dragonfly.c
578
int pstate = PP(pp, stat);
usr.bin/top/m_dragonfly.c
748
switch (PP(pp, stat)) {
usr.bin/top/m_dragonfly.c
753
switch (LP(pp, stat)) {
usr.bin/top/m_dragonfly.c
771
sprintf(status, "?LP/%d", LP(pp, stat));
usr.bin/top/m_dragonfly.c
785
sprintf(status, "?P/%d", PP(pp, stat));
usr.bin/top/m_dragonfly.c
875
if ((result = sorted_state[(unsigned char) PP(p2, stat)] - \
usr.bin/top/m_dragonfly.c
876
sorted_state[(unsigned char) PP(p1, stat)]) == 0)
usr.bin/top/m_dragonfly.c
904
if (LP(p1, pid) == -1 && PP(p1, stat) == SIDL)
usr.bin/top/m_dragonfly.c
906
if (LP(p2, pid) == -1 && PP(p2, stat) == SIDL)
usr.bin/touch/touch.c
398
struct stat sb;
usr.bin/touch/touch.c
400
if (stat(fname, &sb))
usr.bin/touch/touch.c
59
struct stat sb;
usr.bin/touch/touch.c
61
int (*stat_f)(const char *, struct stat *);
usr.bin/touch/touch.c
69
stat_f = stat;
usr.bin/truncate/truncate.c
50
struct stat sb;
usr.bin/truncate/truncate.c
92
if (stat(rname, &sb) == -1)
usr.bin/undo/undo.c
255
struct stat sb;
usr.bin/undo/undo.c
269
if (stat(path, &sb) == 0 && (sb.st_mode & S_IFIFO)) {
usr.bin/undo/undo.c
413
struct stat st;
usr.bin/undo/undo.c
557
struct stat st;
usr.bin/unifdef/unifdef.c
380
struct stat st;
usr.bin/unifdef/unifdef.c
398
if (stat(ofn, &st) < 0) {
usr.bin/unzip/unzip.c
315
struct stat sb;
usr.bin/unzip/unzip.c
348
struct stat sb;
usr.bin/unzip/unzip.c
586
struct stat sb;
usr.bin/uudecode/uudecode.c
173
struct stat st;
usr.bin/uuencode/uuencode.c
64
struct stat sb;
usr.bin/vmstat/vmstat.c
1142
struct objcache_stats *stat, *s;
usr.bin/vmstat/vmstat.c
1149
stat = malloc(len + (8 * sizeof(*stat)));
usr.bin/vmstat/vmstat.c
1150
if (sysctlbyname("kern.objcache.stats", stat, &len, NULL, 0) < 0)
usr.bin/vmstat/vmstat.c
1156
for (s = stat, count = 0; count < len; ++s) {
usr.bin/vmstat/vmstat.c
1170
free(stat);
usr.bin/w/w.c
116
static struct stat *ttystat(char *, int);
usr.bin/w/w.c
506
static struct stat *
usr.bin/w/w.c
509
static struct stat sb;
usr.bin/w/w.c
513
if (stat(ttybuf, &sb)) {
usr.bin/w/w.c
548
struct stat *stp;
usr.bin/wall/wall.c
170
struct stat sbuf;
usr.bin/wc/wc.c
166
struct stat sb;
usr.bin/whereis/whereis.c
259
struct stat sb;
usr.bin/whereis/whereis.c
316
if (stat(PATH_DPORTS, &sb) == -1) {
usr.bin/whereis/whereis.c
338
if (stat(b, &sb) == -1 ||
usr.bin/whereis/whereis.c
363
struct stat sb;
usr.bin/whereis/whereis.c
431
if (stat(cp, &sb) == 0 &&
usr.bin/whereis/whereis.c
546
if (stat(cp, &sb) == 0 &&
usr.bin/which/which.c
104
struct stat fin;
usr.bin/which/which.c
108
stat(candidate, &fin) == 0 &&
usr.bin/who/utmpentry.c
78
struct stat st;
usr.bin/who/utmpentry.c
96
if (stat(sfname, &st) == -1) {
usr.bin/who/who.c
283
struct stat sb;
usr.bin/who/who.c
303
if (stat(line, &sb) == 0) {
usr.bin/write/write.c
205
struct stat s;
usr.bin/write/write.c
209
if (stat(path, &s) < 0) {
usr.bin/xinstall/xinstall.c
105
struct stat from_sb, to_sb;
usr.bin/xinstall/xinstall.c
1090
struct stat sb;
usr.bin/xinstall/xinstall.c
1094
if (stat(path, &sb) == 0 && S_ISDIR(sb.st_mode))
usr.bin/xinstall/xinstall.c
1109
struct stat sb;
usr.bin/xinstall/xinstall.c
1116
if (stat(path, &sb)) {
usr.bin/xinstall/xinstall.c
281
no_target = stat(to_name, &to_sb);
usr.bin/xinstall/xinstall.c
313
if (stat(*argv, &from_sb))
usr.bin/xinstall/xinstall.c
369
const struct stat *target_sb)
usr.bin/xinstall/xinstall.c
417
const struct stat *target_sb)
usr.bin/xinstall/xinstall.c
462
const struct stat *target_sb)
usr.bin/xinstall/xinstall.c
465
struct stat to_sb;
usr.bin/xinstall/xinstall.c
473
if (stat(to_name, &to_sb))
usr.bin/xinstall/xinstall.c
588
struct stat from_sb, temp_sb, to_sb;
usr.bin/xinstall/xinstall.c
604
if (stat(from_name, &from_sb))
usr.bin/xinstall/xinstall.c
90
static int create_newfile(const char *, int, struct stat *);
usr.bin/xinstall/xinstall.c
92
static int do_link(const char *, const char *, const struct stat *);
usr.bin/xinstall/xinstall.c
93
static void do_symlink(const char *, const char *, const struct stat *);
usr.bin/xinstall/xinstall.c
94
static void makelink(const char *, const char *, const struct stat *);
usr.bin/xinstall/xinstall.c
960
create_newfile(const char *path, int target, struct stat *sbp)
usr.sbin/authpf/authpf.c
659
struct stat sb;
usr.sbin/authpf/authpf.c
664
if (stat(fn, &sb) == -1) {
usr.sbin/autofs/autounmountd.c
154
struct stat sb;
usr.sbin/autofs/autounmountd.c
166
if (stat(mountpoint, &sb))
usr.sbin/autofs/common.c
926
struct stat sb;
usr.sbin/autofs/common.c
929
error = stat(path, &sb);
usr.sbin/bootparamd/bootparamd/main.c
46
struct stat buf;
usr.sbin/bootparamd/bootparamd/main.c
83
if ( stat(bootpfile, &buf ) )
usr.sbin/burncd/burncd.c
291
struct stat sb;
usr.sbin/ckdist/ckdist.c
134
if (stat(opt_dir, &sb))
usr.sbin/ckdist/ckdist.c
143
else if (stat(*argv, &sb))
usr.sbin/ckdist/ckdist.c
226
struct stat st;
usr.sbin/ckdist/ckdist.c
320
struct stat sb;
usr.sbin/ckdist/ckdist.c
92
struct stat sb;
usr.sbin/clog/clog.c
125
struct stat sb;
usr.sbin/config/main.c
133
if (stat(p, &buf)) {
usr.sbin/config/main.c
439
struct stat from_sb, to_sb;
usr.sbin/config/main.c
85
struct stat buf;
usr.sbin/cpucontrol/amd.c
80
struct stat st;
usr.sbin/cpucontrol/amd10h.c
93
struct stat st;
usr.sbin/cpucontrol/cpucontrol.c
122
struct stat st;
usr.sbin/cpucontrol/cpucontrol.c
124
error = stat(path, &st);
usr.sbin/cpucontrol/intel.c
82
struct stat st;
usr.sbin/cpucontrol/via.c
82
struct stat st;
usr.sbin/cron/cron/database.c
183
struct stat *statbuf, cron_db *new_db, cron_db *old_db)
usr.sbin/cron/cron/database.c
34
struct stat *, cron_db *, cron_db *);
usr.sbin/cron/cron/database.c
41
struct stat statbuf;
usr.sbin/cron/cron/database.c
42
struct stat syscron_stat;
usr.sbin/cron/cron/database.c
53
if (stat(SPOOL_DIR, &statbuf) < OK) {
usr.sbin/cron/cron/database.c
60
if (stat(SYSCRONTAB, &syscron_stat) < OK)
usr.sbin/cron/crontab/crontab.c
302
struct stat statbuf, fsbuf;
usr.sbin/cron/crontab/crontab.c
371
if (stat(Filename, &statbuf) < 0) {
usr.sbin/cron/crontab/crontab.c
438
if (stat(Filename, &statbuf) < 0) {
usr.sbin/cron/lib/misc.c
183
struct stat sb;
usr.sbin/cron/lib/misc.c
187
if (stat(CRONDIR, &sb) < OK && errno == ENOENT) {
usr.sbin/cron/lib/misc.c
191
stat(CRONDIR, &sb);
usr.sbin/cron/lib/misc.c
203
if (stat(SPOOL_DIR, &sb) < OK && errno == ENOENT) {
usr.sbin/cron/lib/misc.c
207
stat(SPOOL_DIR, &sb);
usr.sbin/fstyp/fstyp.c
158
struct stat sb;
usr.sbin/inetd/builtins.c
332
struct stat sb;
usr.sbin/installer/dfuibe_installer/fn_configure.c
1234
struct stat sb = { .st_size = 0 };
usr.sbin/installer/dfuibe_installer/fn_configure.c
1254
stat("/tmp/t2", &sb);
usr.sbin/installer/dfuibe_installer/fn_zonetab.c
100
stat(ZONETAB_FILE, &sb);
usr.sbin/installer/dfuibe_installer/fn_zonetab.c
94
struct stat sb;
usr.sbin/installer/libaura/fspred.c
115
struct stat sb;
usr.sbin/installer/libaura/fspred.c
125
error = stat(filename, &sb);
usr.sbin/installer/libaura/fspred.c
61
struct stat sb;
usr.sbin/installer/libaura/fspred.c
67
*error = stat(filename, &sb);
usr.sbin/keyserv/crypt_server.c
215
result.stat = DESERR_BADPARAM;
usr.sbin/keyserv/crypt_server.c
257
result.stat = _my_crypt(dptr, 8, &dparm);
usr.sbin/keyserv/crypt_server.c
260
result.stat = _my_crypt(argp->desbuf.desbuf_val,
usr.sbin/keyserv/crypt_server.c
265
if (result.stat == DESERR_NONE || result.stat == DESERR_NOHWDEVICE) {
usr.sbin/lpr/chkprintcap/chkprintcap.c
125
struct stat stab;
usr.sbin/lpr/chkprintcap/chkprintcap.c
129
if (stat(pp->spool_dir, &stab) < 0) {
usr.sbin/lpr/chkprintcap/chkprintcap.c
194
struct stat stab;
usr.sbin/lpr/chkprintcap/chkprintcap.c
217
note_spool_dir(const struct printer *pp, const struct stat *st)
usr.sbin/lpr/chkprintcap/chkprintcap.c
280
struct stat stab;
usr.sbin/lpr/chkprintcap/chkprintcap.c
303
if (stat(sd, &stab) < 0)
usr.sbin/lpr/chkprintcap/chkprintcap.c
55
static void note_spool_dir(const struct printer *pp, const struct stat *st);
usr.sbin/lpr/common_source/common.c
106
struct stat stbuf;
usr.sbin/lpr/common_source/common.c
136
statres = stat(d->d_name, &stbuf);
usr.sbin/lpr/common_source/common.c
269
struct stat stbuf;
usr.sbin/lpr/common_source/common.c
280
statres = stat(lfname, &stbuf);
usr.sbin/lpr/common_source/ctlinfo.c
229
static struct stat ctl_dbgstat;
usr.sbin/lpr/common_source/ctlinfo.c
275
id = stat(DEBUGREADCF_FNAME, &ctl_dbgstat);
usr.sbin/lpr/common_source/ctlinfo.c
402
struct stat tstat;
usr.sbin/lpr/common_source/ctlinfo.c
403
res = stat(TRIGGERTEST_FNAME, &tstat);
usr.sbin/lpr/common_source/ctlinfo.c
641
struct stat tfstat;
usr.sbin/lpr/common_source/ctlinfo.c
644
res = stat(tfname, &tfstat);
usr.sbin/lpr/common_source/ctlinfo.c
647
res = stat(tfname2, &tfstat);
usr.sbin/lpr/common_source/displayq.c
117
ret = stat(pp->lock_file, &statb);
usr.sbin/lpr/common_source/displayq.c
426
struct stat lbuf;
usr.sbin/lpr/common_source/displayq.c
475
if (*datafile && !stat(datafile, &lbuf))
usr.sbin/lpr/common_source/displayq.c
486
struct stat lbuf;
usr.sbin/lpr/common_source/displayq.c
493
if (*datafile && !stat(datafile, &lbuf))
usr.sbin/lpr/common_source/displayq.c
92
struct stat statb;
usr.sbin/lpr/lpc/cmds.c
1031
struct stat stbuf;
usr.sbin/lpr/lpc/cmds.c
1039
if (stat(file, &stbuf) >= 0) {
usr.sbin/lpr/lpc/cmds.c
1117
struct stat stbuf;
usr.sbin/lpr/lpc/cmds.c
1174
if (changed && stat(pp->lock_file, &stbuf) >= 0)
usr.sbin/lpr/lpc/cmds.c
768
struct stat stbuf;
usr.sbin/lpr/lpd/printjob.c
141
struct stat stb;
usr.sbin/lpr/lpd/printjob.c
1420
struct stat stb;
usr.sbin/lpr/lpd/printjob.c
1461
if (stat(tempstderr, &stb) < 0 || stb.st_size == 0
usr.sbin/lpr/lpd/printjob.c
182
if (stat(pp->lock_file, &stb) == 0 && (stb.st_mode & LFM_PRINT_DIS))
usr.sbin/lpr/lpd/printjob.c
249
if (stat(q->job_cfname, &stb) < 0)
usr.sbin/lpr/lpd/printjob.c
597
struct stat stb;
usr.sbin/lpr/lpd/printjob.c
974
struct stat stb;
usr.sbin/lpr/lpd/recvjob.c
109
if (stat(pp->lock_file, &stb) == 0) {
usr.sbin/lpr/lpd/recvjob.c
115
} else if (stat(pp->spool_dir, &stb) < 0)
usr.sbin/lpr/lpd/recvjob.c
78
struct stat stb;
usr.sbin/lpr/lpr/lpr.c
125
struct stat stb;
usr.sbin/lpr/lpr/lpr.c
126
struct stat statb1, statb2;
usr.sbin/lpr/lpr/lpr.c
314
if (userid && stat(buf, &stb) == 0 && (stb.st_mode & LFM_QUEUE_DIS))
usr.sbin/lpr/lpr/lpr.c
705
if (stat(file, &statb) < 0) {
usr.sbin/lpr/lpr/lpr.c
766
struct stat stats;
usr.sbin/lpr/lpr/lpr.c
768
stat(directory, &stats);
usr.sbin/lpr/lpr/lpr.c
770
stat(file, &stats);
usr.sbin/lpr/lpr/lpr.c
97
static struct stat statb;
usr.sbin/lpr/pac/pac.c
414
int stat;
usr.sbin/lpr/pac/pac.c
418
stat = getprintcap(ptrname, pp);
usr.sbin/lpr/pac/pac.c
419
switch(stat) {
usr.sbin/lpr/pac/pac.c
421
printf("pac: getprintcap: %s\n", pcaperr(stat));
usr.sbin/lpr/pac/pac.c
426
fatal(pp, "%s", pcaperr(stat));
usr.sbin/makefs/cd9660.c
2051
struct stat stbuf;
usr.sbin/makefs/cd9660/cd9660_eltorito.c
72
struct stat stbuf;
usr.sbin/makefs/ffs.c
706
struct stat *st = stampst.st_ino != 0 ? &stampst : &cur->inode->st;
usr.sbin/makefs/ffs.c
755
struct stat *st = stampst.st_ino != 0 ? &stampst : &cur->inode->st;
usr.sbin/makefs/hammer2.c
1052
struct stat st;
usr.sbin/makefs/hammer2.c
1071
if (stat(dir, &st) == -1)
usr.sbin/makefs/hammer2.c
1093
if (stat(path, &st) == -1)
usr.sbin/makefs/hammer2.c
1235
struct stat *st = &node->inode->st;
usr.sbin/makefs/hammer2.c
2157
struct stat st;
usr.sbin/makefs/hammer2.c
2165
if (stat(tmp, &st) == -1 && mkdir(tmp, 0666) == -1)
usr.sbin/makefs/hammer2.c
2205
struct stat st;
usr.sbin/makefs/hammer2.c
2208
if (!stat(lnk, &st)) {
usr.sbin/makefs/hammer2.c
867
struct stat st;
usr.sbin/makefs/hammer2.c
873
if (stat(image, &st) == 0) {
usr.sbin/makefs/hammer2/hammer2_ioctl.c
1277
struct stat st;
usr.sbin/makefs/hammer2/hammer2_ondisk.c
212
struct stat st;
usr.sbin/makefs/hammer2/hammer2_subr.c
340
struct stat *st;
usr.sbin/makefs/makefs.c
306
if (stat(argv[1], &sb) == -1)
usr.sbin/makefs/makefs.c
330
if (stat(argv[i], &sb) == -1)
usr.sbin/makefs/makefs.c
462
get_tstamp(const char *b, struct stat *st)
usr.sbin/makefs/makefs.c
468
if (stat(b, st) != -1)
usr.sbin/makefs/makefs.c
86
struct stat stampst;
usr.sbin/makefs/makefs.c
89
static int get_tstamp(const char *, struct stat *);
usr.sbin/makefs/makefs.c
95
struct stat sb;
usr.sbin/makefs/makefs.h
195
extern struct stat stampst;
usr.sbin/makefs/makefs.h
88
struct stat st; /* stat entry */
usr.sbin/makefs/msdos/msdosfs_vnops.c
366
struct stat *st = &node->inode->st;
usr.sbin/makefs/msdos/msdosfs_vnops.c
439
struct stat *st = &node->inode->st;
usr.sbin/makefs/msdos/msdosfs_vnops.c
98
msdosfs_times(struct denode *dep, const struct stat *st)
usr.sbin/makefs/mtree.c
485
struct stat *st, sb;
usr.sbin/makefs/mtree.c
769
if (stat(name, &sb) != 0) {
usr.sbin/makefs/walk.c
222
struct stat *stbuf)
usr.sbin/makefs/walk.c
408
struct stat stbuf;
usr.sbin/makefs/walk.c
64
struct stat *);
usr.sbin/makefs/walk.c
82
struct stat stbuf;
usr.sbin/mfiutil/mfi_flash.c
93
struct stat sb;
usr.sbin/mfiutil/mfi_show.c
144
struct mfi_bbu_status stat;
usr.sbin/mfiutil/mfi_show.c
182
if (mfi_dcmd_command(fd, MFI_DCMD_BBU_GET_STATUS, &stat, sizeof(stat),
usr.sbin/mfiutil/mfi_show.c
207
printf(" Current Voltage: %d mV\n", stat.voltage);
usr.sbin/mfiutil/mfi_show.c
208
printf(" Temperature: %d C\n", stat.temperature);
usr.sbin/mfiutil/mfi_show.c
211
if (stat.fw_status & MFI_BBU_STATE_PACK_MISSING) {
usr.sbin/mfiutil/mfi_show.c
215
if (stat.fw_status & MFI_BBU_STATE_VOLTAGE_LOW) {
usr.sbin/mfiutil/mfi_show.c
219
if (stat.fw_status & MFI_BBU_STATE_TEMPERATURE_HIGH) {
usr.sbin/mfiutil/mfi_show.c
223
if (stat.fw_status & MFI_BBU_STATE_CHARGE_ACTIVE) {
usr.sbin/mfiutil/mfi_show.c
227
if (stat.fw_status & MFI_BBU_STATE_DISCHARGE_ACTIVE) {
usr.sbin/mfiutil/mfi_show.c
233
switch (stat.battery_type) {
usr.sbin/mfiutil/mfi_show.c
236
stat.detail.bbu.is_SOH_good ? "good" : "bad");
usr.sbin/mpsutil/mps_flash.c
124
struct stat st;
usr.sbin/mpsutil/mps_flash.c
151
if (stat(argv[2], &st) == -1) {
usr.sbin/mtree/compare.c
314
struct stat *ps = p->fts_statp;
usr.sbin/mtree/hash.c
62
struct stat st;
usr.sbin/mtree/verify.c
179
struct stat statbuf;
usr.sbin/mtree/verify.c
181
if (qflag && stat(path, &statbuf) == 0 &&
usr.sbin/newsyslog/newsyslog.c
1004
struct stat st_fm;
usr.sbin/newsyslog/newsyslog.c
1481
struct stat sb;
usr.sbin/newsyslog/newsyslog.c
1728
struct stat st;
usr.sbin/newsyslog/newsyslog.c
1752
struct stat st;
usr.sbin/newsyslog/newsyslog.c
2369
struct stat sb;
usr.sbin/newsyslog/newsyslog.c
2371
if (stat(file, &sb) < 0)
usr.sbin/newsyslog/newsyslog.c
2383
struct stat sb;
usr.sbin/newsyslog/newsyslog.c
2438
struct stat sb;
usr.sbin/newsyslog/newsyslog.c
2480
if (stat(tmp, &sb) < 0)
usr.sbin/newsyslog/newsyslog.c
2571
struct stat st;
usr.sbin/newsyslog/newsyslog.c
2614
struct stat st;
usr.sbin/newsyslog/newsyslog.c
2630
failed = stat(tempfile, &st);
usr.sbin/pfctl/parse.y
5697
struct stat st;
usr.sbin/pfctl/pfctl.c
1518
struct stat st;
usr.sbin/pflogd/pflogd.c
297
struct stat st;
usr.sbin/ppp/chat.c
713
int stat, nb, argc, i;
usr.sbin/ppp/chat.c
766
waitpid(pid, &stat, WNOHANG);
usr.sbin/ppp/chat.c
767
if (WIFSIGNALED(stat)) {
usr.sbin/ppp/chat.c
768
log_Printf(LogWARN, "%s: signal %d\n", name, WTERMSIG(stat));
usr.sbin/ppp/chat.c
772
} else if (WIFEXITED(stat)) {
usr.sbin/ppp/chat.c
773
switch (WEXITSTATUS(stat)) {
usr.sbin/ppp/chat.c
784
log_Printf(LogWARN, "%s: exit %d\n", name, WEXITSTATUS(stat));
usr.sbin/ppp/ether.c
675
struct stat st;
usr.sbin/ppp/exec.c
118
int stat, argc, i, ret, wret, pidpipe[2];
usr.sbin/ppp/exec.c
122
stat = fcntl(fids[0], F_GETFL, 0);
usr.sbin/ppp/exec.c
123
if (stat > 0) {
usr.sbin/ppp/exec.c
124
stat |= O_NONBLOCK;
usr.sbin/ppp/exec.c
125
fcntl(fids[0], F_SETFL, stat);
usr.sbin/ppp/exec.c
198
while ((wret = waitpid(pid, &stat, 0)) == -1 && errno == EINTR)
usr.sbin/ppp/exec.c
206
} else if (WIFSIGNALED(stat)) {
usr.sbin/ppp/exec.c
208
WTERMSIG(stat));
usr.sbin/ppp/exec.c
212
} else if (WIFSTOPPED(stat)) {
usr.sbin/ppp/exec.c
214
WSTOPSIG(stat));
usr.sbin/ppp/exec.c
216
} else if ((ret = WEXITSTATUS(stat))) {
usr.sbin/ppp/ipcp.c
190
struct stat st;
usr.sbin/ppp/main.c
361
struct stat sb;
usr.sbin/ppp/main.c
363
if (stat(conf, &sb) == 0 && sb.st_mode & S_IWOTH) {
usr.sbin/ppp/prompt.c
418
int stat, fd = p ? p->fd_in : STDIN_FILENO;
usr.sbin/ppp/prompt.c
421
stat = fcntl(fd, F_GETFL, 0);
usr.sbin/ppp/prompt.c
422
if (stat > 0) {
usr.sbin/ppp/prompt.c
423
stat |= O_NONBLOCK;
usr.sbin/ppp/prompt.c
424
fcntl(fd, F_SETFL, stat);
usr.sbin/ppp/prompt.c
452
int stat;
usr.sbin/ppp/prompt.c
460
stat = fcntl(p->fd_in, F_GETFL, 0);
usr.sbin/ppp/prompt.c
461
if (stat > 0) {
usr.sbin/ppp/prompt.c
462
stat |= O_NONBLOCK;
usr.sbin/ppp/prompt.c
463
fcntl(p->fd_in, F_SETFL, stat);
usr.sbin/ppp/prompt.c
475
int stat;
usr.sbin/ppp/prompt.c
480
stat = fcntl(p->fd_in, F_GETFL, 0);
usr.sbin/ppp/prompt.c
481
if (stat > 0) {
usr.sbin/ppp/prompt.c
482
stat &= ~O_NONBLOCK;
usr.sbin/ppp/prompt.c
483
fcntl(p->fd_in, F_SETFL, stat);
usr.sbin/ppp/prompt.c
491
int stat;
usr.sbin/ppp/prompt.c
493
stat = fcntl(p->fd_in, F_GETFL, 0);
usr.sbin/ppp/prompt.c
494
if (stat > 0) {
usr.sbin/ppp/prompt.c
495
stat &= ~O_NONBLOCK;
usr.sbin/ppp/prompt.c
496
fcntl(p->fd_in, F_SETFL, stat);
usr.sbin/ppp/server.c
219
struct stat st;
usr.sbin/ppp/server.c
228
if (server.cfg.sockname[0] != '\0' && stat(server.cfg.sockname, &st) == 0)
usr.sbin/ppp/tcp.c
171
struct stat st;
usr.sbin/ppp/udp.c
284
struct stat st;
usr.sbin/pw/cpdir.c
56
struct stat st;
usr.sbin/pw/pw_user.c
102
struct stat st;
usr.sbin/pw/pw_user.c
1223
struct stat st;
usr.sbin/pw/pw_user.c
1226
stat(e->d_name, &st) == 0 &&
usr.sbin/pw/pw_user.c
168
if (stat(cnf->home, &st) == -1) {
usr.sbin/pw/pw_user.c
192
if (stat(dbuf, &st) == -1) {
usr.sbin/pw/pw_user.c
195
if (stat(dbuf, &st) == -1) {
usr.sbin/pw/pw_user.c
204
if (stat(dbuf, &st) == -1) {
usr.sbin/pw/pw_user.c
253
if (stat(cnf->dotdir = arg->val, &st) == -1 || !S_ISDIR(st.st_mode))
usr.sbin/pw/pw_user.c
432
if (stat(home, &st) != -1) {
usr.sbin/pw/pw_user.c
436
stat(home, &st) == -1 ? "" : "not completely ");
usr.sbin/pw/pw_user.c
537
if (stat(pwd->pw_dir = arg->val, &st) == -1) {
usr.sbin/pw/rm_r.c
47
struct stat st;
usr.sbin/pwd_mkdb/pwd_mkdb.c
180
struct stat st;
usr.sbin/rpc.lockd/lock_proc.c
1000
res.stat.stat = (enum nlm4_stats)unlock(&arg->alock, LOCK_V4);
usr.sbin/rpc.lockd/lock_proc.c
1036
res.stat.stat = nlm4_granted;
usr.sbin/rpc.lockd/lock_proc.c
1049
res.stat.stat = nlm4_granted;
usr.sbin/rpc.lockd/lock_proc.c
1145
res.stat = nlm4_granted;
usr.sbin/rpc.lockd/lock_proc.c
1165
res.stat = nlm4_granted;
usr.sbin/rpc.lockd/lock_proc.c
1190
res.stat.stat = nlm4_granted;
usr.sbin/rpc.lockd/lock_proc.c
401
res.stat.stat = nlm_granted;
usr.sbin/rpc.lockd/lock_proc.c
403
res.stat.stat = nlm_denied;
usr.sbin/rpc.lockd/lock_proc.c
404
memcpy(&res.stat.nlm_testrply_u.holder, holder,
usr.sbin/rpc.lockd/lock_proc.c
406
res.stat.nlm_testrply_u.holder.l_offset = holder->l_offset;
usr.sbin/rpc.lockd/lock_proc.c
407
res.stat.nlm_testrply_u.holder.l_len = holder->l_len;
usr.sbin/rpc.lockd/lock_proc.c
433
res.stat.stat = nlm_granted;
usr.sbin/rpc.lockd/lock_proc.c
435
res.stat.stat = nlm_denied;
usr.sbin/rpc.lockd/lock_proc.c
436
memcpy(&res.stat.nlm_testrply_u.holder, holder,
usr.sbin/rpc.lockd/lock_proc.c
438
res.stat.nlm_testrply_u.holder.l_offset = holder->l_offset;
usr.sbin/rpc.lockd/lock_proc.c
439
res.stat.nlm_testrply_u.holder.l_len = holder->l_len;
usr.sbin/rpc.lockd/lock_proc.c
485
res.stat.stat = getlock(&arg4, rqstp, LOCK_MON);
usr.sbin/rpc.lockd/lock_proc.c
506
res.stat.stat = getlock(&arg4, rqstp, LOCK_ASYNC | LOCK_MON);
usr.sbin/rpc.lockd/lock_proc.c
536
res.stat.stat = unlock(&arg4, LOCK_CANCEL);
usr.sbin/rpc.lockd/lock_proc.c
556
res.stat.stat = unlock(&arg4, LOCK_CANCEL);
usr.sbin/rpc.lockd/lock_proc.c
580
res.stat.stat = unlock(&arg4, 0);
usr.sbin/rpc.lockd/lock_proc.c
597
res.stat.stat = unlock(&arg4, 0);
usr.sbin/rpc.lockd/lock_proc.c
633
res.stat.stat = nlm_granted;
usr.sbin/rpc.lockd/lock_proc.c
646
res.stat.stat = nlm_granted;
usr.sbin/rpc.lockd/lock_proc.c
742
res.stat = nlm_granted;
usr.sbin/rpc.lockd/lock_proc.c
762
res.stat = nlm_granted;
usr.sbin/rpc.lockd/lock_proc.c
787
res.stat.stat = nlm_granted;
usr.sbin/rpc.lockd/lock_proc.c
838
res.stat.stat = nlm4_granted;
usr.sbin/rpc.lockd/lock_proc.c
840
res.stat.stat = nlm4_denied;
usr.sbin/rpc.lockd/lock_proc.c
841
memcpy(&res.stat.nlm4_testrply_u.holder, holder,
usr.sbin/rpc.lockd/lock_proc.c
865
res.stat.stat = nlm4_granted;
usr.sbin/rpc.lockd/lock_proc.c
867
res.stat.stat = nlm4_denied;
usr.sbin/rpc.lockd/lock_proc.c
868
memcpy(&res.stat.nlm4_testrply_u.holder, holder,
usr.sbin/rpc.lockd/lock_proc.c
908
res.stat.stat = (enum nlm4_stats)getlock(arg, rqstp, LOCK_MON | LOCK_V4);
usr.sbin/rpc.lockd/lock_proc.c
921
res.stat.stat = (enum nlm4_stats)getlock(arg, rqstp, LOCK_MON | LOCK_ASYNC | LOCK_V4);
usr.sbin/rpc.lockd/lock_proc.c
948
res.stat.stat = (enum nlm4_stats)unlock(&arg->alock, LOCK_CANCEL);
usr.sbin/rpc.lockd/lock_proc.c
965
res.stat.stat = (enum nlm4_stats)unlock(&arg->alock, LOCK_CANCEL | LOCK_V4);
usr.sbin/rpc.lockd/lock_proc.c
986
res.stat.stat = (enum nlm4_stats)unlock(&arg->alock, LOCK_V4);
usr.sbin/rpc.lockd/lockd_lock.c
408
struct stat st;
usr.sbin/rpc.lockd/test.c
305
res_block.stat.stat = nlm_granted;
usr.sbin/rpc.lockd/test.c
317
printf("out->stat = %d", out->stat);
usr.sbin/rpc.yppasswdd/yppasswdd_server.c
232
struct stat statbuf;
usr.sbin/rpc.yppasswdd/yppasswdd_server.c
251
if (stat(yp_mapdir, &statbuf) < 0) {
usr.sbin/rpcbind/warmstart.c
108
struct stat sbuf;
usr.sbin/rpcbind/warmstart.c
110
if (stat(filename, &sbuf) != 0) {
usr.sbin/rtadvd/config.c
330
int stat, i;
usr.sbin/rtadvd/config.c
351
if ((stat = agetent(tbuf, ifi->ifi_ifname)) <= 0) {
usr.sbin/rwhod/rwhod.c
315
struct stat st;
usr.sbin/rwhod/rwhod.c
442
struct stat stb;
usr.sbin/rwhod/rwhod.c
475
if (stat(we->we_utmp.out_line, &stb) >= 0)
usr.sbin/tzsetup/tzsetup.c
700
struct stat sb;
usr.sbin/tzsetup/tzsetup.c
989
struct stat sb;
usr.sbin/tzsetup/tzsetup.c
991
if (stat(argv[optind], &sb) != 0) {
usr.sbin/uefisign/child.c
55
struct stat sb;
usr.sbin/vidcontrol/vidcontrol.c
339
struct stat sb;
usr.sbin/vknetd/vknetd.c
197
struct stat st;
usr.sbin/vnconfig/vnconfig.c
275
struct stat sb;
usr.sbin/vnconfig/vnconfig.c
302
bzero(&sb, sizeof(struct stat));
usr.sbin/vnconfig/vnconfig.c
309
if(stat(vnpath, &sb) < 0) {
usr.sbin/vnconfig/vnconfig.c
373
struct stat st;
usr.sbin/vnconfig/vnconfig.c
686
struct stat sb;
usr.sbin/vnconfig/vnconfig.c
692
if (stat(rawbuf, &sb) != 0 || !S_ISCHR(sb.st_mode)) {
usr.sbin/watch/watch.c
234
struct stat sb;
usr.sbin/watch/watch.c
246
if (*name == '\0' || stat(buf, &sb) < 0)
usr.sbin/yp_mkdb/yp_mkdb.c
331
int stat;
usr.sbin/yp_mkdb/yp_mkdb.c
332
if ((stat = callrpc("localhost",YPPROG,YPVERS,YPPROC_CLEAR,
usr.sbin/yp_mkdb/yp_mkdb.c
336
clnt_sperrno((enum clnt_stat) stat));
usr.sbin/ypbind/ypbind.c
645
enum clnt_stat stat;
usr.sbin/ypbind/ypbind.c
729
stat = clnt_broadcast(YPPROG, YPVERS, YPPROC_DOMAIN_NONACK,
usr.sbin/ypbind/ypbind.c
735
if (stat != RPC_SUCCESS) {
usr.sbin/ypbind/ypbind.c
761
enum clnt_stat stat;
usr.sbin/ypbind/ypbind.c
788
stat = clnt_call(client_handle, YPPROC_DOMAIN,
usr.sbin/ypbind/ypbind.c
791
if (stat != RPC_SUCCESS || out == FALSE) {
usr.sbin/yppush/yppush_main.c
324
job->stat = YPPUSH_NOHOST;
usr.sbin/yppush/yppush_main.c
327
job->stat = YPPUSH_PMAP;
usr.sbin/yppush/yppush_main.c
330
job->stat = (ypxfrstat)YPPUSH_RPC;
usr.sbin/yppush/yppush_main.c
350
job->stat = YPPUSH_YPSERV;
usr.sbin/yppush/yppush_main.c
398
job->stat = 0;
usr.sbin/yppush/yppush_main.c
420
yppush_show_status(job->stat ? job->stat :
usr.sbin/yppush/yppush_main.c
74
ypxfrstat stat;
usr.sbin/ypserv/yp_access.c
311
struct stat statbuf;
usr.sbin/ypserv/yp_access.c
321
if (stat(dompath, &statbuf) < 0 || !S_ISDIR(statbuf.st_mode))
usr.sbin/ypserv/yp_dnslookup.c
239
result_v2.stat = YP_NOKEY;
usr.sbin/ypserv/yp_dnslookup.c
243
result_v2.stat = YP_TRUE;
usr.sbin/ypserv/yp_dnslookup.c
259
result_v1.YPVAL.stat = YP_NOKEY;
usr.sbin/ypserv/yp_dnslookup.c
263
result_v1.YPVAL.stat = YP_TRUE;
usr.sbin/ypserv/yp_server.c
144
result.stat = YP_YPERR;
usr.sbin/ypserv/yp_server.c
149
result.stat = YP_BADARGS;
usr.sbin/ypserv/yp_server.c
154
result.stat = yp_errno;
usr.sbin/ypserv/yp_server.c
158
result.stat = yp_getbykey(&argp->key, &result.val);
usr.sbin/ypserv/yp_server.c
165
if (do_dns && result.stat != YP_TRUE &&
usr.sbin/ypserv/yp_server.c
169
if (do_dns && result.stat != YP_TRUE &&
usr.sbin/ypserv/yp_server.c
182
result.stat = yp_async_lookup_name(rqstp, nbuf,
usr.sbin/ypserv/yp_server.c
185
result.stat = yp_async_lookup_addr(rqstp, nbuf,
usr.sbin/ypserv/yp_server.c
188
result.stat = yp_async_lookup_name(rqstp, nbuf,
usr.sbin/ypserv/yp_server.c
191
result.stat = yp_async_lookup_addr(rqstp, nbuf,
usr.sbin/ypserv/yp_server.c
194
if (result.stat == YP_TRUE)
usr.sbin/ypserv/yp_server.c
214
result.stat = YP_YPERR;
usr.sbin/ypserv/yp_server.c
219
result.stat = YP_BADARGS;
usr.sbin/ypserv/yp_server.c
224
result.stat = yp_errno;
usr.sbin/ypserv/yp_server.c
228
result.stat = yp_firstbykey(&result.key, &result.val);
usr.sbin/ypserv/yp_server.c
246
result.stat = YP_YPERR;
usr.sbin/ypserv/yp_server.c
251
result.stat = YP_BADARGS;
usr.sbin/ypserv/yp_server.c
256
result.stat = yp_errno;
usr.sbin/ypserv/yp_server.c
263
result.stat = yp_nextbykey(&result.key, &result.val);
usr.sbin/ypserv/yp_server.c
356
if (mres->stat != YP_TRUE) {
usr.sbin/ypserv/yp_server.c
467
if ((objp->ypresp_all_u.val.stat =
usr.sbin/ypserv/yp_server.c
502
result.ypresp_all_u.val.stat = YP_YPERR;
usr.sbin/ypserv/yp_server.c
507
result.ypresp_all_u.val.stat = YP_BADARGS;
usr.sbin/ypserv/yp_server.c
517
result.ypresp_all_u.val.stat = YP_YPERR;
usr.sbin/ypserv/yp_server.c
533
result.ypresp_all_u.val.stat = YP_YPERR;
usr.sbin/ypserv/yp_server.c
553
result.ypresp_all_u.val.stat = yp_errno;
usr.sbin/ypserv/yp_server.c
582
result.stat = YP_YPERR;
usr.sbin/ypserv/yp_server.c
587
result.stat = YP_BADARGS;
usr.sbin/ypserv/yp_server.c
592
result.stat = yp_errno;
usr.sbin/ypserv/yp_server.c
604
result.stat = yp_getbykey(&key, &val);
usr.sbin/ypserv/yp_server.c
605
if (result.stat == YP_TRUE) {
usr.sbin/ypserv/yp_server.c
629
result.stat = YP_YPERR;
usr.sbin/ypserv/yp_server.c
634
result.stat = YP_BADARGS;
usr.sbin/ypserv/yp_server.c
646
result.stat = yp_errno;
usr.sbin/ypserv/yp_server.c
650
result.stat = yp_getbykey(&key, &val);
usr.sbin/ypserv/yp_server.c
652
if (result.stat == YP_TRUE)
usr.sbin/ypserv/yp_server.c
683
struct stat statbuf;
usr.sbin/ypserv/yp_server.c
696
if (stat(yp_mapname, &statbuf) < 0 ||
usr.sbin/ypserv/yp_server.c
734
result.stat = YP_YPERR;
usr.sbin/ypserv/yp_server.c
739
result.stat = YP_BADARGS;
usr.sbin/ypserv/yp_server.c
744
result.stat = YP_NODOM;
usr.sbin/ypserv/yp_server.c
762
result.stat = YP_YPERR;
usr.sbin/ypserv/yp_server.c
765
result.stat = YP_TRUE;
usr.sbin/ypserv/yp_server.c
819
result.ypresponse_u.yp_resp_valtype.stat = YP_BADARGS;
usr.sbin/ypserv/yp_server.c
849
result.ypresponse_u.yp_resp_key_valtype.stat = YP_BADARGS;
usr.sbin/ypserv/yp_server.c
880
result.ypresponse_u.yp_resp_key_valtype.stat = YP_BADARGS;
usr.sbin/ypserv/yp_server.c
927
if (v2_result1->stat != YP_TRUE) {
usr.sbin/ypserv/yp_server.c
936
if (v2_result2->stat != YP_TRUE) {