bin/cat/cat.c
248
struct stat st;
bin/cat/cat.c
294
struct stat sbuf;
bin/chmod/chmod.c
175
struct stat st;
bin/chmod/chmod.c
177
if (stat(reference, &st) == -1)
bin/cp/cp.c
108
struct stat to_stat, tmp_stat;
bin/cp/cp.c
240
r = stat(to.p_path, &to_stat);
bin/cp/cp.c
260
r = stat(*argv, &tmp_stat);
bin/cp/cp.c
326
struct stat to_stat;
bin/cp/cp.c
419
sval = Pflag ? lstat(to.p_path, &to_stat) : stat(to.p_path, &to_stat);
bin/cp/extern.h
52
int copy_fifo(struct stat *, int);
bin/cp/extern.h
55
int copy_special(struct stat *, int);
bin/cp/extern.h
56
int set_utimes(const char *, struct stat *);
bin/cp/extern.h
57
int setfile(struct stat *, int);
bin/cp/extern.h
58
int preserve_dir_acls(struct stat *, char *, char *);
bin/cp/utils.c
102
struct stat to_stat, *fs;
bin/cp/utils.c
135
struct stat sb;
bin/cp/utils.c
150
lstat(to.p_path, &sb) : stat(to.p_path, &sb);
bin/cp/utils.c
326
copy_fifo(struct stat *from_stat, int exists)
bin/cp/utils.c
340
copy_special(struct stat *from_stat, int exists)
bin/cp/utils.c
364
setfile(struct stat *fs, int fd)
bin/cp/utils.c
469
preserve_dir_acls(struct stat *fs, char *source_dir, char *dest_dir)
bin/cp/utils.c
67
set_utimes(const char *file, struct stat *fs)
bin/csh/csh.c
1257
struct stat stb;
bin/csh/csh.c
1276
if (stat(short2str(*vp), &stb) < 0)
bin/csh/csh.c
1408
struct stat stb;
bin/csh/csh.c
1415
if (stat(ptr = a, &stb) == 0 && S_ISDIR(stb.st_mode)) \
bin/csh/csh.c
793
struct stat stb;
bin/csh/dir.c
107
struct stat swd, shp;
bin/csh/dir.c
113
stat(ecp, &swd) != -1 && stat(short2str(hp), &shp) != -1 &&
bin/csh/dir.c
123
if (stat(cwd, &shp) != -1 && swd.st_dev == shp.st_dev &&
bin/csh/dir.c
854
struct stat statbuf;
bin/csh/dir.c
860
stat(short2str(p1), &statbuf) != -1) {
bin/csh/dir.c
869
for (sp = NULL; *p2 && stat(short2str(p2), &statbuf) != -1;) {
bin/csh/exec.c
571
struct stat stbuf;
bin/csh/exec.c
591
return (stat(strname, &stbuf) != -1 && ((S_ISREG(stbuf.st_mode) &&
bin/csh/exp.c
474
struct stat stb;
bin/csh/exp.c
485
if (isa(**vp, ANYOP) && stat(short2str(**vp), &stb))
bin/csh/exp.c
504
lstat(short2str(ep), &stb) : stat(short2str(ep), &stb)) {
bin/csh/file.c
275
struct stat statb;
bin/csh/file.c
284
if (stat(short2str(path), &statb) == 0 && /* follow it out */
bin/csh/sem.c
638
struct stat stb;
bin/csh/sem.c
640
if (stat(cp, &stb) < 0)
bin/dd/dd.c
320
struct stat sb;
bin/dd/dd.h
49
int (*op_fstat)(int, struct stat *);
bin/df/df.c
215
if (stat(*argv, &stbuf) < 0) {
bin/df/df.c
97
struct stat stbuf;
bin/getfacl/getfacl.c
188
struct stat sb;
bin/getfacl/getfacl.c
196
error = stat(path, &sb);
bin/getfacl/getfacl.c
98
acl_from_stat(const struct stat *sb)
bin/ksh/c_test.c
226
struct stat b1, b2;
bin/ksh/c_test.c
262
return stat(opnd1, &b1) == 0;
bin/ksh/c_test.c
313
return stat(p, &b1) == 0 && S_ISCDF(b1.st_mode);
bin/ksh/c_test.c
403
return stat(opnd1, &b1) == 0
bin/ksh/c_test.c
404
&& (((s2 = stat(opnd2, &b2)) == 0
bin/ksh/c_test.c
414
return stat(opnd2, &b2) == 0
bin/ksh/c_test.c
415
&& (((s1 = stat(opnd1, &b1)) == 0
bin/ksh/c_test.c
420
return stat(opnd1, &b1) == 0 && stat(opnd2, &b2) == 0
bin/ksh/c_test.c
431
struct stat *statb;
bin/ksh/c_test.c
433
return stat(pathx, statb);
bin/ksh/c_test.c
452
struct stat statb;
bin/ksh/c_test.c
454
if (stat(pathx, &statb) < 0)
bin/ksh/c_test.c
96
static int test_stat ARGS((const char *, struct stat *));
bin/ksh/edit.c
565
struct stat statb;
bin/ksh/edit.c
575
&& stat(words[0], &statb) < 0)
bin/ksh/eval.c
1022
(stat_done = stat(Xstring(*xs, xp), &statb) < 0 \
bin/ksh/eval.c
1024
struct stat lstatb, statb;
bin/ksh/exec.c
1020
struct stat statb;
bin/ksh/exec.c
1022
if (stat(pathx, &statb) < 0)
bin/ksh/exec.c
1123
struct stat statb;
bin/ksh/exec.c
1153
&& (stat(cp, &statb) < 0 || S_ISREG(statb.st_mode)))
bin/ksh/history.c
264
struct stat statb;
bin/ksh/history.c
952
struct stat statb;
bin/ksh/io.c
211
struct stat statb;
bin/ksh/mail.c
101
struct stat stbuf;
bin/ksh/mail.c
110
if (p && stat(p, &stbuf) == 0 && S_ISREG(stbuf.st_mode))
bin/ksh/mail.c
176
struct stat stbuf;
bin/ksh/mail.c
183
if (stat(mbp->mb_path, &stbuf) == 0 && S_ISREG(stbuf.st_mode))
bin/ksh/mail.c
52
struct stat stbuf;
bin/ksh/mail.c
68
if (mbp->mb_path && stat(mbp->mb_path, &stbuf) == 0
bin/ksh/main.c
227
struct stat s_pwd, s_dot;
bin/ksh/main.c
234
|| stat(pwd, &s_pwd) < 0 || stat(".", &s_dot) < 0
bin/ksh/main.c
321
struct stat s_stdin;
bin/ksh/var.c
1026
struct stat statb;
bin/ksh/var.c
1029
&& stat(s, &statb) == 0 && S_ISDIR(statb.st_mode))
bin/ln/ln.c
174
if (stat(targetdir, &sb))
bin/ln/ln.c
192
struct stat sb1, sb2;
bin/ln/ln.c
216
if (stat(pathbuf, &sb1) != 0)
bin/ln/ln.c
224
if (stat(pathbuf, &sb2) != 0)
bin/ln/ln.c
232
struct stat sb;
bin/ln/ln.c
241
if ((Pflag ? lstat : stat)(source, &sb)) {
bin/ln/ln.c
259
(!hflag && stat(target, &sb) == 0 && S_ISDIR(sb.st_mode))) {
bin/ln/ln.c
278
if (stat(source, &sb) != 0)
bin/ln/ln.c
291
if (stat(wbuf, &sb) != 0)
bin/ln/ln.c
79
struct stat sb;
bin/ls/ls.c
494
struct stat *sp;
bin/ls/print.c
131
struct stat *sp;
bin/ls/print.c
370
struct stat *sp;
bin/mkdir/mkdir.c
154
struct stat sb;
bin/mkdir/mkdir.c
177
if (stat(path, &sb) < 0) {
bin/mv/mv.c
129
if (hflg || stat(argv[argc - 1], &sb) || !S_ISDIR(sb.st_mode)) {
bin/mv/mv.c
169
struct stat sb;
bin/mv/mv.c
195
} else if (stdin_ok && access(to, W_OK) && !stat(to, &sb)) {
bin/mv/mv.c
269
fastcopy(char *from, char *to, struct stat *sbp)
bin/mv/mv.c
74
static int fastcopy(char *, char *, struct stat *);
bin/mv/mv.c
89
struct stat sb;
bin/pax/ar_io.c
92
static struct stat arsb; /* stat of archive device at open */
bin/pax/ar_subs.c
136
struct stat sb;
bin/pax/ar_subs.c
149
if (stat(fname, &sb) != -1 && S_ISDIR(sb.st_mode))
bin/pax/ar_subs.c
299
struct stat sb;
bin/pax/ar_subs.c
935
struct stat sb;
bin/pax/ar_subs.c
957
if (stat(dirptr, &sb) < 0) {
bin/pax/buf_subs.c
618
struct stat origsb, sb;
bin/pax/buf_subs.c
692
struct stat sb;
bin/pax/buf_subs.c
792
struct stat sb, origsb;
bin/pax/dumptar.c
105
struct stat st;
bin/pax/extern.h
293
void add_dir(char *, int, struct stat *, int);
bin/pax/file_subs.c
1150
struct stat sb;
bin/pax/file_subs.c
297
struct stat sb;
bin/pax/file_subs.c
358
struct stat sb;
bin/pax/file_subs.c
393
mk_link(char *to, struct stat *to_sb, char *from, int ign)
bin/pax/file_subs.c
395
struct stat sb;
bin/pax/file_subs.c
472
struct stat sb;
bin/pax/file_subs.c
667
struct stat sb;
bin/pax/file_subs.c
68
mk_link(char *,struct stat *,char *, int);
bin/pax/file_subs.c
725
struct stat sb;
bin/pax/file_subs.c
797
if (retval == -1 && stat(name, &sb) == 0 && S_ISDIR(sb.st_mode))
bin/pax/file_subs.c
824
struct stat sb;
bin/pax/ftree.c
413
struct stat statbuf;
bin/pax/gen_subs.c
112
struct stat *sbp;
bin/pax/options.c
100
static int set_tstamp(const char *, struct stat *);
bin/pax/options.c
2107
set_tstamp(const char *b, struct stat *st)
bin/pax/options.c
2113
if (stat(b, st) != -1)
bin/pax/options.c
86
struct stat tst; /* Timestamp to set if non-0 */
bin/pax/pax.h
117
struct stat sb; /* stat buffer see stat(2) */
bin/pax/tables.c
1143
add_dir(char *name, int nlen, struct stat *psb, int frc_mode)
bin/pax/tar.c
67
extern struct stat tst;
bin/ps/ps.c
154
struct stat sb;
bin/ps/ps.c
180
if (stat(ttypath, &sb) == -1) {
bin/pwd/pwd.c
122
struct stat s_pwd, s_dot;
bin/pwd/pwd.c
134
if (stat(pwd, &s_pwd) == -1 || stat(".", &s_dot) == -1)
bin/rcp/rcp.c
333
struct stat stb;
bin/rcp/rcp.c
430
rsource(char *name, struct stat *statp)
bin/rcp/rcp.c
486
struct stat stb;
bin/rcp/rcp.c
522
if (stat(targ, &stb) == 0 && S_ISDIR(stb.st_mode))
bin/rcp/rcp.c
622
exists = stat(np, &stb) == 0;
bin/rcp/rcp.c
89
void rsource(char *, struct stat *);
bin/rcp/util.c
151
struct stat stb;
bin/rcp/util.c
90
struct stat stb;
bin/rcp/util.c
92
if (!stat(cp, &stb)) {
bin/rm/rm.c
282
struct stat sb;
bin/rm/rm.c
390
rm_overwrite(char *file, struct stat *sbp)
bin/rm/rm.c
392
struct stat sb, sb2;
bin/rm/rm.c
521
check(char *path, char *name, struct stat *sp, const char *dowhat)
bin/rm/rm.c
67
static int check(char *, char *, struct stat *, const char *);
bin/rm/rm.c
71
static int rm_overwrite(char *, struct stat *);
bin/sh/cd.c
146
if (stat(p, &statb) < 0) {
bin/sh/cd.c
194
struct stat statb;
bin/sh/cd.c
356
struct stat stdot, stpath;
bin/sh/cd.c
360
stat(".", &stdot) != -1 &&
bin/sh/cd.c
361
stat(path, &stpath) != -1 &&
bin/sh/cd.c
88
struct stat statb;
bin/sh/eval.c
1711
struct stat statb;
bin/sh/eval.c
1715
if (stat(basename, &statb) == 0) {
bin/sh/eval.c
1723
if ((stat(fullname, &statb) == 0)) {
bin/sh/exec.c
129
struct stat statb;
bin/sh/exec.c
136
if (e == EACCES && stat(argv[0], &statb) == -1)
bin/sh/exec.c
167
if (stat(cmdname, &statb) != -1)
bin/sh/exec.c
574
struct stat statb;
bin/sh/exec.c
581
while (stat(name, &statb) < 0) {
bin/sh/exec.c
668
while (stat(fullname, &statb) < 0) {
bin/sh/expand.c
1688
struct stat statb;
bin/sh/histedit.c
437
struct stat statb;
bin/sh/histedit.c
961
struct stat statb;
bin/sh/input.c
492
struct stat sb;
bin/sh/mail.c
104
if (stat(p, &statb) < 0)
bin/sh/mail.c
112
if (stat(p, &statb) < 0)
bin/sh/mail.c
83
struct stat statb;
bin/sh/redir.c
373
struct stat sb;
bin/test/test.c
183
static int test_access(struct stat *, mode_t);
bin/test/test.c
680
test_access(struct stat *sp, mode_t stmode)
bin/test/test.c
722
struct stat s;
bin/test/test.c
724
if (mode == FILSYM ? lstat(nm, &s) : stat(nm, &s))
bin/test/test.c
878
struct stat b1, b2;
bin/test/test.c
880
return (stat(f1, &b1) == 0 &&
bin/test/test.c
881
stat(f2, &b2) == 0 &&
bin/test/test.c
888
struct stat b1, b2;
bin/test/test.c
890
return (stat(f1, &b1) == 0 &&
bin/test/test.c
891
stat(f2, &b2) == 0 &&
bin/test/test.c
898
struct stat b1, b2;
bin/test/test.c
900
return (stat(f1, &b1) == 0 &&
bin/test/test.c
901
stat(f2, &b2) == 0 &&
common/dist/zlib/examples/gun.c
519
struct stat was;
common/dist/zlib/examples/gun.c
523
if (stat(from, &was) != 0 || (was.st_mode & S_IFMT) != S_IFREG)
common/dist/zlib/examples/gzlog.c
351
struct stat st;
common/dist/zlib/examples/gzlog.c
357
if (stat(log->path, &st) == 0 && time(NULL) - st.st_mtime > PATIENCE) {
common/dist/zlib/examples/gzlog.c
364
if (stat(log->path, &st) == 0)
common/dist/zlib/examples/gzlog.c
374
struct stat st;
common/dist/zlib/examples/gzlog.c
378
if (stat(log->path, &st) == 0)
common/dist/zlib/examples/gzlog.c
386
struct stat st;
common/dist/zlib/examples/gzlog.c
389
if (stat(log->path, &st) || st.st_mtime != log->lock)
common/dist/zlib/examples/gzlog.c
743
struct stat st;
common/dist/zlib/examples/gzlog.c
751
if (stat(log->path, &st) == 0 && st.st_size) {
common/dist/zlib/test/minigzip.c
342
struct stat sb;
common/lib/libc/cdb/cdbr.c
128
struct stat sb;
common/lib/libc/rpc/xdr_array.c
134
for (i = 0; (i < c) && stat; i++) {
common/lib/libc/rpc/xdr_array.c
135
stat = (*elproc)(xdrs, target);
common/lib/libc/rpc/xdr_array.c
146
return (stat);
common/lib/libc/rpc/xdr_array.c
94
bool_t stat = TRUE;
common/lib/libprop/prop_intern.c
992
struct stat sb;
crypto/dist/ipsec-tools/src/racoon/eaytest.c
418
struct stat sb;
crypto/dist/ipsec-tools/src/racoon/eaytest.c
530
stat(path, &sb);
crypto/dist/ipsec-tools/src/racoon/eaytest.c
549
stat(buf, &sb);
crypto/dist/ipsec-tools/src/racoon/misc.c
119
struct stat st;
crypto/dist/ipsec-tools/src/racoon/misc.c
121
if (stat(path, &st) != 0)
crypto/dist/ipsec-tools/src/racoon/prsa_par.y
402
struct stat st;
crypto/dist/ipsec-tools/src/racoon/prsa_par.y
403
if (stat(fname, &st) < 0)
crypto/dist/ipsec-tools/src/racoon/safefile.c
50
struct stat s;
crypto/dist/ipsec-tools/src/racoon/safefile.c
60
if (stat(path, &s) != 0)
dist/pf/sbin/pfctl/pfctl.c
1485
struct stat st;
dist/pf/sbin/pflogd/pflogd.c
314
struct stat st;
dist/pf/usr.sbin/authpf/authpf.c
670
struct stat sb;
dist/pf/usr.sbin/authpf/authpf.c
675
if (stat(fn, &sb) == -1) {
distrib/utils/libhack/opendir.c
62
struct stat sb;
distrib/utils/more/os.c
261
struct stat statbuf;
distrib/utils/more/os.c
263
if (stat(filename, &statbuf) < 0) {
distrib/utils/tls/tls.c
92
struct stat st;
games/boggle/boggle/word.c
138
struct stat statb;
games/fortune/fortune/fortune.c
728
struct stat sbuf;
games/fortune/fortune/fortune.c
730
if (stat(file, &sbuf) < 0)
games/gomoku/main.c
95
struct stat st;
games/hack/hack.unix.c
165
static struct stat buf, hbuf;
games/hack/hack.unix.c
175
if(stat(name, &hbuf))
games/hack/hack.unix.c
204
if (stat(filename, &hbuf) == 0)
games/hack/hack.unix.c
373
static struct stat omstat, nmstat;
games/hack/hack.unix.c
382
if (stat(mailbox, &omstat)) {
games/hack/hack.unix.c
402
if (stat(mailbox, &nmstat)) {
games/hangman/setup.c
53
static struct stat sbuf;
games/hunt/huntd/makemaze.c
169
int stat;
games/hunt/huntd/makemaze.c
176
stat = 0;
games/hunt/huntd/makemaze.c
178
stat |= NORTH;
games/hunt/huntd/makemaze.c
180
stat |= SOUTH;
games/hunt/huntd/makemaze.c
182
stat |= EAST;
games/hunt/huntd/makemaze.c
184
stat |= WEST;
games/hunt/huntd/makemaze.c
185
switch (stat) {
games/larn/diag.c
183
struct stat statbuf;
games/larn/diag.c
248
struct stat filetimes;
games/larn/scores.c
764
struct stat stbuf;
games/mille/save.c
111
if (sp == buf || (!Fromfile && stat(buf, &junk) > -1
games/mille/save.c
53
typedef struct stat STAT;
games/monop/execute.c
247
struct stat sb;
games/monop/execute.c
262
if (stat(buf, &sb) == 0
games/monop/execute.c
58
typedef struct stat STAT;
games/phantasia/main.c
302
struct stat sb;
games/phantasia/setup.c
111
if (stat(path, &fbuf) == 0)
games/phantasia/setup.c
85
struct stat fbuf; /* for getting files statistics */
games/rogue/machdep.c
192
struct stat sbuf;
games/rogue/machdep.c
194
if (stat(fname, &sbuf)) {
games/rogue/machdep.c
211
struct stat sbuf;
games/rogue/machdep.c
213
stat(fname, &sbuf);
games/rogue/machdep.c
267
struct stat sbuf;
games/rogue/machdep.c
271
stat(fname, &sbuf);
games/rogue/pack.c
556
short stat;
games/rogue/pack.c
561
if ((obj = pick_up(rogue.row, rogue.col, &stat)) != NULL) {
games/rogue/pack.c
570
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/tetris/scores.c
115
struct stat st;
games/trek/shield.c
113
if (*stat)
games/trek/shield.c
123
i = !*stat;
games/trek/shield.c
125
if (*stat == i) {
games/trek/shield.c
142
*stat = i;
games/trek/shield.c
76
char *stat;
games/trek/shield.c
91
stat = &Ship.cloaked;
games/trek/shield.c
98
stat = &Ship.shldup;
games/warp/score.c
38
if (stat(SAVEDIR,&filestat)) {
games/warp/util.c
161
if (stat(filename, &filestat) < 0)
games/warp/warp.h
305
EXT struct stat filestat;
include/db.h
240
struct stat;
include/db.h
241
int __dbopen(const char *, int, mode_t, struct stat *);
include/db.h
242
int __dbtemp(const char *, struct stat *);
include/fts.h
38
#define __fts_stat_t struct stat
include/ftw.h
57
int ftw(const char *, int (*)(const char *, const struct stat *, int), int);
include/ftw.h
58
int nftw(const char *, int (*)(const char *, const struct stat *, int,
include/glob.h
49
#define __gl_stat_t struct stat
include/rmt.h
35
int rmtfstat(int, struct stat *);
include/rmt.h
39
int rmtlstat(const char *, struct stat *);
include/rmt.h
42
int rmtstat(const char *, struct stat *);
lib/libc/citrus/citrus_mapper.c
80
struct stat st;
lib/libc/citrus/citrus_mapper.c
94
ret = stat(path, &st);
lib/libc/citrus/citrus_mmap.c
57
struct stat st;
lib/libc/compat/gen/compat___fts13.c
25
#include <sys/stat.h>
lib/libc/compat/gen/compat___fts13.c
27
#include <compat/sys/stat.h>
lib/libc/compat/gen/compat___fts30.c
25
#include <sys/stat.h>
lib/libc/compat/gen/compat___fts30.c
27
#include <compat/sys/stat.h>
lib/libc/compat/gen/compat___fts31.c
25
#include <sys/stat.h>
lib/libc/compat/gen/compat___fts31.c
27
#include <compat/sys/stat.h>
lib/libc/compat/sys/compat___stat13.c
109
struct stat nst;
lib/libc/compat/sys/compat___stat13.c
121
struct stat nst;
lib/libc/compat/sys/compat___stat13.c
133
struct stat nst;
lib/libc/compat/sys/compat___stat13.c
66
static void cvtstat(struct stat13 *, const struct stat *);
lib/libc/compat/sys/compat___stat13.c
69
cvtstat(struct stat13 *ost, const struct stat *st)
lib/libc/compat/sys/compat___stat13.c
97
struct stat nst;
lib/libc/compat/sys/compat___stat30.c
106
struct stat nst;
lib/libc/compat/sys/compat___stat30.c
118
struct stat nst;
lib/libc/compat/sys/compat___stat30.c
130
struct stat nst;
lib/libc/compat/sys/compat___stat30.c
67
static void cvtstat(struct stat30 *, const struct stat *);
lib/libc/compat/sys/compat___stat30.c
70
cvtstat(struct stat30 *ost, const struct stat *st)
lib/libc/compat/sys/compat___stat30.c
94
struct stat nst;
lib/libc/compat/sys/compat_stat.c
103
struct stat nst;
lib/libc/compat/sys/compat_stat.c
115
struct stat nst;
lib/libc/compat/sys/compat_stat.c
42
__warn_references(stat,
lib/libc/compat/sys/compat_stat.c
55
static void cvtstat(const struct stat *, struct stat12 *);
lib/libc/compat/sys/compat_stat.c
57
__strong_alias(stat, __compat_stat)
lib/libc/compat/sys/compat_stat.c
62
cvtstat(const struct stat *st, struct stat12 *ost)
lib/libc/compat/sys/compat_stat.c
91
struct stat nst;
lib/libc/compat/time/compat_localtime.c
88
int stat(const char *, struct stat *) __RENAME(__stat50);
lib/libc/compat/time/compat_localtime.c
89
int fstat(int, struct stat *) __RENAME(__fstat50);
lib/libc/compat/time/compat_localtime.c
90
int fstatat(int, const char *, struct stat *, int);
lib/libc/db/btree/bt_open.c
96
struct stat sb;
lib/libc/db/db/dbfile.c
49
__dbopen(const char *file, int flags, mode_t mode, struct stat *sb)
lib/libc/db/db/dbfile.c
79
__dbtemp(const char *prefix, struct stat *sb)
lib/libc/db/hash/hash.c
102
struct stat statbuf;
lib/libc/db/hash/hash.c
126
(stat(file, &statbuf) && (errno == ENOENT))) {
lib/libc/db/hash/hash.c
281
struct stat statbuf;
lib/libc/db/hash/hash.c
299
if (stat(file, &statbuf))
lib/libc/db/mpool/mpool.c
77
struct stat sb;
lib/libc/db/recno/rec_open.c
66
struct stat sb;
lib/libc/gen/ftok.c
48
struct stat st;
lib/libc/gen/ftok.c
52
if (stat(path, &st) < 0)
lib/libc/gen/fts.c
951
if (stat(p->fts_accpath, sbp)) {
lib/libc/gen/ftw.c
38
ftw(const char *path, int (*fn)(const char *, const struct stat *, int),
lib/libc/gen/getcwd.c
73
struct stat sb;
lib/libc/gen/glob.c
1115
return stat(buf, sb);
lib/libc/gen/nftw.c
39
nftw(const char *path, int (*fn)(const char *, const struct stat *, int,
lib/libc/gen/nlist_aout.c
104
struct stat st;
lib/libc/gen/nlist_coff.c
88
struct stat st;
lib/libc/gen/nlist_ecoff.c
72
struct stat st;
lib/libc/gen/nlist_elf32.c
79
struct stat st;
lib/libc/gen/opendir.c
97
struct stat sb;
lib/libc/gen/scandir.c
65
struct stat stb;
lib/libc/gen/ttyname.c
62
struct stat sb;
lib/libc/gen/ttyslot.c
90
struct stat st;
lib/libc/gen/utmp.c
62
struct stat st;
lib/libc/gen/utmpx.c
122
struct stat st;
lib/libc/hash/hashhl.c
50
#include <sys/stat.h>
lib/libc/hash/hashhl.c
91
struct stat sb;
lib/libc/net/nsdispatch.c
491
struct stat statbuf;
lib/libc/net/nsdispatch.c
495
if (stat(_PATH_NS_CONF, &statbuf) == -1) {
lib/libc/net/rcmd.c
659
struct stat sbuf;
lib/libc/nls/catopen.c
160
struct stat st;
lib/libc/resolv/res_init.c
363
struct stat st;
lib/libc/rpc/auth_unix.c
291
int stat;
lib/libc/rpc/auth_unix.c
306
stat = xdr_authunix_parms(&xdrs, &aup);
lib/libc/rpc/auth_unix.c
307
if (! stat)
lib/libc/rpc/auth_unix.c
315
stat = xdr_authunix_parms(&xdrs, &aup);
lib/libc/rpc/auth_unix.c
316
if (! stat)
lib/libc/rpc/auth_unix.c
325
return (stat);
lib/libc/rpc/clnt_bcast.c
263
enum clnt_stat stat = RPC_SUCCESS; /* Return status */
lib/libc/rpc/clnt_bcast.c
343
stat = RPC_CANTSEND;
lib/libc/rpc/clnt_bcast.c
365
stat = RPC_SYSTEMERROR;
lib/libc/rpc/clnt_bcast.c
375
if (stat == RPC_SUCCESS)
lib/libc/rpc/clnt_bcast.c
376
stat = RPC_UNKNOWNPROTO;
lib/libc/rpc/clnt_bcast.c
380
if (stat == RPC_SUCCESS)
lib/libc/rpc/clnt_bcast.c
381
stat = RPC_CANTSEND;
lib/libc/rpc/clnt_bcast.c
387
stat = RPC_SYSTEMERROR;
lib/libc/rpc/clnt_bcast.c
412
stat = RPC_CANTENCODEARGS;
lib/libc/rpc/clnt_bcast.c
436
stat = RPC_CANTENCODEARGS;
lib/libc/rpc/clnt_bcast.c
457
stat = RPC_CANTSEND;
lib/libc/rpc/clnt_bcast.c
480
stat = RPC_CANTSEND;
lib/libc/rpc/clnt_bcast.c
503
stat = RPC_CANTSEND;
lib/libc/rpc/clnt_bcast.c
518
stat = RPC_SUCCESS;
lib/libc/rpc/clnt_bcast.c
531
stat = RPC_TIMEDOUT;
lib/libc/rpc/clnt_bcast.c
569
stat = RPC_CANTRECV;
lib/libc/rpc/clnt_bcast.c
643
stat = RPC_SUCCESS;
lib/libc/rpc/clnt_bcast.c
667
return (stat);
lib/libc/rpc/clnt_perror.c
223
clnt_sperrno(enum clnt_stat stat)
lib/libc/rpc/clnt_perror.c
225
unsigned int errnum = stat;
lib/libc/rpc/clnt_perror.c
316
auth_errmsg(enum auth_stat stat)
lib/libc/rpc/clnt_perror.c
318
unsigned int errnum = stat;
lib/libc/rpc/pmap_rmt.c
114
stat = CLNT_CALL(client, (rpcproc_t)PMAPPROC_CALLIT,
lib/libc/rpc/pmap_rmt.c
119
stat = RPC_FAILED;
lib/libc/rpc/pmap_rmt.c
122
return (stat);
lib/libc/rpc/pmap_rmt.c
98
enum clnt_stat stat;
lib/libc/rpc/rpcb_clnt.c
1077
enum clnt_stat stat;
lib/libc/rpc/rpcb_clnt.c
1082
stat = RPC_FAILED; /* XXXGCC -Wuninitialized [dreamcast] */
lib/libc/rpc/rpcb_clnt.c
1100
stat = CLNT_CALL(client, (rpcproc_t)RPCBPROC_CALLIT,
lib/libc/rpc/rpcb_clnt.c
1103
if ((stat == RPC_SUCCESS) && (addr_ptr != NULL)) {
lib/libc/rpc/rpcb_clnt.c
1107
stat = RPC_N2AXLATEFAILURE;
lib/libc/rpc/rpcb_clnt.c
1113
stat = RPC_FAILED; /* XXX A better error no */
lib/libc/rpc/rpcb_clnt.c
1124
} else if ((stat != RPC_PROGVERSMISMATCH) &&
lib/libc/rpc/rpcb_clnt.c
1125
(stat != RPC_PROGUNAVAIL)) {
lib/libc/rpc/rpcb_clnt.c
1133
return (stat);
lib/libc/rpc/svc.c
683
enum xprt_stat stat;
lib/libc/rpc/svc.c
753
if ((stat = SVC_STAT(xprt)) == XPRT_DIED){
lib/libc/rpc/svc.c
757
} while (stat == XPRT_MOREREQS);
lib/libc/rpc/svc_auth_unix.c
106
stat = AUTH_BADCRED;
lib/libc/rpc/svc_auth_unix.c
121
stat = AUTH_BADCRED;
lib/libc/rpc/svc_auth_unix.c
127
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
69
enum auth_stat stat;
lib/libc/rpc/svc_auth_unix.c
95
stat = AUTH_BADCRED;
lib/libc/rpc/svc_dg.c
242
bool_t stat = FALSE;
lib/libc/rpc/svc_dg.c
259
stat = TRUE;
lib/libc/rpc/svc_dg.c
264
return (stat);
lib/libc/rpc/xdr_reference.c
101
stat = (*proc)(xdrs, loc);
lib/libc/rpc/xdr_reference.c
107
return (stat);
lib/libc/rpc/xdr_reference.c
81
bool_t stat;
lib/libc/rpc/xdr_sizeof.c
146
bool_t stat;
lib/libc/rpc/xdr_sizeof.c
168
stat = func(&x, data);
lib/libc/rpc/xdr_sizeof.c
171
return (stat == TRUE ? (unsigned) x.x_handy: 0);
lib/libc/stdio/fdopen.c
96
struct stat st;
lib/libc/stdio/fseeko.c
68
struct stat st;
lib/libc/stdio/gettemp.c
129
rval = stat(path, &sbuf);
lib/libc/stdio/gettemp.c
83
struct stat sbuf;
lib/libc/stdio/makebuf.c
162
struct stat st;
lib/libc/stdio/remove.c
55
struct stat sb;
lib/libc/time/getdate.c
66
struct stat sb;
lib/libc/time/getdate.c
77
if (stat(datemsk, &sb) < 0) {
lib/libc/time/localtime.c
1036
struct stat st;
lib/libc/time/localtime.c
1137
if ((OPENAT_TZDIR ? fstatat(dd, relname, &st, 0) : stat(name, &st))
lib/libc/time/localtime.c
338
static int fstatat(int dd, char const *path, struct stat *st, int flags)
lib/libc/time/localtime.c
63
# include <sys/stat.h>
lib/libc/time/localtime.c
935
tzfile_changed(int fd, struct stat *st)
lib/libc/time/private.h
182
# if !__has_include(<sys/stat.h>)
lib/libcompat/4.3/ruserpass.c
101
struct stat stb;
lib/libedit/filecomplete.c
449
struct stat stbuf;
lib/libedit/filecomplete.c
453
if (stat(expname ? expname : name, &stbuf) == -1)
lib/libintl/gettext.c
308
struct stat st;
lib/libintl/gettext.c
342
if (stat(buf, &st) < 0)
lib/libintl/gettext.c
575
struct stat st;
lib/libintl/gettext.c
597
if (stat(path, &st) < 0)
lib/libkvm/kvm.c
252
struct stat st;
lib/libkvm/kvm.c
317
rc = stat(uf, &st);
lib/libkvm/kvm_vax.c
79
struct stat st;
lib/libnpf/npf.c
1185
struct stat sb;
lib/libnpf/npf.c
256
struct stat st;
lib/libossaudio/oss3_mixer.c
264
struct stat sb;
lib/libossaudio/oss4_mixer.c
56
struct stat tmpstat;
lib/libpam/modules/pam_nologin/pam_nologin.c
74
struct stat st;
lib/libpuffs/framebuf.c
1008
fio->stat |= FIO_DEAD;
lib/libpuffs/framebuf.c
348
if (fio->stat & FIO_WRGONE) { \
lib/libpuffs/framebuf.c
560
if ((fio->stat & FIO_ENABLE_R) == 0)
lib/libpuffs/framebuf.c
578
if (fio->rwait == 0 && (fio->stat & FIO_ENABLE_R) == 0) {
lib/libpuffs/framebuf.c
664
while ((fio->stat & FIO_DEAD) == 0 && (fio->stat & FIO_ENABLE_R)) {
lib/libpuffs/framebuf.c
732
if (fio->stat & FIO_DEAD)
lib/libpuffs/framebuf.c
736
pufbuf && (fio->stat & FIO_DEAD) == 0 && fio->stat & FIO_ENABLE_W;
lib/libpuffs/framebuf.c
755
if (fio->stat & FIO_RDGONE) {
lib/libpuffs/framebuf.c
807
struct stat st;
lib/libpuffs/framebuf.c
824
fio->stat |= FIO_ENABLE_R;
lib/libpuffs/framebuf.c
826
fio->stat |= FIO_ENABLE_W;
lib/libpuffs/framebuf.c
874
fio->stat |= FIO_ENABLE_R;
lib/libpuffs/framebuf.c
876
fio->stat |= FIO_ENABLE_W;
lib/libpuffs/framebuf.c
903
if (what & PUFFS_FBIO_WRITE && fio->stat & FIO_WR && fio->wwait == 0) {
lib/libpuffs/framebuf.c
914
fio->stat &= ~FIO_ENABLE_R;
lib/libpuffs/framebuf.c
916
fio->stat &= ~FIO_ENABLE_W;
lib/libpuffs/framebuf.c
930
if (fio->stat & FIO_RDGONE || fio->stat & FIO_DEAD)
lib/libpuffs/framebuf.c
932
fio->stat |= FIO_RDGONE;
lib/libpuffs/framebuf.c
952
if (fio->stat & FIO_WRGONE)
lib/libpuffs/framebuf.c
967
if (fio->stat & FIO_WRGONE || fio->stat & FIO_DEAD)
lib/libpuffs/framebuf.c
969
fio->stat |= FIO_WRGONE;
lib/libpuffs/framebuf.c
980
if (fio->stat & FIO_RDGONE)
lib/libpuffs/null.c
106
if (stat(path, &sb) == -1)
lib/libpuffs/null.c
143
struct stat sb;
lib/libpuffs/null.c
301
struct stat sb;
lib/libpuffs/null.c
378
struct stat sb;
lib/libpuffs/null.c
413
struct stat sb;
lib/libpuffs/null.c
417
if (stat(PNPATH(pn), &sb) == -1)
lib/libpuffs/null.c
98
struct stat sb;
lib/libpuffs/puffs.c
124
if (fio->stat & FIO_WRGONE)
lib/libpuffs/puffs.c
831
if (fio->stat & FIO_WRGONE)
lib/libpuffs/puffs.c
850
if (fio->stat & FIO_WRGONE)
lib/libpuffs/puffs.c
859
fio->stat |= FIO_WR;
lib/libpuffs/puffs.c
866
fio->stat &= ~FIO_WR;
lib/libpuffs/puffs.c
905
fio->stat &= ~FIO_WR;
lib/libpuffs/puffs.h
581
void puffs_stat2vattr(struct vattr *va, const struct stat *);
lib/libpuffs/puffs_priv.h
56
int stat;
lib/libpuffs/puffs_priv.h
77
(!(fio->stat & FIO_WR) \
lib/libpuffs/puffs_priv.h
79
&& (fio->stat & FIO_ENABLE_W)) \
lib/libpuffs/puffs_priv.h
83
((fio->stat & FIO_WR) \
lib/libpuffs/puffs_priv.h
85
|| (fio->stat & FIO_ENABLE_W) == 0)) \
lib/libpuffs/subr.c
266
puffs_stat2vattr(struct vattr *va, const struct stat *sb)
lib/libquota/quota_kernel.c
101
args.u.idtypestat.qc_info = &stat;
lib/libquota/quota_kernel.c
105
return stat.qis_name;
lib/libquota/quota_kernel.c
111
struct quotastat stat;
lib/libquota/quota_kernel.c
113
if (__quota_kernel_stat(qh, &stat)) {
lib/libquota/quota_kernel.c
116
return stat.qs_numobjtypes;
lib/libquota/quota_kernel.c
122
static struct quotaobjtypestat stat;
lib/libquota/quota_kernel.c
127
args.u.objtypestat.qc_info = &stat;
lib/libquota/quota_kernel.c
131
return stat.qos_name;
lib/libquota/quota_kernel.c
137
struct quotaobjtypestat stat;
lib/libquota/quota_kernel.c
142
args.u.objtypestat.qc_info = &stat;
lib/libquota/quota_kernel.c
146
return stat.qos_isbytes;
lib/libquota/quota_kernel.c
50
__quota_kernel_stat(struct quotahandle *qh, struct quotastat *stat)
lib/libquota/quota_kernel.c
55
args.u.stat.qc_info = stat;
lib/libquota/quota_kernel.c
62
static struct quotastat stat;
lib/libquota/quota_kernel.c
64
if (__quota_kernel_stat(qh, &stat)) {
lib/libquota/quota_kernel.c
67
return stat.qs_implname;
lib/libquota/quota_kernel.c
73
struct quotastat stat;
lib/libquota/quota_kernel.c
75
if (__quota_kernel_stat(qh, &stat)) {
lib/libquota/quota_kernel.c
79
return stat.qs_restrictions;
lib/libquota/quota_kernel.c
85
struct quotastat stat;
lib/libquota/quota_kernel.c
87
if (__quota_kernel_stat(qh, &stat)) {
lib/libquota/quota_kernel.c
90
return stat.qs_numidtypes;
lib/libquota/quota_kernel.c
96
static struct quotaidtypestat stat;
lib/libquota/quota_oldfiles.c
704
struct stat st;
lib/librefuse/refuse.c
282
const struct stat *stbuf, off_t off, enum fuse_fill_dir_flags flags)
lib/librefuse/refuse.c
315
struct stat st;
lib/librefuse/refuse.c
432
struct stat st;
lib/librefuse/refuse/fs.c
124
fuse_fs_getattr_v27(struct fuse_fs *fs, const char *path, struct stat *buf) {
lib/librefuse/refuse/fs.c
130
struct stat* buf, struct fuse_file_info* fi) {
lib/librefuse/refuse/fs.c
166
fuse_fs_fgetattr(struct fuse_fs* fs, const char* path, struct stat* buf,
lib/librefuse/refuse/fs.c
798
struct stat stbuf;
lib/librefuse/refuse/fs.c
813
struct stat stbuf;
lib/librefuse/refuse/fs.c
833
const struct stat* stat, off_t off) {
lib/librefuse/refuse/fs.c
837
return shim->fill_dir_v30(shim->dirh, name, stat, off, (enum fuse_fill_dir_flags)0);
lib/librefuse/refuse/fs.h
59
int fuse_fs_getattr_v27(struct fuse_fs *fs, const char *path, struct stat *buf);
lib/librefuse/refuse/fs.h
60
int fuse_fs_getattr_v30(struct fuse_fs* fs, const char* path, struct stat* buf, struct fuse_file_info* fi);
lib/librefuse/refuse/fs.h
61
int fuse_fs_fgetattr(struct fuse_fs* fs, const char* path, struct stat* buf, struct fuse_file_info* fi);
lib/librefuse/refuse/v11.h
51
int (*getattr) (const char *, struct stat *);
lib/librefuse/refuse/v21.h
47
int (*getattr) (const char *, struct stat *);
lib/librefuse/refuse/v22.h
51
int (*getattr) (const char *, struct stat *);
lib/librefuse/refuse/v23.h
47
typedef int (*fuse_fill_dir_t_v23)(void *, const char *, const struct stat *, off_t);
lib/librefuse/refuse/v23.h
51
int (*getattr) (const char *, struct stat *);
lib/librefuse/refuse/v25.h
47
int (*getattr) (const char *, struct stat *);
lib/librefuse/refuse/v25.h
81
int (*fgetattr) (const char *, struct stat *, struct fuse_file_info *);
lib/librefuse/refuse/v26.h
47
int (*getattr) (const char *, struct stat *);
lib/librefuse/refuse/v26.h
81
int (*fgetattr) (const char *, struct stat *, struct fuse_file_info *);
lib/librefuse/refuse/v28.h
47
int (*getattr) (const char *, struct stat *);
lib/librefuse/refuse/v28.h
81
int (*fgetattr) (const char *, struct stat *, struct fuse_file_info *);
lib/librefuse/refuse/v29.h
47
int (*getattr) (const char *, struct stat *);
lib/librefuse/refuse/v29.h
81
int (*fgetattr) (const char *, struct stat *, struct fuse_file_info *);
lib/librefuse/refuse/v30.h
51
void *, const char *, const struct stat *, off_t, enum fuse_fill_dir_flags flags);
lib/librefuse/refuse/v30.h
55
int (*getattr) (const char *, struct stat *, struct fuse_file_info *fi);
lib/librefuse/refuse/v34.h
47
int (*getattr) (const char *, struct stat *, struct fuse_file_info *fi);
lib/librefuse/refuse/v35.h
47
int (*getattr) (const char *, struct stat *, struct fuse_file_info *fi);
lib/librefuse/refuse/v38.h
47
int (*getattr) (const char *, struct stat *, struct fuse_file_info *fi);
lib/libresolv/dst_api.c
107
struct stat statbuf;
lib/libresolv/dst_api.c
113
} else if (stat(s, &statbuf) != 0 ||
lib/librmt/rmtlib.c
792
rmtfstat(int fildes, struct stat *buf)
lib/librmt/rmtlib.c
810
rmtstat(const char *path, struct stat *buf)
lib/librmt/rmtlib.c
820
return stat(path, buf);
lib/librmt/rmtlib.c
884
rmtlstat(const char *path, struct stat *buf)
lib/librt/shm.c
67
struct stat st;
lib/librumphijack/hijack.c
246
int REALSTAT(const char *, struct stat *);
lib/librumphijack/hijack.c
247
int REALLSTAT(const char *, struct stat *);
lib/librumphijack/hijack.c
248
int REALFSTAT(int, struct stat *);
lib/librumphijack/hijack.c
2594
(int fd, struct stat *sb), \
lib/librumphijack/hijack.c
2595
(int, struct stat *), \
lib/librumphijack/hijack.c
2671
(const char *path, struct stat *sb), \
lib/librumphijack/hijack.c
2672
(const char *, struct stat *), \
lib/librumphijack/hijack.c
2676
(const char *path, struct stat *sb), \
lib/librumphijack/hijack.c
2677
(const char *, struct stat *), \
lib/librumphijack/hijack.c
2844
(const void *fhp, size_t fh_size, struct stat *sb), \
lib/librumphijack/hijack.c
2845
(const char *, size_t, struct stat *), \
lib/librumphijack/hijack.c
290
int REALFHSTAT(const void *, size_t, struct stat *);
lib/librumpuser/rumpuser_file.c
75
struct stat sb;
lib/librumpuser/rumpuser_file.c
80
if (stat(path, &sb) == -1) {
lib/libskey/skeylogin.c
105
struct stat statbuf;
lib/libskey/skeylogin.c
109
if (stat(_PATH_SKEYKEYS, &statbuf) == 0 &&
lib/libskey/skeylogin.c
479
struct stat sb;
lib/libskey/skeylogin.c
499
} else if (!stat(_PATH_MEM, &sb) || !stat("/", &sb)) {
lib/libukfs/ukfs.c
1054
ukfs_stat(struct ukfs *ukfs, const char *filename, struct stat *file_stat)
lib/libukfs/ukfs.c
1066
ukfs_lstat(struct ukfs *ukfs, const char *filename, struct stat *file_stat)
lib/libukfs/ukfs.c
447
struct stat sb;
lib/libukfs/ukfs.h
40
struct stat;
lib/libukfs/ukfs.h
97
int ukfs_stat(struct ukfs *, const char *, struct stat *);
lib/libukfs/ukfs.h
98
int ukfs_lstat(struct ukfs *, const char *, struct stat *);
lib/libutil/getdiskrawname.c
141
struct stat st;
lib/libutil/getdiskrawname.c
149
if (stat(name, &st) == -1)
lib/libutil/getdiskrawname.c
166
struct stat st;
lib/libutil/getdiskrawname.c
174
if (stat(name, &st) == -1)
lib/libutil/login_cap.c
669
struct stat sb;
lib/libutil/login_cap.c
670
if (stat(per_user_tmp, &sb) == -1) {
lib/libutil/logwtmp.c
57
struct stat buf;
lib/libutil/pidlock.c
162
if (stat(tempfile, &st) == -1)
lib/libutil/pidlock.c
185
struct stat sb;
lib/libutil/pidlock.c
191
if (stat(ttyfile, &sb) == -1)
lib/libutil/pidlock.c
54
struct stat st;
lib/libutil/secure_path.c
52
struct stat sb;
lib/libwrap/options.c
244
struct stat st;
lib/libwrap/options.c
260
} else if (stat(value, &st) < 0) {
libexec/atrun/atrun.c
161
struct stat buf, lbuf;
libexec/atrun/atrun.c
344
if (stat(filename, &buf) == -1)
libexec/atrun/atrun.c
389
struct stat buf;
libexec/atrun/atrun.c
472
if (stat(dirent->d_name, &buf) == -1)
libexec/comsat/comsat.c
224
struct stat stb;
libexec/comsat/comsat.c
238
if (stat(tty, &stb) == -1 || !(stb.st_mode & S_IEXEC)) {
libexec/ftpd/cmds.c
124
struct stat *stat; /* stat of path */
libexec/ftpd/cmds.c
125
struct stat *pdirstat; /* stat of path's parent dir */
libexec/ftpd/cmds.c
228
struct stat sb, pdirstat;
libexec/ftpd/cmds.c
238
if (stat(path, &pdirstat) == -1) {
libexec/ftpd/cmds.c
258
f.stat = &sb;
libexec/ftpd/cmds.c
278
if (stat(name, &sb) == -1)
libexec/ftpd/cmds.c
297
struct stat sb;
libexec/ftpd/cmds.c
302
if (stat(path, &sb) == -1) {
libexec/ftpd/cmds.c
310
f.stat = &sb;
libexec/ftpd/cmds.c
429
struct stat st;
libexec/ftpd/cmds.c
431
if (stat(name, &st) < 0) {
libexec/ftpd/cmds.c
459
struct stat stbuf;
libexec/ftpd/cmds.c
460
if (stat(filename, &stbuf) < 0 || !S_ISREG(stbuf.st_mode))
libexec/ftpd/cmds.c
471
struct stat stbuf;
libexec/ftpd/cmds.c
592
t = gmtime(&(fe->stat->st_mtime));
libexec/ftpd/cmds.c
603
struct stat *pdir, dir;
libexec/ftpd/cmds.c
605
if (fe->stat->st_uid == geteuid()) {
libexec/ftpd/cmds.c
606
rok = ((fe->stat->st_mode & S_IRUSR) != 0);
libexec/ftpd/cmds.c
607
wok = ((fe->stat->st_mode & S_IWUSR) != 0);
libexec/ftpd/cmds.c
608
xok = ((fe->stat->st_mode & S_IXUSR) != 0);
libexec/ftpd/cmds.c
609
} else if (matchgroup(fe->stat->st_gid)) {
libexec/ftpd/cmds.c
610
rok = ((fe->stat->st_mode & S_IRGRP) != 0);
libexec/ftpd/cmds.c
611
wok = ((fe->stat->st_mode & S_IWGRP) != 0);
libexec/ftpd/cmds.c
612
xok = ((fe->stat->st_mode & S_IXGRP) != 0);
libexec/ftpd/cmds.c
614
rok = ((fe->stat->st_mode & S_IROTH) != 0);
libexec/ftpd/cmds.c
615
wok = ((fe->stat->st_mode & S_IWOTH) != 0);
libexec/ftpd/cmds.c
616
xok = ((fe->stat->st_mode & S_IXOTH) != 0);
libexec/ftpd/cmds.c
633
if (S_ISDIR(fe->stat->st_mode))
libexec/ftpd/cmds.c
645
if (stat(realdir, &dir) == 0)
libexec/ftpd/cmds.c
660
if (wok && CURCLASS_FLAGS_ISSET(upload) && S_ISREG(fe->stat->st_mode))
libexec/ftpd/cmds.c
664
if (wok && CURCLASS_FLAGS_ISSET(modify) && S_ISDIR(fe->stat->st_mode))
libexec/ftpd/cmds.c
672
if (S_ISDIR(fe->stat->st_mode)) {
libexec/ftpd/cmds.c
694
if (xok && S_ISDIR(fe->stat->st_mode))
libexec/ftpd/cmds.c
702
if (rok && xok && S_ISDIR(fe->stat->st_mode))
libexec/ftpd/cmds.c
706
if (wok && CURCLASS_FLAGS_ISSET(modify) && S_ISDIR(fe->stat->st_mode))
libexec/ftpd/cmds.c
710
if (wok && CURCLASS_FLAGS_ISSET(modify) && S_ISDIR(fe->stat->st_mode))
libexec/ftpd/cmds.c
714
if (rok && S_ISREG(fe->stat->st_mode))
libexec/ftpd/cmds.c
718
if (wok && CURCLASS_FLAGS_ISSET(upload) && S_ISREG(fe->stat->st_mode))
libexec/ftpd/cmds.c
728
if (S_ISREG(fe->stat->st_mode))
libexec/ftpd/cmds.c
729
cprintf(fd, "%s=" LLF ";", fact, (LLT)fe->stat->st_size);
libexec/ftpd/cmds.c
737
switch (fe->stat->st_mode & S_IFMT) {
libexec/ftpd/cmds.c
765
S_ISBLK(fe->stat->st_mode) ? "blk" : "chr",
libexec/ftpd/cmds.c
766
(ULLT)major(fe->stat->st_rdev),
libexec/ftpd/cmds.c
767
(ULLT)minor(fe->stat->st_rdev));
libexec/ftpd/cmds.c
770
cprintf(fd, "OS.unix=UNKNOWN(0%o)", fe->stat->st_mode & S_IFMT);
libexec/ftpd/cmds.c
783
(char *)&(fe->stat->st_dev), sizeof(dev_t));
libexec/ftpd/cmds.c
785
(char *)&(fe->stat->st_ino), sizeof(ino_t));
libexec/ftpd/cmds.c
857
struct stat st1, st2;
libexec/ftpd/cmds.c
955
if (stat(tp, &st1) == -1 || stat(".", &st2) == -1)
libexec/ftpd/conf.c
518
struct stat st;
libexec/ftpd/conf.c
571
if (stat(*rlist, &st) != 0)
libexec/ftpd/conf.c
811
struct stat st;
libexec/ftpd/conf.c
834
stat(cp->disable, &st) == 0)
libexec/ftpd/conf.c
837
if (stat(base, &st) < 0)
libexec/ftpd/conf.c
893
struct stat sb;
libexec/ftpd/ftpcmd.y
828
struct stat stbuf;
libexec/ftpd/ftpcmd.y
829
if (stat($4, &stbuf) < 0)
libexec/ftpd/ftpd.c
1699
struct stat st;
libexec/ftpd/ftpd.c
1801
struct stat sb;
libexec/ftpd/ftpd.c
1841
struct stat st;
libexec/ftpd/ftpd.c
1849
if (unique && stat(name, &st) == 0 &&
libexec/ftpd/ftpd.c
2159
send_data_with_read(int filefd, int netfd, const struct stat *st, int isdata)
libexec/ftpd/ftpd.c
2201
send_data_with_mmap(int filefd, int netfd, const struct stat *st, int isdata)
libexec/ftpd/ftpd.c
2279
send_data(FILE *instr, FILE *outstr, const struct stat *st, int isdata)
libexec/ftpd/ftpd.c
2391
struct stat st;
libexec/ftpd/ftpd.c
261
static int send_data(FILE *, FILE *, const struct stat *, int);
libexec/ftpd/ftpd.c
266
send_data_with_read(int, int, const struct stat *, int);
libexec/ftpd/ftpd.c
268
send_data_with_mmap(int, int, const struct stat *, int);
libexec/ftpd/ftpd.c
3376
struct stat st;
libexec/ftpd/ftpd.c
3383
if (stat(cp ? local : ".", &st) < 0) {
libexec/ftpd/ftpd.c
3391
if (stat(new, &st) < 0)
libexec/ftpd/ftpd.c
3419
struct stat st;
libexec/ftpd/ftpd.c
3463
if (stat(dirname, &st) < 0) {
libexec/ftpd/ftpd.c
3529
if (simple || (stat(nbuf, &st) == 0 &&
libexec/ftpd/logwtmp.c
122
struct stat buf;
libexec/ftpd/logwtmp.c
90
struct stat buf;
libexec/httpd/auth-bozo.c
55
struct stat sb;
libexec/httpd/auth-bozo.c
82
if (stat(authfile, &sb) < 0) {
libexec/httpd/bozohttpd.c
1208
struct stat st;
libexec/httpd/bozohttpd.c
1466
struct stat sb;
libexec/httpd/bozohttpd.c
1818
struct stat sb;
libexec/httpd/bozohttpd.c
1978
struct stat *sbp, const char *type, const char *encoding)
libexec/httpd/bozohttpd.h
290
void bozo_print_header(bozo_httpreq_t *, struct stat *, const char *,
libexec/httpd/dir-index-bozo.c
159
if (stat(buf, &sb))
libexec/httpd/dir-index-bozo.c
57
struct stat sb;
libexec/httpd/dir-index-bozo.c
77
if (stat(dirpath, &sb) < 0 ||
libexec/identd/identd.c
870
struct stat sb;
libexec/identd/identd.c
878
ret = stat(path, &sb);
libexec/identd/identd.c
891
struct stat sb;
libexec/ld.elf_so/load.c
118
struct stat sb;
libexec/ld.elf_so/map_object.c
65
_rtld_map_object(const char *path, int fd, const struct stat *sb)
libexec/ld.elf_so/paths.c
343
struct stat st;
libexec/ld.elf_so/rtld.h
545
struct stat;
libexec/ld.elf_so/rtld.h
546
Obj_Entry *_rtld_map_object(const char *, int, const struct stat *);
libexec/lfs_cleanerd/coalesce.c
124
struct stat st;
libexec/lfs_cleanerd/lfs_cleanerd.c
601
struct stat st;
libexec/mail.local/mail.local.c
180
badfile(const char *path, const struct stat *sb)
libexec/mail.local/mail.local.c
197
struct stat sb, nsb;
libexec/makewhatis/makewhatis.c
253
struct stat st_before, st_after;
libexec/makewhatis/makewhatis.c
360
if (stat(whatisdb_new, &st_before) == 0) {
libexec/makewhatis/makewhatis.c
395
if (stat(whatisdb_new, &st_after) == -1)
libexec/rpc.rusersd/rusers_proc.c
142
struct stat st;
libexec/rpc.rusersd/rusers_proc.c
162
if (stat(dev_name, &st) == -1) {
libexec/talkd/announce.c
74
struct stat stbuf;
libexec/talkd/announce.c
78
if (stat(full_tty, &stbuf) < 0 || (stbuf.st_mode&S_IWGRP) == 0)
libexec/talkd/process.c
186
struct stat statb;
libexec/talkd/process.c
207
if (stat(ftty, &statb) != 0)
libexec/tftpd/tftpd.c
776
struct stat stbuf;
libexec/tftpd/tftpd.c
808
if (stat(filename, &stbuf) < 0)
libexec/tftpd/tftpd.c
835
if (stat(pathname, &stbuf) == 0 &&
libexec/tftpd/tftpd.c
855
stat_rc = stat(filename, &stbuf);
libexec/utmp_update/utmp_update.c
79
struct stat st;
regress/sys/kern/getcwd/old_getcwd.c
124
if (stat("/", &s))
regress/sys/kern/getcwd/old_getcwd.c
83
struct stat s;
regress/sys/kern/unfdpass/unfdpass.c
283
struct stat st;
sbin/badsect/badsect.c
114
if (stat(".", &stbuf) == -1)
sbin/badsect/badsect.c
123
if (stat(name, &devstat) == -1)
sbin/badsect/badsect.c
99
struct stat stbuf, devstat;
sbin/blkdiscard/blkdiscard.c
107
struct stat sb;
sbin/ccdconfig/ccdconfig.c
429
struct stat st;
sbin/ccdconfig/ccdconfig.c
431
if (stat(path, &st) != 0)
sbin/ccdconfig/ccdconfig.c
443
struct stat st;
sbin/ccdconfig/ccdconfig.c
445
if (stat(path, &st) != 0)
sbin/chown/chown.c
183
struct stat st;
sbin/chown/chown.c
185
if (stat(reference, &st) == -1)
sbin/disklabel/main.c
474
struct stat sb;
sbin/dkctl/dkctl.c
411
struct stat sb;
sbin/dump/main.c
328
struct stat sb;
sbin/dump/snapshot.c
109
if (stat(fss.fss_bstore, &sb) == 0) {
sbin/dump/snapshot.c
64
struct stat sb;
sbin/dump/snapshot.c
89
if (stat(fss.fss_mount, &sb) < 0)
sbin/dump/traverse.c
228
struct stat sb;
sbin/dump/traverse.c
237
if (stat(path, &sb) == -1) {
sbin/efi/gptsubr.c
319
struct stat sb;
sbin/efi/gptsubr.c
325
rv = stat(fname, &sb);
sbin/efi/gptsubr.c
466
struct stat sb;
sbin/efi/gptsubr.c
481
rv = stat(fname, &sb);
sbin/fdisk/fdisk.c
1054
struct stat st;
sbin/fdisk/fdisk.c
2608
struct stat st;
sbin/fdisk/fdisk.c
381
struct stat sb;
sbin/fdisk/fdisk.c
483
stat(optarg, &sb) == 0 &&
sbin/fdisk/fdisk.c
539
if (!F_flag && stat(disk, &sb) == 0 && S_ISREG(sb.st_mode))
sbin/fsck/fsutil.c
187
struct stat stslash, stblock, stchar;
sbin/fsck/fsutil.c
196
if (stat("/", &stslash) < 0) {
sbin/fsck/fsutil.c
208
if (stat(newname, &stblock) < 0) {
sbin/fsck/fsutil.c
220
if (stat(raw, &stchar) < 0) {
sbin/fsck/partutil.c
105
struct stat sb;
sbin/fsck/partutil.c
160
if (stat(s, &sb) == -1)
sbin/fsck/partutil.h
37
struct stat;
sbin/fsck_ext2fs/setup.c
113
struct stat statb;
sbin/fsck_ext2fs/setup.c
121
if (stat(dev, &statb) < 0) {
sbin/fsck_ffs/setup.c
105
if (stat(dev, &statb) < 0) {
sbin/fsck_ffs/setup.c
95
struct stat statb;
sbin/fsck_lfs/setup.c
165
struct stat statb;
sbin/fsck_lfs/setup.c
178
if (stat(dev, &statb) < 0) {
sbin/fsck_v7fs/fsck_v7fs.c
68
struct stat st;
sbin/gpt/biosboot.c
98
struct stat st;
sbin/gpt/gpt_private.h
49
struct stat sb;
sbin/gpt/main.c
119
struct stat st;
sbin/gpt/main.c
123
if (stat(b, &st) != -1)
sbin/init/init.c
1179
struct stat st;
sbin/init/init.c
1186
if (stat(_PATH_WTMPX, &st) != -1 && st.st_size != 0) {
sbin/ldconfig/ldconfig.c
523
struct stat st;
sbin/mknod/mknod.c
258
struct stat sb;
sbin/mount_ados/mount_ados.c
131
if (stat(dir, &sb) == -1)
sbin/mount_ados/mount_ados.c
82
struct stat sb;
sbin/mount_cd9660/mount_cd9660.c
102
struct stat sb;
sbin/mount_cd9660/mount_cd9660.c
191
if (stat(dir, &sb) == -1)
sbin/mount_chfs/mount_chfs.c
106
if (stat(canon_dir, &sb) == -1) {
sbin/mount_chfs/mount_chfs.c
74
struct stat sb;
sbin/mount_msdos/mount_msdos.c
166
if (stat(dir, &sb) == -1)
sbin/mount_msdos/mount_msdos.c
87
struct stat sb;
sbin/mount_nfs/getnfsargs.c
153
nfhret.stat = EACCES; /* Mark not yet successful */
sbin/mount_nfs/getnfsargs.c
182
nfhret.stat = rpc_createerr.cf_error.re_errno;
sbin/mount_nfs/getnfsargs.c
186
nfhret.stat = EPROTONOSUPPORT;
sbin/mount_nfs/getnfsargs.c
265
if (nfhret.stat == 0)
sbin/mount_nfs/getnfsargs.c
269
if (nfhret.stat) {
sbin/mount_nfs/getnfsargs.c
272
errno = nfhret.stat;
sbin/mount_nfs/getnfsargs.c
273
warnx("can't access %s: %s", spec, strerror(nfhret.stat));
sbin/mount_nfs/getnfsargs.c
316
if (!xdr_u_long(xdrsp, &np->stat))
sbin/mount_nfs/getnfsargs.c
318
if (np->stat)
sbin/mount_nfs/getnfsargs.c
344
np->stat = EAUTH;
sbin/mount_nfs/getnfsargs.c
87
u_long stat;
sbin/mount_ntfs/mount_ntfs.c
135
if (stat(dir, &sb) == -1)
sbin/mount_ntfs/mount_ntfs.c
83
struct stat sb;
sbin/mount_portal/puffs_portal.c
573
struct stat st;
sbin/mount_qemufwcfg/fwcfg.c
198
struct stat st;
sbin/mount_qemufwcfg/fwcfg.c
83
fwcfg_getattr(const char *path, struct stat *st)
sbin/mount_qemufwcfg/virtdir.c
104
virtdir_init(virtdir_t *tp, const char *rootdir, const struct stat *d,
sbin/mount_qemufwcfg/virtdir.c
105
const struct stat *f, const struct stat *l)
sbin/mount_qemufwcfg/virtdir.h
56
struct stat file; /* stat struct for file entries */
sbin/mount_qemufwcfg/virtdir.h
57
struct stat dir; /* stat struct for dir entries */
sbin/mount_qemufwcfg/virtdir.h
58
struct stat lnk; /* stat struct for symlinks */
sbin/mount_qemufwcfg/virtdir.h
69
int virtdir_init(virtdir_t *, const char *, const struct stat *,
sbin/mount_qemufwcfg/virtdir.h
70
const struct stat *, const struct stat *);
sbin/mount_tmpfs/mount_tmpfs.c
146
struct stat sb;
sbin/mount_tmpfs/mount_tmpfs.c
216
if (stat(canon_dir, &sb) == -1)
sbin/mount_umap/mount_umap.c
103
struct stat statbuf;
sbin/newfs/newfs.c
248
struct stat sb;
sbin/newfs/newfs.c
485
if (stat(special, &sb) == -1)
sbin/newfs_ext2fs/newfs_ext2fs.c
127
struct stat sb;
sbin/newfs_lfs/newfs.c
169
struct stat st;
sbin/newfs_lfs/newfs.c
282
if (stat(device, &st) == -1)
sbin/newfs_msdos/mkfs_msdos.c
250
struct stat sb;
sbin/newfs_msdos/mkfs_msdos.c
876
struct stat st;
sbin/newfs_msdos/newfs_msdos.c
67
struct stat st;
sbin/newfs_msdos/newfs_msdos.c
74
if (stat(b, &st) != -1)
sbin/newfs_sysvbfs/newfs_sysvbfs.c
61
struct stat st;
sbin/newfs_udf/udf_core.c
2420
udf_create_new_fe(struct file_entry **fep, int file_type, struct stat *st)
sbin/newfs_udf/udf_core.c
2522
udf_create_new_efe(struct extfile_entry **efep, int file_type, struct stat *st)
sbin/newfs_udf/udf_core.c
79
struct stat dev_fd_stat; /* device: last stat info */
sbin/newfs_udf/udf_core.h
266
extern struct stat dev_fd_stat; /* device: last stat info */
sbin/newfs_udf/udf_core.h
340
struct stat *st);
sbin/newfs_udf/udf_core.h
342
struct stat *st);
sbin/newfs_v7fs/newfs_v7fs.c
66
struct stat st;
sbin/nvmectl/firmware.c
78
struct stat sb;
sbin/raidctl/prog_ops.h
40
int (*op_fstat)(int, struct stat *);
sbin/raidctl/raidctl.c
127
struct stat st;
sbin/rcorder/rcorder.c
414
struct stat st;
sbin/resize_ffs/resize_ffs.c
178
struct stat stb;
sbin/resize_ffs/resize_ffs.c
187
struct stat stb;
sbin/resize_ffs/resize_ffs.c
2120
struct stat st;
sbin/restore/interactive.c
750
glob_stat(const char *name, struct stat *stp)
sbin/restore/interactive.c
91
static int glob_stat(const char *, struct stat *);
sbin/restore/symtab.c
543
struct stat stbuf;
sbin/restore/tape.c
295
struct stat stbuf;
sbin/restore/tape.c
343
if (stat(".", &stbuf) < 0) {
sbin/routed/parms.c
179
struct stat sb;
sbin/routed/trace.c
304
struct stat stbuf;
sbin/routed/trace.c
339
|| 0 > stat(_PATH_TRACE, &stbuf))
sbin/routed/trace.c
348
if (stat(filename, &stbuf) >= 0 && !S_ISREG(stbuf.st_mode)) {
sbin/savecore/savecore.c
796
struct stat sb;
sbin/savecore/savecore.c
862
struct stat st;
sbin/savecore/savecore.c
868
if (!stat(kernel, &st)) kernelsize = st.st_blocks * S_BLKSIZE;
sbin/scan_ffs/scan_ffs.c
546
struct stat stp;
sbin/scan_ffs/scan_ffs.c
548
if (stat(fpath, &stp))
sbin/swapctl/swapctl.c
449
struct stat sb;
sbin/swapctl/swapctl.c
457
if (stat(spec, &sb) < 0)
sbin/swapctl/swapctl.c
715
struct stat st;
sbin/swapctl/swapctl.c
807
if (stat(spec, &st) < 0) {
sbin/tunefs/tunefs.c
486
struct stat st0, st;
sbin/tunefs/tunefs.c
501
if (stat(sfs[i].f_mntfromname, &st) == -1)
sbin/umount/umount.c
206
struct stat sb;
sbin/umount/umount.c
216
if (stat(name, &sb) == 0) {
sbin/veriexecctl/veriexecctl.c
259
struct stat sb;
sbin/veriexecctl/veriexecctl.c
261
if (stat(argv[1], &sb) == -1)
sbin/veriexecctl/veriexecctl_parse.y
68
struct stat sb;
sbin/veriexecctl/veriexecctl_parse.y
70
if (stat(dict_gets(load_params, "file"), &sb) == -1) {
share/examples/puffs/icfs/icfs.c
150
struct stat sb;
share/examples/puffs/pnullfs/pnullfs.c
55
struct stat sb;
share/examples/puffs/rot13fs/rot13fs.c
101
struct stat sb;
share/examples/refuse/dbfs/dbfs.c
194
if (stat(argv[optind], &dbst) != 0) {
share/examples/refuse/dbfs/dbfs.c
45
static struct stat dbst; /* stat info of database file */
share/examples/refuse/dbfs/dbfs.c
55
dbfs_getattr(const char *path, struct stat *st)
share/examples/refuse/dmesgfs/dmesgfs.c
254
struct stat dir;
share/examples/refuse/dmesgfs/dmesgfs.c
255
struct stat f;
share/examples/refuse/dmesgfs/dmesgfs.c
263
(void) stat(".", &dir);
share/examples/refuse/dmesgfs/dmesgfs.c
67
dmesgfs_getattr(const char *path, struct stat *st)
share/examples/refuse/fanoutfs/fanoutfs.c
110
findentry(const char *path, char *name, size_t namesize, struct stat *sp)
share/examples/refuse/fanoutfs/fanoutfs.c
112
struct stat st;
share/examples/refuse/fanoutfs/fanoutfs.c
120
if (stat(name, sp) == 0) {
share/examples/refuse/fanoutfs/fanoutfs.c
162
struct stat st;
share/examples/refuse/fanoutfs/fanoutfs.c
198
fanoutfs_getattr(const char *path, struct stat *st)
share/examples/refuse/fanoutfs/fanoutfs.c
429
struct stat st;
share/examples/refuse/fanoutfs/fanoutfs.c
447
struct stat st;
share/examples/refuse/fanoutfs/fanoutfs.c
56
static struct stat vfs; /* stat info of directory */
share/examples/refuse/ian/ian/ian.c
129
ian_getattr(const char *path, struct stat *st)
share/examples/refuse/ian/ian/ian.c
148
if (stat(ep->tgt, st) < 0) {
share/examples/refuse/ian/libfetch/common.c
643
bcopy(us, &tmp->stat, sizeof(*us));
share/examples/refuse/ian/libfetch/fetch.h
59
struct url_stat stat;
share/examples/refuse/ian/libfetch/file.c
95
struct stat sb;
share/examples/refuse/ian/libfetch/file.c
99
if (stat(fn, &sb) == -1) {
share/examples/refuse/icfs/icfs.c
114
if (stat(name, st) < 0) {
share/examples/refuse/icfs/icfs.c
531
struct stat st;
share/examples/refuse/icfs/icfs.c
532
struct stat dir;
share/examples/refuse/icfs/icfs.c
533
struct stat f;
share/examples/refuse/icfs/icfs.c
534
struct stat l;
share/examples/refuse/icfs/icfs.c
542
(void) stat(".", &dir);
share/examples/refuse/icfs/icfs.c
561
if (stat(name, &st) < 0) {
share/examples/refuse/icfs/icfs.c
57
static struct stat vfs; /* stat info of directory */
share/examples/refuse/icfs/icfs.c
99
icfs_getattr(const char *path, struct stat *st)
share/examples/refuse/id3fs/id3fs.c
156
struct stat dir;
share/examples/refuse/id3fs/id3fs.c
157
struct stat f;
share/examples/refuse/id3fs/id3fs.c
167
(void) stat(".", &dir);
share/examples/refuse/id3fs/id3fs.c
55
id3fs_getattr(const char *path, struct stat *st)
share/examples/refuse/pcifs/pcifs.c
152
struct stat dir;
share/examples/refuse/pcifs/pcifs.c
153
struct stat f;
share/examples/refuse/pcifs/pcifs.c
160
(void) stat(".", &dir);
share/examples/refuse/pcifs/pcifs.c
51
pcifs_getattr(const char *path, struct stat *st)
share/examples/refuse/virtdir/virtdir.c
115
virtdir_init(virtdir_t *tp, const char *rootdir, struct stat *d, struct stat *f, struct stat *l)
share/examples/refuse/virtdir/virtdir.c
136
struct stat st;
share/examples/refuse/virtdir/virtdir.c
141
(void) stat(".", &st);
share/examples/refuse/virtdir/virtdir.c
306
struct stat st;
share/examples/refuse/virtdir/virtdir.c
309
stat(".", &st);
share/examples/refuse/virtdir/virtdir.c
311
stat("..", &st);
share/examples/refuse/virtdir/virtdir.h
56
struct stat file; /* stat struct for file entries */
share/examples/refuse/virtdir/virtdir.h
57
struct stat dir; /* stat struct for dir entries */
share/examples/refuse/virtdir/virtdir.h
58
struct stat lnk; /* stat struct for symlinks */
share/examples/refuse/virtdir/virtdir.h
69
int virtdir_init(virtdir_t *, const char *, struct stat *, struct stat *, struct stat *);
share/examples/rump/ttyserv/ttyserv.c
60
struct stat sb;
share/examples/rump/ttyserv/ttyserv.c
63
if (stat("rumpttyU0", &sb) != 0)
share/examples/rump/ttyserv/ttyserv.c
68
if (stat("rumpttyU1", &sb) != 0)
share/examples/rump/umserv/umserv.c
71
struct stat sb;
share/examples/rump/umserv/umserv.c
80
if (stat(path, &sb) == 0)
share/man/tools/noso.c
11
struct stat sb;
sys/arch/acorn32/podulebus/esc.c
116
int stat);
sys/arch/acorn32/podulebus/esc.c
377
esc_scsidone(struct esc_softc *dev, struct scsipi_xfer *xs, int stat)
sys/arch/acorn32/podulebus/esc.c
382
xs->status = stat;
sys/arch/acorn32/podulebus/esc.c
384
if (stat == 0)
sys/arch/acorn32/podulebus/esc.c
387
switch(stat) {
sys/arch/acorn32/podulebus/esc.c
394
QPRINTF(("esc_scsicmd() bad %x\n", stat));
sys/arch/acorn32/podulebus/if_ie.c
235
u_short stat;
sys/arch/acorn32/podulebus/if_ie.c
239
stat = ReadShort ( sc->sc_ram + IE_COFF2POFF(IE_IBASE+IE_SCB_OFF) +
sys/arch/acorn32/podulebus/if_ie.c
244
stat & mask );
sys/arch/acorn32/podulebus/sbic.c
354
int flags, s, stat;
sys/arch/acorn32/podulebus/sbic.c
414
stat = sbicicmd(dev, periph->periph_target,
sys/arch/acorn32/podulebus/sbic.c
418
sbic_scsidone(acb, stat);
sys/arch/acorn32/podulebus/sbic.c
459
int flags, /*phase,*/ stat, i;
sys/arch/acorn32/podulebus/sbic.c
507
stat = sbicicmd(dev, periph->periph_target,
sys/arch/acorn32/podulebus/sbic.c
513
stat = dev->sc_stat[0];
sys/arch/acorn32/podulebus/sbic.c
515
sbic_scsidone(acb, stat);
sys/arch/acorn32/podulebus/sbic.c
520
sbic_scsidone(struct sbic_acb *acb, int stat)
sys/arch/acorn32/podulebus/sbic.c
545
dev->target, dev->lun, stat, acb->flags),
sys/arch/acorn32/podulebus/sbic.c
550
xs->status = stat;
sys/arch/acorn32/podulebus/sbic.c
553
if (stat == SCSI_CHECK || stat == SCSI_BUSY)
sys/arch/acorn32/podulebus/sfas.c
378
sfas_scsidone(struct sfas_softc *dev, struct scsipi_xfer *xs, int stat)
sys/arch/acorn32/podulebus/sfas.c
383
xs->status = stat;
sys/arch/acorn32/podulebus/sfas.c
385
if (stat == 0)
sys/arch/acorn32/podulebus/sfas.c
388
switch(stat) {
sys/arch/acorn32/podulebus/sfas.c
395
QPRINTF(("sfas_scsicmd() bad %x\n", stat));
sys/arch/acorn32/stand/lib/riscosfile.c
134
riscos_stat(struct open_file *f, struct stat *sb)
sys/arch/acorn32/stand/lib/riscosfile.h
34
int riscos_stat(struct open_file *, struct stat *);
sys/arch/acorn32/stand/nbfs/nbfs.c
184
struct stat st;
sys/arch/acorn32/stand/nbfs/nbfs.c
277
struct stat st;
sys/arch/acorn32/stand/nbfs/nbfs.c
348
struct stat st;
sys/arch/alpha/stand/common/bootxx.c
87
struct stat sb;
sys/arch/alpha/stand/mkbootimage/mkbootimage.c
59
struct stat insb;
sys/arch/alpha/stand/setnetbootinfo/setnetbootinfo.c
72
struct stat sb;
sys/arch/amiga/dev/ahsc.c
292
int stat, found;
sys/arch/amiga/dev/ahsc.c
295
stat = sdp->ISTR;
sys/arch/amiga/dev/ahsc.c
298
if ((stat & (ISTR_INT_F|ISTR_INT_P)) == 0)
sys/arch/amiga/dev/ahsc.c
303
printf("%s: dmaintr 0x%x\n", device_xname(dev->sc_dev), stat);
sys/arch/amiga/dev/ahsc.c
312
if (stat & ISTR_E_INT) {
sys/arch/amiga/dev/ahsc.c
324
if (dev->sc_flags & SBICF_INTR && stat & ISTR_INTS)
sys/arch/amiga/dev/atzsc.c
301
int stat, found;
sys/arch/amiga/dev/atzsc.c
304
stat = sdp->ISTR;
sys/arch/amiga/dev/atzsc.c
306
if ((stat & (ISTR_INT_F|ISTR_INT_P)) == 0)
sys/arch/amiga/dev/atzsc.c
311
printf("%s: dmaintr 0x%x\n", device_xname(dev->sc_dev), stat);
sys/arch/amiga/dev/atzsc.c
320
if (stat & ISTR_E_INT) {
sys/arch/amiga/dev/atzsc.c
332
if (dev->sc_flags & SBICF_INTR && stat & ISTR_INTS)
sys/arch/amiga/dev/empsc.c
185
u_char stat;
sys/arch/amiga/dev/empsc.c
189
stat = *dev->sci_iack;
sys/arch/amiga/dev/empsc.c
190
__USE(stat);
sys/arch/amiga/dev/gtsc.c
339
int stat;
sys/arch/amiga/dev/gtsc.c
342
stat = sdp->CNTR;
sys/arch/amiga/dev/gtsc.c
344
if ((stat & GVP_CNTR_INT_P) == 0)
sys/arch/amiga/dev/gtsc.c
348
printf("%s: dmaintr 0x%x\n", device_xname(dev->sc_dev), stat);
sys/arch/amiga/dev/ivsc.c
327
u_char stat;
sys/arch/amiga/dev/ivsc.c
331
stat = *dev->sci_iack;
sys/arch/amiga/dev/ivsc.c
332
__USE(stat);
sys/arch/amiga/dev/mfc.c
1087
mfcseint(int unit, int stat)
sys/arch/amiga/dev/mfc.c
1095
ch = stat & 0xff;
sys/arch/amiga/dev/mfc.c
1114
if (stat & 0xc000)
sys/arch/amiga/dev/mfc.c
1116
else if (stat & 0x2000)
sys/arch/amiga/dev/mfc.c
1119
if (stat & 0x1000)
sys/arch/amiga/dev/mfc.c
1137
u_char stat, last, istat;
sys/arch/amiga/dev/mfc.c
1153
stat = ~sc->sc_regs->du_ip;
sys/arch/amiga/dev/mfc.c
1155
sc->sc_mfc->last_ip = stat;
sys/arch/amiga/dev/mfc.c
1160
istat = stat ^ last;
sys/arch/amiga/dev/mfc.c
1164
if (stat & (0x10 << (unit & 1)))
sys/arch/amiga/dev/otgsc.c
283
u_char stat;
sys/arch/amiga/dev/otgsc.c
287
stat = *dev->sci_iack;
sys/arch/amiga/dev/otgsc.c
288
__USE(stat);
sys/arch/amiga/dev/sbic.c
403
int flags, s, stat;
sys/arch/amiga/dev/sbic.c
457
stat = sbicicmd(dev, dev->target, dev->lun,
sys/arch/amiga/dev/sbic.c
461
sbic_scsidone(acb, stat);
sys/arch/amiga/dev/sbic.c
508
int flags, /*phase,*/ stat, i;
sys/arch/amiga/dev/sbic.c
551
stat = sbicicmd(dev, periph->periph_target,
sys/arch/amiga/dev/sbic.c
558
stat = dev->sc_stat[0];
sys/arch/amiga/dev/sbic.c
560
sbic_scsidone(acb, stat);
sys/arch/amiga/dev/sbic.c
565
sbic_scsidone(struct sbic_acb *acb, int stat)
sys/arch/amiga/dev/sbic.c
587
xs->status = stat;
sys/arch/amiga/dev/sbic.c
593
dev->target, dev->lun, stat);
sys/arch/amiga/dev/sbic.c
600
if (stat == SCSI_CHECK || stat == SCSI_BUSY)
sys/arch/amiga/dev/sci.c
205
int flags, phase, stat;
sys/arch/amiga/dev/sci.c
224
stat = sciicmd(dev, periph->periph_target, xs->cmd, xs->cmdlen,
sys/arch/amiga/dev/sci.c
229
stat = dev->sc_stat[0];
sys/arch/amiga/dev/sci.c
231
sci_scsidone(dev, stat);
sys/arch/amiga/dev/sci.c
235
sci_scsidone(struct sci_softc *dev, int stat)
sys/arch/amiga/dev/sci.c
244
xs->status = stat;
sys/arch/amiga/dev/sci.c
245
if (stat == 0)
sys/arch/amiga/dev/sci.c
248
switch(stat) {
sys/arch/amiga/dev/sci.c
257
QPRINTF(("sci_scsicmd() bad %x\n", stat));
sys/arch/amiga/dev/ser.c
1109
u_short stat;
sys/arch/amiga/dev/ser.c
1116
while (((stat = custom.serdatr & 0xffff) & SERDATRF_RBF) == 0)
sys/arch/amiga/dev/ser.c
1119
c = stat & 0xff;
sys/arch/amiga/dev/ser.c
576
sereint(int stat)
sys/arch/amiga/dev/ser.c
584
ch = stat & 0xff;
sys/arch/amiga/dev/ser.c
602
if ((stat & 0x1ff) == 0) {
sys/arch/amiga/dev/ser.c
624
if (stat & SERDATRF_OVRUN)
sys/arch/amiga/dev/ser.c
640
u_char stat, last, istat;
sys/arch/amiga/dev/ser.c
657
stat = ciab.pra;
sys/arch/amiga/dev/ser.c
659
last_ciab_pra = stat;
sys/arch/amiga/dev/ser.c
664
istat = stat ^ last;
sys/arch/amiga/dev/ser.c
667
tp->t_linesw->l_modem(tp, ISDCD(stat));
sys/arch/amiga/dev/ser.c
674
if (ISCTS(stat)) {
sys/arch/amiga/dev/ser.c
683
if (ISCTS(stat)) {
sys/arch/amiga/dev/siop.c
1322
DCIAS(kvtop(&acb->stat[0]));
sys/arch/amiga/dev/siop.c
1399
dma_cachectl (&acb->stat[0], 1);
sys/arch/amiga/dev/siop.c
1402
rp->siop_dsps, acb->stat[0], acb->msg[0], acb->msg[1],
sys/arch/amiga/dev/siop.c
1428
rp->siop_sbcl, acb->stat[0], acb->msg[0], acb->msg[1], rp->siop_sfbr);
sys/arch/amiga/dev/siop.c
1515
sc->sc_nexus, sc->sc_nexus ? sc->sc_nexus->stat[0] : 0);
sys/arch/amiga/dev/siop.c
1521
DCIAS(kvtop(&sc->sc_nexus->stat[0]));
sys/arch/amiga/dev/siop.c
1525
sc->sc_nexus->stat[0], sc->sc_nexus->msg[0]);
sys/arch/amiga/dev/siop.c
1550
sc->sc_nexus->stat[0] : -1);
sys/arch/amiga/dev/siop.c
413
siop_scsidone(struct siop_acb *acb, int stat)
sys/arch/amiga/dev/siop.c
435
xs->status = stat;
sys/arch/amiga/dev/siop.c
439
if (stat == SCSI_CHECK || stat == SCSI_BUSY)
sys/arch/amiga/dev/siop.c
457
SIOP_TRACE('d','a',stat,0)
sys/arch/amiga/dev/siop.c
460
SIOP_TRACE('d','r',stat,0)
sys/arch/amiga/dev/siop.c
484
SIOP_TRACE('d','n',stat,0);
sys/arch/amiga/dev/siop.c
707
siop_scsidone(sc->sc_nexus, sc->sc_nexus->stat[0]);
sys/arch/amiga/dev/siop.c
711
siop_scsidone(acb, acb->stat[0]);
sys/arch/amiga/dev/siop.c
760
acb->stat[0] = -1;
sys/arch/amiga/dev/siop.c
768
acb->ds.stsbuf = (char *) kvtop(&acb->stat[0]);
sys/arch/amiga/dev/siop.c
924
DCIAS(&acb->stat[0]); /* XXX */
sys/arch/amiga/dev/siop.c
926
istat, dstat, sstat0, rp->siop_dsps, rp->siop_sbcl, acb->stat[0], acb->msg[0]);
sys/arch/amiga/dev/siop.c
969
dma_cachectl(&acb->stat[0], 1);
sys/arch/amiga/dev/siop.c
970
*status = acb->stat[0];
sys/arch/amiga/dev/siop2.c
1057
dma_cachectl(&acb->stat[0], 1);
sys/arch/amiga/dev/siop2.c
1058
*status = acb->stat[0];
sys/arch/amiga/dev/siop2.c
1460
DCIAS(kvtop(&acb->stat[0]));
sys/arch/amiga/dev/siop2.c
1548
dma_cachectl (&acb->stat[0], 1);
sys/arch/amiga/dev/siop2.c
1551
rp->siop_dsps, acb->stat[0], acb->msg[0], acb->msg[1],
sys/arch/amiga/dev/siop2.c
1577
rp->siop_sbcl, acb->stat[0], acb->msg[0], acb->msg[1], rp->siop_sfbr);
sys/arch/amiga/dev/siop2.c
1665
sc->sc_nexus, sc->sc_nexus ? sc->sc_nexus->stat[0] : 0);
sys/arch/amiga/dev/siop2.c
1671
DCIAS(kvtop(&sc->sc_nexus->stat[0]));
sys/arch/amiga/dev/siop2.c
1675
sc->sc_nexus->stat[0], sc->sc_nexus->msg[0]);
sys/arch/amiga/dev/siop2.c
1700
sc->sc_nexus->stat[0] : -1);
sys/arch/amiga/dev/siop2.c
398
siopng_scsidone(struct siop_acb *acb, int stat)
sys/arch/amiga/dev/siop2.c
420
xs->status = stat;
sys/arch/amiga/dev/siop2.c
424
if (stat == SCSI_CHECK || stat == SCSI_BUSY)
sys/arch/amiga/dev/siop2.c
442
SIOP_TRACE('d','a',stat,0)
sys/arch/amiga/dev/siop2.c
445
SIOP_TRACE('d','r',stat,0)
sys/arch/amiga/dev/siop2.c
469
SIOP_TRACE('d','n',stat,0);
sys/arch/amiga/dev/siop2.c
734
siopng_scsidone(sc->sc_nexus, sc->sc_nexus->stat[0]);
sys/arch/amiga/dev/siop2.c
738
siopng_scsidone(acb, acb->stat[0]);
sys/arch/amiga/dev/siop2.c
789
acb->stat[0] = -1;
sys/arch/amiga/dev/siop2.c
798
acb->ds.stsbuf = (char *) kvtop(&acb->stat[0]);
sys/arch/amiga/dev/siop2.c
992
DCIAS(&acb->stat[0]); /* XXX */
sys/arch/amiga/dev/siop2.c
994
istat, dstat, sist, rp->siop_dsps, rp->siop_sbcl, acb->stat[0], acb->msg[0]);
sys/arch/amiga/dev/siopvar.h
94
u_char stat[1];
sys/arch/amiga/dev/wstsc.c
533
u_char stat;
sys/arch/amiga/dev/wstsc.c
537
stat = *(dev->sci_iack + 0x10);
sys/arch/amiga/dev/wstsc.c
538
__USE(stat);
sys/arch/amiga/stand/bootblock/bootxx_ffs/main.c
76
struct stat sb;
sys/arch/arc/dti/btl.c
1123
wmbx->mbi[i].stat = BT_MBI_FREE;
sys/arch/arc/dti/btl.c
425
if (wmbi->stat == BT_MBI_FREE) {
sys/arch/arc/dti/btl.c
427
if (wmbi->stat != BT_MBI_FREE) {
sys/arch/arc/dti/btl.c
456
wmbi->stat, wmbi);
sys/arch/arc/dti/btl.c
461
switch (wmbi->stat) {
sys/arch/arc/dti/btl.c
487
device_xname(sc->sc_dev), wmbi->stat);
sys/arch/arc/dti/btl.c
495
wmbi->stat = BT_MBI_FREE;
sys/arch/arc/dti/btl.c
497
} while (wmbi->stat != BT_MBI_FREE);
sys/arch/arc/dti/btlreg.h
82
u_char stat;
sys/arch/arc/pci/necpb.c
488
uint32_t vector, stat;
sys/arch/arc/pci/necpb.c
496
stat = in32(RD94_SYS_PCI_INTSTAT);
sys/arch/arc/pci/necpb.c
497
stat &= in32(RD94_SYS_PCI_INTMASK);
sys/arch/arc/pci/necpb.c
499
if (stat & (1 << i)) {
sys/arch/arm/amlogic/meson_sdhc.c
443
const uint32_t stat = SDHC_READ(sc, SD_STAT_REG);
sys/arch/arm/amlogic/meson_sdhc.c
445
if ((stat & SD_STAT_BUSY) == 0 &&
sys/arch/arm/apple/apple_nvme.c
265
uint32_t stat = nvme_read4(sc, ANS_NVMMU_TCB_STAT);
sys/arch/arm/apple/apple_nvme.c
266
if (stat != 0) {
sys/arch/arm/apple/apple_nvme.c
268
device_xname(sc->sc_dev), stat);
sys/arch/arm/apple/apple_pcie.c
201
uint32_t stat = PREAD4(bst, bsh, PCIE_PORT_LINK_STAT);
sys/arch/arm/apple/apple_pcie.c
202
if (stat & PCIE_PORT_LINK_STAT_UP) {
sys/arch/arm/apple/apple_pcie.c
237
stat = RREAD4(sc, PCIE_CORE_LANE_CONF(portno));
sys/arch/arm/apple/apple_pcie.c
238
if (stat & PCIE_CORE_LANE_CONF_REFCLK0ACK)
sys/arch/arm/apple/apple_pcie.c
244
stat = RREAD4(sc, PCIE_CORE_LANE_CONF(portno));
sys/arch/arm/apple/apple_pcie.c
245
if (stat & PCIE_CORE_LANE_CONF_REFCLK1ACK)
sys/arch/arm/apple/apple_pcie.c
269
stat = PREAD4(bst, bsh, PCIE_PORT_STAT);
sys/arch/arm/apple/apple_pcie.c
270
if (stat & PCIE_PORT_STAT_READY)
sys/arch/arm/apple/apple_pcie.c
274
if ((stat & PCIE_PORT_STAT_READY) == 0) {
sys/arch/arm/apple/apple_pcie.c
285
stat = PREAD4(bst, bsh, PCIE_PORT_LINK_STAT);
sys/arch/arm/apple/apple_pcie.c
286
if (stat & PCIE_PORT_LINK_STAT_UP)
sys/arch/arm/iomd/iomdkbc.c
260
int stat, ret;
sys/arch/arm/iomd/iomdkbc.c
266
stat = bus_space_read_1(iot, ioh, IOMDKBC_CR);
sys/arch/arm/iomd/iomdkbc.c
267
if ((stat & IOMDKBC_RXF) == 0)
sys/arch/arm/marvell/pci_machdep.c
388
uint32_t stat;
sys/arch/arm/marvell/pci_machdep.c
396
stat = bus_space_read_4(sc->sc_iot, sc->sc_ioh, MVPEX_STAT);
sys/arch/arm/marvell/pci_machdep.c
397
pexbus = MVPEX_STAT_PEXBUSNUM(stat);
sys/arch/arm/marvell/pci_machdep.c
398
pexdev = MVPEX_STAT_PEXDEVNUM(stat);
sys/arch/arm/marvell/pci_machdep.c
400
if (stat & MVPEX_STAT_DLDOWN)
sys/arch/arm/nvidia/tegra_i2c.c
308
uint32_t stat = 0;
sys/arch/arm/nvidia/tegra_i2c.c
321
stat = I2C_READ(sc, I2C_INTERRUPT_STATUS_REG);
sys/arch/arm/nvidia/tegra_i2c.c
322
if (stat & I2C_INTERRUPT_STATUS_PACKET_XFER_COMPLETE) {
sys/arch/arm/nvidia/tegra_i2c.c
331
device_printf(sc->sc_dev, "timed out, status = %#x\n", stat);
sys/arch/arm/nvidia/tegra_i2c.c
341
if (stat & err_mask) {
sys/arch/arm/nvidia/tegra_i2c.c
342
device_printf(sc->sc_dev, "error, status = %#x\n", stat);
sys/arch/arm/s3c2xx0/sscom.c
1908
u_char __attribute__((__unused__)) stat;
sys/arch/arm/s3c2xx0/sscom.c
1929
stat = sscom_geterr(sscomconstag, sscomconsioh);
sys/arch/arm/s3c2xx0/sscom.c
1949
int __attribute__((__unused__)) stat;
sys/arch/arm/s3c2xx0/sscom.c
1955
stat = sscom_geterr(sscomconstag, sscomconsioh);
sys/arch/arm/s3c2xx0/sscom.c
2017
int c, stat;
sys/arch/arm/s3c2xx0/sscom.c
2024
stat = sscom_geterr(sscom_kgdb_iot, sscom_kgdb_ioh);
sys/arch/arm/s3c2xx0/sscom.c
441
int timo, stat;
sys/arch/arm/s3c2xx0/sscom.c
450
stat = bus_space_read_1(iot, ioh, SSCOM_UTRSTAT);
sys/arch/arm/s3c2xx0/sscom.c
451
} while ((stat & UTRSTAT_TXEMPTY) == 0 && --timo > 0);
sys/arch/arm/sa11x0/sa1111_kbc.c
164
int stat, code = -1;
sys/arch/arm/sa11x0/sa1111_kbc.c
166
stat = bus_space_read_4(sc->iot, sc->ioh, SACCKBD_STAT);
sys/arch/arm/sa11x0/sa1111_kbc.c
167
DPRINTF(("sackbc_rxint stat=%x\n", stat));
sys/arch/arm/sa11x0/sa1111_kbc.c
168
if (stat & KBDSTAT_RXF) {
sys/arch/arm/sa11x0/sa1111_kbc.c
171
rnd_add_uint32(&sc->rnd_source, (stat<<8)|code);
sys/arch/arm/sa11x0/sa1111_kbc.c
175
sc->poll_stat = stat;
sys/arch/arm/sa11x0/sa1111_kbc.c
288
u_int i, stat;
sys/arch/arm/sa11x0/sa1111_kbc.c
291
stat = bus_space_read_4(sc->iot, sc->ioh, SACCKBD_STAT);
sys/arch/arm/sa11x0/sa1111_kbc.c
293
if (stat & KBDSTAT_TXE)
sys/arch/arm/sa11x0/sa1111_kbc.c
303
int i, s, stat, c = -1;
sys/arch/arm/sa11x0/sa1111_kbc.c
308
stat = sc->poll_stat;
sys/arch/arm/sa11x0/sa1111_kbc.c
312
if (stat >= 0 &&
sys/arch/arm/sa11x0/sa1111_kbc.c
313
(stat & (KBDSTAT_RXF|KBDSTAT_STP)) == KBDSTAT_RXF) {
sys/arch/arm/sa11x0/sa1111_kbc.c
321
stat = bus_space_read_4(sc->iot, sc->ioh, SACCKBD_STAT);
sys/arch/arm/sa11x0/sa1111_kbc.c
322
if ((stat & (KBDSTAT_RXF|KBDSTAT_STP)) == KBDSTAT_RXF) {
sys/arch/arm/samsung/exynos_i2c.c
204
uint8_t stat = 0;
sys/arch/arm/samsung/exynos_i2c.c
217
stat = I2C_READ(sc, IICSTAT);
sys/arch/arm/samsung/exynos_i2c.c
218
if (!(stat & BUSYSTART)) {
sys/arch/arm/samsung/exynos_i2c.c
226
stat = I2C_READ(sc, IICSTAT);
sys/arch/arm/samsung/exynos_i2c.c
227
device_printf(sc->sc_dev, "timed out, status = %#x\n", stat);
sys/arch/arm/sociox/sni_i2c.c
344
uint32_t stat = 0;
sys/arch/arm/sociox/sni_i2c.c
346
(void)stat;
sys/arch/arm/sunxi/sunxi_rsb.c
192
uint32_t stat;
sys/arch/arm/sunxi/sunxi_rsb.c
194
stat = RSB_READ(sc, RSB_STAT_REG);
sys/arch/arm/sunxi/sunxi_rsb.c
195
if ((stat & RSB_STAT_MASK) == 0)
sys/arch/arm/sunxi/sunxi_rsb.c
198
RSB_WRITE(sc, RSB_STAT_REG, stat & RSB_STAT_MASK);
sys/arch/arm/sunxi/sunxi_rsb.c
201
sc->sc_stat |= stat;
sys/arch/arm/ti/if_cpsw.c
1360
uint32_t stat;
sys/arch/arm/ti/if_cpsw.c
1375
stat = cpsw_read_4(sc, CPSW_CPDMA_DMASTATUS);
sys/arch/arm/ti/if_cpsw.c
1376
printf("CPSW_CPDMA_DMASTATUS %x\n", stat);
sys/arch/arm/ti/if_cpsw.c
1377
stat = cpsw_read_4(sc, CPSW_CPDMA_TX_HDP(0));
sys/arch/arm/ti/if_cpsw.c
1378
printf("CPSW_CPDMA_TX0_HDP %x\n", stat);
sys/arch/arm/ti/if_cpsw.c
1379
stat = cpsw_read_4(sc, CPSW_CPDMA_TX_CP(0));
sys/arch/arm/ti/if_cpsw.c
1380
printf("CPSW_CPDMA_TX0_CP %x\n", stat);
sys/arch/arm/ti/if_cpsw.c
1381
stat = cpsw_read_4(sc, CPSW_CPDMA_RX_HDP(0));
sys/arch/arm/ti/if_cpsw.c
1382
printf("CPSW_CPDMA_RX0_HDP %x\n", stat);
sys/arch/arm/ti/if_cpsw.c
1383
stat = cpsw_read_4(sc, CPSW_CPDMA_RX_CP(0));
sys/arch/arm/ti/if_cpsw.c
1384
printf("CPSW_CPDMA_RX0_CP %x\n", stat);
sys/arch/arm/ti/ti_iic.c
306
uint32_t stat;
sys/arch/arm/ti/ti_iic.c
311
stat = I2C_READ_REG(sc, I2C_IRQSTATUS);
sys/arch/arm/ti/ti_iic.c
313
ti_iic_handle_intr(sc, stat);
sys/arch/arm/ti/ti_iic.c
314
I2C_WRITE_REG(sc, I2C_IRQSTATUS, stat);
sys/arch/arm/ti/ti_iic.c
321
DPRINTF(("ti_iic_intr status 0x%x\n", stat));
sys/arch/arm/ti/ti_iic.c
457
uint16_t con, stat, mask;
sys/arch/arm/ti/ti_iic.c
536
stat = ti_iic_stat(sc, mask);
sys/arch/arm/ti/ti_iic.c
537
DPRINTF(("ti_iic_op stat 0x%x\n", stat));
sys/arch/arm/ti/ti_iic.c
538
if (stat == 0) {
sys/arch/arm/ti/ti_iic.c
542
ti_iic_handle_intr(sc, stat);
sys/arch/arm/ti/ti_iic.c
544
I2C_WRITE_REG(sc, I2C_IRQSTATUS, stat);
sys/arch/arm/ti/ti_iic.c
560
ti_iic_handle_intr(struct ti_iic_softc *sc, uint32_t stat)
sys/arch/arm/ti/ti_iic.c
563
KASSERT(stat != 0);
sys/arch/arm/ti/ti_iic.c
564
DPRINTF(("ti_iic_handle_intr stat %#x\n", stat));
sys/arch/arm/ti/ti_iic.c
566
if (stat &
sys/arch/arm/ti/ti_iic.c
571
if (stat & I2C_IRQSTATUS_ARDY) {
sys/arch/arm/ti/ti_iic.c
576
ti_iic_do_read(sc, stat);
sys/arch/arm/ti/ti_iic.c
578
ti_iic_do_write(sc, stat);
sys/arch/arm/ti/ti_iic.c
583
ti_iic_do_read(struct ti_iic_softc *sc, uint32_t stat)
sys/arch/arm/ti/ti_iic.c
588
DPRINTF(("ti_iic_do_read stat %#x\n", stat));
sys/arch/arm/ti/ti_iic.c
589
if (stat & I2C_IRQSTATUS_RDR) {
sys/arch/arm/ti/ti_iic.c
594
} else if (stat & I2C_IRQSTATUS_RRDY) {
sys/arch/arm/ti/ti_iic.c
610
ti_iic_do_write(struct ti_iic_softc *sc, uint32_t stat)
sys/arch/arm/ti/ti_iic.c
614
DPRINTF(("ti_iic_do_write stat %#x\n", stat));
sys/arch/arm/ti/ti_iic.c
616
if (stat & I2C_IRQSTATUS_XDR) {
sys/arch/arm/ti/ti_iic.c
621
} else if (stat & I2C_IRQSTATUS_XRDY) {
sys/arch/arm/ti/ti_motg.c
189
uint32_t stat, stat0, stat1;
sys/arch/arm/ti/ti_motg.c
195
stat = TIOTG_USBC_READ4(sc, USBCTRL_STAT);
sys/arch/arm/ti/ti_motg.c
199
sc->sc_ctrlport, stat0, stat1, stat);
sys/arch/arm/ti/ti_motg.c
208
motg_intr_vbus(&sc->sc_motg, stat & 0x1);
sys/arch/arm/ti/ti_sdhc.c
257
uint32_t clkd, stat;
sys/arch/arm/ti/ti_sdhc.c
377
stat = SDHC_READ(sc, SDHC_NINTR_STATUS);
sys/arch/arm/ti/ti_sdhc.c
378
SDHC_WRITE(sc, SDHC_NINTR_STATUS, stat | SDHC_COMMAND_COMPLETE);
sys/arch/atari/dev/kbd.c
427
uint8_t stat, code = 0 /* XXX gcc */;
sys/arch/atari/dev/kbd.c
434
stat = KBD->ac_cs;
sys/arch/atari/dev/kbd.c
435
rndstat = stat;
sys/arch/atari/dev/kbd.c
436
while ((stat & (A_RXRDY | A_OE | A_PE)) != 0) {
sys/arch/atari/dev/kbd.c
445
stat = KBD->ac_cs;
sys/arch/atari/dev/ser.c
1429
uint8_t stat, c;
sys/arch/atari/dev/ser.c
1433
while (!ISSET(stat = MFP->mf_rsr, RSR_BFULL)) {
sys/arch/atari/dev/ser.c
1434
if (!ISSET(stat, RSR_ENAB)) /* XXX */
sys/arch/atari/dev/ser.c
1436
if (stat & (RSR_FERR|RSR_PERR|RSR_OERR))
sys/arch/atari/dev/ser.c
1452
uint8_t stat, imra;
sys/arch/atari/dev/ser.c
1466
while (!ISSET(stat = MFP->mf_tsr, TSR_BE) && --timo)
sys/arch/atari/dev/ser.c
1474
while (!ISSET(stat = MFP->mf_tsr, TSR_BE) && --timo)
sys/arch/atari/stand/binpatch/binpatch.c
117
struct stat sb;
sys/arch/atari/stand/edahdi/edahdi.c
115
struct stat st;
sys/arch/atari/stand/installboot/installboot.c
199
struct stat sb;
sys/arch/atari/stand/installboot/installboot.c
201
if (stat(_PATH_UNIX, &sb) < 0) {
sys/arch/bebox/stand/boot/fd.c
140
int stat[STATUS_MAX]; /* result code */
sys/arch/bebox/stand/boot/fd.c
226
int *stat;
sys/arch/bebox/stand/boot/fd.c
233
stat = un->stat;
sys/arch/bebox/stand/boot/fd.c
243
fdSenseInt(ctlr, stat);
sys/arch/bebox/stand/boot/fd.c
244
if (stat[1] != START_CYL) {
sys/arch/bebox/stand/boot/fd.c
246
ctlr, unit, stat[0], stat[1]);
sys/arch/bebox/stand/boot/fd.c
267
fdSenseInt(un->ctlr, un->stat);
sys/arch/bebox/stand/boot/fd.c
299
int *stat = un->stat;
sys/arch/bebox/stand/boot/fd.c
307
fdDriveStatus(ctlr, unit, 0, stat);
sys/arch/bebox/stand/boot/fd.c
316
fdSenseInt(ctlr, stat);
sys/arch/bebox/stand/boot/fd.c
317
if (!(stat[0] & RESULT_SEEK)) {
sys/arch/bebox/stand/boot/fd.c
320
ctlr, unit, stat[0], cyl, stat[1]);
sys/arch/bebox/stand/boot/fd.c
355
int *stat = un->stat;
sys/arch/bebox/stand/boot/fd.c
367
fdSenseInt(ctlr, stat);
sys/arch/bebox/stand/boot/fd.c
368
if (!(stat[0] & RESULT_SEEK) || stat[1] != START_CYL) {
sys/arch/bebox/stand/boot/fd.c
370
ctlr, unit, stat[0]);
sys/arch/bebox/stand/boot/fd.c
505
register int *stat)
sys/arch/bebox/stand/boot/fd.c
512
*stat = (int)(result & 0xff);
sys/arch/bebox/stand/boot/fd.c
533
fdSenseInt(int ctlr, int *stat)
sys/arch/bebox/stand/boot/fd.c
540
*stat++ = (int)(result & 0xff);
sys/arch/bebox/stand/boot/fd.c
542
*stat++ = (int)(result & 0xff);
sys/arch/bebox/stand/boot/fd.c
553
int *stat = un->stat;
sys/arch/bebox/stand/boot/fd.c
585
stat[i] = (int)(result & 0xff);
sys/arch/bebox/stand/boot/fd.c
587
if (stat[0] & ST0_IC_MASK) { /* not normal terminate */
sys/arch/bebox/stand/boot/fd.c
588
if ((stat[1] & ~ST1_EN) || stat[2])
sys/arch/bebox/stand/boot/fd.c
599
printf(" st0 = 0x%x\n", stat[0]);
sys/arch/bebox/stand/boot/fd.c
600
printf(" st1 = 0x%x\n", stat[1]);
sys/arch/bebox/stand/boot/fd.c
601
printf(" st2 = 0x%x\n", stat[2]);
sys/arch/bebox/stand/boot/fd.c
602
printf(" c = 0x%x\n", stat[3]);
sys/arch/bebox/stand/boot/fd.c
603
printf(" h = 0x%x\n", stat[4]);
sys/arch/bebox/stand/boot/fd.c
604
printf(" r = 0x%x\n", stat[5]);
sys/arch/bebox/stand/boot/fd.c
605
printf(" n = 0x%x\n", stat[6]);
sys/arch/cesfic/dev/zs.c
360
uint8_t rr0, stat;
sys/arch/cesfic/dev/zs.c
371
stat = zs_read_reg(cs, 1) & (ZSRR1_FE | ZSRR1_DO | ZSRR1_PE);
sys/arch/cesfic/dev/zs.c
372
if (stat) {
sys/arch/evbarm/dev/plcom.c
2050
u_int stat = 0;
sys/arch/evbarm/dev/plcom.c
2054
stat = PREAD1(pi, PL010COM_IIR);
sys/arch/evbarm/dev/plcom.c
2055
ret = ISSET(stat, PL010_IIR_IMASK);
sys/arch/evbarm/dev/plcom.c
2059
stat = PREAD4(pi, PL011COM_MIS);
sys/arch/evbarm/dev/plcom.c
2060
ret = ISSET(stat, PL011_INT_ALLMASK);
sys/arch/evbarm/dev/plcom.c
2063
*istatus = stat;
sys/arch/evbarm/dev/plcom.c
2450
int cin, stat;
sys/arch/evbarm/dev/plcom.c
2452
&& !ISSET(stat = PREAD1(pi, PL01XCOM_FR), PL01X_FR_RXFE)) {
sys/arch/evbarm/stand/board/ns16550.c
101
uint8_t stat;
sys/arch/evbarm/stand/board/ns16550.c
103
while (!ISSET(stat = INB(com_lsr), LSR_RXRDY))
sys/arch/evbarm/stand/board/ns16550.c
111
uint8_t stat;
sys/arch/evbarm/stand/board/ns16550.c
116
while (!ISSET(stat = INB(com_lsr), LSR_TXRDY) && --timo)
sys/arch/evbarm/stand/board/ns16550.c
123
while (!ISSET(stat = INB(com_lsr), LSR_TXRDY) && --timo)
sys/arch/evbarm/stand/board/sscom.c
145
uint8_t stat __unused;
sys/arch/evbarm/stand/board/sscom.c
151
stat = INB(SSCOM_UERSTAT); /* XXX */
sys/arch/evbarm/stand/board/sscom.c
159
uint32_t stat;
sys/arch/evbarm/stand/board/sscom.c
164
while (ISSET(stat = INW(SSCOM_UFSTAT), UFSTAT_TXFULL) && --timo)
sys/arch/evbarm/stand/board/sscom.c
172
while (!ISSET(stat = INW(SSCOM_UFSTAT), UFSTAT_TXFULL) && --timo)
sys/arch/evbarm/stand/boot2440/dm9000.c
331
unsigned int bound, val, mark, stat, len, upto, cnt;
sys/arch/evbarm/stand/boot2440/dm9000.c
351
stat = CSR_READ_1(l, RSR);
sys/arch/evbarm/stand/boot2440/dm9000.c
352
printf("dm9k_recv: mark %x, RSR %x\n", mark, stat);
sys/arch/evbarm/stand/boot2440/dm9000.c
357
stat = CSR_READ_2(l, MRCMD); /* stat in [15:8] */
sys/arch/evbarm/stand/boot2440/dm9000.c
361
if (stat & (RSR_MF<<8)) {
sys/arch/evbarm/stand/boot2440/main.c
466
uint32_t stat;
sys/arch/evbarm/stand/boot2440/main.c
472
stat = CSR_READ(S3C2440_UART_BASE(0) + SSCOM_UTRSTAT);
sys/arch/evbarm/stand/boot2440/main.c
473
} while ((stat & UTRSTAT_TXEMPTY) == 0);
sys/arch/evbmips/stand/sbmips/common/bootxx.c
83
struct stat sb;
sys/arch/evbppc/virtex/dev/if_temac.c
1044
uint32_t stat;
sys/arch/evbppc/virtex/dev/if_temac.c
1103
stat =
sys/arch/evbppc/virtex/dev/if_temac.c
1114
sc->sc_rxdescs[which].desc_stat = stat;
sys/arch/evbppc/virtex/dev/if_temac.c
1125
uint32_t stat, rxstat, rxsize;
sys/arch/evbppc/virtex/dev/if_temac.c
1150
stat = sc->sc_rxdescs[sc->sc_rxreap].desc_stat;
sys/arch/evbppc/virtex/dev/if_temac.c
1153
if ((stat & CDMAC_STAT_DONE) == 0)
sys/arch/evbppc/virtex/dev/if_temac.c
1163
if ((stat & (CDMAC_STAT_EOP | CDMAC_STAT_SOP)) !=
sys/arch/evbppc/virtex/dev/if_temac.c
1167
"stat = %#08x\n", stat);
sys/arch/evbppc/virtex/dev/if_temac.c
916
uint32_t stat;
sys/arch/evbppc/virtex/dev/if_temac.c
920
if ((stat = cdmac_tx_stat(sc)) & CDMAC_STAT_ERROR) {
sys/arch/evbppc/virtex/dev/if_temac.c
923
stat);
sys/arch/evbppc/virtex/dev/if_temac.c
931
aprint_debug_dev(sc->sc_dev, "tx intr 0x%08x\n", stat);
sys/arch/evbppc/virtex/dev/if_temac.c
940
uint32_t stat;
sys/arch/evbppc/virtex/dev/if_temac.c
944
if ((stat = cdmac_rx_stat(sc)) & CDMAC_STAT_ERROR) {
sys/arch/evbppc/virtex/dev/if_temac.c
947
stat);
sys/arch/evbppc/virtex/dev/if_temac.c
955
aprint_debug_dev(sc->sc_dev, "rx intr 0x%08x\n", stat);
sys/arch/evbppc/virtex/dev/pstwo.c
156
uint32_t stat;
sys/arch/evbppc/virtex/dev/pstwo.c
158
stat = bus_space_read_4(sc->sc_iot, sc->sc_ioh, PSTWO_INTR_STAT);
sys/arch/evbppc/virtex/dev/pstwo.c
159
bus_space_write_4(sc->sc_iot, sc->sc_ioh, PSTWO_INTR_ACK, stat);
sys/arch/evbppc/virtex/dev/pstwo.c
161
if (stat & INTR_RX_FULL) {
sys/arch/evbppc/virtex/dev/xlcom.c
307
uint32_t stat;
sys/arch/evbppc/virtex/dev/xlcom.c
316
stat = bus_space_read_4(sc->sc_iot, sc->sc_ioh, XLCOM_STAT);
sys/arch/evbppc/virtex/dev/xlcom.c
317
if (stat & STAT_TX_FULL)
sys/arch/evbppc/virtex/dev/xlcom.c
337
uint32_t stat;
sys/arch/evbppc/virtex/dev/xlcom.c
342
stat = bus_space_read_4(sc->sc_iot, sc->sc_ioh, XLCOM_STAT);
sys/arch/evbppc/virtex/dev/xlcom.c
345
while ((stat & STAT_RX_DATA) != 0 && sc->sc_ravail > 0) {
sys/arch/evbppc/virtex/dev/xlcom.c
351
c |= ((stat & STAT_PARITY_ERR) != 0 ? XLCOM_CHAR_PE : 0) |
sys/arch/evbppc/virtex/dev/xlcom.c
352
((stat & STAT_FRAME_ERR) != 0 ? XLCOM_CHAR_FE : 0);
sys/arch/evbppc/virtex/dev/xlcom.c
357
stat = bus_space_read_4(sc->sc_iot, sc->sc_ioh, XLCOM_STAT);
sys/arch/evbppc/virtex/dev/xlcom.c
369
uint32_t stat;
sys/arch/evbppc/virtex/dev/xlcom.c
377
stat = bus_space_read_4(sc->sc_iot, sc->sc_ioh, XLCOM_STAT);
sys/arch/evbppc/virtex/dev/xlcom.c
384
if (stat & STAT_RX_DATA)
sys/arch/evbppc/virtex/dev/xlcom.c
393
if (stat & STAT_TX_EMPTY)
sys/arch/ews4800mips/stand/common/bootfs.c
180
bfs_stat(struct open_file *f, struct stat *stat)
sys/arch/ews4800mips/stand/common/bootfs.c
184
stat->st_size = file->size;
sys/arch/ews4800mips/stand/common/datafs.c
139
data_stat(struct open_file *f, struct stat *stat)
sys/arch/ews4800mips/stand/common/datafs.c
142
stat->st_size = __data.size;
sys/arch/hp300/dev/ct.c
261
u_char stat, cmd[3];
sys/arch/hp300/dev/ct.c
289
hpibrecv(device_unit(parent), ha->ha_slave, C_QSTAT, &stat,
sys/arch/hp300/dev/ct.c
290
sizeof(stat));
sys/arch/hp300/dev/ct.c
293
if (stat == 0) {
sys/arch/hp300/dev/ct.c
333
uint8_t stat;
sys/arch/hp300/dev/ct.c
342
hpibrecv(ctlr, slave, C_QSTAT, &stat, sizeof(stat));
sys/arch/hp300/dev/ct.c
350
hpibrecv(ctlr, slave, C_QSTAT, &stat, sizeof(stat));
sys/arch/hp300/dev/ct.c
360
hpibrecv(ctlr, slave, C_QSTAT, &stat, sizeof(stat));
sys/arch/hp300/dev/ct.c
368
hpibrecv(ctlr, slave, C_QSTAT, &stat, sizeof(stat));
sys/arch/hp300/dev/ct.c
375
uint8_t stat;
sys/arch/hp300/dev/ct.c
409
cc = hpibrecv(ctlr, slave, C_QSTAT, &stat, sizeof(stat));
sys/arch/hp300/dev/ct.c
410
if (cc != sizeof(stat))
sys/arch/hp300/dev/ct.c
733
uint8_t stat;
sys/arch/hp300/dev/ct.c
758
hpibrecv(ctlr, slave, C_QSTAT, &stat, 1);
sys/arch/hp300/dev/ct.c
763
if (stat) {
sys/arch/hp300/dev/ct.c
769
hpibrecv(ctlr, slave, C_QSTAT, &stat, 1);
sys/arch/hp300/dev/ct.c
773
stat, sc->sc_stat.c_aef,
sys/arch/hp300/dev/ct.c
776
if (stat == 0) {
sys/arch/hp300/dev/dcm.c
1574
int s, c, stat;
sys/arch/hp300/dev/dcm.c
1590
stat = dcm_cn->dcm_iir;
sys/arch/hp300/dev/dcm.c
1593
stat = fifo->data_stat;
sys/arch/hp300/dev/dcm.c
1595
__USE(stat);
sys/arch/hp300/dev/dcm.c
1608
int s, stat;
sys/arch/hp300/dev/dcm.c
1638
stat = dcm_cn->dcm_iir;
sys/arch/hp300/dev/dcm.c
1641
__USE(stat);
sys/arch/hp300/dev/dcm.c
810
int c, stat;
sys/arch/hp300/dev/dcm.c
851
stat = fifo->data_stat;
sys/arch/hp300/dev/dcm.c
862
c&0xFF, c, stat&0xFF,
sys/arch/hp300/dev/dcm.c
868
if (stat & RD_MASK) {
sys/arch/hp300/dev/dcm.c
874
stat, c&0xFF, c);
sys/arch/hp300/dev/dcm.c
876
if (stat & (RD_BD | RD_FE))
sys/arch/hp300/dev/dcm.c
878
else if (stat & RD_PE)
sys/arch/hp300/dev/dcm.c
880
else if (stat & RD_OVF)
sys/arch/hp300/dev/dcm.c
884
else if (stat & RD_OE)
sys/arch/hp300/dev/dma.c
598
int i, stat;
sys/arch/hp300/dev/dma.c
607
stat = DMA_STAT(dc);
sys/arch/hp300/dev/dma.c
608
if ((stat & DMA_INTR) == 0)
sys/arch/hp300/dev/dma.c
617
dc->dm_flags, i, stat, dc->dm_cur + 1);
sys/arch/hp300/dev/dma.c
619
if (stat & DMA_ARMED)
sys/arch/hp300/dev/rd.c
1084
uint8_t stat = 13; /* in case hpibrecv fails */
sys/arch/hp300/dev/rd.c
1125
rv = hpibrecv(ctlr, slave, C_QSTAT, &stat, 1);
sys/arch/hp300/dev/rd.c
1126
if (rv != 1 || stat != 0) {
sys/arch/hp300/dev/rd.c
1129
printf("rdintr: recv failed or bad stat %d\n", stat);
sys/arch/hp300/dev/rd.c
1151
uint8_t stat;
sys/arch/hp300/dev/rd.c
1179
rv = hpibrecv(c, s, C_QSTAT, &stat, 1);
sys/arch/hp300/dev/rd.c
1180
if (rv != 1 || stat != 0) {
sys/arch/hp300/dev/rd.c
1184
rv, stat);
sys/arch/hp300/dev/rd.c
1472
char stat;
sys/arch/hp300/dev/rd.c
1538
hpibrecv(ctlr, slave, C_QSTAT, &stat, 1);
sys/arch/hp300/dev/rd.c
1539
if (stat)
sys/arch/hp300/dev/rd.c
565
uint8_t stat, cmd[3];
sys/arch/hp300/dev/rd.c
592
stat = 0;
sys/arch/hp300/dev/rd.c
599
hpibrecv(ctlr, slave, C_QSTAT, &stat, sizeof(stat));
sys/arch/hp300/dev/rd.c
601
if (stat != 0 || desc.d_name == 0) {
sys/arch/hp300/dev/rd.c
720
uint8_t stat;
sys/arch/hp300/dev/rd.c
726
hpibrecv(ctlr, slave, C_QSTAT, &stat, sizeof(stat));
sys/arch/hp300/dev/rd.c
734
hpibrecv(ctlr, slave, C_QSTAT, &stat, sizeof(stat));
sys/arch/hp300/dev/rd.c
744
hpibrecv(ctlr, slave, C_QSTAT, &stat, sizeof(stat));
sys/arch/hp300/stand/common/apci.c
149
short stat;
sys/arch/hp300/stand/common/apci.c
152
if (((stat = apci->ap_lsr) & LSR_RXRDY) == 0)
sys/arch/hp300/stand/common/apci.c
171
short stat;
sys/arch/hp300/stand/common/apci.c
175
while (((stat = apci->ap_lsr) & LSR_TXRDY) == 0 && --timo)
sys/arch/hp300/stand/common/apci.c
180
while (((stat = apci->ap_lsr) & LSR_TXRDY) == 0 && --timo)
sys/arch/hp300/stand/common/ct.c
101
hpibrecv(ctlr, unit, C_QSTAT, &stat, 1);
sys/arch/hp300/stand/common/ct.c
110
uint8_t stat, cmd[3];
sys/arch/hp300/stand/common/ct.c
135
hpibrecv(ctlr, unit, C_QSTAT, &stat, sizeof(stat));
sys/arch/hp300/stand/common/ct.c
137
if (!stat) {
sys/arch/hp300/stand/common/ct.c
224
uint8_t stat;
sys/arch/hp300/stand/common/ct.c
270
hpibrecv(ctlr, unit, C_QSTAT, &stat, 1);
sys/arch/hp300/stand/common/ct.c
271
if (stat) {
sys/arch/hp300/stand/common/ct.c
272
stat = cterror(ctlr, unit);
sys/arch/hp300/stand/common/ct.c
273
if (stat == 0)
sys/arch/hp300/stand/common/ct.c
275
if (stat == 2)
sys/arch/hp300/stand/common/ct.c
293
uint8_t stat;
sys/arch/hp300/stand/common/ct.c
301
hpibrecv(ctlr, unit, C_QSTAT, &stat, 1);
sys/arch/hp300/stand/common/ct.c
302
if (stat) {
sys/arch/hp300/stand/common/ct.c
303
printf("ct%d: request status fail %d\n", unit, stat);
sys/arch/hp300/stand/common/ct.c
86
uint8_t stat;
sys/arch/hp300/stand/common/ct.c
88
if (hpibrecv(ctlr, unit, C_QSTAT, &stat, 1) != 1 || stat)
sys/arch/hp300/stand/common/dca.c
111
short stat;
sys/arch/hp300/stand/common/dca.c
114
if (((stat = dca->dca_lsr) & LSR_RXRDY) == 0)
sys/arch/hp300/stand/common/dca.c
133
short stat;
sys/arch/hp300/stand/common/dca.c
137
while (((stat = dca->dca_lsr) & LSR_TXRDY) == 0 && --timo)
sys/arch/hp300/stand/common/dca.c
142
while (((stat = dca->dca_lsr) & LSR_TXRDY) == 0 && --timo)
sys/arch/hp300/stand/common/if_le.c
308
le_error(int unit, char *str, uint16_t stat)
sys/arch/hp300/stand/common/if_le.c
311
if (stat & LE_BABL)
sys/arch/hp300/stand/common/if_le.c
313
if (stat & LE_CERR)
sys/arch/hp300/stand/common/if_le.c
315
if (stat & LE_MISS)
sys/arch/hp300/stand/common/if_le.c
317
if (stat & LE_MERR) {
sys/arch/hp300/stand/common/if_le.c
457
int stat;
sys/arch/hp300/stand/common/if_le.c
463
stat = lerdcsr(sc, 0);
sys/arch/hp300/stand/common/if_le.c
464
lewrcsr(sc, 0, stat & (LE_BABL | LE_MISS | LE_MERR | LE_RINT));
sys/arch/hp300/stand/common/if_le.c
476
if (stat & (LE_BABL | LE_CERR | LE_MISS | LE_MERR))
sys/arch/hp300/stand/common/if_le.c
477
le_error(unit, "le_poll", stat);
sys/arch/hp300/stand/common/if_le.c
493
unit, length, stat);
sys/arch/hp300/stand/common/if_le.c
532
int timo, stat;
sys/arch/hp300/stand/common/if_le.c
544
stat = lerdcsr(sc, 0);
sys/arch/hp300/stand/common/if_le.c
545
lewrcsr(sc, 0, stat & (LE_BABL | LE_MISS | LE_MERR | LE_TINT));
sys/arch/hp300/stand/common/if_le.c
546
if (stat & (LE_BABL | LE_CERR | LE_MISS | LE_MERR))
sys/arch/hp300/stand/common/if_le.c
547
le_error(unit, "le_put(way before xmit)", stat);
sys/arch/hp300/stand/common/if_le.c
569
stat = lerdcsr(sc, 0);
sys/arch/hp300/stand/common/if_le.c
570
if (stat & (LE_BABL | LE_CERR | LE_MISS | LE_MERR))
sys/arch/hp300/stand/common/if_le.c
571
le_error(unit, "le_put(before xmit)", stat);
sys/arch/hp300/stand/common/if_le.c
573
stat = lerdcsr(sc, 0);
sys/arch/hp300/stand/common/if_le.c
574
if (stat & (LE_BABL | LE_CERR | LE_MISS | LE_MERR))
sys/arch/hp300/stand/common/if_le.c
575
le_error(unit, "le_put(after xmit)", stat);
sys/arch/hp300/stand/common/if_le.c
579
unit, stat);
sys/arch/hp300/stand/common/if_le.c
580
if (stat & LE_SERR)
sys/arch/hp300/stand/common/if_le.c
581
le_error(unit, "le_put(timeout)", stat);
sys/arch/hp300/stand/common/if_le.c
582
if (stat & LE_INIT) {
sys/arch/hp300/stand/common/if_le.c
590
stat = lerdcsr(sc, 0);
sys/arch/hp300/stand/common/if_le.c
591
} while ((stat & LE_TINT) == 0);
sys/arch/hp300/stand/common/if_le.c
593
if (stat & (LE_BABL |/* LE_CERR |*/ LE_MISS | LE_MERR)) {
sys/arch/hp300/stand/common/if_le.c
595
le_error(unit, "le_put(xmit error)", stat);
sys/arch/hp300/stand/common/rawfs.c
157
rawfs_stat(struct open_file *f, struct stat *sb)
sys/arch/hp300/stand/common/rawfs.h
13
int rawfs_stat(struct open_file *, struct stat *);
sys/arch/hp300/stand/common/rd.c
135
uint8_t stat;
sys/arch/hp300/stand/common/rd.c
145
hpibrecv(ctlr, unit, C_QSTAT, &stat, 1);
sys/arch/hp300/stand/common/rd.c
152
uint8_t stat, cmd[3];
sys/arch/hp300/stand/common/rd.c
171
hpibrecv(ctlr, unit, C_QSTAT, &stat, sizeof(stat));
sys/arch/hp300/stand/common/rd.c
173
if (!stat) {
sys/arch/hp300/stand/common/rd.c
313
uint8_t stat;
sys/arch/hp300/stand/common/rd.c
340
hpibrecv(ctlr, unit, C_QSTAT, &stat, 1);
sys/arch/hp300/stand/common/rd.c
341
if (stat) {
sys/arch/hp300/stand/common/rd.c
356
uint8_t stat;
sys/arch/hp300/stand/common/rd.c
364
hpibrecv(ctlr, unit, C_QSTAT, &stat, 1);
sys/arch/hp300/stand/common/rd.c
365
if (stat) {
sys/arch/hp300/stand/common/rd.c
367
ctlr, unit, part, stat);
sys/arch/hp300/stand/common/sd.c
100
if (stat) {
sys/arch/hp300/stand/common/sd.c
102
ctlr, unit, stat);
sys/arch/hp300/stand/common/sd.c
111
stat = scsi_inquiry(ctlr, unit, (u_char *)&inqbuf, sizeof(inqbuf));
sys/arch/hp300/stand/common/sd.c
112
if (stat == 0) {
sys/arch/hp300/stand/common/sd.c
125
stat = scsi_read_capacity(ctlr, unit,
sys/arch/hp300/stand/common/sd.c
127
if (stat == 0) {
sys/arch/hp300/stand/common/sd.c
254
int stat;
sys/arch/hp300/stand/common/sd.c
275
stat = scsi_tt_read(ctlr, unit, buf, size, blk, nblk);
sys/arch/hp300/stand/common/sd.c
277
stat = scsi_tt_write(ctlr, unit, buf, size, blk, nblk);
sys/arch/hp300/stand/common/sd.c
278
if (stat) {
sys/arch/hp300/stand/common/sd.c
280
ctlr, unit, ss->sc_part, blk, stat);
sys/arch/hp300/stand/common/sd.c
87
u_char stat;
sys/arch/hp300/stand/common/sd.c
93
stat = scsi_test_unit_rdy(ctlr, unit);
sys/arch/hp300/stand/common/sd.c
94
if (stat) {
sys/arch/hp300/stand/common/sd.c
96
if (stat == STS_CHECKCOND) {
sys/arch/hp300/stand/common/sd.c
98
stat = scsi_test_unit_rdy(ctlr, unit);
sys/arch/hp300/stand/inst/inst.c
553
struct stat st;
sys/arch/hp300/stand/mkboot/mkboot.c
232
struct stat statb;
sys/arch/hp300/stand/mkboot/mkboot.c
288
struct stat statb;
sys/arch/hp300/stand/mkboot/mkboot.c
294
stat(name, &statb);
sys/arch/hpc/stand/hpcboot/file_ufs.cpp
145
struct stat st;
sys/arch/hpcmips/dev/ucbio.c
176
struct betty_port_status *stat = &sc->sc_stat;
sys/arch/hpcmips/dev/ucbio.c
179
sc->sc_ostat = *stat; /* save old status */
sys/arch/hpcmips/dev/ucbio.c
180
dir = stat->dir = txsibsf0_reg_read(tc, UCB1200_IO_DIR_REG);
sys/arch/hpcmips/dev/ucbio.c
182
stat->out = data & dir;
sys/arch/hpcmips/dev/ucbio.c
183
stat->in = data & ~dir;
sys/arch/hpcmips/dev/ucbio.c
191
struct betty_port_status *stat = &sc->sc_stat;
sys/arch/hpcmips/dev/ucbio.c
195
dbg_bit_print(stat->in);
sys/arch/hpcmips/dev/ucbio.c
197
dbg_bit_print(stat->out);
sys/arch/hpcmips/dev/ucbio.c
199
dbg_bit_print(stat->dir);
sys/arch/hpcmips/stand/lcboot/com.c
90
u_int8_t stat;
sys/arch/hpcmips/stand/lcboot/com.c
98
stat = REGREAD_1(VR4181_SIU_ADDR, com_iir);
sys/arch/hpcmips/stand/lcboot/conf.c
64
.stat = tftp_stat,
sys/arch/hpcmips/stand/libsa/winfs.c
127
win_stat(struct open_file *f, struct stat *sb)
sys/arch/hpcmips/stand/libsa/winfs.h
44
int win_stat(struct open_file *f, struct stat *sb);
sys/arch/hpcmips/tx/tx39io.c
449
struct tx39io_port_status *stat;
sys/arch/hpcmips/tx/tx39io.c
453
stat = &sc->sc_stat_mfio;
sys/arch/hpcmips/tx/tx39io.c
457
__print_port_status(stat, i);
sys/arch/hpcmips/tx/tx39io.c
458
printf(ISBITSET(stat->u.select, i) ? " MFIO(%s)\n" : " %s\n",
sys/arch/hpcmips/tx/tx39io.c
468
struct tx39io_port_status *stat;
sys/arch/hpcmips/tx/tx39io.c
473
stat = &sc->sc_stat_io;
sys/arch/hpcmips/tx/tx39io.c
477
ISBITSET(stat->u.debounce, i) ? "On " : "Off");
sys/arch/hpcmips/tx/tx39io.c
478
__print_port_status(stat, i);
sys/arch/hpcmips/tx/tx39io.c
484
__print_port_status(struct tx39io_port_status *stat, int i)
sys/arch/hpcmips/tx/tx39io.c
487
ISBITSET(stat->dir, i) ? "Out" : "In ",
sys/arch/hpcmips/tx/tx39io.c
488
ISBITSET(stat->out, i) ? 1 : 0,
sys/arch/hpcmips/tx/tx39io.c
489
ISBITSET(stat->in, i) ? 1 : 0,
sys/arch/hpcmips/tx/tx39io.c
490
ISBITSET(stat->power, i) ? "Down ": "Active");
sys/arch/hpcmips/vr/flash_vrip.c
375
int stat;
sys/arch/hpcmips/vr/flash_vrip.c
394
if ((stat = flash_block_erase(sc, off)) != 0) {
sys/arch/hpcmips/vr/flash_vrip.c
395
printf("block erase failed status = 0x%x\n", stat);
sys/arch/hpcmips/vr/flash_vrip.c
398
if ((stat = flash_block_write(sc, off)) != 0) {
sys/arch/hpcmips/vr/flash_vrip.c
399
printf("block write failed status = 0x%x\n", stat);
sys/arch/hppa/dev/gftfb.c
211
uint8_t stat;
sys/arch/hppa/dev/gftfb.c
214
stat = gftfb_read1(sc, NGLE_BUSY);
sys/arch/hppa/dev/gftfb.c
215
if (stat == 0)
sys/arch/hppa/dev/gftfb.c
216
stat = gftfb_read1(sc, NGLE_BUSY);
sys/arch/hppa/dev/gftfb.c
217
} while (stat != 0);
sys/arch/hppa/dev/hyperfb.c
190
uint8_t stat;
sys/arch/hppa/dev/hyperfb.c
193
stat = hyperfb_read1(sc, NGLE_BUSY);
sys/arch/hppa/dev/hyperfb.c
194
if (stat == 0)
sys/arch/hppa/dev/hyperfb.c
195
stat = hyperfb_read1(sc, NGLE_BUSY);
sys/arch/hppa/dev/hyperfb.c
196
} while (stat != 0);
sys/arch/hppa/include/pdc.h
519
u_int stat; /* HPA.io_status style error returns */
sys/arch/hppa/stand/common/libsa.h
84
int lif_stat(struct open_file *, struct stat *);
sys/arch/hppa/stand/common/lif.c
222
lif_stat(struct open_file *f, struct stat *sb)
sys/arch/hppa/stand/mkboot/mkboot.c
416
struct stat statb;
sys/arch/hppa/stand/mkboot/mkboot.c
422
stat(file, &statb);
sys/arch/i386/stand/bootxx/boot1.c
70
struct stat sb;
sys/arch/i386/stand/dosboot/dosfile.c
178
dos_stat(struct open_file *f, struct stat *sb)
sys/arch/i386/stand/lib/comio_direct.c
113
u_char stat, c;
sys/arch/i386/stand/lib/comio_direct.c
123
while (!ISSET(stat = inb(combase + com_lsr), LSR_RXRDY))
sys/arch/i386/stand/lib/comio_direct.c
142
u_char stat;
sys/arch/i386/stand/lib/comio_direct.c
160
while (!ISSET(stat = inb(combase + com_lsr), LSR_TXRDY)
sys/arch/i386/stand/lib/comio_direct.c
167
while (!ISSET(stat = inb(combase + com_lsr), LSR_TXRDY)
sys/arch/i386/stand/lib/exec.c
677
struct stat st;
sys/arch/ia64/stand/common/ls.c
114
if (stat(buf, &sb))
sys/arch/ia64/stand/common/ls.c
143
struct stat sb;
sys/arch/ia64/stand/common/ls.c
62
struct stat sb;
sys/arch/ia64/stand/efi/libefi/efifs.c
225
efifs_stat(struct open_file *f, struct stat *sb)
sys/arch/ia64/stand/efi/libefi/efifs_ls.c
131
struct stat sb;
sys/arch/ia64/stand/efi/libefi/efifsdev.h
38
int efifs_stat(struct open_file *, struct stat *);
sys/arch/ia64/stand/ia64/ski/conf.c
59
extern int skifs_stat(struct open_file *, struct stat *);
sys/arch/ia64/stand/ia64/ski/skifs.c
120
skifs_stat(struct open_file *f, struct stat *sb)
sys/arch/ia64/stand/ia64/ski/skifs.c
82
struct disk_stat stat;
sys/arch/ia64/stand/ia64/ski/skifs.c
87
stat.fd = (u_int64_t) f->f_fsdata;
sys/arch/ia64/stand/ia64/ski/skifs.c
88
ssc((u_int64_t)&stat, 0, 0, 0, SSC_WAIT_COMPLETION);
sys/arch/ia64/stand/ia64/ski/skifs.c
90
*resid = size - stat.count;
sys/arch/ia64/stand/ia64/ski/skifs.c
91
f->f_offset += stat.count;
sys/arch/landisk/stand/bootxx/boot1.c
59
struct stat sb;
sys/arch/luna68k/dev/siotty.c
253
put->stat = rr & 0xff;
sys/arch/luna68k/dev/siotty.c
308
uint8_t stat;
sys/arch/luna68k/dev/siotty.c
321
stat = get->stat;
sys/arch/luna68k/dev/siotty.c
322
if ((stat & RR_FRAMING) != 0)
sys/arch/luna68k/dev/siotty.c
324
else if ((stat & RR_PARITY) != 0)
sys/arch/luna68k/dev/siotty.c
81
uint8_t stat;
sys/arch/luna68k/stand/boot/lance.c
192
uint16_t stat;
sys/arch/luna68k/stand/boot/lance.c
196
stat = lereg->ler_rdp;
sys/arch/luna68k/stand/boot/lance.c
198
stat & (LE_C0_BABL | LE_C0_CERR | LE_C0_MISS | LE_C0_TINT);
sys/arch/luna68k/stand/boot/lance.c
200
if (stat & (LE_C0_BABL | LE_C0_CERR | LE_C0_MISS | LE_C0_MERR))
sys/arch/luna68k/stand/boot/lance.c
202
__func__, stat);
sys/arch/luna68k/stand/boot/lance.c
223
stat = lereg->ler_rdp;
sys/arch/luna68k/stand/boot/lance.c
225
if (stat & LE_C0_ERR) {
sys/arch/luna68k/stand/boot/lance.c
226
printf("%s: TX error (CSR0=%x)\n", __func__, stat);
sys/arch/luna68k/stand/boot/lance.c
227
if (stat & LE_C0_CERR) {
sys/arch/luna68k/stand/boot/lance.c
233
printf("%s: TX timeout (CSR0=%x)\n", __func__, stat);
sys/arch/luna68k/stand/boot/lance.c
236
} while ((stat & LE_C0_TINT) == 0);
sys/arch/luna68k/stand/boot/sd.c
232
int stat;
sys/arch/luna68k/stand/boot/sd.c
267
stat = scsi_immed_command(sc->sc_ctlr, sc->sc_tgt, sc->sc_lun,
sys/arch/luna68k/stand/boot/sd.c
269
if (stat != 0)
sys/arch/m68k/m68k/pmap_68k.c
2106
#define pmap_stat_update(pm, stat, delta) \
sys/arch/m68k/m68k/pmap_68k.c
2107
pmap_stat_update_impl(&(pm)->pm_stats.stat, (delta))
sys/arch/m68k/m68k/pmap_68k.c
2115
#define pmap_stat_set(pm, stat, val) \
sys/arch/m68k/m68k/pmap_68k.c
2116
pmap_stat_set_impl(&(pm)->pm_stats.stat, (val))
sys/arch/macppc/dev/if_bm.c
432
int stat;
sys/arch/macppc/dev/if_bm.c
434
stat = bmac_read_reg(sc, STATUS);
sys/arch/macppc/dev/if_bm.c
435
if (stat == 0)
sys/arch/macppc/dev/if_bm.c
439
printf("bmac_intr status = 0x%x\n", stat);
sys/arch/macppc/dev/if_bm.c
442
if (stat & IntFrameSent) {
sys/arch/macppc/stand/installboot/installboot.h
74
struct stat fsstat; /* fstat(2) of fsfd */
sys/arch/macppc/stand/installboot/installboot.h
77
struct stat s1stat; /* fstat(2) of s1fd */
sys/arch/macppc/stand/ofwboot/hfs.c
100
hfs_stat(struct open_file *f, struct stat *sb)
sys/arch/macppc/stand/ofwboot/hfs.h
8
int hfs_stat(struct open_file *, struct stat *);
sys/arch/mips/adm5120/dev/if_admsw.c
904
uint32_t stat;
sys/arch/mips/adm5120/dev/if_admsw.c
974
stat = sc->sc_rxldescs[i].status;
sys/arch/mips/adm5120/dev/if_admsw.c
975
len = (stat & ADM5120_DMA_LEN) >> ADM5120_DMA_LENSHIFT;
sys/arch/mips/adm5120/dev/if_admsw.c
977
port = (stat & ADM5120_DMA_PORTID) >> ADM5120_DMA_PORTSHIFT;
sys/arch/mips/adm5120/dev/if_admsw.c
996
if ((stat & ADM5120_DMA_TYPE) == ADM5120_DMA_TYPE_IP) {
sys/arch/mips/adm5120/dev/if_admsw.c
998
if (stat & ADM5120_DMA_CSUMFAIL)
sys/arch/mips/alchemy/dev/if_aumac.c
543
uint32_t stat;
sys/arch/mips/alchemy/dev/if_aumac.c
558
stat = bus_space_read_4(sc->sc_st, sc->sc_dma_sh,
sys/arch/mips/alchemy/dev/if_aumac.c
562
if (stat & TX_STAT_FA) {
sys/arch/mips/alchemy/dev/if_aumac.c
569
if (stat & TX_STAT_EC) {
sys/arch/mips/alchemy/dev/if_aumac.c
571
} else if (TX_STAT_CC(stat)) {
sys/arch/mips/alchemy/dev/if_aumac.c
573
TX_STAT_CC(stat));
sys/arch/mips/alchemy/dev/if_aumac.c
609
uint32_t stat;
sys/arch/mips/alchemy/dev/if_aumac.c
619
stat = bus_space_read_4(sc->sc_st, sc->sc_dma_sh,
sys/arch/mips/alchemy/dev/if_aumac.c
628
if (stat & RX_STAT_ERRS) {
sys/arch/mips/alchemy/dev/if_aumac.c
642
if (stat & RX_STAT_MI)
sys/arch/mips/alchemy/dev/if_aumac.c
645
if (stat & RX_STAT_UC)
sys/arch/mips/alchemy/dev/if_aumac.c
647
if (stat & RX_STAT_LE)
sys/arch/mips/alchemy/dev/if_aumac.c
649
if (stat & RX_STAT_CR)
sys/arch/mips/alchemy/dev/if_aumac.c
651
if (stat & RX_STAT_ME)
sys/arch/mips/alchemy/dev/if_aumac.c
653
if (stat & RX_STAT_CS)
sys/arch/mips/alchemy/dev/if_aumac.c
655
if (stat & RX_STAT_FL)
sys/arch/mips/alchemy/dev/if_aumac.c
657
if (stat & RX_STAT_RF)
sys/arch/mips/alchemy/dev/if_aumac.c
659
if (stat & RX_STAT_WT)
sys/arch/mips/alchemy/dev/if_aumac.c
661
if (stat & RX_STAT_DB) {
sys/arch/mips/alchemy/dev/if_aumac.c
662
if (stat & (RX_STAT_CS | RX_STAT_RF |
sys/arch/mips/alchemy/dev/if_aumac.c
678
len = RX_STAT_L(stat);
sys/arch/mips/atheros/dev/athflash.c
318
int stat;
sys/arch/mips/atheros/dev/athflash.c
338
if ((stat = flash_sector_erase(sc, off)) != 0) {
sys/arch/mips/atheros/dev/athflash.c
339
printf("sector erase failed status = 0x%x\n", stat);
sys/arch/mips/atheros/dev/athflash.c
342
if ((stat = flash_sector_write(sc, off)) != 0) {
sys/arch/mips/atheros/dev/athflash.c
343
printf("sector write failed status = 0x%x\n", stat);
sys/arch/mips/ingenic/jziic.c
539
uint32_t stat, data, rstat;
sys/arch/mips/ingenic/jziic.c
542
stat = bus_space_read_4(sc->sc_memt, sc->sc_memh, JZ_SMBINTST);
sys/arch/mips/ingenic/jziic.c
543
if (stat & JZ_TXEMP) {
sys/arch/mips/ingenic/jziic.c
583
if (stat & JZ_RXFL) {
sys/arch/mips/ingenic/jziic.c
597
if (stat & JZ_TXABT) {
sys/arch/mipsco/mipsco/mips_3x30.c
148
register int stat;
sys/arch/mipsco/mipsco/mips_3x30.c
151
stat = ~*(volatile u_char *)INTREG_0;
sys/arch/mipsco/mipsco/mips_3x30.c
153
if (stat & INT_ExpSlot)
sys/arch/mipsco/mipsco/mips_3x30.c
156
if (stat & INT_Lance)
sys/arch/mipsco/mipsco/mips_3x30.c
159
if (stat & INT_SCC)
sys/arch/mipsco/obio/asc.c
225
int stat;
sys/arch/mipsco/obio/asc.c
231
stat = bus_space_read_4(esc->sc_bst, esc->dm_bsh, RAMBO_MODE);
sys/arch/mipsco/obio/asc.c
236
count, addr, stat, tc,
sys/arch/mipsco/stand/installboot/installboot.c
164
struct stat bootstrapsb;
sys/arch/mvme68k/dev/sbic.c
452
int stat;
sys/arch/mvme68k/dev/sbic.c
479
stat = sbicicmd(dev, &acb->cmd, acb->clen,
sys/arch/mvme68k/dev/sbic.c
484
sbic_scsidone(acb, stat);
sys/arch/mvme68k/dev/sbic.c
523
int flags, stat;
sys/arch/mvme68k/dev/sbic.c
581
stat = sbicicmd(dev, &acb->cmd, acb->clen,
sys/arch/mvme68k/dev/sbic.c
586
stat = dev->sc_stat[0];
sys/arch/mvme68k/dev/sbic.c
588
sbic_scsidone(acb, stat);
sys/arch/mvme68k/dev/sbic.c
592
sbic_scsidone(struct sbic_acb *acb, int stat)
sys/arch/mvme68k/dev/sbic.c
616
dev->target, dev->lun, stat);
sys/arch/mvme68k/dev/sbic.c
622
xs->status = stat;
sys/arch/mvme68k/dev/sbic.c
625
if (stat == SCSI_CHECK || stat == SCSI_BUSY)
sys/arch/mvme68k/dev/zs.c
445
int s, c, rr0, stat;
sys/arch/mvme68k/dev/zs.c
456
stat = zs_read_reg(cs, 1) & (ZSRR1_FE | ZSRR1_DO | ZSRR1_PE);
sys/arch/mvme68k/dev/zs.c
457
if (stat) {
sys/arch/mvme68k/stand/bootst/rawfs.c
202
int rawfs_stat(struct open_file *f, struct stat *sb)
sys/arch/mvme68k/stand/bootst/rawfs.h
13
int rawfs_stat(struct open_file *f, struct stat *sb);
sys/arch/mvme68k/stand/installboot/installboot.c
241
struct stat statbuf;
sys/arch/mvme68k/stand/netboot/if_le.c
187
int timo = 100000, stat = 0, i;
sys/arch/mvme68k/stand/netboot/if_le.c
247
nif->nif_unit, stat);
sys/arch/mvme68k/stand/netboot/if_le.c
250
stat = ler1->ler1_rdp;
sys/arch/mvme68k/stand/netboot/if_le.c
251
} while ((stat & LE_C0_IDON) == 0);
sys/arch/mvme68k/stand/netboot/if_le.c
328
int timo = 100000, stat = 0;
sys/arch/mvme68k/stand/netboot/if_le.c
357
nifunit, stat);
sys/arch/mvme68k/stand/netboot/if_le.c
363
stat = ler1->ler1_rdp;
sys/arch/mvme68k/stand/netboot/if_le.c
364
} while ((stat & LE_C0_TINT) == 0);
sys/arch/mvme68k/stand/sboot/le_poll.c
129
printf("le0: init timeout, stat = 0x%x\n", stat);
sys/arch/mvme68k/stand/sboot/le_poll.c
132
stat = ler1->ler1_rdp;
sys/arch/mvme68k/stand/sboot/le_poll.c
133
} while ((stat & LE_C0_IDON) == 0);
sys/arch/mvme68k/stand/sboot/le_poll.c
200
int timo = 100000, stat = 0;
sys/arch/mvme68k/stand/sboot/le_poll.c
228
stat);
sys/arch/mvme68k/stand/sboot/le_poll.c
233
stat = ler1->ler1_rdp;
sys/arch/mvme68k/stand/sboot/le_poll.c
234
} while ((stat & LE_C0_TINT) == 0);
sys/arch/mvme68k/stand/sboot/le_poll.c
72
int timo = 100000, stat = 0, i;
sys/arch/mvme68k/stand/wrtvid/wrtvid.c
113
struct stat st;
sys/arch/mvme68k/stand/wrtvid/wrtvid.c
136
if (stat(argv[1], &st) < 0) {
sys/arch/netwinder/netwinder/netwinder_machdep.c
1005
int stat, c;
sys/arch/netwinder/netwinder/netwinder_machdep.c
1008
while (!ISSET(stat = KCOM_GETBYTE(com_lsr), LSR_RXRDY))
sys/arch/netwinder/netwinder/netwinder_machdep.c
1012
stat = KCOM_GETBYTE(com_iir);
sys/arch/news68k/dev/dmac_0266.h
35
volatile uint32_t stat; /* Status Register */
sys/arch/news68k/dev/kb_hb.c
142
int stat, handled = 0;
sys/arch/news68k/dev/kb_hb.c
146
stat = bus_space_read_1(bt, bh, KB_REG_STAT);
sys/arch/news68k/dev/kb_hb.c
147
if (stat & KBSTAT_RDY) {
sys/arch/news68k/dev/kb_kbc.c
117
int stat, handled = 0;
sys/arch/news68k/dev/kb_kbc.c
121
stat = bus_space_read_1(bt, bh, KBC_KBREG_STAT);
sys/arch/news68k/dev/kb_kbc.c
122
if (stat & KBCSTAT_KBRDY) {
sys/arch/news68k/dev/si.c
357
if ((dmac->stat & DC_ST_INT) != 0)
sys/arch/news68k/dev/si.c
386
if ((dmac->stat & DC_ST_INT) == 0) {
sys/arch/news68k/dev/timer_hb.c
127
timer_hb_initclocks(int prof, int stat)
sys/arch/news68k/news68k/machdep.c
437
int stat;
sys/arch/news68k/news68k/machdep.c
439
stat = *int_status;
sys/arch/news68k/news68k/machdep.c
442
printf("level 3 interrupt: INT_STATUS = 0x%02x\n", stat);
sys/arch/news68k/news68k/machdep.c
452
int stat;
sys/arch/news68k/news68k/machdep.c
457
stat = *int_status;
sys/arch/news68k/news68k/machdep.c
461
if (stat & INTST_SCSI) {
sys/arch/news68k/news68k/machdep.c
466
if (stat & INTST_LANCE) {
sys/arch/newsmips/apbus/apbus.c
203
apbus_intr_dispatch(int level, int stat)
sys/arch/newsmips/apbus/apbus.c
213
if (ih->ih_mask & stat) {
sys/arch/newsmips/dev/hb.c
131
hb_intr_dispatch(int level, int stat)
sys/arch/newsmips/dev/hb.c
139
if (ih->ih_mask & stat)
sys/arch/newsmips/newsmips/news3400.c
100
*(volatile uint8_t *)INTCLR0 = stat;
sys/arch/newsmips/newsmips/news3400.c
101
if (stat & INTST0_TIMINT) {
sys/arch/newsmips/newsmips/news3400.c
111
if (stat)
sys/arch/newsmips/newsmips/news3400.c
112
hb_intr_dispatch(2, stat);
sys/arch/newsmips/newsmips/news3400.c
157
uint8_t stat;
sys/arch/newsmips/newsmips/news3400.c
159
stat = *intst1 & LEVEL0_MASK;
sys/arch/newsmips/newsmips/news3400.c
160
*intclr1 = stat;
sys/arch/newsmips/newsmips/news3400.c
162
hb_intr_dispatch(0, stat);
sys/arch/newsmips/newsmips/news3400.c
164
if (stat & INTST1_SLOT1)
sys/arch/newsmips/newsmips/news3400.c
166
if (stat & INTST1_SLOT3)
sys/arch/newsmips/newsmips/news3400.c
95
int stat;
sys/arch/newsmips/newsmips/news3400.c
97
stat = *(volatile uint8_t *)INTST0;
sys/arch/newsmips/newsmips/news3400.c
98
stat &= INTST0_TIMINT|INTST0_KBDINT|INTST0_MSINT;
sys/arch/newsmips/newsmips/news5000.c
137
uint32_t stat;
sys/arch/newsmips/newsmips/news5000.c
139
stat = *(volatile uint32_t *)NEWS5000_APBUS_INTST;
sys/arch/newsmips/newsmips/news5000.c
140
printf("APbus error 0x%04x\n", stat & 0xffff);
sys/arch/newsmips/newsmips/news5000.c
141
if (stat & NEWS5000_APBUS_INT_DMAADDR) {
sys/arch/newsmips/newsmips/news5000.c
147
if (stat & NEWS5000_APBUS_INT_RDTIMEO)
sys/arch/newsmips/newsmips/news5000.c
150
if (stat & NEWS5000_APBUS_INT_WRTIMEO)
sys/arch/newsmips/newsmips/news5000.c
153
*(volatile uint32_t *)0xb4c00014 = stat;
sys/arch/next68k/dev/esp.c
1283
struct nextdma_status *stat = &nsc->sc_stat;
sys/arch/next68k/dev/esp.c
1382
stat->nd_exception = 0;
sys/arch/next68k/dev/esp.c
1460
struct nextdma_status *stat = &nsc->sc_stat;
sys/arch/next68k/dev/esp.c
1493
if ((stat->nd_exception == 0) &&
sys/arch/next68k/dev/esp.c
1496
stat->nd_map->dm_xfer_len +=
sys/arch/next68k/dev/esp.c
1497
stat->nd_map->dm_segs[stat->nd_idx].ds_len;
sys/arch/next68k/dev/esp.c
1500
if ((stat->nd_idx + 1) == stat->nd_map->dm_nsegs) {
sys/arch/next68k/dev/esp.c
1502
(*nsc->sc_conf.nd_completed_cb)(stat->nd_map,
sys/arch/next68k/dev/esp.c
1516
if (stat->nd_map_cont != NULL) {
sys/arch/next68k/dev/esp.c
1517
nd_bsw4(DD_START, stat->nd_map_cont->dm_segs[
sys/arch/next68k/dev/esp.c
1518
stat->nd_idx_cont].ds_addr);
sys/arch/next68k/dev/esp.c
1519
nd_bsw4(DD_STOP, (stat->nd_map_cont->dm_segs[
sys/arch/next68k/dev/esp.c
1520
stat->nd_idx_cont].ds_addr +
sys/arch/next68k/dev/esp.c
1521
stat->nd_map_cont->dm_segs[
sys/arch/next68k/dev/esp.c
1522
stat->nd_idx_cont].ds_len));
sys/arch/next68k/dev/esp.c
1527
(stat->nd_map_cont ? DMACSR_SETSUPDATE : 0));
sys/arch/next68k/dev/esp.c
1533
(stat->nd_map->dm_segs[stat->nd_idx].ds_addr +
sys/arch/next68k/dev/esp.c
1534
stat->nd_map->dm_segs[stat->nd_idx].ds_len),
sys/arch/next68k/dev/esp.c
1558
stat->nd_map->dm_segs[stat->nd_idx].ds_addr);
sys/arch/next68k/dev/esp.c
1560
(stat->nd_map->dm_segs[stat->nd_idx].ds_addr +
sys/arch/next68k/dev/esp.c
1561
stat->nd_map->dm_segs[stat->nd_idx].ds_len) |
sys/arch/next68k/dev/esp.c
1563
if (stat->nd_map_cont) {
sys/arch/next68k/dev/esp.c
1565
stat->nd_map_cont->dm_segs[
sys/arch/next68k/dev/esp.c
1566
stat->nd_idx_cont].ds_addr);
sys/arch/next68k/dev/esp.c
1568
(stat->nd_map_cont->dm_segs[
sys/arch/next68k/dev/esp.c
1569
stat->nd_idx_cont].ds_addr +
sys/arch/next68k/dev/esp.c
1570
stat->nd_map_cont->dm_segs[
sys/arch/next68k/dev/esp.c
1571
stat->nd_idx_cont].ds_len) |
sys/arch/next68k/dev/esp.c
1577
(stat->nd_map_cont ? DMACSR_SETSUPDATE : 0));
sys/arch/next68k/dev/esp.c
1588
stat->nd_exception++;
sys/arch/next68k/dev/esp.c
1594
if (stat->nd_map != NULL) {
sys/arch/next68k/dev/esp.c
1619
stat->nd_map->dm_segs[stat->nd_idx].ds_addr);
sys/arch/next68k/dev/esp.c
1621
(stat->nd_map->dm_segs[stat->nd_idx].ds_addr +
sys/arch/next68k/dev/esp.c
1622
stat->nd_map->dm_segs[stat->nd_idx].ds_len) |
sys/arch/next68k/dev/esp.c
1625
if (stat->nd_map_cont != NULL) {
sys/arch/next68k/dev/esp.c
1627
stat->nd_map_cont->dm_segs[
sys/arch/next68k/dev/esp.c
1628
stat->nd_idx_cont].ds_addr);
sys/arch/next68k/dev/esp.c
1630
(stat->nd_map_cont->dm_segs[
sys/arch/next68k/dev/esp.c
1631
stat->nd_idx_cont].ds_addr +
sys/arch/next68k/dev/esp.c
1632
stat->nd_map_cont->dm_segs[
sys/arch/next68k/dev/esp.c
1633
stat->nd_idx_cont].ds_len) |
sys/arch/next68k/dev/esp.c
1638
(stat->nd_map_cont ? DMACSR_SETSUPDATE : 0) |
sys/arch/next68k/dev/esp.c
1646
stat->nd_exception++;
sys/arch/next68k/dev/esp.c
1657
stat->nd_map->dm_segs[stat->nd_idx].ds_addr,
sys/arch/next68k/dev/esp.c
1658
stat->nd_map->dm_segs[stat->nd_idx].ds_addr +
sys/arch/next68k/dev/esp.c
1659
stat->nd_map->dm_segs[stat->nd_idx].ds_len);
sys/arch/next68k/dev/esp.c
1660
if (stat->nd_map_cont != NULL) {
sys/arch/next68k/dev/esp.c
1662
stat->nd_map_cont->dm_segs[
sys/arch/next68k/dev/esp.c
1663
stat->nd_idx_cont].ds_addr,
sys/arch/next68k/dev/esp.c
1664
stat->nd_map_cont->dm_segs[
sys/arch/next68k/dev/esp.c
1665
stat->nd_idx_cont].ds_addr +
sys/arch/next68k/dev/esp.c
1666
stat->nd_map_cont->dm_segs[
sys/arch/next68k/dev/esp.c
1667
stat->nd_idx_cont].ds_len);
sys/arch/next68k/dev/esp.c
486
struct nextdma_status *stat = &nsc->sc_stat;
sys/arch/next68k/dev/esp.c
499
void *ndmap = stat->nd_map;
sys/arch/next68k/dev/esp.c
500
int ndidx = stat->nd_idx;
sys/arch/next68k/dev/esp.c
538
while (ndmap == stat->nd_map &&
sys/arch/next68k/dev/esp.c
539
ndidx == stat->nd_idx &&
sys/arch/next68k/dev/esp.c
606
ndmap = stat->nd_map;
sys/arch/next68k/dev/esp.c
607
ndidx = stat->nd_idx;
sys/arch/next68k/dev/esp.c
637
if (stat->nd_exception == 0) {
sys/arch/next68k/dev/nextdma.c
320
struct nextdma_status *stat = &nsc->sc_stat;
sys/arch/next68k/dev/nextdma.c
332
if ((stat->nd_map) || (stat->nd_map_cont)) {
sys/arch/next68k/dev/nextdma.c
333
if (stat->nd_map_cont) {
sys/arch/next68k/dev/nextdma.c
338
stat->nd_map_cont, nsc->sc_conf.nd_cb_arg);
sys/arch/next68k/dev/nextdma.c
340
stat->nd_map_cont = 0;
sys/arch/next68k/dev/nextdma.c
341
stat->nd_idx_cont = 0;
sys/arch/next68k/dev/nextdma.c
345
stat->nd_map = 0;
sys/arch/next68k/dev/nextdma.c
346
stat->nd_idx = 0;
sys/arch/next68k/dev/nextdma.c
362
struct nextdma_status *stat = &nsc->sc_stat;
sys/arch/next68k/dev/nextdma.c
368
stat->nd_map = stat->nd_map_cont;
sys/arch/next68k/dev/nextdma.c
369
stat->nd_idx = stat->nd_idx_cont;
sys/arch/next68k/dev/nextdma.c
371
if ((stat->nd_map_cont == NULL) ||
sys/arch/next68k/dev/nextdma.c
372
((++stat->nd_idx_cont >= stat->nd_map_cont->dm_nsegs))) {
sys/arch/next68k/dev/nextdma.c
374
stat->nd_map_cont = (*nsc->sc_conf.nd_continue_cb)
sys/arch/next68k/dev/nextdma.c
376
if (stat->nd_map_cont != NULL) {
sys/arch/next68k/dev/nextdma.c
377
stat->nd_map_cont->dm_xfer_len = 0;
sys/arch/next68k/dev/nextdma.c
380
stat->nd_map_cont = 0;
sys/arch/next68k/dev/nextdma.c
382
stat->nd_idx_cont = 0;
sys/arch/next68k/dev/nextdma.c
386
if (stat->nd_map_cont) {
sys/arch/next68k/dev/nextdma.c
388
stat->nd_map_cont->dm_segs[stat->nd_idx_cont].ds_addr)) {
sys/arch/next68k/dev/nextdma.c
393
stat->nd_map_cont->dm_segs[stat->nd_idx_cont].ds_addr +
sys/arch/next68k/dev/nextdma.c
394
stat->nd_map_cont->dm_segs[stat->nd_idx_cont].ds_len)) {
sys/arch/next68k/dev/nextdma.c
410
struct nextdma_status *stat = &nsc->sc_stat;
sys/arch/next68k/dev/nextdma.c
415
if (stat->nd_map != NULL) {
sys/arch/next68k/dev/nextdma.c
416
dd_next = stat->nd_map->dm_segs[stat->nd_idx].ds_addr;
sys/arch/next68k/dev/nextdma.c
417
dd_limit = (stat->nd_map->dm_segs[stat->nd_idx].ds_addr +
sys/arch/next68k/dev/nextdma.c
418
stat->nd_map->dm_segs[stat->nd_idx].ds_len);
sys/arch/next68k/dev/nextdma.c
433
NDTRACEIF(if (stat->nd_map) {
sys/arch/next68k/dev/nextdma.c
435
stat->nd_map->dm_segs[stat->nd_idx].ds_len);
sys/arch/next68k/dev/nextdma.c
469
struct nextdma_status *stat = &nsc->sc_stat;
sys/arch/next68k/dev/nextdma.c
474
if (stat->nd_map_cont != NULL) {
sys/arch/next68k/dev/nextdma.c
476
stat->nd_map_cont->dm_segs[stat->nd_idx_cont].ds_addr;
sys/arch/next68k/dev/nextdma.c
478
stat->nd_map_cont->dm_segs[stat->nd_idx_cont].ds_addr +
sys/arch/next68k/dev/nextdma.c
479
stat->nd_map_cont->dm_segs[stat->nd_idx_cont].ds_len;
sys/arch/next68k/dev/nextdma.c
494
NDTRACEIF(if (stat->nd_map_cont != NULL) {
sys/arch/next68k/dev/nextdma.c
496
stat->nd_map_cont->dm_segs[stat->nd_idx_cont].ds_len);
sys/arch/next68k/dev/nextdma.c
559
struct nextdma_status *stat = &nsc->sc_stat;
sys/arch/next68k/dev/nextdma.c
578
if (stat->nd_map == NULL) {
sys/arch/next68k/dev/nextdma.c
602
onext = stat->nd_map->dm_segs[stat->nd_idx].ds_addr;
sys/arch/next68k/dev/nextdma.c
603
olimit = onext + stat->nd_map->dm_segs[stat->nd_idx].ds_len;
sys/arch/next68k/dev/nextdma.c
614
if (stat->nd_map_cont == NULL) {
sys/arch/next68k/dev/nextdma.c
615
KASSERT(stat->nd_idx+1 == stat->nd_map->dm_nsegs);
sys/arch/next68k/dev/nextdma.c
691
stat->nd_idx + 1 != stat->nd_map->dm_nsegs) {
sys/arch/next68k/dev/nextdma.c
708
stat->nd_map->dm_xfer_len += slimit-onext;
sys/arch/next68k/dev/nextdma.c
713
if (stat->nd_idx + 1 == stat->nd_map->dm_nsegs) {
sys/arch/next68k/dev/nextdma.c
715
(*nsc->sc_conf.nd_completed_cb)(stat->nd_map,
sys/arch/next68k/dev/nextdma.c
718
KASSERT(stat->nd_map == stat->nd_map_cont);
sys/arch/next68k/dev/nextdma.c
719
KASSERT(stat->nd_idx+1 == stat->nd_idx_cont);
sys/arch/next68k/dev/nextdma.c
721
stat->nd_map = 0;
sys/arch/next68k/dev/nextdma.c
722
stat->nd_idx = 0;
sys/arch/next68k/dev/nextdma.c
743
if (stat->nd_map_cont == NULL) {
sys/arch/next68k/dev/nextdma.c
744
KASSERT(stat->nd_idx+1 == stat->nd_map->dm_nsegs);
sys/arch/next68k/dev/nextdma.c
758
if (stat->nd_map_cont) {
sys/arch/next68k/dev/nextdma.c
763
stat->nd_map_cont, nsc->sc_conf.nd_cb_arg);
sys/arch/next68k/dev/nextdma.c
765
stat->nd_map_cont = 0;
sys/arch/next68k/dev/nextdma.c
766
stat->nd_idx_cont = 0;
sys/arch/next68k/dev/nextdma.c
794
struct nextdma_status *stat = &nsc->sc_stat;
sys/arch/next68k/dev/nextdma.c
797
r = (stat->nd_map == NULL) && (stat->nd_map_cont == NULL);
sys/arch/next68k/dev/nextdma.c
806
struct nextdma_status *stat = &nsc->sc_stat;
sys/arch/next68k/dev/nextdma.c
832
if (stat->nd_map != NULL) {
sys/arch/next68k/dev/nextdma.c
836
if (stat->nd_map_cont != NULL) {
sys/arch/next68k/dev/nextdma.c
857
if (stat->nd_map_cont == NULL) {
sys/arch/next68k/dev/nextdma.c
872
stat->nd_map->dm_nsegs, sbuf);
sys/arch/next68k/dev/nextdma.c
888
if (stat->nd_map_cont == NULL) {
sys/arch/next68k/dev/nextdma.c
910
struct nextdma_status *stat = &nsc->sc_stat;
sys/arch/next68k/dev/nextdma.c
937
if (stat->nd_map != NULL) {
sys/arch/next68k/dev/nextdma.c
941
stat->nd_map->dm_mapsize);
sys/arch/next68k/dev/nextdma.c
943
stat->nd_map->dm_nsegs);
sys/arch/next68k/dev/nextdma.c
945
stat->nd_map->dm_xfer_len);
sys/arch/next68k/dev/nextdma.c
947
stat->nd_idx, stat->nd_map->dm_segs[stat->nd_idx].ds_addr);
sys/arch/next68k/dev/nextdma.c
949
stat->nd_idx, stat->nd_map->dm_segs[stat->nd_idx].ds_len);
sys/arch/next68k/dev/nextdma.c
952
for(i = 0; i < stat->nd_map->dm_nsegs; i++) {
sys/arch/next68k/dev/nextdma.c
955
i, stat->nd_map->dm_segs[i].ds_addr);
sys/arch/next68k/dev/nextdma.c
957
i, stat->nd_map->dm_segs[i].ds_len);
sys/arch/next68k/dev/nextdma.c
962
if (stat->nd_map_cont != NULL) {
sys/arch/next68k/dev/nextdma.c
964
stat->nd_map_cont->dm_mapsize);
sys/arch/next68k/dev/nextdma.c
966
stat->nd_map_cont->dm_nsegs);
sys/arch/next68k/dev/nextdma.c
968
stat->nd_map_cont->dm_xfer_len);
sys/arch/next68k/dev/nextdma.c
970
stat->nd_idx_cont,
sys/arch/next68k/dev/nextdma.c
971
stat->nd_map_cont->dm_segs[stat->nd_idx_cont].ds_addr);
sys/arch/next68k/dev/nextdma.c
973
stat->nd_idx_cont,
sys/arch/next68k/dev/nextdma.c
974
stat->nd_map_cont->dm_segs[stat->nd_idx_cont].ds_len);
sys/arch/next68k/dev/nextdma.c
975
if (stat->nd_map_cont != stat->nd_map) {
sys/arch/next68k/dev/nextdma.c
978
for(i=0;i<stat->nd_map_cont->dm_nsegs;i++) {
sys/arch/next68k/dev/nextdma.c
982
i, stat->nd_map_cont->dm_segs[i].ds_addr);
sys/arch/next68k/dev/nextdma.c
985
i, stat->nd_map_cont->dm_segs[i].ds_len);
sys/arch/next68k/dev/nextkbd.c
334
struct mon_regs stat = { 0 };
sys/arch/next68k/dev/nextkbd.c
336
bus_space_read_region_4(id->iot, id->ioh, 0, &stat, 3);
sys/arch/next68k/dev/nextkbd.c
337
if ((stat.mon_csr & CSR_INT) != 0 &&
sys/arch/next68k/dev/nextkbd.c
338
(stat.mon_csr & CSR_DATA) != 0) {
sys/arch/next68k/dev/nextkbd.c
339
stat.mon_csr &= ~CSR_INT;
sys/arch/next68k/dev/nextkbd.c
341
bus_space_write_4(id->iot, id->ioh, 0, stat.mon_csr);
sys/arch/next68k/dev/nextkbd.c
342
device = stat.mon_data >> 28;
sys/arch/next68k/dev/nextkbd.c
345
return stat.mon_data & 0xffff;
sys/arch/playstation2/dev/if_smap.c
325
u_int16_t r16, stat;
sys/arch/playstation2/dev/if_smap.c
336
stat = d->stat;
sys/arch/playstation2/dev/if_smap.c
338
if ((stat & SMAP_RXDESC_EMPTY) != 0) {
sys/arch/playstation2/dev/if_smap.c
340
} else if (stat & 0x7fff) {
sys/arch/playstation2/dev/if_smap.c
389
d->stat = SMAP_RXDESC_EMPTY;
sys/arch/playstation2/dev/if_smap.c
421
u_int16_t stat;
sys/arch/playstation2/dev/if_smap.c
424
stat = d->stat;
sys/arch/playstation2/dev/if_smap.c
425
if (stat & SMAP_TXDESC_READY) {
sys/arch/playstation2/dev/if_smap.c
428
} else if (stat & 0x7fff) {
sys/arch/playstation2/dev/if_smap.c
429
if (stat & (SMAP_TXDESC_ECOLL | SMAP_TXDESC_LCOLL |
sys/arch/playstation2/dev/if_smap.c
446
d->stat = 0;
sys/arch/playstation2/dev/if_smap.c
514
KDASSERT((d->stat & SMAP_TXDESC_READY) == 0);
sys/arch/playstation2/dev/if_smap.c
518
d->stat = SMAP_TXDESC_READY | SMAP_TXDESC_GENFCS |
sys/arch/playstation2/dev/if_smap.c
658
d->stat = 0;
sys/arch/playstation2/dev/if_smap.c
666
d->stat = SMAP_RXDESC_EMPTY;
sys/arch/playstation2/dev/if_smapreg.h
73
u_int16_t stat;
sys/arch/playstation2/dev/sbus.c
219
u_int32_t stat;
sys/arch/playstation2/dev/sbus.c
222
stat = _reg_read_4(SBUS_SMFLG_REG);
sys/arch/playstation2/dev/sbus.c
224
if (stat & SMFLG_PCMCIA_INT) {
sys/arch/playstation2/dev/sbus.c
230
if (stat & SMFLG_USB_INT) {
sys/arch/pmax/stand/smallnet/setnetimage/setnetimage.c
88
struct stat osb;
sys/arch/powerpc/ibm4xx/dev/mal.c
42
#define STAT_TO_CHAN(stat) __builtin_clz(stat)
sys/arch/powerpc/mpc5200/fec.c
400
if_stat_t stat;
sys/arch/powerpc/mpc5200/fec.c
435
if_statadd_ref(ifp, nsr, fec_mibtab[i].stat, delta);
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
106
struct stat *);
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
139
struct stat *f_stat)
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
173
struct stat raw_stat;
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
296
struct stat kern_stat;
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
464
struct stat kern_stat;
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
690
struct stat kern_stat;
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c
78
struct stat elf_stat;
sys/arch/prep/stand/installboot/installboot.c
79
struct stat st;
sys/arch/riscv/starfive/jh7110_trng.c
173
const uint32_t stat = RD4(sc, JH7110_TRNG_STAT);
sys/arch/riscv/starfive/jh7110_trng.c
175
if (stat & JH7110_TRNG_STAT_SEEDED) {
sys/arch/rs6000/rs6000/machdep.c
578
int stat, c;
sys/arch/rs6000/rs6000/machdep.c
586
while (!ISSET(stat = KCOM_GETBYTE(com_lsr), LSR_RXRDY))
sys/arch/rs6000/rs6000/machdep.c
590
stat = KCOM_GETBYTE(com_iir);
sys/arch/sandpoint/stand/altboot/main.c
503
struct stat st;
sys/arch/sandpoint/stand/altboot/memfs.c
118
mem_stat(struct open_file *f, struct stat *sb)
sys/arch/sbmips/stand/common/bootxx.c
83
struct stat sb;
sys/arch/sgimips/dev/crime.c
232
uint64_t address, stat;
sys/arch/sgimips/dev/crime.c
249
stat = bus_space_read_8(crm_iot, crm_ioh,
sys/arch/sgimips/dev/crime.c
252
" status %" PRIu64 "\n", address << 2, stat);
sys/arch/sgimips/dev/crime.c
257
stat = bus_space_read_8(crm_iot, crm_ioh,
sys/arch/sgimips/dev/crime.c
262
PRIu64 "\n", stat, address);
sys/arch/sgimips/dev/int.c
278
uint16_t stat;
sys/arch/sgimips/dev/int.c
282
stat = bus_space_read_2(iot, ioh, INT1_LOCAL_STATUS);
sys/arch/sgimips/dev/int.c
286
stat = ~stat & mask;
sys/arch/sgimips/dev/int.c
288
for (i = 0; stat != 0; i++, stat >>= 1) {
sys/arch/sgimips/dev/int.c
289
if (stat & 1) {
sys/arch/sgimips/hpc/haud.c
884
const u_int32_t stat = haud_read_reg(sc, HAUD_CPU_INTR_STAT);
sys/arch/sgimips/hpc/haud.c
887
if (stat & HAUD_CPU_INTR_STAT_DMA) {
sys/arch/sgimips/hpc/haud.c
891
if (stat & HAUD_CPU_INTR_STAT_TX) {
sys/arch/sgimips/hpc/haud.c
925
if (stat & HAUD_CPU_INTR_STAT_RX) {
sys/arch/sgimips/hpc/if_sq.c
910
uint32_t stat;
sys/arch/sgimips/hpc/if_sq.c
912
stat = sq_hpc_read(sc, sc->hpc_regs->enetr_reset);
sys/arch/sgimips/hpc/if_sq.c
914
if ((stat & 2) == 0) {
sys/arch/sgimips/hpc/if_sq.c
918
sq_hpc_write(sc, sc->hpc_regs->enetr_reset, (stat | 2));
sys/arch/sgimips/hpc/if_sq.c
940
rnd_add_uint32(&sc->rnd_source, stat);
sys/arch/sgimips/hpc/sqvar.h
100
(sc)->sq_trace[(sc)->sq_trace_idx].status = (stat); \
sys/arch/sgimips/hpc/sqvar.h
96
#define SQ_TRACE(act, sc, buf, stat) do { \
sys/arch/sgimips/mace/macekbc.c
179
uint64_t stat, val;
sys/arch/sgimips/mace/macekbc.c
192
stat = bus_space_read_8(iot, ioh, MACEKBC_STAT);
sys/arch/sgimips/mace/macekbc.c
193
if (stat & MACEKBC_STAT_RXFULL) {
sys/arch/sgimips/mace/mavb.c
859
uint64_t stat, intmask;
sys/arch/sgimips/mace/mavb.c
863
stat = bus_space_read_8(sc->sc_st, sc->sc_isash, MACE_ISA_INT_STATUS);
sys/arch/sgimips/mace/mavb.c
865
device_xname(sc->sc_dev), stat));
sys/arch/sgimips/mace/mavb.c
867
if (stat & MACE_ISA_INT_AUDIO_SC) {
sys/arch/sgimips/mace/mavb.c
879
if (stat & MACE_ISA_INT_AUDIO_DMA2)
sys/arch/sgimips/stand/common/iris_disk.c
108
int stat;
sys/arch/sgimips/stand/common/iris_disk.c
120
stat = scsi_read(buf, reqcnt, blk, nblk);
sys/arch/sgimips/stand/common/iris_disk.c
122
if (stat) {
sys/arch/sgimips/stand/common/iris_disk.c
141
uint8_t stat;
sys/arch/sgimips/stand/common/iris_disk.c
143
stat = scsi_test_unit_rdy();
sys/arch/sgimips/stand/common/iris_disk.c
145
if (stat != 0) {
sys/arch/sgimips/stand/common/iris_disk.c
148
stat = scsi_test_unit_rdy();
sys/arch/sgimips/stand/common/iris_disk.c
150
if (stat != 0) {
sys/arch/sgimips/stand/common/iris_disk.c
163
stat = scsi_read_capacity((uint8_t *)capbuf, sizeof(capbuf));
sys/arch/sgimips/stand/common/iris_disk.c
165
if (stat == 0) {
sys/arch/sgimips/stand/sgivol/sgivol.c
427
struct stat st;
sys/arch/sgimips/stand/sgivol/sgivol.c
432
if (stat(ufilename, &st) == -1)
sys/arch/sgimips/stand/sgivol/sgivol.c
79
struct stat st;
sys/arch/sgimips/stand/undist/undist.c
274
struct stat sb;
sys/arch/sgimips/stand/undist/undist.c
294
if (stat(buf, &sb) == -1) {
sys/arch/sparc/dev/ts102reg.h
67
volatile uint8_t stat; /* Microcontroller Status Reg */
sys/arch/sparc64/dev/sab.c
633
uint8_t stat;
sys/arch/sparc64/dev/sab.c
636
stat = sc->sc_rget[1];
sys/arch/sparc64/dev/sab.c
638
if (stat & SAB_RSTAT_PE)
sys/arch/sparc64/dev/sab.c
640
if (stat & SAB_RSTAT_FE)
sys/arch/sun68k/stand/tapeboot/rawfs.c
185
rawfs_stat(struct open_file *f, struct stat *sb)
sys/arch/sun68k/stand/tapeboot/rawfs.h
13
int rawfs_stat(struct open_file *, struct stat *);
sys/arch/usermode/usermode/thunk.c
516
struct stat st;
sys/arch/vax/uba/qvaux.c
399
unsigned stat[2];
sys/arch/vax/uba/qvaux.c
408
stat[0] = qvaux_read2(sc, sc->sc_qr.qr_ch_regs[0].qr_sr);
sys/arch/vax/uba/qvaux.c
409
stat[1] = qvaux_read2(sc, sc->sc_qr.qr_ch_regs[1].qr_sr);
sys/arch/vax/uba/qvaux.c
410
if ((stat[0] & SR_RX_RDY) == 0) {
sys/arch/vax/uba/qvaux.c
411
if ((stat[1] & SR_RX_RDY) == 0)
sys/arch/vax/uba/qvaux.c
428
if (stat[line] & SR_BREAK) // do SR error bits need to be
sys/arch/vax/uba/qvaux.c
441
if ((stat[line] & SR_OVERRUN) && overrun == 0) { // ?
sys/arch/vax/uba/qvaux.c
447
if (stat[line] & SR_FRAME) // ?
sys/arch/vax/uba/qvaux.c
449
if (stat[line] & SR_PARITY) // ?
sys/arch/vax/uba/qvaux.c
464
int line, ch, stat[2];
sys/arch/vax/uba/qvaux.c
467
stat[0] = qvaux_read2(sc, sc->sc_qr.qr_ch_regs[0].qr_sr);
sys/arch/vax/uba/qvaux.c
468
stat[1] = qvaux_read2(sc, sc->sc_qr.qr_ch_regs[1].qr_sr);
sys/arch/vax/uba/qvaux.c
469
if (((stat[0] & SR_TX_RDY) == 0)
sys/arch/vax/uba/qvaux.c
471
if (((stat[1] & SR_TX_RDY) == 0)
sys/arch/x68k/dev/mha.c
1731
acb->stat = sc->sc_pcx[0]; /* XXX */
sys/arch/x68k/dev/mha.c
1732
SPC_MISC(("stat=0x%02x ", acb->stat));
sys/arch/x68k/dev/mha.c
1960
acb, acb->flags, acb->dleft, acb->stat,
sys/arch/x68k/dev/mha.c
2014
acb->daddr, acb->dleft, acb->stat);
sys/arch/x68k/dev/mha.c
712
acb->stat = 0;
sys/arch/x68k/dev/mha.c
893
xs->status = acb->stat & ST_MASK;
sys/arch/x68k/dev/mha.c
908
device_xname(sc->sc_dev), acb->stat);
sys/arch/x68k/dev/mhavar.h
55
u_char stat; /* SCSI status byte */
sys/arch/x68k/stand/installboot/installboot.c
116
struct stat st;
sys/arch/x68k/stand/installboot/installboot.c
122
if (stat(name, &st) < 0)
sys/arch/x68k/stand/installboot/installboot.c
78
struct stat st;
sys/arch/x68k/stand/installboot/installboot.c
82
if (stat(name, &st) < 0)
sys/arch/x68k/stand/installboot/installboot.c
92
struct stat st;
sys/arch/x68k/stand/installboot/installboot.c
96
if (stat(name, &st) < 0)
sys/arch/x68k/x68k/iodevice.h
216
char pad0; unsigned char stat;
sys/arch/x68k/x68k/iodevice.h
225
char pad0; unsigned char stat;
sys/arch/zaurus/stand/zboot/pathfs.c
86
pathfs_stat(struct open_file *fd, struct stat *sb)
sys/coda/coda.h
729
struct coda_statfs stat;
sys/coda/coda_venus.c
729
*fsp = outp->stat;
sys/compat/aoutm68k/aoutm68k_stat.c
105
struct stat sb;
sys/compat/aoutm68k/aoutm68k_stat.c
123
struct stat sb;
sys/compat/aoutm68k/aoutm68k_stat.c
139
struct stat sb;
sys/compat/aoutm68k/aoutm68k_stat.c
155
struct stat sb;
sys/compat/aoutm68k/aoutm68k_stat.c
172
struct stat sb;
sys/compat/aoutm68k/aoutm68k_stat.c
188
struct stat sb;
sys/compat/aoutm68k/aoutm68k_stat.c
205
struct stat sb;
sys/compat/aoutm68k/aoutm68k_stat.c
221
struct stat sb;
sys/compat/aoutm68k/aoutm68k_stat.c
234
aoutm68k_stat43_convert(struct stat *st, struct aoutm68k_stat43 *ast)
sys/compat/aoutm68k/aoutm68k_stat.c
264
aoutm68k_stat12_convert(struct stat *st, struct aoutm68k_stat12 *ast)
sys/compat/aoutm68k/aoutm68k_stat.c
293
aoutm68k_stat13_convert(struct stat *st, struct aoutm68k_stat *ast)
sys/compat/aoutm68k/aoutm68k_stat.c
60
static void aoutm68k_stat43_convert(struct stat *, struct aoutm68k_stat43 *);
sys/compat/aoutm68k/aoutm68k_stat.c
63
static void aoutm68k_stat12_convert(struct stat *, struct aoutm68k_stat12 *);
sys/compat/aoutm68k/aoutm68k_stat.c
65
static void aoutm68k_stat13_convert(struct stat *, struct aoutm68k_stat *);
sys/compat/aoutm68k/aoutm68k_stat.c
73
struct stat sb;
sys/compat/aoutm68k/aoutm68k_stat.c
89
struct stat sb;
sys/compat/common/vfs_syscalls_12.c
275
struct stat sb;
sys/compat/common/vfs_syscalls_12.c
300
struct stat sb;
sys/compat/common/vfs_syscalls_12.c
324
struct stat ub;
sys/compat/common/vfs_syscalls_12.c
82
compat_12_stat_conv(const struct stat *st, struct stat12 *ost)
sys/compat/common/vfs_syscalls_30.c
118
struct stat sb;
sys/compat/common/vfs_syscalls_30.c
142
struct stat sb;
sys/compat/common/vfs_syscalls_30.c
162
struct stat sb;
sys/compat/common/vfs_syscalls_30.c
185
struct stat sb;
sys/compat/common/vfs_syscalls_30.c
410
struct stat sb;
sys/compat/common/vfs_syscalls_30.c
83
cvtstat(struct stat13 *ost, const struct stat *st)
sys/compat/common/vfs_syscalls_43.c
120
cvtstat(struct stat43 *ost, const struct stat *st)
sys/compat/common/vfs_syscalls_43.c
156
struct stat sb;
sys/compat/common/vfs_syscalls_43.c
178
struct stat sb;
sys/compat/common/vfs_syscalls_43.c
206
struct stat sb;
sys/compat/common/vfs_syscalls_50.c
125
struct stat sb;
sys/compat/common/vfs_syscalls_50.c
148
struct stat sb;
sys/compat/common/vfs_syscalls_50.c
170
struct stat sb;
sys/compat/common/vfs_syscalls_50.c
190
struct stat sb;
sys/compat/common/vfs_syscalls_50.c
90
cvtstat(struct stat30 *ost, const struct stat *st)
sys/compat/linux/common/linux_fcntl.h
37
struct stat;
sys/compat/linux/common/linux_fcntl.h
84
int bsd_to_linux_statx(struct stat *, struct linux_statx *, unsigned int);
sys/compat/linux/common/linux_fcntl.h
85
int linux_statat(struct lwp *, int, const char *, int, struct stat *);
sys/compat/linux/common/linux_file.c
486
bsd_to_linux_stat(struct stat *bsp, struct linux_stat *lsp)
sys/compat/linux/common/linux_file.c
526
struct stat tmpst;
sys/compat/linux/common/linux_file.c
542
struct stat tmpst;
sys/compat/linux/common/linux_file.c
628
struct stat sb;
sys/compat/linux/common/linux_file.c
83
static void bsd_to_linux_stat(struct stat *, struct linux_stat *);
sys/compat/linux/common/linux_file64.c
112
bsd_to_linux_statx(struct stat *st, struct linux_statx *stx,
sys/compat/linux/common/linux_file64.c
190
struct stat tmpst;
sys/compat/linux/common/linux_file64.c
207
struct stat tmpst;
sys/compat/linux/common/linux_file64.c
249
struct stat *st)
sys/compat/linux/common/linux_file64.c
303
struct stat tmpst;
sys/compat/linux/common/linux_file64.c
329
struct stat st;
sys/compat/linux/common/linux_file64.c
71
static void bsd_to_linux_stat64(struct stat *, struct linux_stat64 *);
sys/compat/linux/common/linux_file64.c
82
bsd_to_linux_stat64(struct stat *bsp, struct linux_stat64 *lsp)
sys/compat/linux/common/linux_inotify.c
980
struct stat st;
sys/compat/linux32/common/linux32_stat.c
112
bsd_to_linux32_stat64(struct stat *st, struct linux32_stat64 *st32)
sys/compat/linux32/common/linux32_stat.c
149
struct stat st;
sys/compat/linux32/common/linux32_stat.c
168
struct stat st;
sys/compat/linux32/common/linux32_stat.c
187
struct stat st;
sys/compat/linux32/common/linux32_stat.c
206
struct stat st;
sys/compat/linux32/common/linux32_stat.c
225
struct stat st;
sys/compat/linux32/common/linux32_stat.c
244
struct stat st;
sys/compat/linux32/common/linux32_stat.c
266
struct stat st;
sys/compat/linux32/common/linux32_stat.c
292
struct stat st;
sys/compat/linux32/common/linux32_stat.c
79
static inline void bsd_to_linux32_stat(struct stat *, struct linux32_stat *);
sys/compat/linux32/common/linux32_stat.c
80
static inline void bsd_to_linux32_stat64(struct stat *, struct linux32_stat64 *);
sys/compat/linux32/common/linux32_stat.c
85
bsd_to_linux32_stat(struct stat *st, struct linux32_stat *st32)
sys/compat/netbsd32/netbsd32.h
366
} stat;
sys/compat/netbsd32/netbsd32_compat_12.c
139
struct stat sb;
sys/compat/netbsd32/netbsd32_compat_12.c
161
struct stat sb;
sys/compat/netbsd32/netbsd32_compat_12.c
183
struct stat sb;
sys/compat/netbsd32/netbsd32_compat_30.c
112
struct stat sb;
sys/compat/netbsd32/netbsd32_compat_30.c
134
struct stat ub;
sys/compat/netbsd32/netbsd32_compat_30.c
153
struct stat sb;
sys/compat/netbsd32/netbsd32_compat_30.c
174
struct stat sb;
sys/compat/netbsd32/netbsd32_compat_30.c
272
struct stat sb;
sys/compat/netbsd32/netbsd32_compat_43.c
142
struct stat sb;
sys/compat/netbsd32/netbsd32_compat_43.c
161
struct stat sb;
sys/compat/netbsd32/netbsd32_compat_43.c
180
struct stat sb;
sys/compat/netbsd32/netbsd32_compat_43.c
77
netbsd32_from_stat(const struct stat *sb, struct netbsd32_stat43 *sp32)
sys/compat/netbsd32/netbsd32_compat_50.c
697
struct stat sb;
sys/compat/netbsd32/netbsd32_compat_50.c
720
struct stat ub;
sys/compat/netbsd32/netbsd32_compat_50.c
740
struct stat sb;
sys/compat/netbsd32/netbsd32_compat_50.c
762
struct stat sb;
sys/compat/netbsd32/netbsd32_conv.h
481
netbsd32_from___stat13(const struct stat *sbp, struct netbsd32_stat13 *sb32p)
sys/compat/netbsd32/netbsd32_conv.h
508
netbsd32_from___stat50(const struct stat *sbp, struct netbsd32_stat50 *sb32p)
sys/compat/netbsd32/netbsd32_conv.h
535
netbsd32_from_stat(const struct stat *sbp, struct netbsd32_stat *sb32p)
sys/compat/netbsd32/netbsd32_fs.c
1309
struct stat sb;
sys/compat/netbsd32/netbsd32_fs.c
566
struct stat sb;
sys/compat/netbsd32/netbsd32_fs.c
588
struct stat ub;
sys/compat/netbsd32/netbsd32_fs.c
607
struct stat sb;
sys/compat/netbsd32/netbsd32_fs.c
629
struct stat sb;
sys/compat/netbsd32/netbsd32_quota.c
69
args.u.stat.qc_info = NETBSD32PTR64(args32.u.stat.qc_info);
sys/compat/sunos32/sunos32_misc.c
240
static inline void sunos32_from___stat13(struct stat *, struct netbsd32_stat43 *);
sys/compat/sunos32/sunos32_misc.c
243
sunos32_from___stat13(struct stat *sbp, struct netbsd32_stat43 *sb32p)
sys/compat/sunos32/sunos32_misc.c
278
struct stat sb;
sys/compat/sunos32/sunos32_misc.c
299
struct stat sb;
sys/compat/sys/mount.h
195
struct stat;
sys/compat/sys/mount.h
196
int __fhstat50(const void *, size_t, struct stat *);
sys/compat/sys/stat.h
178
void compat_12_stat_conv(const struct stat *st, struct stat12 *ost);
sys/compat/sys/stat.h
191
int __stat50(const char *, struct stat *);
sys/compat/sys/stat.h
192
int __fstat50(int, struct stat *);
sys/compat/sys/stat.h
198
int __lstat50(const char *, struct stat *);
sys/dev/acpi/qcomiic.c
140
uint32_t stat;
sys/dev/acpi/qcomiic.c
144
stat = HREAD4(sc, GENI_M_IRQ_STATUS);
sys/dev/acpi/qcomiic.c
145
if (stat & bits)
sys/dev/acpi/qcomiic.c
158
uint32_t stat, word;
sys/dev/acpi/qcomiic.c
165
stat = HREAD4(sc, GENI_RX_FIFO_STATUS);
sys/dev/acpi/qcomiic.c
166
if (GENI_RX_FIFO_STATUS_WC(stat) > 0)
sys/dev/acpi/qcomiic.c
183
uint32_t stat, word;
sys/dev/acpi/qcomiic.c
191
stat = HREAD4(sc, GENI_TX_FIFO_STATUS);
sys/dev/acpi/qcomiic.c
192
if (stat < 16)
sys/dev/acpi/qcomiic.c
211
uint32_t m_cmd, m_param, stat;
sys/dev/acpi/qcomiic.c
221
stat = HREAD4(sc, GENI_M_IRQ_STATUS);
sys/dev/acpi/qcomiic.c
222
HWRITE4(sc, GENI_M_IRQ_CLEAR, stat);
sys/dev/acpi/qcomiic.c
243
stat = HREAD4(sc, GENI_M_IRQ_STATUS);
sys/dev/acpi/qcomiic.c
244
HWRITE4(sc, GENI_M_IRQ_CLEAR, stat);
sys/dev/acpi/qcomiic.c
257
stat = HREAD4(sc, GENI_M_IRQ_STATUS);
sys/dev/acpi/qcomiic.c
258
HWRITE4(sc, GENI_M_IRQ_CLEAR, stat);
sys/dev/audio/audio.c
2019
audiostat(struct file *fp, struct stat *st)
sys/dev/audio/audio.c
585
static int audiostat(struct file *, struct stat *);
sys/dev/dmover/dmover_io.c
601
dmio_stat(struct file *fp, struct stat *st)
sys/dev/gpib/cs80bus.c
234
u_int8_t stat;
sys/dev/gpib/cs80bus.c
247
(void) gpibrecv(sc->sc_ic, slave, CS80CMD_QSTAT, &stat, 1);
sys/dev/gpib/cs80bus.c
248
if (stat != 0) {
sys/dev/gpib/cs80bus.c
249
DPRINTF(DBG_FAIL, ("cs80describe: failed, stat=0x%x\n", stat));
sys/dev/gpib/cs80bus.c
313
u_int8_t stat;
sys/dev/gpib/cs80bus.c
322
(void) gpibrecv(sc->sc_ic, slave, CS80CMD_QSTAT, &stat, 1);
sys/dev/gpib/cs80bus.c
323
if (stat != 0) {
sys/dev/gpib/cs80bus.c
324
DPRINTF(DBG_FAIL, ("cs80status: failed, stat=0x%x\n", stat));
sys/dev/gpib/cs80bus.c
359
u_int8_t stat;
sys/dev/gpib/cs80bus.c
373
if (gpibrecv(sc->sc_ic, slave, CS80CMD_QSTAT, &stat, 1) != 1) {
sys/dev/gpib/cs80bus.c
377
if (stat != 0) {
sys/dev/gpib/cs80bus.c
378
DPRINTF(DBG_FAIL, ("cs80send: failed, stat=0x%x\n", stat));
sys/dev/gpib/ct.c
697
u_int8_t stat;
sys/dev/gpib/ct.c
724
(void) gpibrecv(sc->sc_ic, slave, CS80CMD_QSTAT, &stat, 1);
sys/dev/gpib/ct.c
726
if (stat) {
sys/dev/gpib/ct.c
733
(void) gpibrecv(sc->sc_ic, slave, CS80CMD_QSTAT, &stat, 1);
sys/dev/gpib/ct.c
736
stat, sc->sc_stat.c_aef,
sys/dev/gpib/ct.c
738
if (stat == 0) {
sys/dev/gpib/hil_gpib.c
59
u_int8_t stat;
sys/dev/gpib/hil_gpib.c
63
if (gpibrecv(ga->ga_ic, ga->ga_address, -1, &stat, 1) != 1)
sys/dev/gpib/hil_gpib.c
65
printf("hilmatch: enable status byte 0x%x\n", stat);
sys/dev/gpib/rd.c
1095
u_int8_t stat;
sys/dev/gpib/rd.c
1155
(void) gpibrecv(sc->sc_ic, slave, CS80CMD_QSTAT, &stat, 1);
sys/dev/gpib/rd.c
1156
if (stat)
sys/dev/gpib/rd.c
765
u_int8_t stat = 13; /* in case gpibrecv fails */
sys/dev/gpib/rd.c
796
rv = gpibrecv(sc->sc_ic, slave, CS80CMD_QSTAT, &stat, 1);
sys/dev/gpib/rd.c
797
if (rv != 1 || stat) {
sys/dev/gpib/rd.c
800
stat));
sys/dev/hil/hil.c
274
uint8_t c, stat;
sys/dev/hil/hil.c
276
stat = bus_space_read_1(sc->sc_bst, sc->sc_bsh, HILP_STAT);
sys/dev/hil/hil.c
282
if ((stat & HIL_DATA_RDY) == 0)
sys/dev/hil/hil.c
289
hil_process_int(sc, stat, c);
sys/dev/hil/hil.c
294
rnd_add_uint32(&sc->sc_rndsource, (stat << 8) | c);
sys/dev/hil/hil.c
300
hil_process_int(struct hil_softc *sc, uint8_t stat, uint8_t c)
sys/dev/hil/hil.c
305
switch ((stat >> HIL_SSHIFT) & HIL_SMASK) {
sys/dev/hil/hil.c
367
hil_process_poll(struct hil_softc *sc, uint8_t stat, uint8_t c)
sys/dev/hil/hil.c
371
switch ((stat >> HIL_SSHIFT) & HIL_SMASK) {
sys/dev/hil/hil.c
864
hil_poll_data(struct hildev_softc *hdsc, uint8_t *stat, uint8_t *data)
sys/dev/hil/hil.c
879
*stat = s;
sys/dev/hil/hilkbd.c
326
uint8_t c, stat;
sys/dev/hil/hilkbd.c
329
while (hil_poll_data(hdsc, &stat, &c) != 0)
sys/dev/i2c/adm1021.c
336
uint8_t cmd, data, stat, comp, rev;
sys/dev/i2c/adm1021.c
356
if (admtemp_exec(sc, I2C_OP_READ_WITH_STOP, &cmd, &stat)) {
sys/dev/i2c/adm1021.c
362
if ((stat & ADM1021_STATUS_INVAL) == ADM1021_STATUS_INVAL) {
sys/dev/i2c/adm1021.c
364
&stat)) {
sys/dev/i2c/adm1021.c
373
if ((stat & ADM1021_STATUS_INVAL) != ADM1021_STATUS_INVAL &&
sys/dev/i2c/adm1021.c
374
(stat & ADM1021_STATUS_NOEXT))
sys/dev/i2c/axppmic.c
1001
if (n == c->poklirq.reg && (stat & c->poklirq.mask) != 0)
sys/dev/i2c/axppmic.c
1003
if (n == c->acinirq.reg && (stat & c->acinirq.mask) != 0)
sys/dev/i2c/axppmic.c
1005
if (n == c->vbusirq.reg && (stat & c->vbusirq.mask) != 0)
sys/dev/i2c/axppmic.c
1007
if (n == c->battirq.reg && (stat & c->battirq.mask) != 0)
sys/dev/i2c/axppmic.c
1009
if (n == c->chargeirq.reg && (stat & c->chargeirq.mask) != 0)
sys/dev/i2c/axppmic.c
1011
if (n == c->chargestirq.reg && (stat & c->chargestirq.mask) != 0)
sys/dev/i2c/axppmic.c
988
uint8_t stat;
sys/dev/i2c/axppmic.c
995
if (axppmic_read(sc->sc_i2c, sc->sc_addr, AXP_IRQ_STATUS_REG(n), &stat, flags) == 0) {
sys/dev/i2c/axppmic.c
996
if (stat != 0) {
sys/dev/i2c/axppmic.c
998
AXP_IRQ_STATUS_REG(n), stat, flags);
sys/dev/i2c/tcakp.c
162
uint8_t stat, ev;
sys/dev/i2c/tcakp.c
167
tcakp_read(sc, TCA_INT_STAT, &stat);
sys/dev/i2c/tcakp.c
168
if (stat & INT_STAT_K_INT) {
sys/dev/i2c/tcakp.c
191
tcakp_write(sc, TCA_INT_STAT, stat);
sys/dev/ic/aha.c
1002
wmbx->mbi[i].stat = AHA_MBI_FREE;
sys/dev/ic/aha.c
296
if (wmbi->stat == AHA_MBI_FREE) {
sys/dev/ic/aha.c
298
if (wmbi->stat != AHA_MBI_FREE) {
sys/dev/ic/aha.c
334
wmbi->stat, wmbi);
sys/dev/ic/aha.c
339
switch (wmbi->stat) {
sys/dev/ic/aha.c
365
device_xname(sc->sc_dev), wmbi->stat);
sys/dev/ic/aha.c
373
wmbi->stat = AHA_MBI_FREE;
sys/dev/ic/aha.c
381
} while (wmbi->stat != AHA_MBI_FREE);
sys/dev/ic/ahareg.h
134
u_char stat;
sys/dev/ic/cac.c
680
if (dstatus.stat < sizeof(cac_stat)/sizeof(cac_stat[0]))
sys/dev/ic/cac.c
681
bv->bv_status = cac_stat[dstatus.stat];
sys/dev/ic/cacreg.h
174
u_int8_t stat;
sys/dev/ic/ciss.c
1081
ciss_ldstat(struct ciss_softc *sc, int target, struct ciss_ldstat *stat)
sys/dev/ic/ciss.c
1089
ccb->ccb_len = sizeof(*stat);
sys/dev/ic/ciss.c
1090
ccb->ccb_data = stat;
sys/dev/ic/ciss.c
1102
cmd->cdb[7] = sizeof(*stat) >> 8; /* biiiig endian */
sys/dev/ic/ciss.c
1103
cmd->cdb[8] = sizeof(*stat) & 0xff;
sys/dev/ic/ciss.c
1440
if (ldstat->stat == CISS_LD_REBLD &&
sys/dev/ic/ciss.c
1560
if (ldstat->stat < sizeof(ciss_stat)/sizeof(ciss_stat[0]))
sys/dev/ic/ciss.c
1561
bv->bv_status = ciss_stat[ldstat->stat];
sys/dev/ic/ciss.c
1592
ciss_blink(struct ciss_softc *sc, int ld, int pd, int stat,
sys/dev/ic/ciss.c
1606
ldp->bling.pdtab[ldp->tgts[pd]] = stat == BIOC_SBUNBLINK? 0 :
sys/dev/ic/cissreg.h
220
u_int8_t stat;
sys/dev/ic/com.c
2717
u_char stat, c;
sys/dev/ic/com.c
2733
if (!ISSET(stat = CSR_READ_1(regsp, COM_REG_LSR), LSR_RXRDY)) {
sys/dev/ic/com.c
2739
stat = CSR_READ_1(regsp, COM_REG_IIR);
sys/dev/ic/com.c
2753
int cin, stat, timo;
sys/dev/ic/com.c
2756
&& ISSET(stat = CSR_READ_1(regsp, COM_REG_LSR), LSR_RXRDY)) {
sys/dev/ic/com.c
2759
stat = CSR_READ_1(regsp, COM_REG_IIR);
sys/dev/ic/cy.c
1064
int cy_chip, stat;
sys/dev/ic/cy.c
1073
stat = cd_read_reg(sc, cy_chip, CD1400_SVRR);
sys/dev/ic/cy.c
1074
if (stat == 0)
sys/dev/ic/cy.c
1077
if (ISSET(stat, CD1400_SVRR_RXRDY)) {
sys/dev/ic/cy.c
1191
if (ISSET(stat, CD1400_SVRR_MDMCH)) {
sys/dev/ic/cy.c
1224
if (ISSET(stat, CD1400_SVRR_TXRDY)) {
sys/dev/ic/dpt.c
505
int i, j, stat;
sys/dev/ic/dpt.c
526
while((((stat = dpt_inb(sc, HA_STATUS))
sys/dev/ic/dpt.c
528
&& (stat != (HA_ST_READY|HA_ST_SEEK_COMPLETE|HA_ST_ERROR))
sys/dev/ic/dpt.c
529
&& (stat != (HA_ST_READY|HA_ST_SEEK_COMPLETE|HA_ST_ERROR|HA_ST_DRQ)))
sys/dev/ic/dwiic.c
558
uint32_t stat;
sys/dev/ic/dwiic.c
560
stat = dwiic_read(sc, DW_IC_INTR_STAT);
sys/dev/ic/dwiic.c
562
if (stat & DW_IC_INTR_RX_UNDER)
sys/dev/ic/dwiic.c
564
if (stat & DW_IC_INTR_RX_OVER)
sys/dev/ic/dwiic.c
566
if (stat & DW_IC_INTR_TX_OVER)
sys/dev/ic/dwiic.c
568
if (stat & DW_IC_INTR_RD_REQ)
sys/dev/ic/dwiic.c
570
if (stat & DW_IC_INTR_TX_ABRT)
sys/dev/ic/dwiic.c
572
if (stat & DW_IC_INTR_RX_DONE)
sys/dev/ic/dwiic.c
574
if (stat & DW_IC_INTR_ACTIVITY)
sys/dev/ic/dwiic.c
576
if (stat & DW_IC_INTR_STOP_DET)
sys/dev/ic/dwiic.c
578
if (stat & DW_IC_INTR_START_DET)
sys/dev/ic/dwiic.c
580
if (stat & DW_IC_INTR_GEN_CALL)
sys/dev/ic/dwiic.c
583
return stat;
sys/dev/ic/dwiic.c
590
uint32_t en, stat;
sys/dev/ic/dwiic.c
608
stat = dwiic_read_clear_intrbits(sc);
sys/dev/ic/dwiic.c
610
__func__, en, stat));
sys/dev/ic/dwiic.c
611
if (!(stat & ~DW_IC_INTR_ACTIVITY))
sys/dev/ic/dwiic.c
614
if (stat & DW_IC_INTR_TX_ABRT)
sys/dev/ic/dwiic.c
622
if (stat & DW_IC_INTR_RX_FULL) {
sys/dev/ic/dwiic.c
628
if (stat & DW_IC_INTR_TX_EMPTY) {
sys/dev/ic/dwiic.c
634
if (stat & DW_IC_INTR_STOP_DET) {
sys/dev/ic/elinkxl.c
1233
uint16_t stat;
sys/dev/ic/elinkxl.c
1242
stat = bus_space_read_2(iot, ioh, ELINK_STATUS);
sys/dev/ic/elinkxl.c
1244
if ((stat & XL_WATCHED_INTERRUPTS) == 0) {
sys/dev/ic/elinkxl.c
1245
if ((stat & INTR_LATCH) == 0) {
sys/dev/ic/elinkxl.c
1260
(stat & (XL_WATCHED_INTERRUPTS | INTR_LATCH)));
sys/dev/ic/elinkxl.c
1264
if (stat & HOST_ERROR) {
sys/dev/ic/elinkxl.c
1266
"adapter failure (%x)\n", stat);
sys/dev/ic/elinkxl.c
1271
if (stat & UPD_STATS) {
sys/dev/ic/elinkxl.c
1274
if (stat & TX_COMPLETE) {
sys/dev/ic/elinkxl.c
1277
if (stat & DN_COMPLETE)
sys/dev/ic/elinkxl.c
1279
"Ignoring Dn interrupt (%x)\n", stat);
sys/dev/ic/elinkxl.c
1288
} else if (stat & DN_COMPLETE) {
sys/dev/ic/elinkxl.c
1330
if (stat & UP_COMPLETE) {
sys/dev/ic/elinkxl.c
1425
if (stat)
sys/dev/ic/elinkxl.c
1426
rnd_add_uint32(&sc->rnd_source, stat);
sys/dev/ic/elinkxlvar.h
126
int stat; \
sys/dev/ic/elinkxlvar.h
128
stat = bus_space_read_2((sc)->sc_iot, (sc)->sc_ioh, \
sys/dev/ic/elinkxlvar.h
130
} while ((stat & COMMAND_IN_PROGRESS) && (stat != 0xffff)); \
sys/dev/ic/hd64570.c
1004
u_int8_t *buf, stat;
sys/dev/ic/hd64570.c
1056
stat = sca_desc_read_stat(sc, desc);
sys/dev/ic/hd64570.c
1057
sca_desc_write_stat(sc, desc, stat & ~SCA_DESC_EOT);
sys/dev/ic/hd64570.c
1150
stat = sca_desc_read_stat(sc, desc);
sys/dev/ic/hd64570.c
1151
sca_desc_write_stat(sc, desc, stat | SCA_DESC_EOT);
sys/dev/ic/hd64570.c
328
sca_desc_write_stat(struct sca_softc *sc, struct sca_desc *dp, u_int8_t stat)
sys/dev/ic/hd64570.c
331
(dp)->sd_stat = stat;
sys/dev/ic/hd64570.c
335
stat);
sys/dev/ic/i82365.c
1248
uint8_t stat;
sys/dev/ic/i82365.c
1252
stat = pcic_read(h, PCIC_IF_STATUS);
sys/dev/ic/i82365.c
1253
if (stat & PCIC_IF_STATUS_READY)
sys/dev/ic/i82365.c
1257
stat = pcic_read(h, PCIC_IF_STATUS);
sys/dev/ic/i82365.c
1258
if (stat & PCIC_IF_STATUS_READY)
sys/dev/ic/i82365.c
1260
if ((stat & PCIC_IF_STATUS_CARDDETECT_MASK) !=
sys/dev/ic/i82365.c
1267
printf("pcic_wait_ready: ready never happened, status=%02x\n", stat);
sys/dev/ic/iha.c
1773
uint8_t period, stat;
sys/dev/ic/iha.c
1810
stat = bus_space_read_1(iot, ioh, TUL_ISTUS0);
sys/dev/ic/iha.c
1811
while ((stat & DABT) == 0);
sys/dev/ic/iha.c
939
uint8_t stat;
sys/dev/ic/iha.c
943
stat = bus_space_read_1(iot, ioh, TUL_STAT0);
sys/dev/ic/iha.c
944
if ((stat & INTPD) != 0) {
sys/dev/ic/iha.c
945
sc->sc_status0 = stat;
sys/dev/ic/malo.c
1321
int stat, s;
sys/dev/ic/malo.c
1327
stat = sc->sc_txring.stat;
sys/dev/ic/malo.c
1329
desc = &sc->sc_txring.desc[sc->sc_txring.stat];
sys/dev/ic/malo.c
1330
data = &sc->sc_txring.data[sc->sc_txring.stat];
sys/dev/ic/malo.c
1372
device_xname(sc->sc_dev), sc->sc_txring.stat);
sys/dev/ic/malo.c
1376
if (++sc->sc_txring.stat >= sc->sc_txring.count)
sys/dev/ic/malo.c
1377
sc->sc_txring.stat = 0;
sys/dev/ic/malo.c
1378
if (sc->sc_txring.stat == stat)
sys/dev/ic/malo.c
720
ring->cur = ring->next = ring->stat = 0;
sys/dev/ic/malo.c
808
ring->cur = ring->next = ring->stat = 0;
sys/dev/ic/malovar.h
49
int stat;
sys/dev/ic/mfi.c
837
mfi_get_bbu(struct mfi_softc *sc, struct mfi_bbu_status *stat)
sys/dev/ic/mfi.c
842
sizeof(*stat), stat, NULL, cold ? true : false))
sys/dev/ic/mfi.c
846
"status 0x%x\n", stat->battery_type, stat->voltage, stat->current,
sys/dev/ic/mfi.c
847
stat->temperature, stat->fw_status);
sys/dev/ic/mfi.c
849
switch (stat->battery_type) {
sys/dev/ic/mfi.c
852
"charger ctrl %d\n", stat->detail.ibbu.gas_guage_status,
sys/dev/ic/mfi.c
853
stat->detail.ibbu.relative_charge ,
sys/dev/ic/mfi.c
854
stat->detail.ibbu.charger_system_state ,
sys/dev/ic/mfi.c
855
stat->detail.ibbu.charger_system_ctrl);
sys/dev/ic/mfi.c
857
stat->detail.ibbu.charging_current ,
sys/dev/ic/mfi.c
858
stat->detail.ibbu.absolute_charge ,
sys/dev/ic/mfi.c
859
stat->detail.ibbu.max_error);
sys/dev/ic/mfi.c
863
stat->detail.ibbu.gas_guage_status,
sys/dev/ic/mfi.c
864
stat->detail.bbu.relative_charge ,
sys/dev/ic/mfi.c
865
stat->detail.bbu.charger_status );
sys/dev/ic/mfi.c
867
stat->detail.bbu.remaining_capacity ,
sys/dev/ic/mfi.c
868
stat->detail.bbu.full_charge_capacity ,
sys/dev/ic/mfi.c
869
stat->detail.bbu.is_SOH_good);
sys/dev/ic/mfi.c
875
switch (stat->battery_type) {
sys/dev/ic/mfi.c
877
return (stat->detail.bbu.is_SOH_good ?
sys/dev/ic/mfi.c
882
if (stat->fw_status &
sys/dev/ic/mtd803.c
357
sc->desc[i].stat = MTD_RXD_OWNER;
sys/dev/ic/mtd803.c
376
sc->desc[i].stat = 0; /* At least, NOT MTD_TXD_OWNER! */
sys/dev/ic/mtd803.c
485
sc->desc[MTD_NUM_RXD + sc->cur_tx].stat = MTD_TXD_OWNER;
sys/dev/ic/mtd803.c
501
sc->desc[MTD_NUM_RXD + first_tx].stat = MTD_TXD_OWNER;
sys/dev/ic/mtd803.c
639
for (; !(sc->desc[sc->cur_rx].stat & MTD_RXD_OWNER);) {
sys/dev/ic/mtd803.c
641
if (sc->desc[sc->cur_rx].stat & MTD_RXD_ERRSUM) {
sys/dev/ic/mtd803.c
645
sc->desc[sc->cur_rx].stat = MTD_RXD_OWNER;
sys/dev/ic/mtd803.c
654
len = (sc->desc[sc->cur_rx].stat & MTD_RXD_FLEN)
sys/dev/ic/mtd803.c
662
sc->desc[sc->cur_rx].stat = MTD_RXD_OWNER;
sys/dev/ic/mtd803.c
675
sc->desc[sc->cur_rx].stat = MTD_RXD_OWNER;
sys/dev/ic/mtd803var.h
54
u_int32_t stat; /* Status field */
sys/dev/ic/ncr53c9x.c
1228
xs->status = ecb->stat;
sys/dev/ic/ncr53c9x.c
1233
} else if ((ecb->stat & ST_MASK) == SCSI_CHECK) {
sys/dev/ic/ncr53c9x.c
2654
ecb->stat = sc->sc_imess[sc->sc_imlen - 2];
sys/dev/ic/ncr53c9x.c
2656
NCR_PHASE(("<stat:(%x,%x)>", ecb->stat, msg));
sys/dev/ic/ncr53c9x.c
2915
ecb, ecb->flags, ecb->dleft, ecb->stat,
sys/dev/ic/ncr53c9x.c
911
ecb->stat = 0;
sys/dev/ic/ncr53c9xvar.h
119
u_char stat; /* SCSI status byte */
sys/dev/ic/osiop.c
1143
*status = ds->stat[0];
sys/dev/ic/osiop.c
1614
intcode, ds->stat[0], ds->msgbuf[0], ds->msgbuf[1],
sys/dev/ic/osiop.c
1644
ds ? ds->stat[0] : 0,
sys/dev/ic/osiop.c
1729
(sc->sc_nexus != NULL) ? sc->sc_nexus->ds->stat[0] : 0);
sys/dev/ic/osiop.c
1744
(sc->sc_nexus != NULL) ? sc->sc_nexus->ds->stat[0] : 0,
sys/dev/ic/osiop.c
771
uint8_t stat;
sys/dev/ic/osiop.c
824
stat = osiop_read_1(sc, OSIOP_ISTAT);
sys/dev/ic/osiop.c
825
if (stat & OSIOP_ISTAT_SIP)
sys/dev/ic/osiop.c
828
if (stat & OSIOP_ISTAT_DIP)
sys/dev/ic/osiop.c
927
ds->stat[0] = SCSI_OSIOP_NOSTATUS; /* set invalid status */
sys/dev/ic/osiopvar.h
111
uint8_t stat[8]; /* 232: stat buf */
sys/dev/ic/osiopvar.h
128
#define OSIOP_DSSTATOFF OSIOP_DSOFF(stat[0])
sys/dev/ic/pckbc.c
132
u_char stat, c;
sys/dev/ic/pckbc.c
139
stat = q->poll_stat;
sys/dev/ic/pckbc.c
147
stat = bus_space_read_1(t->t_iot, t->t_ioh_c, 0);
sys/dev/ic/pckbc.c
148
if (stat & KBS_DIB) {
sys/dev/ic/pckbc.c
152
if (checkaux && (stat & 0x20)) { /* aux data */
sys/dev/ic/pckbc.c
495
u_char stat;
sys/dev/ic/pckbc.c
501
stat = bus_space_read_1(t->t_iot, t->t_ioh_c, 0);
sys/dev/ic/pckbc.c
502
if (!(stat & KBS_DIB))
sys/dev/ic/pckbc.c
507
slot = (t->t_haveaux && (stat & 0x20)) ?
sys/dev/ic/pckbc.c
520
rnd_add_uint32(&q->rnd_source, (stat<<8)|data);
sys/dev/ic/pckbc.c
524
q->poll_stat = stat;
sys/dev/ic/pckbc.c
582
u_char stat;
sys/dev/ic/pckbc.c
588
stat = bus_space_read_1(t->t_iot, t->t_ioh_c, 0);
sys/dev/ic/pckbc.c
589
if (!(stat & KBS_DIB))
sys/dev/ic/pckbc.c
592
slot = (t->t_haveaux && (stat & 0x20)) ?
sys/dev/ic/pckbc.c
603
rnd_add_uint32(&q->rnd_source, (stat<<8)|data);
sys/dev/ic/pl050.c
181
const uint32_t stat = PLKMI_READ(sc, KMISTAT);
sys/dev/ic/pl050.c
182
if (stat & RXFULL) {
sys/dev/ic/pl050.c
66
const uint32_t stat = PLKMI_READ(sc, KMISTAT);
sys/dev/ic/pl050.c
67
if ((stat & mask) == val)
sys/dev/ic/rt2661.c
418
ring->cur = ring->next = ring->stat = 0;
sys/dev/ic/rt2661.c
502
ring->cur = ring->next = ring->stat = 0;
sys/dev/ic/rt2661.c
927
data = &txq->data[txq->stat];
sys/dev/ic/rt2661.c
963
DPRINTFN(15, ("tx done q=%d idx=%u\n", qid, txq->stat));
sys/dev/ic/rt2661.c
966
if (++txq->stat >= txq->count) /* faster than % count */
sys/dev/ic/rt2661.c
967
txq->stat = 0;
sys/dev/ic/rt2661var.h
67
int stat;
sys/dev/ic/rt2860.c
1222
uint32_t stat;
sys/dev/ic/rt2860.c
1226
while ((stat = RAL_READ(sc, RT2860_TX_STAT_FIFO)) & RT2860_TXQ_VLD) {
sys/dev/ic/rt2860.c
1227
DPRINTFN(4, ("tx stat 0x%08x\n", stat));
sys/dev/ic/rt2860.c
1229
wcid = (stat >> RT2860_TXQ_WCID_SHIFT) & 0xff;
sys/dev/ic/rt2860.c
1232
if (!(stat & RT2860_TXQ_ACKREQ) || wcid == 0xff)
sys/dev/ic/rt2860.c
1238
if (stat & RT2860_TXQ_OK) {
sys/dev/ic/rt2860.c
1245
mcs = (stat >> RT2860_TXQ_MCS_SHIFT) & 0x7f;
sys/dev/ic/rt2860.c
1246
pid = (stat >> RT2860_TXQ_PID_SHIFT) & 0xf;
sys/dev/ic/sti.c
1805
uint8_t stat;
sys/dev/ic/sti.c
1808
stat = bus_space_read_1(memt, memh, NGLE_REG_15b0);
sys/dev/ic/sti.c
1809
if (stat == 0)
sys/dev/ic/sti.c
1810
stat = bus_space_read_1(memt, memh, NGLE_REG_15b0);
sys/dev/ic/sti.c
1811
} while (stat != 0);
sys/dev/ic/wi.c
2021
uint16_t stat;
sys/dev/ic/wi.c
2030
wi_read_bap(sc, fid, sizeof(ltbuf), &stat, sizeof(stat));
sys/dev/ic/wi.c
2031
DPRINTF(("wi_info_intr: LINK_STAT 0x%x\n", le16toh(stat)));
sys/dev/ic/wi.c
2032
switch (le16toh(stat)) {
sys/dev/ic/wi.c
2074
wi_read_bap(sc, fid, off, &stat, sizeof(stat));
sys/dev/ic/wi.c
2075
stat = le16toh(stat);
sys/dev/ic/wi.c
2077
if (stat & 0xf000)
sys/dev/ic/wi.c
2078
stat = ~stat;
sys/dev/ic/wi.c
2080
*ptr += stat;
sys/dev/ieee1394/fwohci.c
1017
} else if ((stat & OHCI_CNTL_CYCMATCH_S) == 0) {
sys/dev/ieee1394/fwohci.c
1018
aprint_error_dev(fc->dev, "IT DMA underrun (0x%08x)\n", stat);
sys/dev/ieee1394/fwohci.c
1083
uint32_t fun, stat;
sys/dev/ieee1394/fwohci.c
1107
stat = OREAD(sc, FWOHCI_INTSTAT);
sys/dev/ieee1394/fwohci.c
1108
if ((stat & OHCI_INT_REG_FAIL) != 0 ||
sys/dev/ieee1394/fwohci.c
1559
u_int stat, status;
sys/dev/ieee1394/fwohci.c
1601
stat = status & FWOHCIEV_MASK;
sys/dev/ieee1394/fwohci.c
1602
switch(stat) {
sys/dev/ieee1394/fwohci.c
1614
aprint_error_dev(fc->dev, "txd err=%2x %s\n", stat,
sys/dev/ieee1394/fwohci.c
1615
fwohcicode[stat]);
sys/dev/ieee1394/fwohci.c
1621
aprint_error_dev(fc->dev, "txd err=%2x %s\n", stat,
sys/dev/ieee1394/fwohci.c
1622
fwohcicode[stat]);
sys/dev/ieee1394/fwohci.c
1637
aprint_error_dev(fc->dev, "txd err=%2x %s\n", stat,
sys/dev/ieee1394/fwohci.c
1638
fwohcicode[stat]);
sys/dev/ieee1394/fwohci.c
1662
} else if (stat != FWOHCIEV_ACKPEND) {
sys/dev/ieee1394/fwohci.c
1663
if (stat != FWOHCIEV_ACKCOMPL)
sys/dev/ieee1394/fwohci.c
1953
fwohci_dump_intr(struct fwohci_softc *sc, uint32_t stat)
sys/dev/ieee1394/fwohci.c
1956
if (stat & OREAD(sc, FWOHCI_INTMASK))
sys/dev/ieee1394/fwohci.c
1961
stat & OHCI_INT_EN ? "DMA_EN ":"",
sys/dev/ieee1394/fwohci.c
1962
stat & OHCI_INT_PHY_REG ? "PHY_REG ":"",
sys/dev/ieee1394/fwohci.c
1963
stat & OHCI_INT_CYC_LONG ? "CYC_LONG ":"",
sys/dev/ieee1394/fwohci.c
1964
stat & OHCI_INT_ERR ? "INT_ERR ":"",
sys/dev/ieee1394/fwohci.c
1965
stat & OHCI_INT_CYC_ERR ? "CYC_ERR ":"",
sys/dev/ieee1394/fwohci.c
1966
stat & OHCI_INT_CYC_LOST ? "CYC_LOST ":"",
sys/dev/ieee1394/fwohci.c
1967
stat & OHCI_INT_CYC_64SECOND ? "CYC_64SECOND ":"",
sys/dev/ieee1394/fwohci.c
1968
stat & OHCI_INT_CYC_START ? "CYC_START ":"",
sys/dev/ieee1394/fwohci.c
1969
stat & OHCI_INT_PHY_INT ? "PHY_INT ":"",
sys/dev/ieee1394/fwohci.c
1970
stat & OHCI_INT_PHY_BUS_R ? "BUS_RESET ":"",
sys/dev/ieee1394/fwohci.c
1971
stat & OHCI_INT_PHY_SID ? "SID ":"",
sys/dev/ieee1394/fwohci.c
1972
stat & OHCI_INT_LR_ERR ? "DMA_LR_ERR ":"",
sys/dev/ieee1394/fwohci.c
1973
stat & OHCI_INT_PW_ERR ? "DMA_PW_ERR ":"",
sys/dev/ieee1394/fwohci.c
1974
stat & OHCI_INT_DMA_IR ? "DMA_IR ":"",
sys/dev/ieee1394/fwohci.c
1975
stat & OHCI_INT_DMA_IT ? "DMA_IT " :"",
sys/dev/ieee1394/fwohci.c
1976
stat & OHCI_INT_DMA_PRRS ? "DMA_PRRS " :"",
sys/dev/ieee1394/fwohci.c
1977
stat & OHCI_INT_DMA_PRRQ ? "DMA_PRRQ " :"",
sys/dev/ieee1394/fwohci.c
1978
stat & OHCI_INT_DMA_ARRS ? "DMA_ARRS " :"",
sys/dev/ieee1394/fwohci.c
1979
stat & OHCI_INT_DMA_ARRQ ? "DMA_ARRQ " :"",
sys/dev/ieee1394/fwohci.c
1980
stat & OHCI_INT_DMA_ATRS ? "DMA_ATRS " :"",
sys/dev/ieee1394/fwohci.c
1981
stat & OHCI_INT_DMA_ATRQ ? "DMA_ATRQ " :"",
sys/dev/ieee1394/fwohci.c
1982
stat, OREAD(sc, FWOHCI_INTMASK)
sys/dev/ieee1394/fwohci.c
1988
fwohci_intr_core(struct fwohci_softc *sc, uint32_t stat)
sys/dev/ieee1394/fwohci.c
1993
if ((stat & OHCI_INT_PHY_BUS_R) && (fc->status != FWBUSRESET)) {
sys/dev/ieee1394/fwohci.c
2011
if (stat & OHCI_INT_PHY_SID) {
sys/dev/ieee1394/fwohci.c
2061
if ((stat & ~(OHCI_INT_PHY_BUS_R | OHCI_INT_PHY_SID)))
sys/dev/ieee1394/fwohci.c
2066
fwohci_intr_dma(struct fwohci_softc *sc, uint32_t stat)
sys/dev/ieee1394/fwohci.c
2072
if (stat & OHCI_INT_DMA_IR) {
sys/dev/ieee1394/fwohci.c
2086
if (stat & OHCI_INT_DMA_IT) {
sys/dev/ieee1394/fwohci.c
2092
if (stat & OHCI_INT_DMA_PRRS) {
sys/dev/ieee1394/fwohci.c
2099
if (stat & OHCI_INT_DMA_PRRQ) {
sys/dev/ieee1394/fwohci.c
2106
if (stat & OHCI_INT_CYC_LOST) {
sys/dev/ieee1394/fwohci.c
2119
if (stat & OHCI_INT_DMA_ATRQ)
sys/dev/ieee1394/fwohci.c
2121
if (stat & OHCI_INT_DMA_ATRS)
sys/dev/ieee1394/fwohci.c
2123
if (stat & OHCI_INT_PW_ERR)
sys/dev/ieee1394/fwohci.c
2125
if (stat & OHCI_INT_ERR)
sys/dev/ieee1394/fwohci.c
2127
if (stat & OHCI_INT_PHY_INT)
sys/dev/ieee1394/fwohci.c
2174
uint32_t stat;
sys/dev/ieee1394/fwohci.c
2177
stat = atomic_swap_32(&sc->intstat, 0);
sys/dev/ieee1394/fwohci.c
2178
if (stat)
sys/dev/ieee1394/fwohci.c
2179
fwohci_intr_dma(sc, stat);
sys/dev/ieee1394/fwohci.c
2192
uint32_t stat;
sys/dev/ieee1394/fwohci.c
2206
stat =
sys/dev/ieee1394/fwohci.c
2216
if (stat == 0)
sys/dev/ieee1394/fwohci.c
2219
switch (stat & FWOHCIEV_MASK) {
sys/dev/ieee1394/fwohci.c
2228
stat, fwohcicode[stat & 0x1f]);
sys/dev/ieee1394/fwohci.c
2245
uint32_t stat;
sys/dev/ieee1394/fwohci.c
2259
stat = FWOHCI_DMA_READ(db_tr->db[ldesc].db.desc.res) >>
sys/dev/ieee1394/fwohci.c
2261
if (stat == 0)
sys/dev/ieee1394/fwohci.c
2278
switch (stat & FWOHCIEV_MASK) {
sys/dev/ieee1394/fwohci.c
2286
stat, fwohcicode[stat & 0x1f]);
sys/dev/ieee1394/fwohci.c
2305
uint32_t cntl, stat, cmd, match;
sys/dev/ieee1394/fwohci.c
2319
cntl = stat = OREAD(sc, dbch->off);
sys/dev/ieee1394/fwohci.c
2329
stat &= 0xffff;
sys/dev/ieee1394/fwohci.c
2330
if (stat)
sys/dev/ieee1394/fwohci.c
2333
stat & OHCI_CNTL_DMA_RUN ? "RUN," : "",
sys/dev/ieee1394/fwohci.c
2334
stat & OHCI_CNTL_DMA_WAKE ? "WAKE," : "",
sys/dev/ieee1394/fwohci.c
2335
stat & OHCI_CNTL_DMA_DEAD ? "DEAD," : "",
sys/dev/ieee1394/fwohci.c
2336
stat & OHCI_CNTL_DMA_ACTIVE ? "ACTIVE," : "",
sys/dev/ieee1394/fwohci.c
2337
stat & OHCI_CNTL_DMA_BT ? "BRANCH," : "",
sys/dev/ieee1394/fwohci.c
2338
stat & OHCI_CNTL_DMA_BAD ? "BADDMA," : "",
sys/dev/ieee1394/fwohci.c
2339
fwohcicode[stat & 0x1f],
sys/dev/ieee1394/fwohci.c
2340
stat & 0x1f
sys/dev/ieee1394/fwohci.c
2431
fwohcireg_t stat;
sys/dev/ieee1394/fwohci.c
2456
stat = res >> OHCI_STATUS_SHIFT;
sys/dev/ieee1394/fwohci.c
2466
stat,
sys/dev/ieee1394/fwohci.c
2468
if (stat & 0xff00)
sys/dev/ieee1394/fwohci.c
2470
stat & OHCI_CNTL_DMA_RUN ? "RUN," : "",
sys/dev/ieee1394/fwohci.c
2471
stat & OHCI_CNTL_DMA_WAKE ? "WAKE," : "",
sys/dev/ieee1394/fwohci.c
2472
stat & OHCI_CNTL_DMA_DEAD ? "DEAD," : "",
sys/dev/ieee1394/fwohci.c
2473
stat & OHCI_CNTL_DMA_ACTIVE ? "ACTIVE," : "",
sys/dev/ieee1394/fwohci.c
2474
stat & OHCI_CNTL_DMA_BT ? "BRANCH," : "",
sys/dev/ieee1394/fwohci.c
2475
stat & OHCI_CNTL_DMA_BAD ? "BADDMA," : "",
sys/dev/ieee1394/fwohci.c
2476
fwohcicode[stat & 0x1f],
sys/dev/ieee1394/fwohci.c
2477
stat & 0x1f
sys/dev/ieee1394/fwohci.c
2758
uint32_t stat, status, event;
sys/dev/ieee1394/fwohci.c
2900
stat = FWOHCI_DMA_READ(*(uint32_t *)(ld -
sys/dev/ieee1394/fwohci.c
2903
aprint_normal("plen: %d, stat %x\n", plen, stat);
sys/dev/ieee1394/fwohci.c
2905
spd = (stat >> 21) & 0x3;
sys/dev/ieee1394/fwohci.c
2906
event = (stat >> 16) & 0x1f;
sys/dev/ieee1394/fwohci.c
2944
fp->mode.common.tcode, stat);
sys/dev/ieee1394/fwohci.c
548
uint32_t stat, irstat, itstat;
sys/dev/ieee1394/fwohci.c
557
stat = OREAD(sc, FWOHCI_INTSTAT);
sys/dev/ieee1394/fwohci.c
558
if (stat == 0xffffffff) {
sys/dev/ieee1394/fwohci.c
562
if (stat)
sys/dev/ieee1394/fwohci.c
563
OWRITE(sc, FWOHCI_INTSTATCLR, stat & ~OHCI_INT_PHY_BUS_R);
sys/dev/ieee1394/fwohci.c
565
stat &= sc->intmask;
sys/dev/ieee1394/fwohci.c
566
if (stat == 0)
sys/dev/ieee1394/fwohci.c
569
atomic_swap_32(&sc->intstat, stat);
sys/dev/ieee1394/fwohci.c
570
if (stat & OHCI_INT_DMA_IR) {
sys/dev/ieee1394/fwohci.c
575
if (stat & OHCI_INT_DMA_IT) {
sys/dev/ieee1394/fwohci.c
581
fwohci_intr_core(sc, stat);
sys/dev/ieee1394/fwohci.c
805
uint32_t stat;
sys/dev/ieee1394/fwohci.c
870
stat = OREAD(sc, OHCI_IRCTL(dmach));
sys/dev/ieee1394/fwohci.c
871
if (stat & OHCI_CNTL_DMA_ACTIVE)
sys/dev/ieee1394/fwohci.c
873
if (stat & OHCI_CNTL_DMA_RUN) {
sys/dev/ieee1394/fwohci.c
875
aprint_error_dev(fc->dev, "IR DMA overrun (0x%08x)\n", stat);
sys/dev/ieee1394/fwohci.c
879
printf("start IR DMA 0x%x\n", stat);
sys/dev/ieee1394/fwohci.c
918
uint32_t stat;
sys/dev/ieee1394/fwohci.c
967
stat = OREAD(sc, OHCI_ITCTL(dmach));
sys/dev/ieee1394/fwohci.c
968
if (firewire_debug && (stat & OHCI_CNTL_CYCMATCH_S))
sys/dev/ieee1394/fwohci.c
969
printf("stat 0x%x\n", stat);
sys/dev/ieee1394/fwohci.c
971
if (stat & (OHCI_CNTL_DMA_ACTIVE | OHCI_CNTL_CYCMATCH_S))
sys/dev/ieee1394/fwohci.c
986
printf("fwohci_itxbuf_enable: kick 0x%08x\n", stat);
sys/dev/ieee1394/fwohci.c
991
if ((stat & OHCI_CNTL_DMA_RUN) == 0) {
sys/dev/ieee1394/fwohcireg.h
406
uint32_t stat:16,
sys/dev/ieee1394/fwohcireg.h
410
stat:16;
sys/dev/isa/aps.c
170
int bp, stat, n;
sys/dev/isa/aps.c
177
stat = bus_space_read_1(iot, ioh, APS_STR3);
sys/dev/isa/aps.c
178
if (stat & (APS_STR3_OBF3B | APS_STR3_SWMF)) {
sys/dev/isa/aps.c
183
stat = bus_space_read_1(iot, ioh, APS_STR3);
sys/dev/isa/aps.c
184
if (stat & (APS_STR3_MWMF))
sys/dev/isa/aps.c
207
stat = bus_space_read_1(iot, ioh, APS_STR3);
sys/dev/isa/aps.c
208
if (stat & (APS_STR3_OBF3B))
sys/dev/isa/dpt_isa.c
133
int i, j, stat, irq, drq;
sys/dev/isa/dpt_isa.c
155
while((((stat = bus_space_read_1(iot, ioh, HA_STATUS))
sys/dev/isa/dpt_isa.c
157
&& (stat != (HA_ST_READY|HA_ST_SEEK_COMPLETE|HA_ST_ERROR))
sys/dev/isa/dpt_isa.c
158
&& (stat != (HA_ST_READY|HA_ST_SEEK_COMPLETE|HA_ST_ERROR|HA_ST_DRQ)))
sys/dev/isa/if_iy.c
636
uint16_t resval, stat;
sys/dev/isa/if_iy.c
807
stat = bus_space_read_stream_2(iot, ioh, MEM_PORT_REG);
sys/dev/isa/if_iy.c
816
stat | htole16(CHAIN));
sys/dev/isa/if_iy.c
820
le16toh(stat) | CHAIN);
sys/dev/isa/if_iy.c
824
stat = bus_space_read_2(iot, ioh, MEM_PORT_REG);
sys/dev/isa/wds.c
1226
scb->cmd.stat = 0x00;
sys/dev/isa/wds.c
417
if (wmbi->stat == WDS_MBI_FREE) {
sys/dev/isa/wds.c
419
if (wmbi->stat != WDS_MBI_FREE) {
sys/dev/isa/wds.c
448
wmbi->stat, wmbi);
sys/dev/isa/wds.c
454
wds_done(sc, scb, wmbi->stat);
sys/dev/isa/wds.c
457
wmbi->stat = WDS_MBI_FREE;
sys/dev/isa/wds.c
459
} while (wmbi->stat != WDS_MBI_FREE);
sys/dev/isa/wds.c
763
wds_done(struct wds_softc *sc, struct wds_scb *scb, u_char stat)
sys/dev/isa/wds.c
789
if (stat == WDS_MBI_OK) {
sys/dev/isa/wds.c
794
switch (stat) {
sys/dev/isa/wds.c
812
if (scb->cmd.stat == SCSI_CHECK ||
sys/dev/isa/wds.c
813
scb->cmd.stat == SCSI_BUSY) {
sys/dev/isa/wds.c
814
xs->status = scb->cmd.stat;
sys/dev/isa/wds.c
838
scb->cmd.stat);
sys/dev/isa/wds.c
971
wmbx->mbi[i].stat = WDS_MBI_FREE;
sys/dev/isa/wdsreg.h
130
u_char stat;
sys/dev/isa/wdsreg.h
56
u_char stat;
sys/dev/marvell/gtidmac.c
1347
desc->stat = MVXORE_DESC_STAT_OWN;
sys/dev/marvell/gtidmac.c
2074
desc->stat);
sys/dev/marvell/gtidmacreg.h
287
uint32_t stat; /* Status */
sys/dev/marvell/mvpex.c
411
uint32_t stat;
sys/dev/marvell/mvpex.c
413
stat = bus_space_read_4(sc->sc_iot, sc->sc_ioh, MVPEX_STAT);
sys/dev/marvell/mvpex.c
424
MVPEX_STAT_PEXBUSNUM(stat), cacheline_size);
sys/dev/marvell/mvpex.c
435
pba.pba_bus = MVPEX_STAT_PEXBUSNUM(stat);
sys/dev/marvell/mvpex.c
500
uint32_t stat;
sys/dev/marvell/mvpex.c
508
stat = bus_space_read_4(sc->sc_iot, sc->sc_ioh, MVPEX_STAT);
sys/dev/marvell/mvpex.c
509
pexbus = MVPEX_STAT_PEXBUSNUM(stat);
sys/dev/marvell/mvpex.c
510
pexdev = MVPEX_STAT_PEXDEVNUM(stat);
sys/dev/marvell/mvpex.c
512
if (stat & MVPEX_STAT_DLDOWN)
sys/dev/marvell/mvpex.c
548
uint32_t stat;
sys/dev/marvell/mvpex.c
556
stat = bus_space_read_4(sc->sc_iot, sc->sc_ioh, MVPEX_STAT);
sys/dev/marvell/mvpex.c
557
pexbus = MVPEX_STAT_PEXBUSNUM(stat);
sys/dev/marvell/mvpex.c
558
pexdev = MVPEX_STAT_PEXDEVNUM(stat);
sys/dev/marvell/mvpex.c
560
if (stat & MVPEX_STAT_DLDOWN)
sys/dev/microcode/tools/bin2blob.c
79
struct stat sb;
sys/dev/mii/ipgphy.c
261
uint16_t bmsr, bmcr, stat, gtsr;
sys/dev/mii/ipgphy.c
290
PHY_READ(sc, IPGPHY_LSR, &stat);
sys/dev/mii/ipgphy.c
291
switch (stat & IPGPHY_LSR_SPEED_MASK) {
sys/dev/mii/ipgphy.c
306
if (stat & IPGPHY_LSR_FULL_DUPLEX)
sys/dev/pad/pad.c
117
static int fops_pad_stat(struct file *, struct stat *);
sys/dev/pad/pad.c
477
fops_pad_stat(struct file *fp, struct stat *st)
sys/dev/pci/cxgb/cxgb_ael1002.c
255
unsigned int stat;
sys/dev/pci/cxgb/cxgb_ael1002.c
263
if (!phy_addr && !mdio_read(phy, MDIO_DEV_PMA_PMD, MII_BMSR, &stat) &&
sys/dev/pci/cxgb/cxgb_ael1002.c
264
stat == 0xffff)
sys/dev/pci/if_age.c
1989
struct age_stats *stat;
sys/dev/pci/if_age.c
1992
stat = &sc->age_stat;
sys/dev/pci/if_age.c
2003
stat->rx_frames += smb->rx_frames;
sys/dev/pci/if_age.c
2004
stat->rx_bcast_frames += smb->rx_bcast_frames;
sys/dev/pci/if_age.c
2005
stat->rx_mcast_frames += smb->rx_mcast_frames;
sys/dev/pci/if_age.c
2006
stat->rx_pause_frames += smb->rx_pause_frames;
sys/dev/pci/if_age.c
2007
stat->rx_control_frames += smb->rx_control_frames;
sys/dev/pci/if_age.c
2008
stat->rx_crcerrs += smb->rx_crcerrs;
sys/dev/pci/if_age.c
2009
stat->rx_lenerrs += smb->rx_lenerrs;
sys/dev/pci/if_age.c
2010
stat->rx_bytes += smb->rx_bytes;
sys/dev/pci/if_age.c
2011
stat->rx_runts += smb->rx_runts;
sys/dev/pci/if_age.c
2012
stat->rx_fragments += smb->rx_fragments;
sys/dev/pci/if_age.c
2013
stat->rx_pkts_64 += smb->rx_pkts_64;
sys/dev/pci/if_age.c
2014
stat->rx_pkts_65_127 += smb->rx_pkts_65_127;
sys/dev/pci/if_age.c
2015
stat->rx_pkts_128_255 += smb->rx_pkts_128_255;
sys/dev/pci/if_age.c
2016
stat->rx_pkts_256_511 += smb->rx_pkts_256_511;
sys/dev/pci/if_age.c
2017
stat->rx_pkts_512_1023 += smb->rx_pkts_512_1023;
sys/dev/pci/if_age.c
2018
stat->rx_pkts_1024_1518 += smb->rx_pkts_1024_1518;
sys/dev/pci/if_age.c
2019
stat->rx_pkts_1519_max += smb->rx_pkts_1519_max;
sys/dev/pci/if_age.c
2020
stat->rx_pkts_truncated += smb->rx_pkts_truncated;
sys/dev/pci/if_age.c
2021
stat->rx_fifo_oflows += smb->rx_fifo_oflows;
sys/dev/pci/if_age.c
2022
stat->rx_desc_oflows += smb->rx_desc_oflows;
sys/dev/pci/if_age.c
2023
stat->rx_alignerrs += smb->rx_alignerrs;
sys/dev/pci/if_age.c
2024
stat->rx_bcast_bytes += smb->rx_bcast_bytes;
sys/dev/pci/if_age.c
2025
stat->rx_mcast_bytes += smb->rx_mcast_bytes;
sys/dev/pci/if_age.c
2026
stat->rx_pkts_filtered += smb->rx_pkts_filtered;
sys/dev/pci/if_age.c
2029
stat->tx_frames += smb->tx_frames;
sys/dev/pci/if_age.c
2030
stat->tx_bcast_frames += smb->tx_bcast_frames;
sys/dev/pci/if_age.c
2031
stat->tx_mcast_frames += smb->tx_mcast_frames;
sys/dev/pci/if_age.c
2032
stat->tx_pause_frames += smb->tx_pause_frames;
sys/dev/pci/if_age.c
2033
stat->tx_excess_defer += smb->tx_excess_defer;
sys/dev/pci/if_age.c
2034
stat->tx_control_frames += smb->tx_control_frames;
sys/dev/pci/if_age.c
2035
stat->tx_deferred += smb->tx_deferred;
sys/dev/pci/if_age.c
2036
stat->tx_bytes += smb->tx_bytes;
sys/dev/pci/if_age.c
2037
stat->tx_pkts_64 += smb->tx_pkts_64;
sys/dev/pci/if_age.c
2038
stat->tx_pkts_65_127 += smb->tx_pkts_65_127;
sys/dev/pci/if_age.c
2039
stat->tx_pkts_128_255 += smb->tx_pkts_128_255;
sys/dev/pci/if_age.c
2040
stat->tx_pkts_256_511 += smb->tx_pkts_256_511;
sys/dev/pci/if_age.c
2041
stat->tx_pkts_512_1023 += smb->tx_pkts_512_1023;
sys/dev/pci/if_age.c
2042
stat->tx_pkts_1024_1518 += smb->tx_pkts_1024_1518;
sys/dev/pci/if_age.c
2043
stat->tx_pkts_1519_max += smb->tx_pkts_1519_max;
sys/dev/pci/if_age.c
2044
stat->tx_single_colls += smb->tx_single_colls;
sys/dev/pci/if_age.c
2045
stat->tx_multi_colls += smb->tx_multi_colls;
sys/dev/pci/if_age.c
2046
stat->tx_late_colls += smb->tx_late_colls;
sys/dev/pci/if_age.c
2047
stat->tx_excess_colls += smb->tx_excess_colls;
sys/dev/pci/if_age.c
2048
stat->tx_underrun += smb->tx_underrun;
sys/dev/pci/if_age.c
2049
stat->tx_desc_underrun += smb->tx_desc_underrun;
sys/dev/pci/if_age.c
2050
stat->tx_lenerrs += smb->tx_lenerrs;
sys/dev/pci/if_age.c
2051
stat->tx_pkts_truncated += smb->tx_pkts_truncated;
sys/dev/pci/if_age.c
2052
stat->tx_bcast_bytes += smb->tx_bcast_bytes;
sys/dev/pci/if_age.c
2053
stat->tx_mcast_bytes += smb->tx_mcast_bytes;
sys/dev/pci/if_alc.c
2206
struct alc_hw_stats *stat;
sys/dev/pci/if_alc.c
2211
stat = &sc->alc_stats;
sys/dev/pci/if_alc.c
2236
stat->rx_frames += smb->rx_frames;
sys/dev/pci/if_alc.c
2237
stat->rx_bcast_frames += smb->rx_bcast_frames;
sys/dev/pci/if_alc.c
2238
stat->rx_mcast_frames += smb->rx_mcast_frames;
sys/dev/pci/if_alc.c
2239
stat->rx_pause_frames += smb->rx_pause_frames;
sys/dev/pci/if_alc.c
2240
stat->rx_control_frames += smb->rx_control_frames;
sys/dev/pci/if_alc.c
2241
stat->rx_crcerrs += smb->rx_crcerrs;
sys/dev/pci/if_alc.c
2242
stat->rx_lenerrs += smb->rx_lenerrs;
sys/dev/pci/if_alc.c
2243
stat->rx_bytes += smb->rx_bytes;
sys/dev/pci/if_alc.c
2244
stat->rx_runts += smb->rx_runts;
sys/dev/pci/if_alc.c
2245
stat->rx_fragments += smb->rx_fragments;
sys/dev/pci/if_alc.c
2246
stat->rx_pkts_64 += smb->rx_pkts_64;
sys/dev/pci/if_alc.c
2247
stat->rx_pkts_65_127 += smb->rx_pkts_65_127;
sys/dev/pci/if_alc.c
2248
stat->rx_pkts_128_255 += smb->rx_pkts_128_255;
sys/dev/pci/if_alc.c
2249
stat->rx_pkts_256_511 += smb->rx_pkts_256_511;
sys/dev/pci/if_alc.c
2250
stat->rx_pkts_512_1023 += smb->rx_pkts_512_1023;
sys/dev/pci/if_alc.c
2251
stat->rx_pkts_1024_1518 += smb->rx_pkts_1024_1518;
sys/dev/pci/if_alc.c
2252
stat->rx_pkts_1519_max += smb->rx_pkts_1519_max;
sys/dev/pci/if_alc.c
2253
stat->rx_pkts_truncated += smb->rx_pkts_truncated;
sys/dev/pci/if_alc.c
2254
stat->rx_fifo_oflows += smb->rx_fifo_oflows;
sys/dev/pci/if_alc.c
2255
stat->rx_rrs_errs += smb->rx_rrs_errs;
sys/dev/pci/if_alc.c
2256
stat->rx_alignerrs += smb->rx_alignerrs;
sys/dev/pci/if_alc.c
2257
stat->rx_bcast_bytes += smb->rx_bcast_bytes;
sys/dev/pci/if_alc.c
2258
stat->rx_mcast_bytes += smb->rx_mcast_bytes;
sys/dev/pci/if_alc.c
2259
stat->rx_pkts_filtered += smb->rx_pkts_filtered;
sys/dev/pci/if_alc.c
2262
stat->tx_frames += smb->tx_frames;
sys/dev/pci/if_alc.c
2263
stat->tx_bcast_frames += smb->tx_bcast_frames;
sys/dev/pci/if_alc.c
2264
stat->tx_mcast_frames += smb->tx_mcast_frames;
sys/dev/pci/if_alc.c
2265
stat->tx_pause_frames += smb->tx_pause_frames;
sys/dev/pci/if_alc.c
2266
stat->tx_excess_defer += smb->tx_excess_defer;
sys/dev/pci/if_alc.c
2267
stat->tx_control_frames += smb->tx_control_frames;
sys/dev/pci/if_alc.c
2268
stat->tx_deferred += smb->tx_deferred;
sys/dev/pci/if_alc.c
2269
stat->tx_bytes += smb->tx_bytes;
sys/dev/pci/if_alc.c
2270
stat->tx_pkts_64 += smb->tx_pkts_64;
sys/dev/pci/if_alc.c
2271
stat->tx_pkts_65_127 += smb->tx_pkts_65_127;
sys/dev/pci/if_alc.c
2272
stat->tx_pkts_128_255 += smb->tx_pkts_128_255;
sys/dev/pci/if_alc.c
2273
stat->tx_pkts_256_511 += smb->tx_pkts_256_511;
sys/dev/pci/if_alc.c
2274
stat->tx_pkts_512_1023 += smb->tx_pkts_512_1023;
sys/dev/pci/if_alc.c
2275
stat->tx_pkts_1024_1518 += smb->tx_pkts_1024_1518;
sys/dev/pci/if_alc.c
2276
stat->tx_pkts_1519_max += smb->tx_pkts_1519_max;
sys/dev/pci/if_alc.c
2277
stat->tx_single_colls += smb->tx_single_colls;
sys/dev/pci/if_alc.c
2278
stat->tx_multi_colls += smb->tx_multi_colls;
sys/dev/pci/if_alc.c
2279
stat->tx_late_colls += smb->tx_late_colls;
sys/dev/pci/if_alc.c
2280
stat->tx_excess_colls += smb->tx_excess_colls;
sys/dev/pci/if_alc.c
2281
stat->tx_underrun += smb->tx_underrun;
sys/dev/pci/if_alc.c
2282
stat->tx_desc_underrun += smb->tx_desc_underrun;
sys/dev/pci/if_alc.c
2283
stat->tx_lenerrs += smb->tx_lenerrs;
sys/dev/pci/if_alc.c
2284
stat->tx_pkts_truncated += smb->tx_pkts_truncated;
sys/dev/pci/if_alc.c
2285
stat->tx_bcast_bytes += smb->tx_bcast_bytes;
sys/dev/pci/if_alc.c
2286
stat->tx_mcast_bytes += smb->tx_mcast_bytes;
sys/dev/pci/if_ale.c
1180
struct ale_hw_stats *stat;
sys/dev/pci/if_ale.c
1185
stat = &sc->ale_stats;
sys/dev/pci/if_ale.c
1200
stat->rx_frames += smb->rx_frames;
sys/dev/pci/if_ale.c
1201
stat->rx_bcast_frames += smb->rx_bcast_frames;
sys/dev/pci/if_ale.c
1202
stat->rx_mcast_frames += smb->rx_mcast_frames;
sys/dev/pci/if_ale.c
1203
stat->rx_pause_frames += smb->rx_pause_frames;
sys/dev/pci/if_ale.c
1204
stat->rx_control_frames += smb->rx_control_frames;
sys/dev/pci/if_ale.c
1205
stat->rx_crcerrs += smb->rx_crcerrs;
sys/dev/pci/if_ale.c
1206
stat->rx_lenerrs += smb->rx_lenerrs;
sys/dev/pci/if_ale.c
1207
stat->rx_bytes += smb->rx_bytes;
sys/dev/pci/if_ale.c
1208
stat->rx_runts += smb->rx_runts;
sys/dev/pci/if_ale.c
1209
stat->rx_fragments += smb->rx_fragments;
sys/dev/pci/if_ale.c
1210
stat->rx_pkts_64 += smb->rx_pkts_64;
sys/dev/pci/if_ale.c
1211
stat->rx_pkts_65_127 += smb->rx_pkts_65_127;
sys/dev/pci/if_ale.c
1212
stat->rx_pkts_128_255 += smb->rx_pkts_128_255;
sys/dev/pci/if_ale.c
1213
stat->rx_pkts_256_511 += smb->rx_pkts_256_511;
sys/dev/pci/if_ale.c
1214
stat->rx_pkts_512_1023 += smb->rx_pkts_512_1023;
sys/dev/pci/if_ale.c
1215
stat->rx_pkts_1024_1518 += smb->rx_pkts_1024_1518;
sys/dev/pci/if_ale.c
1216
stat->rx_pkts_1519_max += smb->rx_pkts_1519_max;
sys/dev/pci/if_ale.c
1217
stat->rx_pkts_truncated += smb->rx_pkts_truncated;
sys/dev/pci/if_ale.c
1218
stat->rx_fifo_oflows += smb->rx_fifo_oflows;
sys/dev/pci/if_ale.c
1219
stat->rx_rrs_errs += smb->rx_rrs_errs;
sys/dev/pci/if_ale.c
1220
stat->rx_alignerrs += smb->rx_alignerrs;
sys/dev/pci/if_ale.c
1221
stat->rx_bcast_bytes += smb->rx_bcast_bytes;
sys/dev/pci/if_ale.c
1222
stat->rx_mcast_bytes += smb->rx_mcast_bytes;
sys/dev/pci/if_ale.c
1223
stat->rx_pkts_filtered += smb->rx_pkts_filtered;
sys/dev/pci/if_ale.c
1226
stat->tx_frames += smb->tx_frames;
sys/dev/pci/if_ale.c
1227
stat->tx_bcast_frames += smb->tx_bcast_frames;
sys/dev/pci/if_ale.c
1228
stat->tx_mcast_frames += smb->tx_mcast_frames;
sys/dev/pci/if_ale.c
1229
stat->tx_pause_frames += smb->tx_pause_frames;
sys/dev/pci/if_ale.c
1230
stat->tx_excess_defer += smb->tx_excess_defer;
sys/dev/pci/if_ale.c
1231
stat->tx_control_frames += smb->tx_control_frames;
sys/dev/pci/if_ale.c
1232
stat->tx_deferred += smb->tx_deferred;
sys/dev/pci/if_ale.c
1233
stat->tx_bytes += smb->tx_bytes;
sys/dev/pci/if_ale.c
1234
stat->tx_pkts_64 += smb->tx_pkts_64;
sys/dev/pci/if_ale.c
1235
stat->tx_pkts_65_127 += smb->tx_pkts_65_127;
sys/dev/pci/if_ale.c
1236
stat->tx_pkts_128_255 += smb->tx_pkts_128_255;
sys/dev/pci/if_ale.c
1237
stat->tx_pkts_256_511 += smb->tx_pkts_256_511;
sys/dev/pci/if_ale.c
1238
stat->tx_pkts_512_1023 += smb->tx_pkts_512_1023;
sys/dev/pci/if_ale.c
1239
stat->tx_pkts_1024_1518 += smb->tx_pkts_1024_1518;
sys/dev/pci/if_ale.c
1240
stat->tx_pkts_1519_max += smb->tx_pkts_1519_max;
sys/dev/pci/if_ale.c
1241
stat->tx_single_colls += smb->tx_single_colls;
sys/dev/pci/if_ale.c
1242
stat->tx_multi_colls += smb->tx_multi_colls;
sys/dev/pci/if_ale.c
1243
stat->tx_late_colls += smb->tx_late_colls;
sys/dev/pci/if_ale.c
1244
stat->tx_excess_colls += smb->tx_excess_colls;
sys/dev/pci/if_ale.c
1245
stat->tx_abort += smb->tx_abort;
sys/dev/pci/if_ale.c
1246
stat->tx_underrun += smb->tx_underrun;
sys/dev/pci/if_ale.c
1247
stat->tx_desc_underrun += smb->tx_desc_underrun;
sys/dev/pci/if_ale.c
1248
stat->tx_lenerrs += smb->tx_lenerrs;
sys/dev/pci/if_ale.c
1249
stat->tx_pkts_truncated += smb->tx_pkts_truncated;
sys/dev/pci/if_ale.c
1250
stat->tx_bcast_bytes += smb->tx_bcast_bytes;
sys/dev/pci/if_ale.c
1251
stat->tx_mcast_bytes += smb->tx_mcast_bytes;
sys/dev/pci/if_bge.c
4959
#define READ_STAT(sc, stats, stat) \
sys/dev/pci/if_bge.c
4960
CSR_READ_4(sc, stats + offsetof(struct bge_stats, stat))
sys/dev/pci/if_iwm.c
1325
sizeof(*ring->stat), 16);
sys/dev/pci/if_iwm.c
1331
ring->stat = ring->stat_dma.vaddr;
sys/dev/pci/if_iwm.c
1379
memset(ring->stat, 0, sizeof(*ring->stat));
sys/dev/pci/if_iwm.c
2031
memset(sc->rxq.stat, 0, sizeof(*sc->rxq.stat));
sys/dev/pci/if_iwm.c
8690
hw = le16toh(sc->rxq.stat->closed_rb_num) & 0xfff;
sys/dev/pci/if_iwmvar.h
296
struct iwm_rb_status *stat;
sys/dev/pci/if_iwn.c
1366
(void **)&ring->stat, sizeof (struct iwn_rx_status), 16);
sys/dev/pci/if_iwn.c
2106
struct iwn_rx_stat *stat = (struct iwn_rx_stat *)(desc + 1);
sys/dev/pci/if_iwn.c
2110
sizeof (*stat), BUS_DMASYNC_POSTREAD);
sys/dev/pci/if_iwn.c
2113
memcpy(&sc->last_rx_stat, stat, sizeof (*stat));
sys/dev/pci/if_iwn.c
2132
struct iwn_rx_stat *stat;
sys/dev/pci/if_iwn.c
2144
stat = &sc->last_rx_stat;
sys/dev/pci/if_iwn.c
2146
stat = (struct iwn_rx_stat *)(desc + 1);
sys/dev/pci/if_iwn.c
2151
if (stat->cfg_phy_len > IWN_STAT_MAXLEN) {
sys/dev/pci/if_iwn.c
2161
head = (char *)(stat + 1) + stat->cfg_phy_len;
sys/dev/pci/if_iwn.c
2162
len = le16toh(stat->len);
sys/dev/pci/if_iwn.c
2235
rssi = ops->get_rssi(stat);
sys/dev/pci/if_iwn.c
2239
iwn_fix_channel(ic, m, stat);
sys/dev/pci/if_iwn.c
2245
if (stat->flags & htole16(IWN_STAT_FLAG_SHPREAMBLE))
sys/dev/pci/if_iwn.c
2248
htole16(ic->ic_channels[stat->chan].ic_freq);
sys/dev/pci/if_iwn.c
2250
htole16(ic->ic_channels[stat->chan].ic_flags);
sys/dev/pci/if_iwn.c
2253
tap->wr_tsft = stat->tstamp;
sys/dev/pci/if_iwn.c
2254
switch (stat->rate) {
sys/dev/pci/if_iwn.c
2451
struct iwn4965_tx_stat *stat = (struct iwn4965_tx_stat *)(desc + 1);
sys/dev/pci/if_iwn.c
2454
sizeof (*stat), BUS_DMASYNC_POSTREAD);
sys/dev/pci/if_iwn.c
2455
iwn_tx_done(sc, desc, stat->ackfailcnt, le32toh(stat->status) & 0xff);
sys/dev/pci/if_iwn.c
2462
struct iwn5000_tx_stat *stat = (struct iwn5000_tx_stat *)(desc + 1);
sys/dev/pci/if_iwn.c
2470
sizeof (*stat), BUS_DMASYNC_POSTREAD);
sys/dev/pci/if_iwn.c
2471
iwn_tx_done(sc, desc, stat->ackfailcnt, le16toh(stat->status) & 0xff);
sys/dev/pci/if_iwn.c
2562
hw = le16toh(sc->rxq.stat->closed_count) & 0xfff;
sys/dev/pci/if_iwn.c
3876
iwn4965_get_rssi(const struct iwn_rx_stat *stat)
sys/dev/pci/if_iwn.c
3878
const struct iwn4965_rx_phystat *phy = (const void *)stat->phybuf;
sys/dev/pci/if_iwn.c
3897
iwn5000_get_rssi(const struct iwn_rx_stat *stat)
sys/dev/pci/if_iwn.c
3899
const struct iwn5000_rx_phystat *phy = (const void *)stat->phybuf;
sys/dev/pci/if_iwn.c
6675
struct iwn_rx_stat *stat)
sys/dev/pci/if_iwn.c
6694
int chan = le16toh(stat->chan);
sys/dev/pci/if_iwnvar.h
107
struct iwn_rx_status *stat;
sys/dev/pci/if_msk.c
2104
msk_rxvalid(struct sk_softc *sc, uint32_t stat, uint32_t len)
sys/dev/pci/if_msk.c
2106
if ((stat & (YU_RXSTAT_CRCERR | YU_RXSTAT_LONGERR |
sys/dev/pci/if_msk.c
2109
(stat & YU_RXSTAT_RXOK) != YU_RXSTAT_RXOK ||
sys/dev/pci/if_msk.c
2110
YU_RXSTAT_BYTES(stat) != len)
sys/dev/pci/if_skreg.h
1741
#define SK_Y2_ST_TXA1_DI(len, stat) \
sys/dev/pci/if_skreg.h
1742
(((stat) >> SK_Y2_ST_TXA1_SHIFT) & SK_Y2_ST_TXA1_MSKL)
sys/dev/pci/if_skreg.h
1743
#define SK_Y2_ST_TXA2_DI(len, stat) \
sys/dev/pci/if_skreg.h
1745
(((stat) & SK_Y2_ST_TXA2_MSKL) >> SK_Y2_ST_TXA2_SHIFTL))
sys/dev/pci/if_tl.c
1011
while (le32toh(sc->active_Rx->hw_list->stat) &
sys/dev/pci/if_tl.c
1021
size = le32toh(Rx->hw_list->stat) >> 16;
sys/dev/pci/if_tl.c
1091
if (le32toh(sc->active_Rx->hw_list->stat) & TL_RX_CSTAT_CPLT) {
sys/dev/pci/if_tl.c
1114
if ((le32toh(Tx->hw_list->stat) & TL_TX_CSTAT_CPLT)
sys/dev/pci/if_tl.c
1122
Tx->hw_list->stat = 0;
sys/dev/pci/if_tl.c
1345
Tx->hw_list->stat = htole32((size << 16) | 0x3000);
sys/dev/pci/if_tl.c
1348
le32toh(Tx->hw_list->stat));
sys/dev/pci/if_tl.c
1458
Rx->hw_list->stat =
sys/dev/pci/if_tl.c
562
Tx->hw_list->stat = 0;
sys/dev/pci/if_tlregs.h
157
uint32_t stat;
sys/dev/pci/if_tlregs.h
170
uint32_t stat;
sys/dev/pci/if_vte.c
911
struct vte_hw_stats *stat;
sys/dev/pci/if_vte.c
915
stat = &sc->vte_stats;
sys/dev/pci/if_vte.c
922
stat->rx_frames += CSR_READ_2(sc, VTE_CNT_RX_DONE);
sys/dev/pci/if_vte.c
925
stat->rx_bcast_frames += (value >> 8);
sys/dev/pci/if_vte.c
926
stat->rx_mcast_frames += (value & 0xFF);
sys/dev/pci/if_vte.c
940
stat->rx_desc_unavail += (value & 0xFF);
sys/dev/pci/if_vte.c
953
stat->tx_pause_frames += (value >> 8);
sys/dev/pci/if_vte.c
954
stat->rx_pause_frames += (value & 0xFF);
sys/dev/pci/if_wpi.c
1483
struct wpi_rx_stat *stat;
sys/dev/pci/if_wpi.c
1494
stat = (struct wpi_rx_stat *)(desc + 1);
sys/dev/pci/if_wpi.c
1496
if (stat->len > WPI_STAT_MAXLEN) {
sys/dev/pci/if_wpi.c
1502
head = (struct wpi_rx_head *)((char *)(stat + 1) + stat->len);
sys/dev/pci/if_wpi.c
1507
le16toh(head->len), (int8_t)stat->rssi, head->rate, head->chan,
sys/dev/pci/if_wpi.c
1588
tap->wr_dbm_antsignal = (int8_t)(stat->rssi - WPI_RSSI_OFFSET);
sys/dev/pci/if_wpi.c
1589
tap->wr_dbm_antnoise = (int8_t)le16toh(stat->noise);
sys/dev/pci/if_wpi.c
1621
ieee80211_input(ic, m, ni, stat->rssi, 0);
sys/dev/pci/if_wpi.c
1635
struct wpi_tx_stat *stat = (struct wpi_tx_stat *)(desc + 1);
sys/dev/pci/if_wpi.c
1640
"duration=%d status=%x\n", desc->qid, desc->idx, stat->ntries,
sys/dev/pci/if_wpi.c
1641
stat->nkill, stat->rate, le32toh(stat->duration),
sys/dev/pci/if_wpi.c
1642
le32toh(stat->status)));
sys/dev/pci/if_wpi.c
1652
if (stat->ntries > 0) {
sys/dev/pci/if_wpi.c
1653
DPRINTFN(3, ("tx intr ntries %d\n", stat->ntries));
sys/dev/pci/if_wpi.c
1657
if ((le32toh(stat->status) & 0xff) != 1)
sys/dev/pci/nfsmb.c
301
uint8_t stat;
sys/dev/pci/nfsmb.c
312
stat = bus_space_read_1(sc->sc_iot, sc->sc_ioh, NFORCE_SMB_STATUS);
sys/dev/pci/nfsmb.c
313
if ((stat & NFORCE_SMB_STATUS_DONE) &&
sys/dev/pci/nfsmb.c
314
!(stat & NFORCE_SMB_STATUS_STATUS))
sys/dev/pci/pccbb.c
2215
uint8_t stat;
sys/dev/pci/pccbb.c
2219
stat = Pcic_read(sc, PCIC_IF_STATUS);
sys/dev/pci/pccbb.c
2220
if (stat & PCIC_IF_STATUS_READY)
sys/dev/pci/pccbb.c
2224
stat = Pcic_read(sc, PCIC_IF_STATUS);
sys/dev/pci/pccbb.c
2225
if (stat & PCIC_IF_STATUS_READY)
sys/dev/pci/pccbb.c
2227
if ((stat & PCIC_IF_STATUS_CARDDETECT_MASK) !=
sys/dev/pci/pccbb.c
2235
stat);
sys/dev/pci/pci_subr.c
4043
pcireg_t reg, cap, ctl, stat, errsrc;
sys/dev/pci/pci_subr.c
4091
stat = reg & 0xffff;
sys/dev/pci/pci_subr.c
4093
printf(" DPC Status register: 0x%04x\n", stat);
sys/dev/pci/pcireg.h
94
#define PCI_COMMAND_STATUS_CODE(cmd,stat) \
sys/dev/pci/pcireg.h
96
(((stat) & PCI_STATUS_MASK) << PCI_STATUS_SHIFT)) \
sys/dev/pci/trm.c
1135
int intstat, stat;
sys/dev/pci/trm.c
1145
stat = bus_space_read_2(iot, ioh, TRM_SCSI_STATUS);
sys/dev/pci/trm.c
1146
if ((stat & SCSIINTERRUPT) == 0)
sys/dev/pci/trm.c
1149
DPRINTF(("stat = %04x, ", stat));
sys/dev/pci/trm.c
1181
trm_dataout_phase0(sc, stat);
sys/dev/pci/trm.c
1184
trm_datain_phase0(sc, stat);
sys/dev/pci/trm.c
1190
stat = PH_BUS_FREE;
sys/dev/pci/trm.c
1195
stat = PH_BUS_FREE;
sys/dev/pci/trm.c
1199
stat = PH_BUS_FREE;
sys/dev/pci/trm.c
1209
sc->sc_phase = stat & PHASEMASK;
sys/dev/pci/trm.c
1344
trm_dataout_phase0(struct trm_softc *sc, int stat)
sys/dev/pci/trm.c
1366
if ((stat & PARITYERROR) != 0)
sys/dev/pci/trm.c
1369
if ((stat & SCSIXFERDONE) == 0) {
sys/dev/pci/trm.c
1398
if ((leftcnt == 0) || (stat & SCSIXFERCNT_2_ZERO)) {
sys/dev/pci/trm.c
1457
trm_datain_phase0(struct trm_softc *sc, int stat)
sys/dev/pci/trm.c
1475
if (stat & PARITYERROR)
sys/dev/pci/trm.c
1479
if ((leftcnt == 0) || (stat & SCSIXFERCNT_2_ZERO)) {
sys/dev/pci/ubsec.c
638
volatile u_int32_t stat;
sys/dev/pci/ubsec.c
645
stat = READ_REG(sc, BS_STAT);
sys/dev/pci/ubsec.c
646
stat &= sc->sc_statmask;
sys/dev/pci/ubsec.c
647
if (stat == 0) {
sys/dev/pci/ubsec.c
652
WRITE_REG(sc, BS_STAT, stat); /* IACK */
sys/dev/pci/ubsec.c
657
if ((stat & BS_STAT_MCR1_DONE)) {
sys/dev/pci/ubsec.c
689
if (!(stat & BS_STAT_DMAERR))
sys/dev/pci/ubsec.c
697
(stat & BS_STAT_MCR2_DONE)) {
sys/dev/pci/ubsec.c
729
if (!(stat & BS_STAT_DMAERR))
sys/dev/pci/ubsec.c
733
if ((sc->sc_flags & UBS_FLAGS_RNG4) && (stat & BS_STAT_MCR4_DONE)) {
sys/dev/pci/ubsec.c
762
if (!(stat & BS_STAT_DMAERR))
sys/dev/pci/ubsec.c
770
if (stat & BS_STAT_DMAERR) {
sys/dev/pci/ubsec.c
810
u_int32_t stat;
sys/dev/pci/ubsec.c
843
if ((stat = READ_REG(sc, BS_STAT))
sys/dev/pci/ubsec.c
845
if (stat & BS_STAT_DMAERR) {
sys/dev/pci/ubsec.c
909
if ((stat = READ_REG(sc, BS_STAT))
sys/dev/pci/ubsec.c
911
if (stat & BS_STAT_DMAERR) {
sys/dev/pci/ubsec.c
937
stat);
sys/dev/pcmcia/if_ray.c
1611
u_int i, stat;
sys/dev/pcmcia/if_ray.c
1614
stat = SRAM_READ_FIELD_1(sc, RAY_GET_CCS(i), ray_cmd, c_status);
sys/dev/pcmcia/if_ray.c
1615
if (stat == RAY_CCS_STATUS_FREE)
sys/dev/pcmcia/if_ray.c
1623
stat = SRAM_READ_FIELD_1(sc, RAY_GET_CCS(i), ray_cmd, c_status);
sys/dev/pcmcia/if_ray.c
1624
if (stat == RAY_CCS_STATUS_FREE)
sys/dev/pcmcia/if_ray.c
1667
ray_update_params_done(struct ray_softc *sc, bus_size_t ccs, u_int stat)
sys/dev/pcmcia/if_ray.c
1674
device_xname(sc->sc_dev), stat));
sys/dev/pcmcia/if_ray.c
1677
if (stat == RAY_CCS_STATUS_FAIL) {
sys/dev/pcmcia/if_ray.c
1761
u_int i, cmd, stat = 0;
sys/dev/pcmcia/if_ray.c
1780
stat = SRAM_READ_FIELD_1(sc, ccs, ray_cmd, c_status);
sys/dev/pcmcia/if_ray.c
1783
(unsigned long long)ccs, cmd, stat));
sys/dev/pcmcia/if_ray.c
1791
else if (stat == RAY_CCS_STATUS_FREE) {
sys/dev/pcmcia/if_ray.c
1792
stat = RAY_CCS_STATUS_COMPLETE;
sys/dev/pcmcia/if_ray.c
1795
} else if (stat != RAY_CCS_STATUS_BUSY) {
sys/dev/pcmcia/if_ray.c
1854
u_int cmd, stat;
sys/dev/pcmcia/if_ray.c
1857
stat = SRAM_READ_FIELD_1(sc, ccs, ray_cmd, c_status);
sys/dev/pcmcia/if_ray.c
1861
cmd, stat));
sys/dev/pcmcia/if_ray.c
1881
rcmd = ray_update_params_done(sc, ccs, stat);
sys/dev/pcmcia/if_ray.c
1899
if (stat == RAY_CCS_STATUS_FAIL)
sys/dev/pcmcia/if_ray.c
1904
rcmd = ray_start_join_net_done(sc, cmd, ccs, stat);
sys/dev/pcmcia/if_ray.c
1918
if (stat == RAY_CCS_STATUS_FAIL)
sys/dev/pcmcia/if_ray.c
1954
u_int cmd, stat;
sys/dev/pcmcia/if_ray.c
1957
stat = SRAM_READ_FIELD_1(sc, ccs, ray_cmd, c_status);
sys/dev/pcmcia/if_ray.c
1961
cmd, stat));
sys/dev/pcmcia/if_ray.c
2075
uint8_t stat;
sys/dev/pcmcia/if_ray.c
2080
stat = SRAM_READ_FIELD_1(sc, ccs, ray_cmd, c_status);
sys/dev/pcmcia/if_ray.c
2085
return (stat);
sys/dev/pcmcia/if_ray.c
2635
u_int stat;
sys/dev/pcmcia/if_ray.c
2638
stat = SRAM_READ_FIELD_1(sc, sc->sc_startccs, ray_cmd, c_status);
sys/dev/pcmcia/if_ray.c
2639
ray_start_join_net_done(sc, sc->sc_startcmd, sc->sc_startccs, stat);
sys/dev/pcmcia/if_ray.c
2652
u_int stat)
sys/dev/pcmcia/if_ray.c
2660
if (stat == RAY_CCS_STATUS_FAIL) {
sys/dev/pcmcia/if_ray.c
2665
if (stat == RAY_CCS_STATUS_BUSY || stat == RAY_CCS_STATUS_FREE) {
sys/dev/putter/putter.c
204
static int putter_fop_stat(file_t *, struct stat *);
sys/dev/putter/putter.c
426
putter_fop_stat(file_t *fp, struct stat *st)
sys/dev/sbus/bereg.h
211
uint32_t stat; /* status */
sys/dev/sbus/bereg.h
66
uint32_t stat; /* status, clear on read */
sys/dev/sbus/magma.c
750
u_char stat;
sys/dev/sbus/magma.c
753
stat = mp->mp_rget[0];
sys/dev/sbus/magma.c
758
if( stat & (CD1400_RDSR_BREAK | CD1400_RDSR_FE) )
sys/dev/sbus/magma.c
760
if( stat & CD1400_RDSR_PE )
sys/dev/sbus/magma.c
763
if( stat & CD1400_RDSR_OE )
sys/dev/sbus/mgx.c
502
uint8_t stat;
sys/dev/sbus/mgx.c
505
stat = mgx_read_1(sc, ATR_BLT_STATUS);
sys/dev/sbus/mgx.c
506
if ((stat & (BLT_HOST_BUSY | BLT_ENGINE_BUSY)) == 0)
sys/dev/sbus/mgx.c
517
uint8_t stat;
sys/dev/sbus/mgx.c
520
stat = mgx_read_1(sc, ATR_BLT_STATUS);
sys/dev/sbus/mgx.c
521
if ((stat & BLT_HOST_BUSY) == 0)
sys/dev/sbus/mgx.c
532
uint8_t stat;
sys/dev/sbus/mgx.c
535
stat = mgx_read_1(sc, ATR_FIFO_STATUS);
sys/dev/sbus/mgx.c
536
stat = (stat & FIFO_MASK) >> FIFO_SHIFT;
sys/dev/sbus/mgx.c
537
if (stat >= nfifo)
sys/dev/sbus/qereg.h
65
uint32_t stat; /* status */
sys/dev/sbus/spif.c
898
uint8_t stat, msvr;
sys/dev/sbus/spif.c
911
stat = sp->sp_rget[0];
sys/dev/sbus/spif.c
917
if (stat & (CD180_RCSR_BE | CD180_RCSR_FE))
sys/dev/sbus/spif.c
920
if (stat & CD180_RCSR_PE)
sys/dev/usb/if_atu.c
2174
usbd_status stat;
sys/dev/usb/if_atu.c
2197
&stat);
sys/dev/usb/if_atu.c
2198
atu_txeof(c->atu_xfer, c, stat);
sys/dev/usb/if_urtwn.c
2431
struct r92c_rx_desc_usb *stat;
sys/dev/usb/if_urtwn.c
2441
stat = (struct r92c_rx_desc_usb *)buf;
sys/dev/usb/if_urtwn.c
2442
rxdw0 = le32toh(stat->rxdw0);
sys/dev/usb/if_urtwn.c
2443
rxdw3 = le32toh(stat->rxdw3);
sys/dev/usb/if_urtwn.c
2477
rssi = urtwn_r88e_get_rssi(sc, rate, &stat[1]);
sys/dev/usb/if_urtwn.c
2479
rssi = urtwn_get_rssi(sc, rate, &stat[1]);
sys/dev/usb/if_urtwn.c
2509
wh = (struct ieee80211_frame *)((uint8_t *)&stat[1] + infosz);
sys/dev/usb/if_urtwn.c
2562
struct r92c_rx_desc_usb *stat;
sys/dev/usb/if_urtwn.c
2586
if (__predict_false(len < (int)sizeof(*stat))) {
sys/dev/usb/if_urtwn.c
2593
stat = (struct r92c_rx_desc_usb *)buf;
sys/dev/usb/if_urtwn.c
2595
npkts = MS(le32toh(stat->rxdw2), R92E_RXDW2_PKTCNT);
sys/dev/usb/if_urtwn.c
2597
npkts = MS(le32toh(stat->rxdw2), R92C_RXDW2_PKTCNT);
sys/dev/usb/if_urtwn.c
2610
if (__predict_false(len < (int)sizeof(*stat))) {
sys/dev/usb/if_urtwn.c
2615
stat = (struct r92c_rx_desc_usb *)buf;
sys/dev/usb/if_urtwn.c
2616
rxdw0 = le32toh(stat->rxdw0);
sys/dev/usb/if_urtwn.c
2627
totlen = sizeof(*stat) + infosz + pktlen;
sys/dev/usb/if_urtwn.c
2630
(int)sizeof(*stat), infosz, pktlen, len);
sys/dev/usb/if_zyd.c
1912
const struct zyd_rx_stat *stat;
sys/dev/usb/if_zyd.c
1924
stat = (const struct zyd_rx_stat *)
sys/dev/usb/if_zyd.c
1927
if (stat->flags & ZYD_RX_ERROR) {
sys/dev/usb/if_zyd.c
1929
device_xname(sc->sc_dev), stat->flags));
sys/dev/usb/if_zyd.c
1973
tap->wr_rssi = stat->rssi;
sys/dev/usb/if_zyd.c
1981
ieee80211_input(ic, m, ni, stat->rssi, 0);
sys/dev/usb/if_zyd.c
2573
uint8_t stat;
sys/dev/usb/if_zyd.c
2612
USETW(req.wLength, sizeof(stat));
sys/dev/usb/if_zyd.c
2613
if (usbd_do_request(sc->sc_udev, &req, &stat) != 0)
sys/dev/usb/if_zyd.c
2616
return (stat & 0x80) ? EIO : 0;
sys/dev/usb/ohci.c
2706
ohci_soft_td_t *stat, *setup;
sys/dev/usb/ohci.c
2717
stat = ohci_alloc_std(sc);
sys/dev/usb/ohci.c
2718
if (stat == NULL) {
sys/dev/usb/ohci.c
2723
ox->ox_stat = stat;
sys/dev/usb/ohci.c
2726
stat->held = &ox->ox_stat;
sys/dev/usb/ohci.c
2731
(uintptr_t)stat, (uintptr_t)stat->held, 0);
sys/dev/usb/ohci.c
2743
ohci_free_std(sc, stat);
sys/dev/usb/ohci.c
2795
ohci_soft_td_t *setup, *stat, *next, *tail;
sys/dev/usb/ohci.c
2830
stat = ox->ox_stat;
sys/dev/usb/ohci.c
2850
next = stat;
sys/dev/usb/ohci.c
2860
end->td->td_nexttd = HTOO32(stat->physaddr);
sys/dev/usb/ohci.c
2861
end->nexttd = stat;
sys/dev/usb/ohci.c
2880
(uintptr_t)(len != 0 ? ox->ox_stds[0] : NULL), (uintptr_t)stat,
sys/dev/usb/ohci.c
2906
stat->td->td_flags = HTOO32(
sys/dev/usb/ohci.c
2912
stat->td->td_cbp = 0;
sys/dev/usb/ohci.c
2913
stat->td->td_nexttd = HTOO32(tail->physaddr);
sys/dev/usb/ohci.c
2914
stat->td->td_be = 0;
sys/dev/usb/ohci.c
2915
stat->nexttd = tail;
sys/dev/usb/ohci.c
2916
stat->flags = OHCI_CALL_DONE;
sys/dev/usb/ohci.c
2917
stat->len = 0;
sys/dev/usb/ohci.c
2918
stat->xfer = xfer;
sys/dev/usb/ohci.c
2919
ohci_hash_add_td(sc, stat);
sys/dev/usb/ohci.c
2921
usb_syncmem(&stat->dma, stat->offs, sizeof(*stat->td),
sys/dev/usb/ucycom.c
635
usbd_status stat;
sys/dev/usb/ucycom.c
647
usbd_get_xfer_status(xfer, NULL, NULL, &len, &stat);
sys/dev/usb/uhci.c
145
uhci_soft_td_t *stat;
sys/dev/usb/uhci.c
1575
uhci_soft_td_t *stat = upipe->ctrl.stat;
sys/dev/usb/uhci.c
1582
htole32(stat->physaddr | UHCI_PTR_TD);
sys/dev/usb/uhci.c
2442
uxfer->ux_stat = upipe->ctrl.stat;
sys/dev/usb/uhci.c
2480
uhci_soft_td_t *setup, *stat, *next, *dataend;
sys/dev/usb/uhci.c
2505
stat = upipe->ctrl.stat;
sys/dev/usb/uhci.c
2517
dataend->link.std = stat;
sys/dev/usb/uhci.c
2518
dataend->td.td_link = htole32(stat->physaddr | UHCI_PTR_TD);
sys/dev/usb/uhci.c
2524
next = stat;
sys/dev/usb/uhci.c
2541
stat->link.std = NULL;
sys/dev/usb/uhci.c
2542
stat->td.td_link = htole32(UHCI_PTR_T);
sys/dev/usb/uhci.c
2543
stat->td.td_status = htole32(status | UHCI_TD_IOC);
sys/dev/usb/uhci.c
2544
stat->td.td_token =
sys/dev/usb/uhci.c
2547
stat->td.td_buffer = htole32(0);
sys/dev/usb/uhci.c
2548
usb_syncmem(&stat->dma, stat->offs, sizeof(stat->td),
sys/dev/usb/uhci.c
2562
uxfer->ux_stat = stat;
sys/dev/usb/uhci.c
2760
uhci_free_std_locked(sc, upipe->ctrl.stat);
sys/dev/usb/uhci.c
3425
upipe->ctrl.stat = uhci_alloc_std(sc);
sys/dev/usb/uhci.c
3426
if (upipe->ctrl.stat == NULL) {
sys/dev/usb/uhci.c
3437
uhci_free_std(sc, upipe->ctrl.stat);
sys/dev/wscons/wsdisplay_vcons.c
488
int stat;
sys/dev/wscons/wsdisplay_vcons.c
492
h = strtoi(at, NULL, 10, 1, 99, &stat);
sys/dev/wscons/wsdisplay_vcons.c
493
if (stat != 0) h = 0;
sys/fs/nfs/common/nfs_commonkrpc.c
496
enum clnt_stat stat;
sys/fs/nfs/common/nfs_commonkrpc.c
750
stat = clnt_bck_call(nrp->nr_client, &ext, procnum,
sys/fs/nfs/common/nfs_commonkrpc.c
753
stat = CLNT_CALL_MBUF(nrp->nr_client, &ext, procnum,
sys/fs/nfs/common/nfs_commonkrpc.c
769
if (stat == RPC_SUCCESS) {
sys/fs/nfs/common/nfs_commonkrpc.c
771
} else if (stat == RPC_TIMEDOUT) {
sys/fs/nfs/common/nfs_commonkrpc.c
774
} else if (stat == RPC_VERSMISMATCH) {
sys/fs/nfs/common/nfs_commonkrpc.c
777
} else if (stat == RPC_PROGVERSMISMATCH) {
sys/fs/nfs/common/nfs_commonkrpc.c
780
} else if (stat == RPC_INTR) {
sys/fs/nfs/nlm/nlm_advlock.c
1006
if (res.stat.stat == nlm4_denied_grace_period) {
sys/fs/nfs/nlm/nlm_advlock.c
1044
enum clnt_stat stat;
sys/fs/nfs/nlm/nlm_advlock.c
1070
stat = nlm_test_rpc(vers, &args, &res, client, ext, *timo);
sys/fs/nfs/nlm/nlm_advlock.c
1074
if (stat != RPC_SUCCESS) {
sys/fs/nfs/nlm/nlm_advlock.c
1082
if (res.stat.stat == nlm4_denied_grace_period) {
sys/fs/nfs/nlm/nlm_advlock.c
1096
if (res.stat.stat == nlm4_denied) {
sys/fs/nfs/nlm/nlm_advlock.c
1098
&res.stat.nlm4_testrply_u.holder;
sys/fs/nfs/nlm/nlm_advlock.c
1119
nlm_map_status(nlm4_stats stat)
sys/fs/nfs/nlm/nlm_advlock.c
1121
switch (stat) {
sys/fs/nfs/nlm/nlm_advlock.c
564
dst->stat.stat = (enum nlm4_stats) src->stat.stat;
sys/fs/nfs/nlm/nlm_advlock.c
576
enum clnt_stat stat;
sys/fs/nfs/nlm/nlm_advlock.c
583
stat = nlm_test_1(&args1, &res1, client, ext, timo);
sys/fs/nfs/nlm/nlm_advlock.c
585
if (stat == RPC_SUCCESS) {
sys/fs/nfs/nlm/nlm_advlock.c
587
res->stat.stat = (enum nlm4_stats) res1.stat.stat;
sys/fs/nfs/nlm/nlm_advlock.c
588
if (res1.stat.stat == nlm_denied)
sys/fs/nfs/nlm/nlm_advlock.c
590
&res->stat.nlm4_testrply_u.holder,
sys/fs/nfs/nlm/nlm_advlock.c
591
&res1.stat.nlm_testrply_u.holder);
sys/fs/nfs/nlm/nlm_advlock.c
594
return (stat);
sys/fs/nfs/nlm/nlm_advlock.c
607
enum clnt_stat stat;
sys/fs/nfs/nlm/nlm_advlock.c
617
stat = nlm_lock_1(&args1, &res1, client, ext, timo);
sys/fs/nfs/nlm/nlm_advlock.c
619
if (stat == RPC_SUCCESS) {
sys/fs/nfs/nlm/nlm_advlock.c
623
return (stat);
sys/fs/nfs/nlm/nlm_advlock.c
636
enum clnt_stat stat;
sys/fs/nfs/nlm/nlm_advlock.c
644
stat = nlm_cancel_1(&args1, &res1, client, ext, timo);
sys/fs/nfs/nlm/nlm_advlock.c
646
if (stat == RPC_SUCCESS) {
sys/fs/nfs/nlm/nlm_advlock.c
650
return (stat);
sys/fs/nfs/nlm/nlm_advlock.c
663
enum clnt_stat stat;
sys/fs/nfs/nlm/nlm_advlock.c
669
stat = nlm_unlock_1(&args1, &res1, client, ext, timo);
sys/fs/nfs/nlm/nlm_advlock.c
671
if (stat == RPC_SUCCESS) {
sys/fs/nfs/nlm/nlm_advlock.c
675
return (stat);
sys/fs/nfs/nlm/nlm_advlock.c
770
enum clnt_stat stat;
sys/fs/nfs/nlm/nlm_advlock.c
803
stat = nlm_lock_rpc(vers, &args, &res, client, ext, *timo);
sys/fs/nfs/nlm/nlm_advlock.c
807
if (stat != RPC_SUCCESS) {
sys/fs/nfs/nlm/nlm_advlock.c
822
if (block && res.stat.stat != nlm4_blocked)
sys/fs/nfs/nlm/nlm_advlock.c
825
if (res.stat.stat == nlm4_denied_grace_period) {
sys/fs/nfs/nlm/nlm_advlock.c
841
if (block && res.stat.stat == nlm4_blocked) {
sys/fs/nfs/nlm/nlm_advlock.c
878
stat = nlm_cancel_rpc(vers, &cancel,
sys/fs/nfs/nlm/nlm_advlock.c
883
if (stat != RPC_SUCCESS) {
sys/fs/nfs/nlm/nlm_advlock.c
897
} while (stat != RPC_SUCCESS);
sys/fs/nfs/nlm/nlm_advlock.c
90
static int nlm_map_status(nlm4_stats stat);
sys/fs/nfs/nlm/nlm_advlock.c
904
switch (res.stat.stat) {
sys/fs/nfs/nlm/nlm_advlock.c
945
error = nlm_map_status(res.stat.stat);
sys/fs/nfs/nlm/nlm_advlock.c
969
enum clnt_stat stat;
sys/fs/nfs/nlm/nlm_advlock.c
989
stat = nlm_unlock_rpc(vers, &args, &res, client, ext, *timo);
sys/fs/nfs/nlm/nlm_advlock.c
993
if (stat != RPC_SUCCESS) {
sys/fs/nfs/nlm/nlm_prot.h
144
nlm_stats stat;
sys/fs/nfs/nlm/nlm_prot.h
171
nlm4_stats stat;
sys/fs/nfs/nlm/nlm_prot.h
204
nlm4_stats stat;
sys/fs/nfs/nlm/nlm_prot.h
213
nlm4_testrply stat;
sys/fs/nfs/nlm/nlm_prot.h
226
nlm4_stat stat;
sys/fs/nfs/nlm/nlm_prot.h
263
nlm4_stats stat;
sys/fs/nfs/nlm/nlm_prot.h
41
nlm_stats stat;
sys/fs/nfs/nlm/nlm_prot.h
49
nlm_stats stat;
sys/fs/nfs/nlm/nlm_prot.h
55
nlm_stat stat;
sys/fs/nfs/nlm/nlm_prot.h
61
nlm_testrply stat;
sys/fs/nfs/nlm/nlm_prot_impl.c
1156
enum clnt_stat stat;
sys/fs/nfs/nlm/nlm_prot_impl.c
1174
stat = CLNT_CALL(nlm_nsm, SM_UNMON,
sys/fs/nfs/nlm/nlm_prot_impl.c
1178
if (stat != RPC_SUCCESS) {
sys/fs/nfs/nlm/nlm_prot_impl.c
1179
NLM_ERR("Failed to contact local NSM - rpc error %d\n", stat);
sys/fs/nfs/nlm/nlm_prot_impl.c
1201
enum clnt_stat stat;
sys/fs/nfs/nlm/nlm_prot_impl.c
1239
stat = CLNT_CALL(nlm_nsm, SM_MON,
sys/fs/nfs/nlm/nlm_prot_impl.c
1243
if (stat != RPC_SUCCESS) {
sys/fs/nfs/nlm/nlm_prot_impl.c
1244
NLM_ERR("Failed to contact local NSM - rpc error %d\n", stat);
sys/fs/nfs/nlm/nlm_prot_impl.c
1545
enum clnt_stat stat;
sys/fs/nfs/nlm/nlm_prot_impl.c
1633
stat = CLNT_CALL(nlm_nsm, SM_UNMON_ALL,
sys/fs/nfs/nlm/nlm_prot_impl.c
1637
if (stat != RPC_SUCCESS) {
sys/fs/nfs/nlm/nlm_prot_impl.c
1642
"stat=%d, errno=%d\n", stat, err.re_errno);
sys/fs/nfs/nlm/nlm_prot_impl.c
1879
result->stat.stat = nlm4_denied_nolocks;
sys/fs/nfs/nlm/nlm_prot_impl.c
1893
result->stat.stat = nlm4_denied_grace_period;
sys/fs/nfs/nlm/nlm_prot_impl.c
1900
result->stat.stat = nlm_convert_error(error);
sys/fs/nfs/nlm/nlm_prot_impl.c
1915
result->stat.stat = nlm4_failed;
sys/fs/nfs/nlm/nlm_prot_impl.c
1920
result->stat.stat = nlm4_granted;
sys/fs/nfs/nlm/nlm_prot_impl.c
1922
result->stat.stat = nlm4_denied;
sys/fs/nfs/nlm/nlm_prot_impl.c
1923
result->stat.nlm4_testrply_u.holder.exclusive =
sys/fs/nfs/nlm/nlm_prot_impl.c
1925
result->stat.nlm4_testrply_u.holder.svid = fl.l_pid;
sys/fs/nfs/nlm/nlm_prot_impl.c
1948
result->stat.nlm4_testrply_u.holder.l_offset = fl.l_start;
sys/fs/nfs/nlm/nlm_prot_impl.c
1949
result->stat.nlm4_testrply_u.holder.l_len = fl.l_len;
sys/fs/nfs/nlm/nlm_prot_impl.c
1977
result->stat.stat = nlm4_denied_nolocks;
sys/fs/nfs/nlm/nlm_prot_impl.c
2000
result->stat.stat = nlm4_denied_grace_period;
sys/fs/nfs/nlm/nlm_prot_impl.c
2007
result->stat.stat = nlm_convert_error(error);
sys/fs/nfs/nlm/nlm_prot_impl.c
2030
result->stat.stat = nlm4_failed;
sys/fs/nfs/nlm/nlm_prot_impl.c
2056
result->stat.stat = nlm4_blocked;
sys/fs/nfs/nlm/nlm_prot_impl.c
2127
result->stat.stat = nlm4_blocked;
sys/fs/nfs/nlm/nlm_prot_impl.c
2129
result->stat.stat = nlm4_deadlck;
sys/fs/nfs/nlm/nlm_prot_impl.c
2131
result->stat.stat = nlm4_denied;
sys/fs/nfs/nlm/nlm_prot_impl.c
2133
result->stat.stat = nlm4_failed;
sys/fs/nfs/nlm/nlm_prot_impl.c
2138
result->stat.stat = nlm4_granted;
sys/fs/nfs/nlm/nlm_prot_impl.c
2166
result->stat.stat = nlm4_denied_nolocks;
sys/fs/nfs/nlm/nlm_prot_impl.c
2180
result->stat.stat = nlm4_denied_grace_period;
sys/fs/nfs/nlm/nlm_prot_impl.c
2186
result->stat.stat = nlm_convert_error(error);
sys/fs/nfs/nlm/nlm_prot_impl.c
2217
result->stat.stat = nlm4_denied;
sys/fs/nfs/nlm/nlm_prot_impl.c
2224
result->stat.stat = nlm4_denied;
sys/fs/nfs/nlm/nlm_prot_impl.c
2226
result->stat.stat = nlm4_granted;
sys/fs/nfs/nlm/nlm_prot_impl.c
2255
result->stat.stat = nlm4_denied_nolocks;
sys/fs/nfs/nlm/nlm_prot_impl.c
2269
result->stat.stat = nlm4_denied_grace_period;
sys/fs/nfs/nlm/nlm_prot_impl.c
2275
result->stat.stat = nlm_convert_error(error);
sys/fs/nfs/nlm/nlm_prot_impl.c
2291
result->stat.stat = nlm4_granted;
sys/fs/nfs/nlm/nlm_prot_impl.c
2313
result->stat.stat = nlm4_denied_nolocks;
sys/fs/nfs/nlm/nlm_prot_impl.c
2318
result->stat.stat = nlm4_denied;
sys/fs/nfs/nlm/nlm_prot_impl.c
2333
result->stat.stat = nlm4_granted;
sys/fs/nfs/nlm/nlm_prot_impl.c
2381
if (argp->stat.stat != nlm4_granted) {
sys/fs/nfs/nlm/nlm_prot_impl.c
364
enum clnt_stat stat = RPC_SUCCESS;
sys/fs/nfs/nlm/nlm_prot_impl.c
426
stat = CLNT_CALL(rpcb, (rpcprog_t) RPCBPROC_GETADDR,
sys/fs/nfs/nlm/nlm_prot_impl.c
429
if (stat == RPC_SUCCESS) {
sys/fs/nfs/nlm/nlm_prot_impl.c
449
if (tryagain || stat == RPC_PROGVERSMISMATCH) {
sys/fs/nfs/nlm/nlm_prot_impl.c
467
stat = CLNT_CALL(rpcb, (rpcprog_t) PMAPPROC_GETPORT,
sys/fs/nfs/nlm/nlm_prot_impl.c
471
if (stat == RPC_SUCCESS) {
sys/fs/nfs/nlm/nlm_prot_impl.c
504
if (stat != RPC_SUCCESS || !port) {
sys/fs/nfs/nlm/nlm_prot_impl.c
513
if (stat == RPC_SUCCESS && !do_tcp) {
sys/fs/nfs/nlm/nlm_prot_impl.c
520
"stat = %d, port = %d\n", (int) stat, port);
sys/fs/nfs/nlm/nlm_prot_server.c
108
dst->stat.stat = nlm_convert_to_nlm_stats(src->stat.stat);
sys/fs/nfs/nlm/nlm_prot_server.c
115
dst->stat.stat = (enum nlm4_stats) src->stat.stat;
sys/fs/nfs/nlm/nlm_prot_server.c
146
result->stat.stat = nlm_convert_to_nlm_stats(res4.stat.stat);
sys/fs/nfs/nlm/nlm_prot_server.c
147
if (result->stat.stat == nlm_denied)
sys/fs/nfs/nlm/nlm_prot_server.c
149
&result->stat.nlm_testrply_u.holder,
sys/fs/nfs/nlm/nlm_prot_server.c
150
&res4.stat.nlm4_testrply_u.holder);
sys/fs/nfs/nlm/nlm_prot_server.c
248
res.stat.stat = nlm_convert_to_nlm_stats(res4.stat.stat);
sys/fs/nfs/nlm/nlm_prot_server.c
249
if (res.stat.stat == nlm_denied)
sys/fs/nfs/nlm/nlm_prot_server.c
251
&res.stat.nlm_testrply_u.holder,
sys/fs/nfs/nlm/nlm_prot_server.c
252
&res4.stat.nlm4_testrply_u.holder);
sys/fs/nfs/nlm/nlm_prot_server.c
380
if (argp->stat.stat == nlm_denied)
sys/fs/nfs/nlm/nlm_prot_server.c
382
&args4.stat.nlm4_testrply_u.holder,
sys/fs/nfs/nlm/nlm_prot_server.c
383
&argp->stat.nlm_testrply_u.holder);
sys/fs/nfs/nlm/nlm_prot_server.c
446
result->stat = nlm_convert_to_nlm_stats(res4.stat);
sys/fs/nfs/nlm/nlm_prot_server.c
467
result->stat = nlm_convert_to_nlm_stats(res4.stat);
sys/fs/nfs/nlm/nlm_prot_server.c
685
result->stat = nlm4_denied;
sys/fs/nfs/nlm/nlm_prot_server.c
694
result->stat = nlm4_denied;
sys/fs/nfs/nlm/nlm_prot_xdr.c
223
if (!xdr_nlm_stats(xdrs, &objp->stat))
sys/fs/nfs/nlm/nlm_prot_xdr.c
254
if (!xdr_nlm4_stats(xdrs, &objp->stat))
sys/fs/nfs/nlm/nlm_prot_xdr.c
316
if (!xdr_nlm4_stats(xdrs, &objp->stat))
sys/fs/nfs/nlm/nlm_prot_xdr.c
318
switch (objp->stat) {
sys/fs/nfs/nlm/nlm_prot_xdr.c
335
if (!xdr_nlm4_testrply(xdrs, &objp->stat))
sys/fs/nfs/nlm/nlm_prot_xdr.c
359
if (!xdr_nlm4_stat(xdrs, &objp->stat))
sys/fs/nfs/nlm/nlm_prot_xdr.c
428
if (!xdr_nlm4_stats(xdrs, &objp->stat))
sys/fs/nfs/nlm/nlm_prot_xdr.c
48
if (!xdr_nlm_stats(xdrs, &objp->stat))
sys/fs/nfs/nlm/nlm_prot_xdr.c
50
switch (objp->stat) {
sys/fs/nfs/nlm/nlm_prot_xdr.c
65
if (!xdr_nlm_stats(xdrs, &objp->stat))
sys/fs/nfs/nlm/nlm_prot_xdr.c
76
if (!xdr_nlm_stat(xdrs, &objp->stat))
sys/fs/nfs/nlm/nlm_prot_xdr.c
87
if (!xdr_nlm_testrply(xdrs, &objp->stat))
sys/fs/v7fs/v7fs_impl.h
118
struct v7fs_stat stat;
sys/fs/v7fs/v7fs_superblock_util.c
67
struct v7fs_stat *stat = &fs->stat;
sys/fs/v7fs/v7fs_superblock_util.c
69
stat->total_blocks = sb->volume_size - sb->datablock_start_sector;
sys/fs/v7fs/v7fs_superblock_util.c
70
stat->total_inode = V7FS_MAX_INODE(sb);
sys/fs/v7fs/v7fs_superblock_util.c
71
stat->free_inode = sb->total_freeinode;
sys/fs/v7fs/v7fs_superblock_util.c
72
stat->free_blocks = sb->total_freeblock;
sys/fs/v7fs/v7fs_superblock_util.c
73
stat->total_files = stat->total_inode - sb->total_freeinode - 1;
sys/fs/v7fs/v7fs_superblock_util.c
75
DPRINTF("block %d/%d, inode %d/%d\n", stat->free_blocks,
sys/fs/v7fs/v7fs_superblock_util.c
76
stat->total_blocks, stat->free_inode, stat->total_inode);
sys/fs/v7fs/v7fs_vfsops.c
356
f->f_blocks = fs->stat.total_blocks;
sys/fs/v7fs/v7fs_vfsops.c
357
f->f_bfree = fs->stat.free_blocks;
sys/fs/v7fs/v7fs_vfsops.c
358
f->f_bavail = fs->stat.free_blocks;
sys/fs/v7fs/v7fs_vfsops.c
360
f->f_files = fs->stat.total_files;
sys/fs/v7fs/v7fs_vfsops.c
361
f->f_ffree = fs->stat.free_inode;
sys/kern/kern_descrip.c
2032
fbadop_stat(file_t *fp, struct stat *sb)
sys/kern/kern_drvctl.c
434
drvctl_stat(struct file *fp, struct stat *st)
sys/kern/kern_drvctl.c
95
static int drvctl_stat(struct file *, struct stat *);
sys/kern/kern_entropy.c
2583
rndstat_t *stat = data;
sys/kern/kern_entropy.c
2587
if (stat->count == 0)
sys/kern/kern_entropy.c
2589
if (stat->count > RND_MAXSTATCOUNT)
sys/kern/kern_entropy.c
2603
if (start++ == stat->start)
sys/kern/kern_entropy.c
2606
while (i < stat->count && rs != NULL) {
sys/kern/kern_entropy.c
2608
rndsource_to_user(rs, &stat->source[i++]);
sys/kern/kern_entropy.c
2612
KASSERT(i <= stat->count);
sys/kern/kern_entropy.c
2613
stat->count = i;
sys/kern/kern_event.c
2636
kqueue_stat(file_t *fp, struct stat *st)
sys/kern/kern_event.c
98
static int kqueue_stat(file_t *, struct stat *);
sys/kern/kern_ksyms.c
1370
ksymsstat(struct file *fp, struct stat *st)
sys/kern/kern_module_vfs.c
157
struct stat sb;
sys/kern/subr_disk.c
153
struct io_stats *stat;
sys/kern/subr_disk.c
155
stat = iostat_find(name);
sys/kern/subr_disk.c
157
if ((stat != NULL) && (stat->io_type == IOSTAT_DISK))
sys/kern/subr_disk.c
158
return stat->io_parent;
sys/kern/sys_descrip.c
552
do_sys_fstat(int fd, struct stat *sb)
sys/kern/sys_descrip.c
577
struct stat sb;
sys/kern/sys_eventfd.c
372
eventfd_fop_stat(file_t * const fp, struct stat * const st)
sys/kern/sys_memfd.c
296
memfd_stat(file_t *fp, struct stat *st)
sys/kern/sys_memfd.c
58
static int memfd_stat(file_t *, struct stat *);
sys/kern/sys_mqueue.c
323
mq_stat_fop(file_t *fp, struct stat *st)
sys/kern/sys_mqueue.c
88
static int mq_stat_fop(file_t *, struct stat *);
sys/kern/sys_pipe.c
862
pipe_stat(file_t *fp, struct stat *ub)
sys/kern/sys_pipe.c
87
static int pipe_stat(file_t *, struct stat *);
sys/kern/sys_socket.c
239
soo_stat(file_t *fp, struct stat *ub)
sys/kern/sys_timerfd.c
356
timerfd_fop_stat(file_t * const fp, struct stat * const st)
sys/kern/uipc_sem.c
116
static int ksem_stat_fop(file_t *, struct stat *);
sys/kern/uipc_sem.c
806
ksem_stat_fop(file_t *fp, struct stat *ub)
sys/kern/uipc_usrreq.c
883
unp_stat(struct socket *so, struct stat *ub)
sys/kern/vfs_quotactl.c
43
args.u.stat.qc_info = info;
sys/kern/vfs_syscalls.c
1174
error = do_sys_quotactl_stat(mp, args->u.stat.qc_info);
sys/kern/vfs_syscalls.c
2262
do_fhstat(struct lwp *l, const void *ufhp, size_t fhsize, struct stat *sb)
sys/kern/vfs_syscalls.c
2299
struct stat sb;
sys/kern/vfs_syscalls.c
3245
do_sys_stat(const char *userpath, unsigned int nd_flag, struct stat *sb)
sys/kern/vfs_syscalls.c
3253
unsigned int nd_flag, struct stat *sb)
sys/kern/vfs_syscalls.c
3291
struct stat sb;
sys/kern/vfs_syscalls.c
3312
struct stat sb;
sys/kern/vfs_syscalls.c
3332
struct stat sb;
sys/kern/vfs_vnops.c
118
static int vn_statfile(file_t *fp, struct stat *sb);
sys/kern/vfs_vnops.c
742
vn_statfile(file_t *fp, struct stat *sb)
sys/kern/vfs_vnops.c
754
vn_stat(struct vnode *vp, struct stat *sb)
sys/lib/libsa/bootcfg.c
107
struct stat st;
sys/lib/libsa/cd9660.c
397
cd9660_stat(struct open_file *f, struct stat *sb)
sys/lib/libsa/dosfs.c
400
dosfs_stat(struct open_file *fd, struct stat *sb)
sys/lib/libsa/ext2fs.c
794
ext2fs_stat(struct open_file *f, struct stat *sb)
sys/lib/libsa/fstat.c
37
fstat(int fd, struct stat *sb)
sys/lib/libsa/ls.c
96
struct stat sb;
sys/lib/libsa/minixfs3.c
811
minixfs3_stat(struct open_file *f, struct stat *sb)
sys/lib/libsa/nfs.c
897
nfs_stat(struct open_file *f, struct stat *sb)
sys/lib/libsa/nullfs.c
111
null_stat(struct open_file *f, struct stat *sb)
sys/lib/libsa/stand.h
117
__compactcall int (*stat)(struct open_file *, struct stat *);
sys/lib/libsa/stand.h
150
#define FS_STAT(fs) ((fs)->stat)
sys/lib/libsa/stand.h
275
int stat(const char *, struct stat *);
sys/lib/libsa/stand.h
276
int fstat(int, struct stat *);
sys/lib/libsa/stand.h
93
extern __compactcall int __CONCAT(fs,_stat)(struct open_file *, struct stat *)
sys/lib/libsa/stat.c
37
stat(const char *str, struct stat *sb)
sys/lib/libsa/tftp.c
420
tftp_stat(struct open_file *f, struct stat *sb)
sys/lib/libsa/ufs.c
995
ufs_stat(struct open_file *f, struct stat *sb)
sys/lib/libsa/ustarfs.c
531
ustarfs_stat(struct open_file *f, struct stat *sb)
sys/miscfs/fdesc/fdesc_vnops.c
331
struct stat stb;
sys/net/bpf.c
1521
bpf_stat(struct file *fp, struct stat *st)
sys/net/bpf.c
268
static int bpf_stat(struct file *, struct stat *);
sys/net/if_stats.c
46
SDT_PROBE_DEFINE3(sdt, net, interface, stat,
sys/net/if_stats.h
103
SDT_PROBE3(sdt, net, interface, stat, ifp, x, v);
sys/net/if_stats.h
111
SDT_PROBE3(sdt, net, interface, stat, ifp, x1, v1);
sys/net/if_stats.h
112
SDT_PROBE3(sdt, net, interface, stat, ifp, x2, v2);
sys/net/if_stats.h
121
SDT_PROBE3(sdt, net, interface, stat, ifp, x, -v);
sys/net/if_stats.h
128
SDT_PROBE3(sdt, net, interface, stat, ifp, x, -v);
sys/net/if_stats.h
60
SDT_PROBE_DECLARE(sdt, net, interface, stat);
sys/net/if_stats.h
68
SDT_PROBE3(sdt, net, interface, stat, ifp, x, +1);
sys/net/if_stats.h
75
SDT_PROBE3(sdt, net, interface, stat, ifp, x, +1);
sys/net/if_stats.h
82
SDT_PROBE3(sdt, net, interface, stat, ifp, x, -1);
sys/net/if_stats.h
89
SDT_PROBE3(sdt, net, interface, stat, ifp, x, -1);
sys/net/if_stats.h
96
SDT_PROBE3(sdt, net, interface, stat, ifp, x, v);
sys/net/if_tap.c
135
static int tap_fops_stat(file_t *, struct stat *);
sys/net/if_tap.c
912
tap_fops_stat(file_t *fp, struct stat *st)
sys/net/link_proto.c
348
link_stat(struct socket *so, struct stat *ub)
sys/net/link_proto.c
62
static int link_stat(struct socket *, struct stat *);
sys/net/net_stats.c
70
netstat_sysctl(percpu_t *stat, u_int ncounters, SYSCTLFN_ARGS)
sys/net/net_stats.c
84
percpu_foreach_xcall(stat, XC_HIGHPRI_IPL(IPL_SOFTNET),
sys/net/net_stats.h
111
#define NETSTAT_SYSCTL(stat, nctrs) \
sys/net/net_stats.h
112
netstat_sysctl((stat), (nctrs), name, namelen, oldp, oldlenp, \
sys/net/net_stats.h
47
#define _NET_STAT_GETREF(stat) ((net_stat_ref_t)percpu_getref((stat)))
sys/net/net_stats.h
48
#define _NET_STAT_PUTREF(stat) percpu_putref((stat))
sys/net/net_stats.h
56
#define _NET_STATINC(stat, x) \
sys/net/net_stats.h
58
net_stat_ref_t _nsr_ = _NET_STAT_GETREF(stat); \
sys/net/net_stats.h
60
_NET_STAT_PUTREF(stat); \
sys/net/net_stats.h
69
#define _NET_STATDEC(stat, x) \
sys/net/net_stats.h
71
net_stat_ref_t _nsr_ = _NET_STAT_GETREF(stat); \
sys/net/net_stats.h
73
_NET_STAT_PUTREF(stat); \
sys/net/net_stats.h
82
#define _NET_STATADD(stat, x, v) \
sys/net/net_stats.h
84
net_stat_ref_t _nsr_ = _NET_STAT_GETREF(stat); \
sys/net/net_stats.h
86
_NET_STAT_PUTREF(stat); \
sys/net/net_stats.h
95
#define _NET_STATSUB(stat, x, v) \
sys/net/net_stats.h
97
net_stat_ref_t _nsr_ = _NET_STAT_GETREF(stat); \
sys/net/net_stats.h
99
_NET_STAT_PUTREF(stat); \
sys/net/route.c
835
uint64_t *stat = NULL;
sys/net/route.c
900
stat = &rtstat.rts_dynamic;
sys/net/route.c
929
stat = &rtstat.rts_newgateway;
sys/net/route.c
943
else if (stat != NULL)
sys/net/route.c
944
(*stat)++;
sys/net/rtsock_shared.c
440
COMPATNAME(route_stat)(struct socket *so, struct stat *ub)
sys/net80211/ieee80211_node.h
159
#define IEEE80211_NODE_STAT(ni,stat) (ni->ni_stats.ns_##stat++)
sys/net80211/ieee80211_node.h
160
#define IEEE80211_NODE_STAT_ADD(ni,stat,v) (ni->ni_stats.ns_##stat += v)
sys/net80211/ieee80211_node.h
161
#define IEEE80211_NODE_STAT_SET(ni,stat,v) (ni->ni_stats.ns_##stat = v)
sys/netatalk/ddp_usrreq.c
446
ddp_stat(struct socket *so, struct stat *ub)
sys/netbt/hci_socket.c
534
hci_stat(struct socket *so, struct stat *ub)
sys/netbt/l2cap_socket.c
246
l2cap_stat(struct socket *so, struct stat *ub)
sys/netbt/rfcomm_socket.c
256
rfcomm_stat(struct socket *so, struct stat *ub)
sys/netbt/sco_socket.c
239
sco_stat(struct socket *so, struct stat *ub)
sys/netcan/can.c
562
can_stat(struct socket *so, struct stat *ub)
sys/netinet/dccp_usrreq.c
2674
dccp_stat(struct socket *so, struct stat *ub)
sys/netinet/icmp_var.h
79
void icmp_statinc(u_int stat);
sys/netinet/ip_icmp.c
1129
icmp_statinc(u_int stat)
sys/netinet/ip_icmp.c
1132
KASSERT(stat < ICMP_NSTATS);
sys/netinet/ip_icmp.c
1133
ICMP_STATINC(stat);
sys/netinet/ip_input.c
1828
ip_statinc(u_int stat)
sys/netinet/ip_input.c
1831
KASSERT(stat < IP_NSTATS);
sys/netinet/ip_input.c
1832
IP_STATINC(stat);
sys/netinet/raw_ip.c
699
rip_stat(struct socket *so, struct stat *ub)
sys/netinet/sctp_usrreq.c
3697
sctp_stat(struct socket *so, struct stat *ub)
sys/netinet/tcp_subr.c
2178
tcp_statinc(u_int stat)
sys/netinet/tcp_subr.c
2181
KASSERT(stat < TCP_NSTATS);
sys/netinet/tcp_subr.c
2182
TCP_STATINC(stat);
sys/netinet/tcp_subr.c
2186
tcp_statadd(u_int stat, uint64_t val)
sys/netinet/tcp_subr.c
2189
KASSERT(stat < TCP_NSTATS);
sys/netinet/tcp_subr.c
2190
TCP_STATADD(stat, val);
sys/netinet/tcp_usrreq.c
854
tcp_stat(struct socket *so, struct stat *ub)
sys/netinet/udp_usrreq.c
1015
udp_stat(struct socket *so, struct stat *ub)
sys/netinet/udp_usrreq.c
1223
udp_statinc(u_int stat)
sys/netinet/udp_usrreq.c
1226
KASSERT(stat < UDP_NSTATS);
sys/netinet/udp_usrreq.c
1227
UDP_STATINC(stat);
sys/netinet6/dccp6_usrreq.c
310
dccp6_stat(struct socket *so, struct stat *ub)
sys/netinet6/icmp6.c
3101
icmp6_statinc(u_int stat)
sys/netinet6/icmp6.c
3104
KASSERT(stat < ICMP6_NSTATS);
sys/netinet6/icmp6.c
3105
ICMP6_STATINC(stat);
sys/netinet6/ip6_input.c
1817
ip6_statinc(u_int stat)
sys/netinet6/ip6_input.c
1820
KASSERT(stat < IP6_NSTATS);
sys/netinet6/ip6_input.c
1821
IP6_STATINC(stat);
sys/netinet6/raw_ip6.c
815
rip6_stat(struct socket *so, struct stat *ub)
sys/netinet6/sctp6_usrreq.c
1271
sctp6_stat(struct socket *so, struct stat *ub)
sys/netinet6/udp6_usrreq.c
1238
udp6_stat(struct socket *so, struct stat *ub)
sys/netinet6/udp6_usrreq.c
1394
udp6_statinc(u_int stat)
sys/netinet6/udp6_usrreq.c
1397
KASSERT(stat < UDP6_NSTATS);
sys/netinet6/udp6_usrreq.c
1398
UDP6_STATINC(stat);
sys/netipsec/keysock.c
527
key_stat(struct socket *so, struct stat *ub)
sys/netipsec/xform_ah.c
530
int hl, rplen, authsize, ahsize, error, stat = AH_STAT_HDROPS;
sys/netipsec/xform_ah.c
557
stat = AH_STAT_REPLAY;
sys/netipsec/xform_ah.c
574
stat = AH_STAT_BADAUTHL;
sys/netipsec/xform_ah.c
585
stat = AH_STAT_BADAUTHL;
sys/netipsec/xform_ah.c
596
stat = AH_STAT_CRYPTO;
sys/netipsec/xform_ah.c
628
stat = AH_STAT_CRYPTO;
sys/netipsec/xform_ah.c
664
stat = AH_STAT_NOTDB;
sys/netipsec/xform_ah.c
707
AH_STATINC(stat);
sys/netipsec/xform_esp.c
306
int plen, alen, hlen, error, stat = ESP_STAT_CRYPTO;
sys/netipsec/xform_esp.c
316
stat = ESP_STAT_BADILEN; /* Same as FreeBSD */
sys/netipsec/xform_esp.c
355
stat = ESP_STAT_BADILEN;
sys/netipsec/xform_esp.c
367
stat = ESP_STAT_REPLAY;
sys/netipsec/xform_esp.c
442
stat = ESP_STAT_NOTDB;
sys/netipsec/xform_esp.c
487
ESP_STATINC(stat);
sys/netipsec/xform_ipcomp.c
144
int error, hlen = IPCOMP_HLENGTH, stat = IPCOMP_STAT_CRYPTO;
sys/netipsec/xform_ipcomp.c
177
stat = IPCOMP_STAT_NOTDB;
sys/netipsec/xform_ipcomp.c
220
IPCOMP_STATINC(stat);
sys/netmpls/mpls_proto.c
171
mpls_stat(struct socket *so, struct stat *ub)
sys/opencrypto/cryptodev.c
193
static int cryptof_stat(struct file *, struct stat *);
sys/opencrypto/cryptodev.c
1995
cryptof_stat(struct file *fp, struct stat *st)
sys/rump/include/rump/rump.h
43
struct stat;
sys/rump/include/rump/rump_syscalls.h
1020
int rump_sys_stat(const char *, struct stat *) __RENAME(RUMP_SYS_RENAME_STAT);
sys/rump/include/rump/rump_syscalls.h
1021
int rump_sys_fstat(int, struct stat *) __RENAME(RUMP_SYS_RENAME_FSTAT);
sys/rump/include/rump/rump_syscalls.h
1022
int rump_sys_lstat(const char *, struct stat *) __RENAME(RUMP_SYS_RENAME_LSTAT);
sys/rump/include/rump/rump_syscalls.h
1027
int rump_sys_fhstat(const void *, size_t, struct stat *) __RENAME(RUMP_SYS_RENAME_FHSTAT);
sys/rump/include/rump/rump_syscalls.h
1062
int rump_sys_fstatat(int, const char *, struct stat *, int) __RENAME(RUMP_SYS_RENAME_FSTATAT);
sys/rump/include/rump/rump_syscalls.h
864
struct stat;
sys/rump/kern/lib/libsys_cygwin/rump_cygwin_compat.c
112
struct stat sb;
sys/rump/kern/lib/libsys_cygwin/rump_cygwin_compat.c
129
struct stat sb;
sys/rump/kern/lib/libsys_cygwin/rump_cygwin_compat.c
69
bsd_to_cygwin_stat(const struct stat *sb, struct cygwin_stat *ssb)
sys/rump/kern/lib/libsys_cygwin/rump_cygwin_compat.c
95
struct stat sb;
sys/rump/kern/lib/libsys_sunos/rump_sunos_compat.c
106
bsd_to_sunos_stat(const struct stat *sb, struct sunos_stat *ssb)
sys/rump/kern/lib/libsys_sunos/rump_sunos_compat.c
137
struct stat sb;
sys/rump/kern/lib/libsys_sunos/rump_sunos_compat.c
154
struct stat sb;
sys/rump/kern/lib/libsys_sunos/rump_sunos_compat.c
171
struct stat sb;
sys/rump/librump/rumpkern/cons.c
138
rumpcons_stat(struct file *fp, struct stat *sb)
sys/rump/librump/rumpkern/cons.c
59
static int rumpcons_stat(struct file *, struct stat *);
sys/rump/librump/rumpkern/rump_syscalls.c
4421
int rump___sysimpl_stat30(const char *, struct stat *);
sys/rump/librump/rumpkern/rump_syscalls.c
4423
rump___sysimpl_stat30(const char * path, struct stat * ub)
sys/rump/librump/rumpkern/rump_syscalls.c
4445
__weak_alias(stat,rump___sysimpl_stat30);
sys/rump/librump/rumpkern/rump_syscalls.c
4453
int rump___sysimpl_fstat30(int, struct stat *);
sys/rump/librump/rumpkern/rump_syscalls.c
4455
rump___sysimpl_fstat30(int fd, struct stat * sb)
sys/rump/librump/rumpkern/rump_syscalls.c
4485
int rump___sysimpl_lstat30(const char *, struct stat *);
sys/rump/librump/rumpkern/rump_syscalls.c
4487
rump___sysimpl_lstat30(const char * path, struct stat * ub)
sys/rump/librump/rumpkern/rump_syscalls.c
4641
int rump___sysimpl_fhstat40(const void *, size_t, struct stat *);
sys/rump/librump/rumpkern/rump_syscalls.c
4643
rump___sysimpl_fhstat40(const void * fhp, size_t fh_size, struct stat * sb)
sys/rump/librump/rumpkern/rump_syscalls.c
5463
int rump___sysimpl_stat50(const char *, struct stat *);
sys/rump/librump/rumpkern/rump_syscalls.c
5465
rump___sysimpl_stat50(const char * path, struct stat * ub)
sys/rump/librump/rumpkern/rump_syscalls.c
5487
__weak_alias(stat,rump___sysimpl_stat50);
sys/rump/librump/rumpkern/rump_syscalls.c
5493
int rump___sysimpl_fstat50(int, struct stat *);
sys/rump/librump/rumpkern/rump_syscalls.c
5495
rump___sysimpl_fstat50(int fd, struct stat * sb)
sys/rump/librump/rumpkern/rump_syscalls.c
5523
int rump___sysimpl_lstat50(const char *, struct stat *);
sys/rump/librump/rumpkern/rump_syscalls.c
5525
rump___sysimpl_lstat50(const char * path, struct stat * ub)
sys/rump/librump/rumpkern/rump_syscalls.c
5646
int rump___sysimpl_fhstat50(const void *, size_t, struct stat *);
sys/rump/librump/rumpkern/rump_syscalls.c
5648
rump___sysimpl_fhstat50(const void * fhp, size_t fh_size, struct stat * sb)
sys/rump/librump/rumpkern/rump_syscalls.c
6047
int rump___sysimpl_fstatat(int, const char *, struct stat *, int);
sys/rump/librump/rumpkern/rump_syscalls.c
6049
rump___sysimpl_fstatat(int fd, const char * path, struct stat * buf, int flag)
sys/rump/librump/rumpvfs/devnodes.c
99
struct stat sb;
sys/rump/net/lib/libsockin/sockin.c
562
sockin_stat(struct socket *so, struct stat *ub)
sys/rump/net/lib/libsockin/sockin.c
81
static int sockin_stat(struct socket *, struct stat *);
sys/stand/efiboot/exec.c
55
struct stat st;
sys/stand/ls.c
60
struct stat st;
sys/sys/file.h
232
int fbadop_stat(struct file *, struct stat *);
sys/sys/file.h
81
struct stat;
sys/sys/file.h
94
int (*fo_stat) (struct file *, struct stat *);
sys/sys/filedesc.h
254
struct stat;
sys/sys/filedesc.h
255
int do_sys_fstat(int, struct stat *);
sys/sys/mount.h
499
int fhstat(const void *, size_t, struct stat *) __RENAME(__fhstat50);
sys/sys/protosw.h
250
int (*pr_stat)(struct socket *, struct stat *);
sys/sys/protosw.h
395
name##_stat_wrapper(struct socket *a, struct stat *b) \
sys/sys/protosw.h
65
struct stat;
sys/sys/quotactl.h
102
} stat;
sys/sys/socketvar.h
250
struct stat;
sys/sys/socketvar.h
268
int soo_stat(file_t *, struct stat *);
sys/sys/stat.h
247
int stat(const char *, struct stat *) __RENAME(__stat50);
sys/sys/stat.h
248
int fstat(int, struct stat *) __RENAME(__fstat50);
sys/sys/stat.h
254
int lstat(const char *, struct stat *) __RENAME(__lstat50);
sys/sys/stat.h
278
int fstatat(int, const char *, struct stat *, int);
sys/sys/syscallargs.h
2876
syscallarg(struct stat *) ub;
sys/sys/syscallargs.h
2882
syscallarg(struct stat *) sb;
sys/sys/syscallargs.h
2888
syscallarg(struct stat *) ub;
sys/sys/syscallargs.h
2972
syscallarg(struct stat *) sb;
sys/sys/syscallargs.h
3080
syscallarg(struct stat *) buf;
sys/sys/vfs_syscalls.h
35
struct stat;
sys/sys/vfs_syscalls.h
44
int do_sys_stat(const char *, unsigned int, struct stat *);
sys/sys/vfs_syscalls.h
45
int do_sys_statat(struct lwp *, int, const char *, unsigned int, struct stat *);
sys/sys/vfs_syscalls.h
46
int do_fhstat(struct lwp *, const void *, size_t, struct stat *);
sys/sys/vnode.h
590
struct stat;
sys/sys/vnode.h
641
int vn_stat(struct vnode *, struct stat *);
sys/ufs/lfs/ulfs_quota.c
241
struct quotastat *info = args->u.stat.qc_info;
sys/ufs/lfs/ulfs_quota.c
254
struct quotastat *info = args->u.stat.qc_info;
sys/ufs/ufs/ufs_quota.c
238
info = args->u.stat.qc_info;
tests/fs/lfs/t_fcntl.c
202
struct stat statbuf;
tests/fs/lfs/t_orphan.c
70
struct stat statbuf;
tests/fs/lfs/util.c
101
struct stat statbuf;
tests/fs/lfs/util.c
64
struct stat statbuf;
tests/fs/nullfs/t_basic.c
76
struct stat sb;
tests/fs/puffs/t_basic.c
407
struct stat sb;
tests/fs/puffs/t_fuzz.c
235
struct stat sb;
tests/fs/umapfs/t_basic.c
53
struct stat sb;
tests/fs/union/t_pr.c
242
struct stat sb;
tests/fs/vfs/t_io.c
83
struct stat sb;
tests/fs/vfs/t_mtime_otrunc.c
49
struct stat st;
tests/fs/vfs/t_mtime_write.c
49
struct stat st;
tests/fs/vfs/t_ro.c
124
struct stat sb;
tests/fs/vfs/t_union.c
113
struct stat sb;
tests/fs/vfs/t_union.c
158
struct stat sb;
tests/fs/vfs/t_unpriv.c
179
struct stat st;
tests/fs/vfs/t_vnops.c
1045
struct stat st;
tests/fs/vfs/t_vnops.c
159
struct stat sb;
tests/fs/vfs/t_vnops.c
181
struct stat sb;
tests/fs/vfs/t_vnops.c
275
checkfile(const char *path, struct stat *refp)
tests/fs/vfs/t_vnops.c
278
struct stat sb;
tests/fs/vfs/t_vnops.c
293
struct stat ref, sb;
tests/fs/vfs/t_vnops.c
422
struct stat sb;
tests/fs/vfs/t_vnops.c
70
struct stat sb1, sb2;
tests/fs/vfs/t_vnops.c
741
struct stat sb, sb2;
tests/fs/vfs/t_vnops.c
88
struct stat sb1, sb2;
tests/include/t_paths.c
125
struct stat st;
tests/include/t_paths.c
171
(void)memset(&st, 0, sizeof(struct stat));
tests/kernel/t_lua.c
186
struct stat st;
tests/kernel/t_lua.c
191
RL(stat(_PATH_DEV_LUA, &st));
tests/kernel/t_memfd_create.c
148
struct stat st;
tests/kernel/t_memfd_create.c
258
struct stat st;
tests/kernel/t_proccwd.c
112
struct stat root_dir;
tests/kernel/t_proccwd.c
113
struct stat cur_dir;
tests/kernel/t_proccwd.c
123
ATF_REQUIRE_EQ(stat(buf, &cur_dir), 0);
tests/kernel/t_proccwd.c
124
ATF_REQUIRE_EQ(stat("/", &root_dir), 0);
tests/lib/libc/c063/t_fchmodat.c
173
struct stat st;
tests/lib/libc/c063/t_fchmodat.c
66
struct stat st;
tests/lib/libc/c063/t_fchmodat.c
76
ATF_REQUIRE(stat(FILE, &st) == 0);
tests/lib/libc/c063/t_fchmodat.c
89
struct stat st;
tests/lib/libc/c063/t_fchmodat.c
98
ATF_REQUIRE(stat(BASEFILE, &st) == 0);
tests/lib/libc/c063/t_fchownat.c
109
struct stat st;
tests/lib/libc/c063/t_fchownat.c
119
ATF_REQUIRE(stat(BASEFILE, &st) == 0);
tests/lib/libc/c063/t_fchownat.c
215
struct stat st;
tests/lib/libc/c063/t_fchownat.c
81
struct stat st;
tests/lib/libc/c063/t_fchownat.c
92
ATF_REQUIRE(stat(FILE, &st) == 0);
tests/lib/libc/c063/t_fstatat.c
102
struct stat st;
tests/lib/libc/c063/t_fstatat.c
116
struct stat st;
tests/lib/libc/c063/t_fstatat.c
134
struct stat st;
tests/lib/libc/c063/t_fstatat.c
153
struct stat st;
tests/lib/libc/c063/t_fstatat.c
170
struct stat st;
tests/lib/libc/c063/t_fstatat.c
61
struct stat st1, st2;
tests/lib/libc/c063/t_fstatat.c
71
ATF_REQUIRE(stat(FILE, &st2) == 0);
tests/lib/libc/c063/t_fstatat.c
84
struct stat st;
tests/lib/libc/c063/t_linkat.c
100
ATF_REQUIRE(stat(FILE, &ost) == 0);
tests/lib/libc/c063/t_linkat.c
101
ATF_REQUIRE(stat(TARGET, &nst) == 0);
tests/lib/libc/c063/t_linkat.c
150
struct stat ost, nst;
tests/lib/libc/c063/t_linkat.c
183
struct stat ost, nst;
tests/lib/libc/c063/t_linkat.c
64
struct stat ost, nst;
tests/lib/libc/c063/t_linkat.c
77
ATF_REQUIRE(stat(FILE, &ost) == 0);
tests/lib/libc/c063/t_linkat.c
78
ATF_REQUIRE(stat(TARGET, &nst) == 0);
tests/lib/libc/c063/t_linkat.c
91
struct stat ost, nst;
tests/lib/libc/c063/t_mkfifoat.c
119
struct stat st;
tests/lib/libc/c063/t_mkfifoat.c
123
(void)memset(&st, 0, sizeof(struct stat));
tests/lib/libc/c063/t_mkfifoat.c
129
ATF_REQUIRE(stat(FIFO, &st) == 0);
tests/lib/libc/c063/t_mknodat.c
55
struct stat st;
tests/lib/libc/c063/t_mknodat.c
57
if (stat(_PATH_DEVNULL, &st) != 0)
tests/lib/libc/c063/t_o_search.c
322
struct stat sb;
tests/lib/libc/c063/t_renameat.c
102
ATF_REQUIRE(stat(TARGET, &nst) == 0);
tests/lib/libc/c063/t_renameat.c
62
struct stat ost, nst;
tests/lib/libc/c063/t_renameat.c
69
ATF_REQUIRE(stat(FILE, &ost) == 0);
tests/lib/libc/c063/t_renameat.c
77
ATF_REQUIRE(stat(TARGET, &nst) == 0);
tests/lib/libc/c063/t_renameat.c
91
struct stat ost, nst;
tests/lib/libc/c063/t_renameat.c
98
ATF_REQUIRE(stat(FILE, &ost) == 0);
tests/lib/libc/c063/t_symlinkat.c
110
struct stat st;
tests/lib/libc/c063/t_symlinkat.c
119
ATF_REQUIRE(stat(LINK, &st) == -1);
tests/lib/libc/c063/t_symlinkat.c
62
struct stat ost, nst;
tests/lib/libc/c063/t_symlinkat.c
73
ATF_REQUIRE(stat(FILE, &ost) == 0);
tests/lib/libc/c063/t_symlinkat.c
74
ATF_REQUIRE(stat(LINK, &nst) == 0);
tests/lib/libc/c063/t_symlinkat.c
87
struct stat ost, nst;
tests/lib/libc/c063/t_symlinkat.c
96
ATF_REQUIRE(stat(FILE, &ost) == 0);
tests/lib/libc/c063/t_symlinkat.c
97
ATF_REQUIRE(stat(LINK, &nst) == 0);
tests/lib/libc/c063/t_utimensat.c
104
RL(stat(FILE, &st));
tests/lib/libc/c063/t_utimensat.c
118
struct stat st;
tests/lib/libc/c063/t_utimensat.c
128
RL(stat(BASEFILE, &st));
tests/lib/libc/c063/t_utimensat.c
207
struct stat st;
tests/lib/libc/c063/t_utimensat.c
64
checkstattime(const struct stat *st, const struct statvfs *fs)
tests/lib/libc/c063/t_utimensat.c
93
struct stat st;
tests/lib/libc/db/h_db.c
709
struct stat sb;
tests/lib/libc/gen/posix_spawn/fa_spawn_utils.c
49
struct stat st;
tests/lib/libc/gen/posix_spawn/fa_spawn_utils.c
51
RL(stat(fname, &st));
tests/lib/libc/gen/posix_spawn/h_fileactions.c
55
struct stat sb0, sb1;
tests/lib/libc/stdlib/t_mktemp.c
122
struct stat sa;
tests/lib/libc/stdlib/t_mktemp.c
125
(void)memset(&sa, 0, sizeof(struct stat));
tests/lib/libc/stdlib/t_mktemp.c
148
struct stat sa;
tests/lib/libc/stdlib/t_mktemp.c
151
(void)memset(&sa, 0, sizeof(struct stat));
tests/lib/libc/stdlib/t_mktemp.c
175
struct stat sa;
tests/lib/libc/stdlib/t_mktemp.c
177
(void)memset(&sa, 0, sizeof(struct stat));
tests/lib/libc/stdlib/t_mktemp.c
181
ATF_REQUIRE(stat(path, &sa) == 0);
tests/lib/libc/stdlib/t_mktemp.c
201
struct stat sa;
tests/lib/libc/stdlib/t_mktemp.c
207
(void)memset(&sa, 0, sizeof(struct stat));
tests/lib/libc/stdlib/t_mktemp.c
237
struct stat sa;
tests/lib/libc/stdlib/t_mktemp.c
243
(void)memset(&sa, 0, sizeof(struct stat));
tests/lib/libc/stdlib/t_mktemp.c
44
check_mode(struct stat sa, const int mode, const int dir)
tests/lib/libc/string/t_memset.c
218
struct stat st;
tests/lib/libc/string/t_memset.c
233
(void)(*memsetfn[i].fn)(&st, 0, sizeof(struct stat));
tests/lib/libc/sys/t_clone.c
122
int stat;
tests/lib/libc/sys/t_clone.c
145
while (waitpid(pid, &stat, __WCLONE) != pid)
tests/lib/libc/sys/t_clone.c
149
ATF_REQUIRE_MSG(WIFEXITED(stat) != 0, "child didn't exit");
tests/lib/libc/sys/t_clone.c
152
WEXITSTATUS(stat), frobme[1]);
tests/lib/libc/sys/t_clone.c
154
switch (WEXITSTATUS(stat)) {
tests/lib/libc/sys/t_clone.c
169
WEXITSTATUS(stat));
tests/lib/libc/sys/t_dup.c
57
struct stat st, st1;
tests/lib/libc/sys/t_dup.c
87
(void)memset(&st, 0, sizeof(struct stat));
tests/lib/libc/sys/t_dup.c
88
(void)memset(&st1, 0, sizeof(struct stat));
tests/lib/libc/sys/t_link.c
185
struct stat sa, sb;
tests/lib/libc/sys/t_link.c
188
(void)memset(&sa, 0, sizeof(struct stat));
tests/lib/libc/sys/t_link.c
189
(void)memset(&sb, 0, sizeof(struct stat));
tests/lib/libc/sys/t_link.c
198
ATF_REQUIRE(stat(path, &sa) == 0);
tests/lib/libc/sys/t_link.c
73
struct stat sa, sb;
tests/lib/libc/sys/t_link.c
76
(void)memset(&sa, 0, sizeof(struct stat));
tests/lib/libc/sys/t_link.c
77
(void)memset(&sb, 0, sizeof(struct stat));
tests/lib/libc/sys/t_link.c
85
ATF_REQUIRE(stat(path, &sa) == 0);
tests/lib/libc/sys/t_link.c
87
ATF_REQUIRE(stat(path, &sb) == 0);
tests/lib/libc/sys/t_mincore.c
156
struct stat st;
tests/lib/libc/sys/t_mincore.c
169
(void)memset(&st, 0, sizeof(struct stat));
tests/lib/libc/sys/t_mkdir.c
112
struct stat st_a, st_b;
tests/lib/libc/sys/t_mkdir.c
117
(void)memset(&st_a, 0, sizeof(struct stat));
tests/lib/libc/sys/t_mkdir.c
118
(void)memset(&st_b, 0, sizeof(struct stat));
tests/lib/libc/sys/t_mkdir.c
123
ATF_REQUIRE(stat("/tmp", &st_a) == 0);
tests/lib/libc/sys/t_mkdir.c
145
ATF_REQUIRE(stat(path, &st_b) == 0);
tests/lib/libc/sys/t_mkfifo.c
246
struct stat st;
tests/lib/libc/sys/t_mkfifo.c
250
(void)memset(&st, 0, sizeof(struct stat));
tests/lib/libc/sys/t_mkfifo.c
253
ATF_REQUIRE(stat(path, &st) == 0);
tests/lib/libc/sys/t_mkfifo.c
274
struct stat st;
tests/lib/libc/sys/t_mkfifo.c
278
(void)memset(&st, 0, sizeof(struct stat));
tests/lib/libc/sys/t_mkfifo.c
281
ATF_REQUIRE(stat(path, &st) == 0);
tests/lib/libc/sys/t_mknod.c
145
struct stat st;
tests/lib/libc/sys/t_mknod.c
147
(void)memset(&st, 0, sizeof(struct stat));
tests/lib/libc/sys/t_mknod.c
150
ATF_REQUIRE(stat(path, &st) == 0);
tests/lib/libc/sys/t_mknod.c
157
(void)memset(&st, 0, sizeof(struct stat));
tests/lib/libc/sys/t_mknod.c
160
ATF_REQUIRE(stat(path, &st) == 0);
tests/lib/libc/sys/t_mknod.c
167
(void)memset(&st, 0, sizeof(struct stat));
tests/lib/libc/sys/t_mknod.c
170
ATF_REQUIRE(stat(path, &st) == 0);
tests/lib/libc/sys/t_ptrace_topology_wait.h
551
struct stat st;
tests/lib/libc/sys/t_ptrace_topology_wait.h
559
(rv = stat(fname, &st)) == 0 || (errno == ENOENT));
tests/lib/libc/sys/t_stat.c
124
(void)memset(&sa, 0, sizeof(struct stat));
tests/lib/libc/sys/t_stat.c
125
(void)memset(&sb, 0, sizeof(struct stat));
tests/lib/libc/sys/t_stat.c
127
ATF_REQUIRE(stat(ftse->fts_parent->fts_path,&sa) == 0);
tests/lib/libc/sys/t_stat.c
129
ATF_REQUIRE(stat(".", &sb) == 0);
tests/lib/libc/sys/t_stat.c
164
struct stat st;
tests/lib/libc/sys/t_stat.c
172
ATF_REQUIRE_ERRNO(ENAMETOOLONG, stat(buf, &st) == -1);
tests/lib/libc/sys/t_stat.c
178
ATF_REQUIRE_ERRNO(EFAULT, stat((void *)-1, &st) == -1);
tests/lib/libc/sys/t_stat.c
184
ATF_REQUIRE_ERRNO(EFAULT, stat("/etc/passwd", (void *)-1) == -1);
tests/lib/libc/sys/t_stat.c
190
ATF_REQUIRE_ERRNO(ENOENT, stat("/a/b/c/d/e/f/g/h/i/j/k", &st) == -1);
tests/lib/libc/sys/t_stat.c
204
struct stat sa, sb;
tests/lib/libc/sys/t_stat.c
210
(void)memset(&sa, 0, sizeof(struct stat));
tests/lib/libc/sys/t_stat.c
211
(void)memset(&sb, 0, sizeof(struct stat));
tests/lib/libc/sys/t_stat.c
217
ATF_REQUIRE(stat(path, &sa) == 0);
tests/lib/libc/sys/t_stat.c
222
ATF_REQUIRE(stat(path, &sb) == 0);
tests/lib/libc/sys/t_stat.c
246
struct stat sa, sb;
tests/lib/libc/sys/t_stat.c
251
(void)memset(&sa, 0, sizeof(struct stat));
tests/lib/libc/sys/t_stat.c
252
(void)memset(&sb, 0, sizeof(struct stat));
tests/lib/libc/sys/t_stat.c
261
ATF_REQUIRE(stat(path, &sb) == 0);
tests/lib/libc/sys/t_stat.c
286
struct stat sa, sb, sc;
tests/lib/libc/sys/t_stat.c
296
(void)memset(&sa, 0, sizeof(struct stat));
tests/lib/libc/sys/t_stat.c
297
(void)memset(&sb, 0, sizeof(struct stat));
tests/lib/libc/sys/t_stat.c
298
(void)memset(&sc, 0, sizeof(struct stat));
tests/lib/libc/sys/t_stat.c
303
ATF_REQUIRE(stat(path, &sc) == 0);
tests/lib/libc/sys/t_stat.c
331
struct stat st;
tests/lib/libc/sys/t_stat.c
335
(void)memset(&st, 0, sizeof(struct stat));
tests/lib/libc/sys/t_stat.c
374
struct stat sa, sb;
tests/lib/libc/sys/t_stat.c
377
(void)memset(&sa, 0, sizeof(struct stat));
tests/lib/libc/sys/t_stat.c
378
(void)memset(&sb, 0, sizeof(struct stat));
tests/lib/libc/sys/t_stat.c
384
ATF_REQUIRE(stat(pathlink, &sa) == 0);
tests/lib/libc/sys/t_stat.c
61
struct stat sa, sb;
tests/lib/libc/sys/t_stat.c
64
(void)memset(&sa, 0, sizeof(struct stat));
tests/lib/libc/sys/t_stat.c
65
(void)memset(&sb, 0, sizeof(struct stat));
tests/lib/libc/sys/t_stat.c
70
ATF_REQUIRE(stat(path, &sa) == 0);
tests/lib/libc/sys/t_stat.c
72
ATF_REQUIRE(stat(path, &sb) == 0);
tests/lib/libc/sys/t_stat.c
95
struct stat sa, sb;
tests/lib/libc/sys/t_timerfd.c
515
struct stat st;
tests/lib/libc/sys/t_truncate.c
115
struct stat st;
tests/lib/libc/sys/t_truncate.c
124
(void)memset(&st, 0, sizeof(struct stat));
tests/lib/libc/sys/t_truncate.c
55
struct stat st;
tests/lib/libc/sys/t_truncate.c
64
(void)memset(&st, 0, sizeof(struct stat));
tests/lib/libc/sys/t_umask.c
119
struct stat st;
tests/lib/libc/sys/t_umask.c
133
(void)memset(&st, 0, sizeof(struct stat));
tests/lib/libc/sys/t_umask.c
135
if (stat(path, &st) != 0) {
tests/lib/libc/ttyio/t_ptm.c
127
struct stat stm, sts;
tests/lib/libc/ttyio/t_ptm.c
142
REQUIRE_ERRNO(stat("/dev/ptyp0", &sts), -1);
tests/lib/libc/ttyio/t_ptm.c
62
struct stat stm, sts;
tests/lib/libc/ttyio/t_ptm.c
87
REQUIRE_ERRNO(stat(ptm.cn, &sts), -1);
tests/lib/libc/ttyio/t_ptm.c
92
REQUIRE_ERRNO(stat(ptm.sn, &sts), -1);
tests/lib/libcurses/director/director.c
136
struct stat st;
tests/lib/libcurses/director/director.c
206
if (stat(termpath, &st) == -1)
tests/lib/libcurses/director/director.c
213
if (stat(tinfo, &st) == -1)
tests/lib/libposix/t_rename.c
55
struct stat sb;
tests/lib/libposix/t_rename.c
64
REQUIRE_LIBC(stat("t1", &sb), -1);
tests/lib/libposix/t_rename.c
70
ATF_REQUIRE_MSG(stat("t1", &sb) != 0, "BSD rename should remove file t1");
tests/lib/libposix/t_rename.c
74
REQUIRE_LIBC(stat("t1", &sb), -1);
tests/lib/librumpclient/t_fd.c
67
struct stat sb;
tests/net/net/t_ip_reass.c
201
get_ipstat(struct ipstat *stat)
tests/net/net/t_ip_reass.c
206
memset(stat, 0, sizeof(*stat));
tests/net/net/t_ip_reass.c
207
len = sizeof(*stat);
tests/net/net/t_ip_reass.c
208
error = sysctlbyname("net.inet.ip.stats", stat, &len, NULL, 0);
tests/net/net/t_ip_reass.c
211
ATF_REQUIRE(len == sizeof(*stat));
tests/net/net/t_raw.c
27
struct stat sb;
tests/net/net/t_unix.c
183
struct stat st;
tests/rump/rumpkern/t_lwproc.c
255
struct stat sb;
tests/usr.bin/indent/lsym_lparen_or_lbracket.c
137
a = offsetof(struct stat, st_mtime);
tests/usr.bin/indent/lsym_period.c
37
get_time(struct stat st)
tests/usr.bin/indent/lsym_period.c
45
get_time(struct stat st)
tools/compat/lchflags.c
45
struct stat psb;
tools/compat/lchmod.c
45
struct stat psb;
tools/compat/lchown.c
45
struct stat psb;
usr.bin/at/at.c
177
struct stat statbuf;
usr.bin/at/at.c
242
if (stat(atfile, &statbuf) == -1)
usr.bin/at/at.c
429
struct stat buf;
usr.bin/at/at.c
448
if (stat(dirent->d_name, &buf) == -1)
usr.bin/at/at.c
503
struct stat buf;
usr.bin/at/at.c
524
if (stat(dirent->d_name, &buf) == -1)
usr.bin/audio/play/play.c
314
struct stat sb;
usr.bin/audiocfg/audiodev.c
56
struct stat st;
usr.bin/audiocfg/audiodev.c
61
if (stat(adev->ctlpath, &st) == -1)
usr.bin/audiocfg/audiodev.c
65
if (stat(_PATH_AUDIOCTL, &st) != -1 && st.st_rdev == adev->dev)
usr.bin/biff/biff.c
61
struct stat sb;
usr.bin/biff/biff.c
78
if (stat(name, &sb))
usr.bin/calendar/calendar.c
496
struct stat st;
usr.bin/calendar/calendar.c
563
struct stat sbuf;
usr.bin/chpass/chpass.c
225
struct stat sb;
usr.bin/chpass/chpass.c
234
if (stat(dirname(tempname), &sb) == -1)
usr.bin/chpass/edit.c
150
struct stat sb;
usr.bin/chpass/edit.c
61
struct stat begin, end;
usr.bin/chpass/edit.c
64
if (stat(tempname, &begin))
usr.bin/chpass/edit.c
67
if (stat(tempname, &end))
usr.bin/cmp/cmp.c
67
struct stat sb1, sb2;
usr.bin/compress/compress.c
203
struct stat isb, sb;
usr.bin/compress/compress.c
210
exists = !stat(out, &sb);
usr.bin/compress/compress.c
224
if (stat(in, &isb)) { /* DON'T FSTAT! */
usr.bin/compress/compress.c
262
if (stat(out, &sb)) {
usr.bin/compress/compress.c
302
struct stat sb;
usr.bin/compress/compress.c
308
exists = !stat(out, &sb);
usr.bin/compress/compress.c
322
if (stat(in, &sb)) {
usr.bin/compress/compress.c
387
setfile(const char *name, struct stat *fs)
usr.bin/compress/compress.c
63
static void setfile(const char *, struct stat *);
usr.bin/config/main.c
1566
struct stat st;
usr.bin/config/main.c
1586
if (stat(builddir, &st) == -1) {
usr.bin/config/main.c
1593
if (stat(srcdir, &st) == -1)
usr.bin/config/main.c
1635
struct stat st;
usr.bin/config/main.c
1702
struct stat st;
usr.bin/config/main.c
1755
struct stat st;
usr.bin/config/main.c
1770
if (stat("config_file.h", &st) != -1) {
usr.bin/config/main.c
1825
struct stat st;
usr.bin/config/main.c
694
struct stat st;
usr.bin/config/main.c
702
if (stat(buf, &st) == 0) {
usr.bin/crunch/crunchgen/crunchgen.c
1176
struct stat buf;
usr.bin/crunch/crunchgen/crunchgen.c
1178
if (stat(pathname, &buf) == -1)
usr.bin/crunch/crunchgen/crunchgen.c
1186
struct stat buf;
usr.bin/crunch/crunchgen/crunchgen.c
1188
if (stat(pathname, &buf) == -1)
usr.bin/crunch/crunchide/exec_aout.c
101
struct stat infstat;
usr.bin/crunch/crunchide/exec_aout.c
79
struct stat infstat;
usr.bin/crunch/crunchide/exec_coff.c
61
struct stat sb;
usr.bin/crunch/crunchide/exec_ecoff.c
59
struct stat sb;
usr.bin/crunch/crunchide/exec_elf32.c
133
struct stat sb;
usr.bin/cvslatest/cvslatest.c
110
struct stat sb;
usr.bin/dc/dc.c
49
struct stat st;
usr.bin/diff/diff.c
335
} else if (stat(argv[0], &stb1) != 0) {
usr.bin/diff/diff.c
339
memset(&stb1, 0, sizeof(struct stat));
usr.bin/diff/diff.c
345
} else if (stat(argv[1], &stb2) != 0) {
usr.bin/diff/diff.c
372
if (stat(argv[0], &stb1) == -1)
usr.bin/diff/diff.c
377
if (stat(argv[1], &stb2) == -1)
usr.bin/diff/diff.c
47
struct stat stb1, stb2;
usr.bin/diff/diff.h
109
extern struct stat stb1, stb2;
usr.bin/diff/diffdir.c
188
if (stat(path1, &stb1) != 0) {
usr.bin/diff/diffdir.c
197
if (stat(path2, &stb2) != 0) {
usr.bin/env/env.c
169
struct stat sb;
usr.bin/env/env.c
182
if (stat(name, &sb) == -1) {
usr.bin/env/env.c
225
if (stat(pathname, &sb) == -1) {
usr.bin/error/touch.c
814
struct stat statbuf;
usr.bin/error/touch.c
816
if (stat(name, &statbuf) < 0)
usr.bin/extattr/getextattr.c
291
struct stat st;
usr.bin/fincore/fincore.c
116
struct stat st;
usr.bin/find/extern.h
46
void printlong(char *, char *, struct stat *);
usr.bin/find/function.c
1440
struct stat sb;
usr.bin/find/function.c
1445
if (stat(filename, &sb))
usr.bin/find/function.c
268
struct stat sb;
usr.bin/find/function.c
273
if (stat(filename, &sb))
usr.bin/find/function.c
381
struct stat sb;
usr.bin/find/function.c
386
if (stat(filename, &sb))
usr.bin/find/ls.c
66
struct stat *sb) /* stat buffer */
usr.bin/finger/lprint.c
331
struct stat sb;
usr.bin/finger/util.c
381
struct stat sb;
usr.bin/finger/util.c
384
if (stat(tbuf, &sb) < 0) {
usr.bin/finger/util.c
401
struct stat sb;
usr.bin/finger/util.c
426
if (stat(tbuf, &sb) < 0) {
usr.bin/fsplit/fsplit.c
189
struct stat sbuf;
usr.bin/fsplit/fsplit.c
191
if (stat(name, &sbuf) < 0) {
usr.bin/fsplit/fsplit.c
256
struct stat sbuf;
usr.bin/fsplit/fsplit.c
259
while (stat(name, &sbuf) >= 0) {
usr.bin/fstat/fstat.c
1367
struct stat statbuf;
usr.bin/fstat/fstat.c
1370
if (stat(filename, &statbuf)) {
usr.bin/ftp/cmds.c
604
struct stat stbuf;
usr.bin/ftp/cmds.c
612
ret = stat(locfile, &stbuf);
usr.bin/ftp/cmds.c
726
struct stat stbuf;
usr.bin/ftp/cmds.c
728
if (stat(tp, &stbuf) == 0)
usr.bin/ftp/complete.c
220
struct stat sb;
usr.bin/ftp/complete.c
227
if (stat(path, &sb) >= 0) {
usr.bin/ftp/fetch.c
1403
struct stat sb;
usr.bin/ftp/fetch.c
1505
if (stat(savefile, &sb) == 0)
usr.bin/ftp/ftp.c
706
struct stat st;
usr.bin/ftp/ftp.c
960
struct stat st;
usr.bin/ftp/ruserpass.c
103
struct stat stb;
usr.bin/grep/util.c
191
struct stat sb;
usr.bin/grep/util.c
203
if (!stat(fn, &sb)) {
usr.bin/gzip/gzip.c
1117
copymodes(int fd, const struct stat *sbp, const char *file)
usr.bin/gzip/gzip.c
1120
struct stat sb;
usr.bin/gzip/gzip.c
1208
struct stat sb;
usr.bin/gzip/gzip.c
1211
if (lflag == 0 && stat(outfile, &sb) == 0) {
usr.bin/gzip/gzip.c
1234
unlink_input(const char *file, const struct stat *sb)
usr.bin/gzip/gzip.c
1236
struct stat nsb;
usr.bin/gzip/gzip.c
1240
if (stat(file, &nsb) != 0)
usr.bin/gzip/gzip.c
1328
struct stat isb, osb;
usr.bin/gzip/gzip.c
1441
struct stat isb, osb;
usr.bin/gzip/gzip.c
1840
struct stat isb;
usr.bin/gzip/gzip.c
1970
struct stat sb;
usr.bin/gzip/gzip.c
2017
struct stat sb;
usr.bin/gzip/gzip.c
2029
if (stat(path, &sb) != 0) {
usr.bin/gzip/gzip.c
2081
handle_file(char *file, struct stat *sbp)
usr.bin/gzip/gzip.c
235
static void handle_file(char *, struct stat *);
usr.bin/gzip/gzip.c
272
static void copymodes(int fd, const struct stat *, const char *file);
usr.bin/gzip/unxz.c
253
struct stat st;
usr.bin/hexdump/display.c
363
struct stat sb;
usr.bin/last/want.c
72
struct stat stb; /* stat of file for sz */
usr.bin/lastcomm/lastcomm.c
75
struct stat sb;
usr.bin/ldd/ldd_elfxx.c
98
struct stat st;
usr.bin/locate/locate/locate.c
111
struct stat st;
usr.bin/login/login.c
139
struct stat st;
usr.bin/login/login.c
674
if (stat(tbuf, &st) == 0 && st.st_size != 0)
usr.bin/login/login_pam.c
104
struct stat st;
usr.bin/login/login_pam.c
635
if (stat(tbuf, &st) == 0 && st.st_size != 0)
usr.bin/look/look.c
99
struct stat sb;
usr.bin/mail/cmd2.c
578
struct stat sb;
usr.bin/mail/cmd2.c
595
if (stat(canon_name, &sb) == -1) {
usr.bin/mail/collect.c
88
struct stat junk;
usr.bin/mail/collect.c
94
if (stat(name, &junk) >= 0 && S_ISREG(junk.st_mode)) {
usr.bin/mail/complete.c
404
struct stat sb;
usr.bin/mail/complete.c
411
if (stat(path, &sb) >= 0) {
usr.bin/mail/complete.c
459
struct stat sb;
usr.bin/mail/complete.c
465
if (stat(pathname, &sb) != 0) {
usr.bin/mail/dotlock.c
106
if (stat(path, &st) == -1)
usr.bin/mail/dotlock.c
60
struct stat st;
usr.bin/mail/edit.c
126
if (stat(tempname, &statb) < 0) {
usr.bin/mail/edit.c
66
struct stat statb;
usr.bin/mail/fio.c
375
struct stat sb;
usr.bin/mail/fio.c
377
if (stat(name, &sb) < 0)
usr.bin/mail/fio.c
393
struct stat sbuf;
usr.bin/mail/lex.c
108
struct stat sb;
usr.bin/mail/lex.c
209
struct stat stb;
usr.bin/mail/mime_attach.c
340
struct stat sb;
usr.bin/mail/mime_attach.c
352
if ((filename != NULL && stat(filename, &sb) == 0) ||
usr.bin/mail/mime_attach.c
710
struct stat sb;
usr.bin/mail/mime_detach.c
216
struct stat sb;
usr.bin/mail/mime_detach.c
225
if (stat(fname, &sb) == 0 && !S_ISREG(sb.st_mode)) {
usr.bin/mail/quit.c
143
struct stat statb;
usr.bin/mail/quit.c
175
if (stat(mailname, &statb) >= 0 && statb.st_size > mailsize) {
usr.bin/mail/quit.c
272
struct stat minfo;
usr.bin/mail/support.c
155
struct stat sbuf;
usr.bin/mail/support.c
157
if (stat(name, &sbuf) < 0)
usr.bin/mail/support.c
396
struct stat sb;
usr.bin/mail/support.c
399
if (stat(name, &sb))
usr.bin/make/dir.c
408
struct stat sys_st;
usr.bin/make/dir.c
423
rc = (useLstat ? lstat : stat)(pathname, &sys_st);
usr.bin/make/main.c
1012
HandlePWD(const struct stat *curdir_st)
usr.bin/make/main.c
1016
struct stat pwd_st;
usr.bin/make/main.c
1028
if (stat(pwd, &pwd_st) == 0 &&
usr.bin/make/main.c
1120
struct stat st;
usr.bin/make/main.c
1122
stat(make, &st) == 0)
usr.bin/make/main.c
1311
struct stat sa;
usr.bin/make/main.c
1444
if (stat(curdir, &sa) == -1) {
usr.bin/make/main.c
1942
struct stat st;
usr.bin/make/main.c
2168
struct stat st;
usr.bin/make/main.c
2178
if (stat(tmpdir, &st) < 0 || !S_ISDIR(st.st_mode)) {
usr.bin/make/main.c
357
struct stat sa, sb;
usr.bin/make/main.c
370
stat(argvalue, &sa) != -1 &&
usr.bin/make/main.c
371
stat(curdir, &sb) != -1 &&
usr.bin/make/main.c
723
struct stat sb;
usr.bin/make/main.c
741
if (stat(path, &sb) != 0 || !S_ISDIR(sb.st_mode))
usr.bin/make/meta.c
817
struct stat fs;
usr.bin/make/parse.c
352
struct stat st;
usr.bin/make/util.c
241
struct stat st_root, st_cur, st_next, st_dotdot;
usr.bin/make/util.c
246
if (stat("/", &st_root) == -1) {
usr.bin/make/util.c
275
if (stat(nextpathptr, &st_dotdot) == -1) {
usr.bin/make/var.c
1786
struct stat st;
usr.bin/make/var.c
1792
if (rp != NULL && *rp == '/' && stat(rp, &st) == 0)
usr.bin/make/var.c
2891
struct stat st;
usr.bin/make/var.c
2897
if (stat(word.start, &st) < 0) {
usr.bin/man/man.c
1065
struct stat sb;
usr.bin/man/man.c
1086
if (stat(*ap, &sb) == 0 && S_ISDIR(sb.st_mode))
usr.bin/mesg/mesg.c
64
struct stat sb;
usr.bin/mesg/mesg.c
83
if (stat(tty, &sb) == -1)
usr.bin/mkubootimage/mkubootimage.c
304
struct stat st;
usr.bin/mkubootimage/mkubootimage.c
375
struct stat st;
usr.bin/mkubootimage/mkubootimage.c
411
struct stat st;
usr.bin/msgs/msgs.c
266
struct stat stbuf;
usr.bin/msgs/msgs.c
301
if (stat(inbuf, &stbuf) != 0)
usr.bin/newsyslog/newsyslog.c
428
struct stat sb;
usr.bin/newsyslog/newsyslog.c
446
if (stat(log->logfile, &sb) < 0) {
usr.bin/newsyslog/newsyslog.c
455
if (stat(log->logfile, &sb))
usr.bin/newsyslog/newsyslog.c
489
if (!stat(tmp, &sb)) {
usr.bin/newsyslog/newsyslog.c
537
struct stat st;
usr.bin/patch/inp.c
146
struct stat filestat;
usr.bin/patch/inp.c
161
statfailed = stat(filename, &filestat);
usr.bin/patch/inp.c
175
statfailed = stat(filename, &filestat);
usr.bin/patch/inp.c
186
struct stat cstat;
usr.bin/patch/inp.c
203
(snprintf(lbuf, lbufsz, f, a1, a2, a3), stat(lbuf, &cstat) == 0)
usr.bin/patch/inp.c
267
stat(filename, &filestat)) {
usr.bin/patch/mkpath.c
55
struct stat sb;
usr.bin/patch/mkpath.c
68
if (stat(path, &sb)) {
usr.bin/patch/patch.c
374
struct stat statbuf;
usr.bin/patch/patch.c
391
stat(realout, &statbuf) == 0 &&
usr.bin/patch/pch.c
108
struct stat filestat;
usr.bin/patch/util.c
103
struct stat filestat;
usr.bin/patch/util.c
108
if (backup_type == none || stat(orig, &filestat) != 0)
usr.bin/patch/util.c
144
while (stat(bakname, &filestat) == 0 &&
usr.bin/patch/util.c
347
struct stat filestat;
usr.bin/patch/util.c
379
if (stat(fullname, &filestat) == 0 && S_ISDIR(filestat.st_mode)) {
usr.bin/patch/util.c
387
*exists = stat(name, &filestat) == 0;
usr.bin/patch/util.c
399
struct stat filestat;
usr.bin/patch/util.c
405
(snprintf(tmpbuf, sizeof tmpbuf, f, a1, a2, a3), stat(tmpbuf, &filestat) == 0)
usr.bin/pathchk/pathchk.c
124
if (!pflag && stat(pathd, &sb) == -1 && errno != ENOENT) {
usr.bin/pathchk/pathchk.c
93
struct stat sb;
usr.bin/pkill/pkill.c
589
struct stat st;
usr.bin/pkill/pkill.c
657
if (stat(buf, &st) == -1) {
usr.bin/pmap/main.c
364
struct stat st;
usr.bin/pr/pr.c
1304
struct stat statbuf;
usr.bin/progress/progress.c
89
struct stat statb;
usr.bin/rdist/docmd.c
381
struct stat stb;
usr.bin/rdist/docmd.c
390
if (stat(stamp, &stb) < 0) {
usr.bin/rdist/docmd.c
436
struct stat stb;
usr.bin/rdist/docmd.c
459
if (access(name, 4) < 0 || stat(name, &stb) < 0) {
usr.bin/rdist/docmd.c
482
rcmptime(struct stat *st)
usr.bin/rdist/docmd.c
528
struct stat stb;
usr.bin/rdist/docmd.c
67
static void rcmptime(struct stat *);
usr.bin/rdist/expand.c
269
struct stat stb;
usr.bin/rdist/expand.c
275
if (!expany || stat(path, &stb) >= 0) {
usr.bin/rdist/expand.c
304
struct stat stb;
usr.bin/rdist/expand.c
443
struct stat stb;
usr.bin/rdist/expand.c
510
if (stat(path, &stb) == 0 && S_ISDIR(stb.st_mode)) {
usr.bin/rdist/server.c
1052
struct stat stb;
usr.bin/rdist/server.c
1147
struct stat stb;
usr.bin/rdist/server.c
1230
struct stat stb;
usr.bin/rdist/server.c
1299
removeit(struct stat *st)
usr.bin/rdist/server.c
1304
struct stat stb;
usr.bin/rdist/server.c
333
struct stat stb;
usr.bin/rdist/server.c
347
if ((opts & FOLLOW ? stat(target, &stb) : lstat(target, &stb)) < 0) {
usr.bin/rdist/server.c
568
savelink(struct stat *st)
usr.bin/rdist/server.c
609
update(char *rname, int opts, struct stat *st)
usr.bin/rdist/server.c
710
struct stat stb;
usr.bin/rdist/server.c
756
struct stat stb;
usr.bin/rdist/server.c
79
static void removeit(struct stat *);
usr.bin/rdist/server.c
83
savelink(struct stat *);
usr.bin/rdist/server.c
85
static int update(char *, int, struct stat *);
usr.bin/rdist/server.c
996
struct stat stb;
usr.bin/realpath/realpath.c
112
struct stat sb;
usr.bin/rpcgen/rpc_main.c
897
struct stat buf;
usr.bin/rpcgen/rpc_main.c
900
if (stat(infile, &buf) < 0) {
usr.bin/rpcgen/rpc_main.c
905
if (stat(outfile, &buf) < 0)
usr.bin/rump_allserver/rump_allserver.c
429
struct stat sb;
usr.bin/rwall/rwall.c
154
struct stat sbuf;
usr.bin/script/script.c
443
struct stat pst;
usr.bin/sdiff/sdiff.c
98
struct stat sb;
usr.bin/sed/main.c
344
struct stat sb;
usr.bin/shlock/shlock.c
112
static int cklock(const char *, struct stat *, int);
usr.bin/shlock/shlock.c
221
cklock(const char *file, struct stat *st, int uucpstyle)
usr.bin/shlock/shlock.c
259
struct stat stlock, sttmp, stlock2;
usr.bin/shlock/shlock.c
274
if (stat(tmp, &sttmp) == -1) {
usr.bin/shlock/shlock.c
303
if (stat(file, &stlock2) == -1) {
usr.bin/shlock/shlock.c
333
if (stat(tmp, &sttmp) == -1) {
usr.bin/shmif_dumpbus/shmif_dumpbus.c
119
struct stat sb;
usr.bin/shmif_pcapin/shmif_pcapin.c
129
struct stat sb;
usr.bin/sort/sort.c
128
struct stat st;
usr.bin/spell/spellprog/spellprog.c
319
struct stat sb;
usr.bin/split/split.c
294
struct stat sb;
usr.bin/stat/stat.c
187
static void output(const struct stat *, const char *,
usr.bin/stat/stat.c
189
static int format1(const struct stat *, /* stat info */
usr.bin/stat/stat.c
208
struct stat st;
usr.bin/stat/stat.c
341
if ((rc = stat(argv[0], &st)) == -1 &&
usr.bin/stat/stat.c
387
output(const struct stat *st, const char *file,
usr.bin/stat/stat.c
654
format1(const struct stat *st,
usr.bin/systat/icmp.c
52
#define SHOW(stat, row, col) \
usr.bin/systat/icmp.c
53
mvwprintw(wnd, row, col, "%9llu", (unsigned long long)curstat[stat])
usr.bin/systat/ip.c
52
#define SHOW(stat, row, col) \
usr.bin/systat/ip.c
53
mvwprintw(wnd, row, col, "%9llu", (unsigned long long)curstat.stat)
usr.bin/systat/ip6.c
50
#define SHOW(stat, row, col) \
usr.bin/systat/ip6.c
51
mvwprintw(wnd, row, col, "%9llu", (unsigned long long)curstat[stat])
usr.bin/systat/tcp.c
53
#define SHOW(row, col, stat) \
usr.bin/systat/tcp.c
54
mvwprintw(wnd, row, col, "%9llu", (unsigned long long)curstat[stat])
usr.bin/tail/extern.h
40
void forward(FILE *, enum STYLE, off_t, struct stat *);
usr.bin/tail/extern.h
41
void reverse(FILE *, enum STYLE, off_t, struct stat *);
usr.bin/tail/forward.c
244
stat(fname, &statbuf) != -1) {
usr.bin/tail/forward.c
274
rlines(FILE *fp, off_t off, struct stat *sbp)
usr.bin/tail/forward.c
58
static int rlines(FILE *, off_t, struct stat *);
usr.bin/tail/forward.c
88
forward(FILE *fp, enum STYLE style, off_t off, struct stat *sbp)
usr.bin/tail/forward.c
92
struct stat statbuf;
usr.bin/tail/reverse.c
106
r_reg(FILE *fp, enum STYLE style, off_t off, struct stat *sbp)
usr.bin/tail/reverse.c
56
static void r_reg(FILE *, enum STYLE, off_t, struct stat *);
usr.bin/tail/reverse.c
77
reverse(FILE *fp, enum STYLE style, off_t off, struct stat *sbp)
usr.bin/tail/tail.c
64
struct stat sb;
usr.bin/tftp/tftp.c
231
struct stat sbuf;
usr.bin/touch/touch.c
136
stime_file(optarg, ts, stat);
usr.bin/touch/touch.c
159
get_file_status = stat;
usr.bin/touch/touch.c
352
int statfunc(const char *, struct stat *))
usr.bin/touch/touch.c
354
struct stat sb;
usr.bin/touch/touch.c
69
int (const char *, struct stat *));
usr.bin/touch/touch.c
92
struct stat sb;
usr.bin/touch/touch.c
97
int (*get_file_status)(const char *, struct stat *);
usr.bin/unifdef/unifdef.c
271
struct stat isb, osb;
usr.bin/unifdef/unifdef.c
345
if (stat(ofilename, &osb) == 0) {
usr.bin/unzip/unzip.c
331
struct stat sb;
usr.bin/unzip/unzip.c
364
struct stat sb;
usr.bin/unzip/unzip.c
601
struct stat sb;
usr.bin/utoppya/utoppya.c
342
struct stat st;
usr.bin/utoppya/utoppya.c
378
if (stat(dst, &st) == 0 && S_ISDIR(st.st_mode)) {
usr.bin/utoppya/utoppya.c
401
if (stat(dst, &st) < 0) {
usr.bin/utoppya/utoppya.c
467
struct stat st;
usr.bin/utoppya/utoppya.c
505
if (stat(src, &st) < 0)
usr.bin/uuencode/uuencode.c
70
struct stat sb;
usr.bin/vgrind/vfontedpr.c
137
struct stat stbuf;
usr.bin/vndcompress/vndcompress.c
459
static const struct stat zero_st;
usr.bin/vndcompress/vndcompress.c
460
struct stat st = zero_st;
usr.bin/w/w.c
126
static int ttystat(const char *, struct stat *);
usr.bin/w/w.c
532
ttystat(const char *line, struct stat *st)
usr.bin/w/w.c
537
return stat(ttybuf, st);
usr.bin/w/w.c
543
struct stat st;
usr.bin/wall/wall.c
226
struct stat sbuf;
usr.bin/wc/wc.c
180
struct stat sb;
usr.bin/whereis/whereis.c
116
if (stat(*argv, &sb) == -1)
usr.bin/whereis/whereis.c
141
if (stat(path, &sb) == -1)
usr.bin/whereis/whereis.c
61
struct stat sb;
usr.bin/who/utmpentry.c
124
if (stat(sfname, &st) == -1) {
usr.bin/who/utmpentry.c
138
if (stat(sfname, &st) == -1) {
usr.bin/who/utmpentry.c
95
struct stat st;
usr.bin/who/who.c
282
struct stat sb;
usr.bin/who/who.c
303
if (stat(line, &sb) == 0) {
usr.bin/write/term_chk.c
63
struct stat s;
usr.bin/xinstall/xinstall.c
1172
struct stat sb;
usr.bin/xinstall/xinstall.c
1187
if (stat(path, &sb) < 0) {
usr.bin/xinstall/xinstall.c
181
struct stat from_sb, to_sb;
usr.bin/xinstall/xinstall.c
405
no_target = stat(to_name = argv[argc - 1], &to_sb);
usr.bin/xinstall/xinstall.c
422
if (stat(*argv, &from_sb))
usr.bin/xinstall/xinstall.c
539
struct stat to_sb;
usr.bin/xinstall/xinstall.c
547
if (stat(to_name, &to_sb))
usr.bin/xinstall/xinstall.c
676
struct stat from_sb;
usr.bin/xinstall/xinstall.c
677
struct stat to_sb;
usr.bin/xinstall/xinstall.c
686
if (stat(from_name, &from_sb))
usr.bin/xinstall/xinstall.c
727
if (stat(to_name, &to_sb) == 0 &&
usr.bin/xlint/xlint/xlint.c
462
struct stat sbuf;
usr.bin/xlint/xlint/xlint.c
464
return stat(path, &sbuf) == 0
usr.sbin/acpitools/acpidump/acpi_user.c
237
struct stat sb;
usr.sbin/acpitools/aml/aml_env.h
42
enum aml_status stat;
usr.sbin/acpitools/aml/aml_evalobj.c
198
if (env->stat == aml_stat_panic) {
usr.sbin/acpitools/aml/aml_evalobj.c
209
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_evalobj.c
244
copy->stat = aml_stat_none;
usr.sbin/acpitools/aml/aml_evalobj.c
257
if (env->stat == aml_stat_step) {
usr.sbin/acpitools/aml/aml_evalobj.c
262
if (copy->stat == aml_stat_panic) {
usr.sbin/acpitools/aml/aml_evalobj.c
264
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_evalobj.c
358
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_evalobj.c
83
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_evalobj.c
99
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_name.c
365
env->stat = aml_stat_panic; \
usr.sbin/acpitools/aml/aml_parse.c
1012
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_parse.c
1026
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_parse.c
1055
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_parse.c
1065
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_parse.c
1166
if (env->stat == aml_stat_step) {
usr.sbin/acpitools/aml/aml_parse.c
1170
if (env->stat != aml_stat_none)
usr.sbin/acpitools/aml/aml_parse.c
1178
if (env->stat == aml_stat_break) {
usr.sbin/acpitools/aml/aml_parse.c
1179
env->stat = aml_stat_none;
usr.sbin/acpitools/aml/aml_parse.c
1198
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_parse.c
1219
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_parse.c
1224
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_parse.c
1247
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_parse.c
1301
if (env->stat == aml_stat_panic) {
usr.sbin/acpitools/aml/aml_parse.c
1377
if (env->stat == aml_stat_panic) {
usr.sbin/acpitools/aml/aml_parse.c
1382
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_parse.c
1395
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_parse.c
1414
if (env->stat == aml_stat_panic) {
usr.sbin/acpitools/aml/aml_parse.c
1452
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_parse.c
1582
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_parse.c
1642
if (env->stat == aml_stat_panic) {
usr.sbin/acpitools/aml/aml_parse.c
1869
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_parse.c
1915
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_parse.c
2003
env->stat = aml_stat_break;
usr.sbin/acpitools/aml/aml_parse.c
2010
env->stat = aml_stat_return;
usr.sbin/acpitools/aml/aml_parse.c
295
if (env->stat == aml_stat_step) {
usr.sbin/acpitools/aml/aml_parse.c
299
if (env->stat != aml_stat_none) {
usr.sbin/acpitools/aml/aml_parse.c
309
if (env->stat == aml_stat_panic) \
usr.sbin/acpitools/aml/aml_parse.c
316
env->stat = aml_stat_panic; \
usr.sbin/acpitools/aml/aml_parse.c
324
env->stat= aml_stat_panic; \
usr.sbin/acpitools/aml/aml_parse.c
355
env->stat = aml_stat_none;
usr.sbin/acpitools/aml/aml_parse.c
381
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_parse.c
417
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_parse.c
436
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_parse.c
450
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_parse.c
476
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_parse.c
491
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_parse.c
533
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_parse.c
558
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_parse.c
565
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_parse.c
617
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_parse.c
625
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_parse.c
669
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_parse.c
732
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_parse.c
792
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_parse.c
836
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_parse.c
882
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_parse.c
927
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_parse.c
937
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_parse.c
967
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_parse.c
982
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_store.c
210
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_store.c
304
if (env->stat == aml_stat_panic) {
usr.sbin/acpitools/aml/aml_store.c
321
env->stat = aml_stat_panic;
usr.sbin/acpitools/aml/aml_store.c
78
env->stat = aml_stat_panic;
usr.sbin/acpitools/amldb/amldb.c
130
} while (env.stat != aml_stat_panic);
usr.sbin/acpitools/amldb/amldb.c
80
struct stat sb;
usr.sbin/acpitools/amldb/debug.c
101
env1->stat = aml_stat_step;
usr.sbin/acpitools/amldb/debug.c
104
env1->stat = aml_stat_none;
usr.sbin/acpitools/amldb/debug.c
107
env1->stat = aml_stat_panic;
usr.sbin/acpitools/amldb/debug.c
97
env2->stat = aml_stat_step;
usr.sbin/altq/libaltq/qop.c
1415
struct stat sbuf;
usr.sbin/altq/libaltq/qop.c
1418
if (stat(dvname, &sbuf) < 0) {
usr.sbin/altq/libaltq/qop.c
1432
if (stat(filename, &sbuf) < 0) {
usr.sbin/autofs/common.c
931
struct stat sb;
usr.sbin/autofs/common.c
934
error = stat(path, &sb);
usr.sbin/bootp/bootpd/bootpd.c
1118
struct stat st;
usr.sbin/bootp/bootpd/bootpd.c
1120
if ((stat(path, &st) == 0) && (st.st_mode & (S_IREAD >> 6))) {
usr.sbin/bootp/common/readfile.c
318
struct stat st;
usr.sbin/bootp/common/readfile.c
325
if (stat(bootptab, &st) < 0) {
usr.sbin/catman/catman.c
262
struct stat st1;
usr.sbin/catman/catman.c
263
struct stat st2;
usr.sbin/catman/catman.c
264
struct stat st3;
usr.sbin/catman/catman.c
351
struct stat manstat;
usr.sbin/catman/catman.c
352
struct stat catstat;
usr.sbin/catman/catman.c
353
struct stat lnkstat;
usr.sbin/catman/catman.c
363
if (stat(catdir, &catstat) < 0) {
usr.sbin/catman/catman.c
453
if (stat(manpage, &manstat) < 0) {
usr.sbin/catman/catman.c
463
if ((error = stat(catpage, &catstat)) &&
usr.sbin/crash/crash.c
350
struct stat sb;
usr.sbin/dev_mkdb/dev_mkdb.c
181
struct stat *st;
usr.sbin/fssconfig/fssconfig.c
117
struct stat sbuf;
usr.sbin/fssconfig/fssconfig.c
133
if (stat(argv[2], &sbuf) == 0) {
usr.sbin/fssconfig/fssconfig_hostops.c
49
.op_stat = stat,
usr.sbin/fssconfig/prog_ops.h
46
int (*op_stat)(const char *, struct stat *);
usr.sbin/fssconfig/prog_ops.h
47
int (*op_fstat)(int, struct stat *);
usr.sbin/fssconfig/prog_ops.h
65
#define prog_stat stat
usr.sbin/fstyp/fstyp.c
166
struct stat sb;
usr.sbin/inetd/parse.c
1302
struct stat sb;
usr.sbin/installboot/arch/alpha.c
267
struct stat filesyssb;
usr.sbin/installboot/arch/amiga.c
84
struct stat bootstrapsb;
usr.sbin/installboot/arch/hppa.c
129
struct stat bootstrapsb;
usr.sbin/installboot/arch/vax.c
172
struct stat bootstrapsb;
usr.sbin/installboot/arch/vax.c
231
struct stat filesyssb;
usr.sbin/installboot/arch/x68k.c
109
struct stat bootstrapsb;
usr.sbin/installboot/evboards.c
1112
struct stat sb;
usr.sbin/installboot/evboards.c
1116
if (stat(params->dtb, &sb) < 0) {
usr.sbin/installboot/evboards.c
1665
struct stat sb;
usr.sbin/installboot/evboards.c
1869
struct stat sb;
usr.sbin/installboot/evboards.c
1909
if (stat(uboot_file, &sb) < 0) {
usr.sbin/installboot/evboards.c
772
struct stat sb;
usr.sbin/installboot/evboards.c
777
if (stat(path, &sb) < 0) {
usr.sbin/installboot/evboards.c
831
struct stat sb;
usr.sbin/installboot/evboards.c
858
if (stat(overlay_path, &sb) < 0)
usr.sbin/installboot/evboards.c
874
if (stat(overlay_path, &sb) == 0) {
usr.sbin/installboot/evboards.c
892
struct stat sb;
usr.sbin/installboot/evboards.c
901
if (stat(path, &sb) < 0) {
usr.sbin/installboot/fstypes.c
84
struct stat s2sb;
usr.sbin/installboot/fstypes.c
95
if (stat(params->stage2, &s2sb) == -1) {
usr.sbin/installboot/installboot.h
89
struct stat fsstat; /* fstat(2) of fsfd */
usr.sbin/installboot/installboot.h
92
struct stat s1stat; /* fstat(2) of s1fd */
usr.sbin/kvm_mkdb/nlist_coff.c
86
struct stat st;
usr.sbin/kvm_mkdb/nlist_ecoff.c
87
struct stat st;
usr.sbin/kvm_mkdb/nlist_elf32.c
97
struct stat st;
usr.sbin/ldpd/conffile.c
120
struct stat fs;
usr.sbin/lpr/common_source/common.c
240
struct stat stbuf;
usr.sbin/lpr/common_source/common.c
266
if (stat(d->d_name, &stbuf) < 0) {
usr.sbin/lpr/common_source/displayq.c
100
struct stat statb;
usr.sbin/lpr/common_source/displayq.c
119
ret = stat(LO, &statb);
usr.sbin/lpr/common_source/displayq.c
416
struct stat lbuf;
usr.sbin/lpr/common_source/displayq.c
437
if (*file && !stat(file, &lbuf))
usr.sbin/lpr/common_source/displayq.c
448
struct stat lbuf;
usr.sbin/lpr/common_source/displayq.c
455
if (*file && !stat(file, &lbuf))
usr.sbin/lpr/lpc/cmds.c
125
struct stat stbuf;
usr.sbin/lpr/lpc/cmds.c
136
if (stat(line, &stbuf) >= 0) {
usr.sbin/lpr/lpc/cmds.c
399
struct stat stbuf;
usr.sbin/lpr/lpc/cmds.c
408
if (stat(line, &stbuf) >= 0) {
usr.sbin/lpr/lpc/cmds.c
456
struct stat stbuf;
usr.sbin/lpr/lpc/cmds.c
464
if (stat(line, &stbuf) >= 0) {
usr.sbin/lpr/lpc/cmds.c
531
struct stat stbuf;
usr.sbin/lpr/lpc/cmds.c
539
if (stat(line, &stbuf) >= 0) {
usr.sbin/lpr/lpc/cmds.c
671
struct stat stbuf;
usr.sbin/lpr/lpc/cmds.c
680
if (ena && stat(line, &stbuf) >= 0) {
usr.sbin/lpr/lpc/cmds.c
730
struct stat stbuf;
usr.sbin/lpr/lpc/cmds.c
737
if (stat(line, &stbuf) >= 0) {
usr.sbin/lpr/lpc/cmds.c
824
struct stat stbuf;
usr.sbin/lpr/lpc/cmds.c
833
if (stat(line, &stbuf) >= 0) {
usr.sbin/lpr/lpc/cmds.c
864
struct stat stbuf;
usr.sbin/lpr/lpc/cmds.c
910
if (changed && stat(LO, &stbuf) >= 0)
usr.sbin/lpr/lpd/printjob.c
1128
struct stat stb;
usr.sbin/lpr/lpd/printjob.c
1171
if (stat(tempfile, &stb) < 0 || stb.st_size == 0 ||
usr.sbin/lpr/lpd/printjob.c
147
struct stat stb;
usr.sbin/lpr/lpd/printjob.c
183
if (stat(LO, &stb) == 0 && (stb.st_mode & S_IXUSR))
usr.sbin/lpr/lpd/printjob.c
243
if (stat(q->q_name, &stb) < 0)
usr.sbin/lpr/lpd/printjob.c
545
struct stat stb;
usr.sbin/lpr/lpd/printjob.c
888
struct stat stb;
usr.sbin/lpr/lpd/recvjob.c
105
if (stat(LO, &stb) == 0) {
usr.sbin/lpr/lpd/recvjob.c
111
} else if (stat(SD, &stb) < 0)
usr.sbin/lpr/lpd/recvjob.c
88
struct stat stb;
usr.sbin/lpr/lpr/lpr.c
103
static struct stat statb;
usr.sbin/lpr/lpr/lpr.c
128
struct stat stb;
usr.sbin/lpr/lpr/lpr.c
298
if (userid && stat(buf, &stb) == 0 && (stb.st_mode & S_IXGRP))
usr.sbin/lpr/lpr/lpr.c
614
if (stat(file, &statb) < 0) {
usr.sbin/lpr/pac/pac.c
416
int stat;
usr.sbin/lpr/pac/pac.c
418
if ((stat = cgetent(&bp, printcapdb, s)) == -2) {
usr.sbin/lpr/pac/pac.c
421
} else if (stat == -1)
usr.sbin/lpr/pac/pac.c
423
else if (stat == -3)
usr.sbin/makefs/cd9660.c
2124
struct stat stbuf;
usr.sbin/makefs/cd9660/cd9660_eltorito.c
68
struct stat stbuf;
usr.sbin/makefs/ffs.c
663
struct stat *st = stampst.st_ino ? &stampst : &cur->inode->st;
usr.sbin/makefs/ffs.c
713
struct stat *st = stampst.st_ino ? &stampst : &cur->inode->st;
usr.sbin/makefs/ffs/buf.h
110
extern struct stat stampst;
usr.sbin/makefs/makefs.c
303
struct stat sb;
usr.sbin/makefs/makefs.c
304
if (stat(argv[i], &sb) == -1)
usr.sbin/makefs/makefs.c
475
get_tstamp(const char *b, struct stat *st)
usr.sbin/makefs/makefs.c
481
if (stat(b, st) != -1)
usr.sbin/makefs/makefs.c
90
struct stat stampst;
usr.sbin/makefs/makefs.c
93
static int get_tstamp(const char *, struct stat *);
usr.sbin/makefs/makefs.h
215
extern struct stat stampst;
usr.sbin/makefs/makefs.h
95
struct stat st; /* stat entry */
usr.sbin/makefs/msdos/msdosfs_vnops.c
358
struct stat *st = &node->inode->st;
usr.sbin/makefs/msdos/msdosfs_vnops.c
434
struct stat *st = &node->inode->st;
usr.sbin/makefs/msdos/msdosfs_vnops.c
549
struct stat *st = &node->inode->st;
usr.sbin/makefs/msdos/msdosfs_vnops.c
99
const struct stat *st)
usr.sbin/makefs/udf.c
660
udf_create_new_file(struct stat *st, union dscrptr **dscr,
usr.sbin/makefs/udf.c
810
udf_copy_file(struct stat *st, char *path, fsnode *cur, struct fileid_desc *fid,
usr.sbin/makefs/v7fs/v7fs_populate.c
69
struct stat *st = &node->inode->st;
usr.sbin/makefs/walk.c
129
const char *name, const struct stat *st, int replace)
usr.sbin/makefs/walk.c
204
struct stat stbuf;
usr.sbin/makefs/walk.c
250
if (stat(path, &stbuf) == -1)
usr.sbin/makefs/walk.c
355
struct stat *stbuf)
usr.sbin/makefs/walk.c
549
struct stat stbuf;
usr.sbin/makefs/walk.c
66
struct stat *);
usr.sbin/makemandb/apropos-utils.c
354
struct stat sb;
usr.sbin/makemandb/apropos-utils.c
362
if (!(stat(dbpath, &sb) == 0 && S_ISREG(sb.st_mode))) {
usr.sbin/makemandb/makemandb.c
123
struct stat *);
usr.sbin/makemandb/makemandb.c
463
struct stat sb;
usr.sbin/makemandb/makemandb.c
468
if (stat(file, &sb) < 0) {
usr.sbin/makemandb/makemandb.c
514
struct stat *sb)
usr.sbin/mdsetimage/mdsetimage.c
76
struct stat ksb, fssb;
usr.sbin/memswitch/memswitch.c
315
struct stat st;
usr.sbin/mmcformat/uscsi_subr.c
240
struct stat stat;
usr.sbin/mmcformat/uscsi_subr.c
255
if (fstat(disc->fhandle, &stat) < 0) {
usr.sbin/mmcformat/uscsi_subr.c
80
struct stat dstat;
usr.sbin/mountd/mountd.c
2374
struct stat sb;
usr.sbin/mountd/mountd.c
577
struct stat stb;
usr.sbin/mountd/mountd.c
641
stat(rdirpath, &stb) < 0 ||
usr.sbin/mscdlabel/main.c
97
struct stat st;
usr.sbin/mtree/compare.c
330
struct stat *ps = p->fts_statp;
usr.sbin/mtree/verify.c
195
struct stat statbuf;
usr.sbin/mtree/verify.c
197
if (qflag && stat(path, &statbuf) == 0 &&
usr.sbin/ndbootd/ndbootd.c
306
struct stat stat_buffer;
usr.sbin/ndbootd/ndbootd.c
423
if (stat(boot2_x_name, &stat_buffer) < 0) {
usr.sbin/npf/npfctl/npfctl.c
301
struct stat sb;
usr.sbin/npf/npfctl/npfctl.c
352
struct stat st;
usr.sbin/npf/npfd/npfd_log.c
138
struct stat st;
usr.sbin/npf/npftest/npftest.c
133
struct stat sb;
usr.sbin/npf/npftest/npftest.c
93
struct stat sb;
usr.sbin/perfused/perfused.c
79
struct stat st;
usr.sbin/perfused/perfused.c
85
if (stat(mnt, &st) == -1)
usr.sbin/puffs/mount_psshfs/fs.c
246
psn->stat |= PSN_HASFH;
usr.sbin/puffs/mount_psshfs/fs.c
266
if ((psn->stat & PSN_HASFH) == 0)
usr.sbin/puffs/mount_psshfs/node.c
107
psn->stat &= ~PSN_RECLAIMED;
usr.sbin/puffs/mount_psshfs/node.c
340
psn->stat &= ~PSN_HANDLECLOSE;
usr.sbin/puffs/mount_psshfs/node.c
344
if (didread && (psn->stat & PSN_DOLAZY_R) == 0) {
usr.sbin/puffs/mount_psshfs/node.c
350
psn->stat |= PSN_DOLAZY_R;
usr.sbin/puffs/mount_psshfs/node.c
359
if (didwrite && (psn->stat & PSN_DOLAZY_W) == 0) {
usr.sbin/puffs/mount_psshfs/node.c
365
psn->stat |= PSN_DOLAZY_W;
usr.sbin/puffs/mount_psshfs/node.c
400
if (psn->stat & PSN_READDIR) {
usr.sbin/puffs/mount_psshfs/node.c
410
psn->stat |= PSN_READDIR;
usr.sbin/puffs/mount_psshfs/node.c
464
psn->stat &= ~PSN_READDIR;
usr.sbin/puffs/mount_psshfs/node.c
493
if (psn->stat & PSN_LAZYWAIT_R) {
usr.sbin/puffs/mount_psshfs/node.c
506
psn->stat |= PSN_LAZYWAIT_R;
usr.sbin/puffs/mount_psshfs/node.c
516
psn->stat &= ~PSN_LAZYWAIT_R;
usr.sbin/puffs/mount_psshfs/node.c
55
psn->stat &= ~PSN_RECLAIMED;
usr.sbin/puffs/mount_psshfs/node.c
574
if (psn->stat & PSN_HANDLECLOSE && psn->fhand_r) {
usr.sbin/puffs/mount_psshfs/node.c
607
if (psn->stat & PSN_LAZYWAIT_W) {
usr.sbin/puffs/mount_psshfs/node.c
624
psn->stat |= PSN_LAZYWAIT_W;
usr.sbin/puffs/mount_psshfs/node.c
634
psn->stat &= ~PSN_LAZYWAIT_W;
usr.sbin/puffs/mount_psshfs/node.c
661
if (psn->stat & PSN_HANDLECLOSE && psn->fhand_w) {
usr.sbin/puffs/mount_psshfs/node.c
934
if (psn->stat & PSN_HASFH)
usr.sbin/puffs/mount_psshfs/node.c
937
psn->stat |= PSN_RECLAIMED;
usr.sbin/puffs/mount_psshfs/node.c
941
if ((psn->stat & PSN_RECLAIMED) == 0 || psn->childcount != 0)
usr.sbin/puffs/mount_psshfs/psshfs.h
126
int stat;
usr.sbin/puffs/mount_psshfs/subr.c
163
psn->stat |= PSN_HANDLECLOSE;
usr.sbin/puffs/mount_psshfs/subr.c
173
if (psn->stat & PSN_RECLAIMED) {
usr.sbin/puffs/mount_psshfs/subr.c
186
psn->stat &= ~PSN_DOLAZY_R;
usr.sbin/puffs/mount_psshfs/subr.c
187
if (psn->stat & PSN_HANDLECLOSE && (psn->stat & PSN_LAZYWAIT_R) == 0)
usr.sbin/puffs/mount_psshfs/subr.c
200
if (psn->stat & PSN_RECLAIMED) {
usr.sbin/puffs/mount_psshfs/subr.c
213
psn->stat &= ~PSN_DOLAZY_W;
usr.sbin/puffs/mount_psshfs/subr.c
214
if (psn->stat & PSN_HANDLECLOSE && (psn->stat & PSN_LAZYWAIT_W) == 0)
usr.sbin/puffs/rump_nqmfs/rump_nqmfs.c
108
if (stat(mntfile, &sb) == -1)
usr.sbin/puffs/rump_nqmfs/rump_nqmfs.c
71
struct stat sb;
usr.sbin/pwd_mkdb/pwd_mkdb.c
262
struct stat st;
usr.sbin/rbootd/parseconf.c
315
struct stat statb;
usr.sbin/rbootd/parseconf.c
343
if (stat(dp->d_name, &statb) < 0 || !S_ISREG(statb.st_mode))
usr.sbin/rpc.bootparamd/bootparamd.c
119
if (stat(bootpfile, &buf))
usr.sbin/rpc.bootparamd/bootparamd.c
80
struct stat buf;
usr.sbin/rpc.lockd/lock_proc.c
1030
result.stat.stat = nlm4_granted;
usr.sbin/rpc.lockd/lock_proc.c
1043
result.stat.stat = nlm4_granted;
usr.sbin/rpc.lockd/lock_proc.c
1144
result.stat = nlm4_granted;
usr.sbin/rpc.lockd/lock_proc.c
1164
result.stat = nlm4_granted;
usr.sbin/rpc.lockd/lock_proc.c
1189
result.stat.stat = nlm4_granted;
usr.sbin/rpc.lockd/lock_proc.c
378
result.stat.stat = nlm_granted;
usr.sbin/rpc.lockd/lock_proc.c
380
result.stat.stat = nlm_denied;
usr.sbin/rpc.lockd/lock_proc.c
381
(void)memcpy(&result.stat.nlm_testrply_u.holder, holder,
usr.sbin/rpc.lockd/lock_proc.c
383
result.stat.nlm_testrply_u.holder.l_offset =
usr.sbin/rpc.lockd/lock_proc.c
385
result.stat.nlm_testrply_u.holder.l_len =
usr.sbin/rpc.lockd/lock_proc.c
412
result.stat.stat = nlm_granted;
usr.sbin/rpc.lockd/lock_proc.c
414
result.stat.stat = nlm_denied;
usr.sbin/rpc.lockd/lock_proc.c
415
(void)memcpy(&result.stat.nlm_testrply_u.holder, holder,
usr.sbin/rpc.lockd/lock_proc.c
417
result.stat.nlm_testrply_u.holder.l_offset =
usr.sbin/rpc.lockd/lock_proc.c
419
result.stat.nlm_testrply_u.holder.l_len =
usr.sbin/rpc.lockd/lock_proc.c
465
result.stat.stat = getlock(&arg4, rqstp, LOCK_MON);
usr.sbin/rpc.lockd/lock_proc.c
486
result.stat.stat = getlock(&arg4, rqstp, LOCK_ASYNC | LOCK_MON);
usr.sbin/rpc.lockd/lock_proc.c
517
result.stat.stat = unlock(&arg4, LOCK_CANCEL);
usr.sbin/rpc.lockd/lock_proc.c
537
result.stat.stat = unlock(&arg4, LOCK_CANCEL);
usr.sbin/rpc.lockd/lock_proc.c
562
result.stat.stat = unlock(&arg4, 0);
usr.sbin/rpc.lockd/lock_proc.c
579
result.stat.stat = unlock(&arg4, 0);
usr.sbin/rpc.lockd/lock_proc.c
616
result.stat.stat = nlm_granted;
usr.sbin/rpc.lockd/lock_proc.c
629
result.stat.stat = nlm_granted;
usr.sbin/rpc.lockd/lock_proc.c
730
result.stat = nlm_granted;
usr.sbin/rpc.lockd/lock_proc.c
750
result.stat = nlm_granted;
usr.sbin/rpc.lockd/lock_proc.c
775
result.stat.stat = nlm_granted;
usr.sbin/rpc.lockd/lock_proc.c
827
result.stat.stat = nlm4_granted;
usr.sbin/rpc.lockd/lock_proc.c
829
result.stat.stat = nlm4_denied;
usr.sbin/rpc.lockd/lock_proc.c
830
(void)memcpy(&result.stat.nlm4_testrply_u.holder, holder,
usr.sbin/rpc.lockd/lock_proc.c
854
result.stat.stat = nlm4_granted;
usr.sbin/rpc.lockd/lock_proc.c
856
result.stat.stat = nlm4_denied;
usr.sbin/rpc.lockd/lock_proc.c
857
(void)memcpy(&result.stat.nlm4_testrply_u.holder, holder,
usr.sbin/rpc.lockd/lock_proc.c
896
result.stat.stat = (enum nlm4_stats)getlock(arg, rqstp,
usr.sbin/rpc.lockd/lock_proc.c
910
result.stat.stat = (enum nlm4_stats)getlock(arg, rqstp,
usr.sbin/rpc.lockd/lock_proc.c
939
result.stat.stat = (enum nlm4_stats)unlock(&arg->alock, LOCK_CANCEL);
usr.sbin/rpc.lockd/lock_proc.c
956
result.stat.stat = (enum nlm4_stats)unlock(&arg->alock,
usr.sbin/rpc.lockd/lock_proc.c
979
result.stat.stat = (enum nlm4_stats)unlock(&arg->alock, LOCK_V4);
usr.sbin/rpc.lockd/lock_proc.c
993
result.stat.stat = (enum nlm4_stats)unlock(&arg->alock, LOCK_V4);
usr.sbin/rpc.lockd/lockd_lock.c
510
struct stat st;
usr.sbin/rpc.lockd/test.c
372
res_block.stat.stat = nlm_granted;
usr.sbin/rpc.lockd/test.c
387
printf("out->stat = %d", out->stat.stat);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
1076
pcrstat stat = PC_RES_NO_SUCH_JOB;
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
1090
stat = PC_RES_FAIL;
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
1093
stat = PC_RES_OK;
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
1096
stat = PC_RES_NO_SUCH_JOB;
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
1099
stat = PC_RES_NO_SUCH_JOB;
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
1102
stat = PC_RES_NOT_OWNER;
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
1104
stat = PC_RES_FAIL;
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
1108
return (stat);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
172
if (stat(sp_name, &statbuf) || !S_ISDIR(statbuf.st_mode))
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
188
if (stat(pathname, &statbuf) || !S_ISDIR(statbuf.st_mode)) {
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
235
if (stat(pathname, &statbuf)) {
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
244
if (stat(pathname, &statbuf)) {
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
290
if (!stat(new_pathname, &statbuf)) {
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
889
pirstat stat = PI_RES_NO_SUCH_PRINTER;
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
91
struct stat statbuf;
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
910
stat = PI_RES_OK;
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
929
stat = PI_RES_NO_SUCH_PRINTER;
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
933
return (stat);
usr.sbin/rpc.pcnfsd/pcnfsd_test.c
174
if(rp->stat == AUTH_RES_FAIL)
usr.sbin/rpc.pcnfsd/pcnfsd_test.c
178
rp->stat, rp->uid, rp->gid, rp->home, rp->cm);
usr.sbin/rpc.pcnfsd/pcnfsd_test.c
215
rp->stat, rp->dir, rp->cm);
usr.sbin/rpc.pcnfsd/pcnfsd_test.c
266
rp->stat, rp->id, rp->cm);
usr.sbin/rpc.pcnfsd/pcnfsd_test.c
267
if(rp->stat == PS_RES_OK)
usr.sbin/rpc.pcnfsd/pcnfsd_test.c
300
rp->stat, rp->cm);
usr.sbin/rpc.pcnfsd/pcnfsd_test.c
385
rp->stat, rp->qlen, rp->qshown, rp->cm);
usr.sbin/rpc.pcnfsd/pcnfsd_test.c
455
rp->stat, rp->cm);
usr.sbin/rpc.pcnfsd/pcnfsd_test.c
456
if(rp->stat == PI_RES_OK) {
usr.sbin/rpc.pcnfsd/pcnfsd_test.c
510
rip->req, rip->stat, rip->id,
usr.sbin/rpc.pcnfsd/pcnfsd_v1.c
108
r.stat = AUTH_RES_OK;
usr.sbin/rpc.pcnfsd/pcnfsd_v1.c
127
pi_res.stat =
usr.sbin/rpc.pcnfsd/pcnfsd_v1.c
139
ps_res.stat =
usr.sbin/rpc.pcnfsd/pcnfsd_v1.c
81
r.stat = AUTH_RES_FAIL; /* assume failure */
usr.sbin/rpc.pcnfsd/pcnfsd_v1.c
90
r.stat = AUTH_RES_OK;
usr.sbin/rpc.pcnfsd/pcnfsd_v2.c
105
r.stat = AUTH_RES_OK;
usr.sbin/rpc.pcnfsd/pcnfsd_v2.c
137
r.stat = AUTH_RES_OK;
usr.sbin/rpc.pcnfsd/pcnfsd_v2.c
171
res.stat =
usr.sbin/rpc.pcnfsd/pcnfsd_v2.c
184
res.stat =
usr.sbin/rpc.pcnfsd/pcnfsd_v2.c
210
res.stat = build_pr_queue(arg->pn, arg->user,
usr.sbin/rpc.pcnfsd/pcnfsd_v2.c
226
res.stat = get_pr_status(arg->pn, &res.avail, &res.printing,
usr.sbin/rpc.pcnfsd/pcnfsd_v2.c
239
res.stat = pr_cancel(arg->pn, arg->user, arg->id);
usr.sbin/rpc.pcnfsd/pcnfsd_v2.c
249
res.stat = PC_RES_FAIL;
usr.sbin/rpc.pcnfsd/pcnfsd_v2.c
260
res.stat = PC_RES_FAIL;
usr.sbin/rpc.pcnfsd/pcnfsd_v2.c
271
res.stat = PC_RES_FAIL;
usr.sbin/rpc.pcnfsd/pcnfsd_v2.c
289
res.stat = PI_RES_FAIL;
usr.sbin/rpc.pcnfsd/pcnfsd_v2.c
338
next_r->stat = MAP_RES_UNKNOWN;
usr.sbin/rpc.pcnfsd/pcnfsd_v2.c
354
next_r->stat = MAP_RES_OK;
usr.sbin/rpc.pcnfsd/pcnfsd_v2.c
361
next_r->stat = MAP_RES_OK;
usr.sbin/rpc.pcnfsd/pcnfsd_v2.c
369
next_r->stat = MAP_RES_OK;
usr.sbin/rpc.pcnfsd/pcnfsd_v2.c
377
next_r->stat = MAP_RES_OK;
usr.sbin/rpc.pcnfsd/pcnfsd_v2.c
398
res.stat = ALERT_RES_FAIL;
usr.sbin/rpc.pcnfsd/pcnfsd_v2.c
89
r.stat = AUTH_RES_FAIL; /* assume failure */
usr.sbin/rpcbind/warmstart.c
105
struct stat sbuf;
usr.sbin/rpcbind/warmstart.c
107
if (stat(filename, &sbuf) != 0) {
usr.sbin/rtadvd/config.c
159
int stat, c, i;
usr.sbin/rtadvd/config.c
208
if ((stat = agetent(tbuf, intface)) <= 0) {
usr.sbin/rwhod/rwhod.c
264
struct stat st;
usr.sbin/rwhod/rwhod.c
364
struct stat stb;
usr.sbin/rwhod/rwhod.c
404
if (stat(we->we_utmp.out_line, &stb) >= 0)
usr.sbin/screenblank/screenblank.c
248
if (stat(dsp->ds_path, &st) == -1) {
usr.sbin/screenblank/screenblank.c
288
struct stat sb;
usr.sbin/screenblank/screenblank.c
291
if (stat(path, &sb) == -1) {
usr.sbin/screenblank/screenblank.c
97
struct stat st;
usr.sbin/sesd/srcs/chpmon.c
109
if (stat & SES_ENCSTAT_UNRECOV)
usr.sbin/sesd/srcs/chpmon.c
112
if (stat & SES_ENCSTAT_CRITICAL)
usr.sbin/sesd/srcs/chpmon.c
115
if (stat & SES_ENCSTAT_NONCRITICAL)
usr.sbin/sesd/srcs/chpmon.c
118
stat = SES_ENCSTAT_CRITICAL;
usr.sbin/sesd/srcs/chpmon.c
119
if (ioctl(fd, SESIOC_SETENCSTAT, (caddr_t) &stat) < 0) {
usr.sbin/sesd/srcs/chpmon.c
55
ses_encstat stat, *carray;
usr.sbin/sesd/srcs/chpmon.c
81
stat = 0;
usr.sbin/sesd/srcs/chpmon.c
82
if (ioctl(fd, SESIOC_SETENCSTAT, (caddr_t) &stat) < 0) {
usr.sbin/sesd/srcs/chpmon.c
91
if (ioctl(fd, SESIOC_GETENCSTAT, (caddr_t) &stat) < 0) {
usr.sbin/sesd/srcs/chpmon.c
98
if ((stat & BADSTAT) == 0) {
usr.sbin/sysinst/aout2elf.c
207
struct stat st;
usr.sbin/sysinst/aout2elf.c
217
if (target_realpath("/emul/aout", prefix) != NULL && stat(prefix, &st) == 0)
usr.sbin/sysinst/aout2elf.c
223
if (target_realpath("/emul", prefix) == NULL || stat(prefix, &st) < 0) {
usr.sbin/sysinst/aout2elf.c
318
struct stat sb;
usr.sbin/sysinst/aout2elf.c
87
struct stat st;
usr.sbin/sysinst/aout2elf.c
90
if (stat(name, &st) < 0)
usr.sbin/sysinst/arch/i386/md.c
841
struct stat st;
usr.sbin/sysinst/arch/luna68k/md.c
258
struct stat sb;
usr.sbin/sysinst/arch/luna68k/md.c
280
if (stat(bootpath, &sb) == 0 && S_ISREG(sb.st_mode))
usr.sbin/sysinst/main.c
681
struct stat sb;
usr.sbin/sysinst/main.c
687
if (stat("/etc/openssl/cert.pem", &sb) == 0 &&
usr.sbin/sysinst/run.c
180
struct stat st; /* stat information. */
usr.sbin/sysinst/run.c
193
if (stat(fileorcmd, &st)) {
usr.sbin/sysinst/util.c
1612
struct stat sb1, sb2;
usr.sbin/sysinst/util.c
1614
if (stat(target_expand("/"), &sb1) == 0
usr.sbin/sysinst/util.c
1615
&& stat(target_expand("/var"), &sb2) == 0
usr.sbin/sysinst/util.c
1851
struct stat sb;
usr.sbin/sysinst/util.c
1876
if (stat(zoneinfo_dir, &sb) == -1)
usr.sbin/sysinst/util.c
283
struct stat st;
usr.sbin/sysinst/util.c
285
return (stat(path, &st) == 0 && (st.st_mode & S_IFMT) == mode);
usr.sbin/sysinst/util.c
636
struct stat sb;
usr.sbin/sysinst/util.c
647
if (stat(set_dir_bin, &sb) == 0 && S_ISDIR(sb.st_mode) &&
usr.sbin/syslogd/syslogd.c
2724
struct stat st;
usr.sbin/syslogd/syslogd.c
2728
if (stat(tty, &st) != -1 &&
usr.sbin/syslogd/syslogd.c
3789
struct stat sb;
usr.sbin/tcpdchk/inetcf.c
197
struct stat st;
usr.sbin/tcpdchk/inetcf.c
94
struct stat st;
usr.sbin/tcpdchk/scaffold.c
142
check_path(const char *path, struct stat *st)
usr.sbin/tcpdchk/scaffold.c
144
struct stat stbuf;
usr.sbin/tcpdchk/scaffold.c
147
if (stat(path, st) < 0)
usr.sbin/tcpdchk/scaffold.h
16
int check_path(const char *, struct stat *);
usr.sbin/tcpdchk/tcpdchk.c
109
struct stat st;
usr.sbin/tcpdmatch/tcpdmatch.c
76
struct stat st;
usr.sbin/user/user.c
1069
struct stat st;
usr.sbin/user/user.c
1305
struct stat st;
usr.sbin/user/user.c
273
struct stat st;
usr.sbin/user/user.c
282
if (stat(pwp->pw_dir, &st) < 0) {
usr.sbin/user/user.c
372
struct stat st;
usr.sbin/user/user.c
437
struct stat st;
usr.sbin/user/user.c
544
struct stat st;
usr.sbin/user/user.c
798
struct stat st;
usr.sbin/user/user.c
827
if (stat(_PATH_USERMGMT_CONF, &st) < 0 && !setdefaults(up)) {
usr.sbin/veriexecgen/veriexecgen.c
208
struct stat sb;
usr.sbin/veriexecgen/veriexecgen.c
211
if (stat(file, &sb) == -1) {
usr.sbin/veriexecgen/veriexecgen.c
243
struct stat sb;
usr.sbin/veriexecgen/veriexecgen.c
247
if (stat(file->fts_path, &sb) == -1) {
usr.sbin/veriexecgen/veriexecgen.c
374
struct stat sb;
usr.sbin/veriexecgen/veriexecgen.c
378
if (stat(vp->dbfile, &sb) != 0) {
usr.sbin/videomode/videomode.c
93
struct stat stb;
usr.sbin/vipw/vipw.c
112
if (stat(mpwdl, &begin))
usr.sbin/vipw/vipw.c
115
if (stat(mpwdl, &end))
usr.sbin/vipw/vipw.c
70
struct stat begin, end;
usr.sbin/wsfontload/wsfontload.c
141
struct stat st;
usr.sbin/ypbind/ypbind.c
312
struct stat st;
usr.sbin/ypbind/ypbind.c
346
if (stat(pathname, &st) < 0) {
usr.sbin/ypserv/makedbm/makedbm.c
174
struct stat finfo;
usr.sbin/ypserv/makedbm/makedbm.c
183
if (stat(filename, &finfo) != 0)
usr.sbin/ypserv/ypserv/ypserv_db.c
242
struct stat finfo;
usr.sbin/ypserv/ypserv/ypserv_db.c
266
if (stat(map_path, &finfo) < 0 || !S_ISDIR(finfo.st_mode)) {
usr.sbin/ypserv/ypserv/ypserv_db.c
275
if (stat(map_path, &finfo) < 0) {
usr.sbin/ypserv/ypserv/ypserv_proc.c
105
if ((stat(domain_path, &finfo) == 0) && S_ISDIR(finfo.st_mode))
usr.sbin/ypserv/ypserv/ypserv_proc.c
123
struct stat finfo;
usr.sbin/ypserv/ypserv/ypserv_proc.c
131
if ((stat(domain_path, &finfo) == 0) && S_ISDIR(finfo.st_mode))
usr.sbin/ypserv/ypserv/ypserv_proc.c
436
struct stat finfo;
usr.sbin/ypserv/ypserv/ypserv_proc.c
460
if ((stat(domain_path, &finfo) != 0) || !S_ISDIR(finfo.st_mode)) {
usr.sbin/ypserv/ypserv/ypserv_proc.c
97
struct stat finfo;
usr.sbin/ypserv/ypxfr/ypxfr.c
323
struct stat finfo;
usr.sbin/ypserv/ypxfr/ypxfr.c
333
if ((stat(map_path, &finfo)) != 0 ||
usr.sbin/ypserv/ypxfr/ypxfr.c
343
if (stat(map_path, &finfo) != 0) {