Symbol: stat
bin/cat/cat.c
216
struct stat sbuf;
bin/cp/cp.c
206
r = stat(to.p_path, &to_stat);
bin/cp/cp.c
224
stat(*argv, &tmp_stat);
bin/cp/cp.c
270
struct stat to_stat;
bin/cp/cp.c
348
if (stat(to.p_path, &to_stat) == -1) {
bin/cp/cp.c
85
struct stat to_stat, tmp_stat;
bin/cp/extern.h
48
int copy_fifo(struct stat *, int);
bin/cp/extern.h
51
int copy_special(struct stat *, int);
bin/cp/extern.h
52
int setfile(struct stat *, int);
bin/cp/utils.c
144
struct stat tosb;
bin/cp/utils.c
224
copy_fifo(struct stat *from_stat, int exists)
bin/cp/utils.c
240
copy_special(struct stat *from_stat, int exists)
bin/cp/utils.c
275
setfile(struct stat *fs, int fd)
bin/cp/utils.c
59
struct stat to_stat, *fs;
bin/csh/csh.c
1185
struct stat stb;
bin/csh/csh.c
1200
if (stat(short2str(*vp), &stb) == -1)
bin/csh/csh.c
1327
struct stat stb;
bin/csh/csh.c
1332
if (stat(ptr = a, &stb) == 0 && S_ISDIR(stb.st_mode)) \
bin/csh/csh.c
737
struct stat stb;
bin/csh/dir.c
103
if (stat(cwd, &shp) != -1 && swd.st_dev == shp.st_dev &&
bin/csh/dir.c
846
struct stat statbuf;
bin/csh/dir.c
85
struct stat swd, shp;
bin/csh/dir.c
852
stat(short2str(p1), &statbuf) != -1) {
bin/csh/dir.c
862
for (sp = NULL; *p2 && stat(short2str(p2), &statbuf) != -1;) {
bin/csh/dir.c
87
if (stat(tcp, &swd) == -1) {
bin/csh/dir.c
93
if (hp && *hp && stat(short2str(hp), &shp) != -1 &&
bin/csh/exec.c
547
struct stat stbuf;
bin/csh/exec.c
567
return (stat(strname, &stbuf) != -1 &&
bin/csh/exp.c
396
struct stat stb;
bin/csh/exp.c
407
if (isa(**vp, ANYOP) && stat(short2str(**vp), &stb))
bin/csh/exp.c
430
stat(short2str(ep), &stb)) {
bin/csh/file.c
442
struct stat statb;
bin/csh/file.c
452
if (stat(short2str(path), &statb) == 0 && /* follow it out */
bin/csh/sem.c
609
struct stat stb;
bin/csh/sem.c
611
if (stat(cp, &stb) == -1)
bin/dd/dd.c
207
struct stat sb;
bin/df/df.c
133
if (stat(*argv, &stbuf) == -1) {
bin/df/df.c
73
struct stat stbuf;
bin/ed/main.c
164
struct stat sb;
bin/ksh/c_test.c
203
struct stat b1, b2;
bin/ksh/c_test.c
234
return stat(opnd1, &b1) == 0;
bin/ksh/c_test.c
239
return stat(opnd1, &b1) == 0;
bin/ksh/c_test.c
241
return stat(opnd1, &b1) == 0 && S_ISREG(b1.st_mode);
bin/ksh/c_test.c
243
return stat(opnd1, &b1) == 0 && S_ISDIR(b1.st_mode);
bin/ksh/c_test.c
245
return stat(opnd1, &b1) == 0 && S_ISCHR(b1.st_mode);
bin/ksh/c_test.c
247
return stat(opnd1, &b1) == 0 && S_ISBLK(b1.st_mode);
bin/ksh/c_test.c
249
return stat(opnd1, &b1) == 0 && S_ISFIFO(b1.st_mode);
bin/ksh/c_test.c
253
return stat(opnd1, &b1) == 0 && S_ISSOCK(b1.st_mode);
bin/ksh/c_test.c
257
return stat(opnd1, &b1) == 0 &&
bin/ksh/c_test.c
260
return stat(opnd1, &b1) == 0 &&
bin/ksh/c_test.c
263
return stat(opnd1, &b1) == 0 &&
bin/ksh/c_test.c
266
return stat(opnd1, &b1) == 0 && b1.st_size > 0L;
bin/ksh/c_test.c
274
return stat(opnd1, &b1) == 0 && b1.st_uid == ksheuid;
bin/ksh/c_test.c
276
return stat(opnd1, &b1) == 0 && b1.st_gid == getegid();
bin/ksh/c_test.c
328
return stat(opnd1, &b1) == 0 &&
bin/ksh/c_test.c
329
(((s2 = stat(opnd2, &b2)) == 0 &&
bin/ksh/c_test.c
339
return stat(opnd2, &b2) == 0 &&
bin/ksh/c_test.c
340
(((s1 = stat(opnd1, &b1)) == 0 &&
bin/ksh/c_test.c
345
return stat (opnd1, &b1) == 0 && stat (opnd2, &b2) == 0 &&
bin/ksh/c_test.c
365
struct stat statb;
bin/ksh/c_test.c
367
if (stat(path, &statb) == -1)
bin/ksh/edit.c
447
struct stat statb;
bin/ksh/eval.c
1047
(stat_done = stat(Xstring(*xs, xp), &statb) == -1 \
bin/ksh/eval.c
1049
struct stat lstatb, statb;
bin/ksh/exec.c
1053
struct stat statb;
bin/ksh/exec.c
1083
(stat(cp, &statb) == -1 || S_ISREG(statb.st_mode)))
bin/ksh/exec.c
959
struct stat statb;
bin/ksh/exec.c
961
if (stat(path, &statb) == -1)
bin/ksh/history.c
244
struct stat statb;
bin/ksh/history.c
48
static struct stat last_sb;
bin/ksh/history.c
676
struct stat sb;
bin/ksh/history.c
723
struct stat sb;
bin/ksh/io.c
223
struct stat statb;
bin/ksh/mail.c
106
if (p && stat(p, &stbuf) == 0 && S_ISREG(stbuf.st_mode))
bin/ksh/mail.c
173
struct stat stbuf;
bin/ksh/mail.c
180
if (stat(mbp->mb_path, &stbuf) == 0 && S_ISREG(stbuf.st_mode))
bin/ksh/mail.c
47
struct stat stbuf;
bin/ksh/mail.c
69
if (mbp->mb_path && stat(mbp->mb_path, &stbuf) == 0 &&
bin/ksh/mail.c
99
struct stat stbuf;
bin/ksh/main.c
286
struct stat s_pwd, s_dot;
bin/ksh/main.c
293
stat(pwd, &s_pwd) == -1 || stat(".", &s_dot) == -1 ||
bin/ksh/main.c
375
struct stat s_stdin;
bin/ksh/var.c
993
struct stat statb;
bin/ksh/var.c
997
stat(s, &statb) == 0 && S_ISDIR(statb.st_mode))
bin/ln/ln.c
118
struct stat sb;
bin/ln/ln.c
120
int (*statf)(const char *, struct stat *);
bin/ln/ln.c
125
if ((Pflag ? lstat : stat)(target, &sb)) {
bin/ln/ln.c
136
statf = hflag ? lstat : stat;
bin/ln/ln.c
160
struct stat tsb;
bin/ln/ln.c
162
if ((Pflag ? lstat : stat)(target, &tsb)) {
bin/ln/ln.c
57
struct stat sb;
bin/ln/ln.c
99
if (stat(sourcedir, &sb))
bin/ls/ls.c
430
struct stat *sp;
bin/ls/print.c
223
struct stat *sp;
bin/ls/print.c
85
struct stat *sp;
bin/mkdir/mkdir.c
129
struct stat sb;
bin/mkdir/mkdir.c
148
if (stat(path, &sb) == -1) {
bin/mv/cp.c
110
struct stat to_stat, tmp_stat;
bin/mv/cp.c
151
r = stat(to.p_path, &to_stat);
bin/mv/cp.c
212
struct stat to_stat;
bin/mv/cp.c
290
if (stat(to.p_path, &to_stat) == -1) {
bin/mv/cp.c
396
struct stat *fs;
bin/mv/cp.c
488
struct stat tosb;
bin/mv/cp.c
549
copy_fifo(struct stat *from_stat, int exists)
bin/mv/cp.c
563
copy_special(struct stat *from_stat, int exists)
bin/mv/cp.c
578
setfile(struct stat *fs, int fd)
bin/mv/cp.c
78
static int copy_fifo(struct stat *, int);
bin/mv/cp.c
81
static int copy_special(struct stat *, int);
bin/mv/cp.c
82
static int setfile(struct stat *, int);
bin/mv/mv.c
102
if (stat(argv[argc - 1], &sb) || !S_ISDIR(sb.st_mode)) {
bin/mv/mv.c
156
struct stat sb, fsb;
bin/mv/mv.c
184
} else if (stdin_ok && access(to, W_OK) && !stat(to, &sb)) {
bin/mv/mv.c
262
fastcopy(char *from, char *to, struct stat *sbp)
bin/mv/mv.c
62
int fastcopy(char *, char *, struct stat *);
bin/mv/mv.c
70
struct stat sb;
bin/pax/ar_io.c
71
static struct stat arsb; /* stat of archive device at open */
bin/pax/ar_subs.c
151
struct stat sb;
bin/pax/ar_subs.c
792
struct stat sb;
bin/pax/ar_subs.c
817
if (stat(dirptr, &sb) == -1) {
bin/pax/buf_subs.c
606
struct stat sb;
bin/pax/buf_subs.c
671
struct stat sb;
bin/pax/buf_subs.c
762
struct stat sb;
bin/pax/extern.h
248
int sltab_add_link(const char *, const struct stat *);
bin/pax/extern.h
268
void add_dir(char *, struct stat *, int);
bin/pax/file_subs.c
1090
struct stat sb;
bin/pax/file_subs.c
171
struct stat sb;
bin/pax/file_subs.c
241
struct stat sb;
bin/pax/file_subs.c
276
mk_link(char *to, struct stat *to_sb, char *from, int ign)
bin/pax/file_subs.c
278
struct stat sb;
bin/pax/file_subs.c
356
struct stat sb;
bin/pax/file_subs.c
52
static int mk_link(char *, struct stat *, char *, int);
bin/pax/file_subs.c
548
struct stat sb;
bin/pax/file_subs.c
602
struct stat sb;
bin/pax/file_subs.c
822
struct stat sb;
bin/pax/gen_subs.c
77
struct stat *sbp;
bin/pax/options.c
1143
struct stat sb;
bin/pax/options.c
1156
if (stat(path, &sb)) {
bin/pax/pax.h
108
struct stat sb; /* stat buffer see stat(2) */
bin/pax/tables.c
1591
add_dir(char *name, struct stat *psb, int frc_mode)
bin/pax/tables.c
671
struct stat sb;
bin/pax/tables.c
760
sltab_add_link(const char *path, const struct stat *sb)
bin/pax/tables.c
807
struct stat sb;
bin/pax/tables.c
817
if (stat(path, &sb) != 0 || !S_ISREG(sb.st_mode) || sb.st_size != 0 ||
bin/ps/ps.c
209
struct stat sb;
bin/ps/ps.c
222
if (stat(ttypath, &sb) == -1)
bin/pwd/pwd.c
108
if (stat(pwd, &s_pwd) == -1 || stat(".", &s_dot) == -1)
bin/pwd/pwd.c
90
struct stat s_pwd, s_dot;
bin/rm/rm.c
239
struct stat sb;
bin/rm/rm.c
292
rm_overwrite(char *file, struct stat *sbp)
bin/rm/rm.c
294
struct stat sb, sb2;
bin/rm/rm.c
359
check(char *path, char *name, struct stat *sp)
bin/rm/rm.c
405
struct stat sb, root;
bin/rm/rm.c
407
stat("/", &root);
bin/rm/rm.c
55
int check(char *, char *, struct stat *);
bin/rm/rm.c
58
int rm_overwrite(char *, struct stat *);
bin/test/test.c
424
struct stat s;
bin/test/test.c
448
if (stat(nm, &s) != 0)
bin/test/test.c
545
struct stat b1, b2;
bin/test/test.c
547
return (stat(f1, &b1) == 0 &&
bin/test/test.c
548
stat(f2, &b2) == 0 &&
bin/test/test.c
555
struct stat b1, b2;
bin/test/test.c
557
return (stat(f1, &b1) == 0 &&
bin/test/test.c
558
stat(f2, &b2) == 0 &&
bin/test/test.c
565
struct stat b1, b2;
bin/test/test.c
567
return (stat(f1, &b1) == 0 &&
bin/test/test.c
568
stat(f2, &b2) == 0 &&
distrib/special/more/more.c
435
struct stat stbuf;
distrib/special/more/more.c
439
if (stat(fs, &stbuf) == -1) {
games/boggle/boggle/word.c
126
struct stat statb;
games/fortune/fortune/fortune.c
644
struct stat sbuf;
games/fortune/fortune/fortune.c
646
if (stat(file, &sbuf) < 0)
games/hack/hack.unix.c
156
struct stat buf;
games/hack/hack.unix.c
294
static struct stat omstat,nmstat;
games/hack/hack.unix.c
303
if(stat(mailbox, &omstat)){
games/hack/hack.unix.c
323
if(stat(mailbox, &nmstat)){
games/hangman/setup.c
48
static struct stat sbuf;
games/hunt/huntd/makemaze.c
190
int stat;
games/hunt/huntd/makemaze.c
198
stat = 0;
games/hunt/huntd/makemaze.c
200
stat |= NORTH;
games/hunt/huntd/makemaze.c
202
stat |= SOUTH;
games/hunt/huntd/makemaze.c
204
stat |= EAST;
games/hunt/huntd/makemaze.c
206
stat |= WEST;
games/hunt/huntd/makemaze.c
207
switch (stat) {
games/mille/save.c
107
if (sp == buf || (!Fromfile && stat(buf, &junk) > -1
games/mille/save.c
48
typedef struct stat STAT;
games/monop/execute.c
195
struct stat sb;
games/monop/execute.c
205
if (stat(buf, &sb) == 0
games/monop/execute.c
296
if (stat(file, &sbuf) == -1) { /* get file stats */
games/monop/execute.c
43
typedef struct stat STAT;
games/phantasia/setup.c
102
if (stat(path, &fbuf) == 0)
games/phantasia/setup.c
76
struct stat fbuf; /* for getting files statistics */
games/sail/sync.c
116
struct stat s;
games/sail/sync.c
122
if (stat(buf, &s) == -1) {
games/sail/sync.c
140
struct stat tmp;
games/sail/sync.c
147
if (stat(sync_file, &tmp) == -1) {
games/trek/shield.c
115
if (*stat)
games/trek/shield.c
123
i = !*stat;
games/trek/shield.c
125
if (*stat == i)
games/trek/shield.c
144
*stat = i;
games/trek/shield.c
70
char *stat;
games/trek/shield.c
86
stat = &Ship.cloaked;
games/trek/shield.c
95
stat = &Ship.shldup;
include/fts.h
112
struct stat *fts_statp; /* stat(2) information */
include/ftw.h
55
int ftw(const char *, int (*)(const char *, const struct stat *, int), int);
include/ftw.h
56
int nftw(const char *, int (*)(const char *, const struct stat *, int,
include/glob.h
49
struct stat;
include/glob.h
56
struct stat **gl_statv; /* Stat entries corresponding to gl_pathv */
include/glob.h
68
int (*gl_lstat)(const char *, struct stat *);
include/glob.h
69
int (*gl_stat)(const char *, struct stat *);
lib/libc/asr/asr.c
429
struct stat st;
lib/libc/db/btree/bt_open.c
86
struct stat sb;
lib/libc/db/hash/hash.c
272
struct stat statbuf;
lib/libc/db/hash/hash.c
290
if (stat(file, &statbuf))
lib/libc/db/hash/hash.c
96
struct stat statbuf;
lib/libc/db/mpool/mpool.c
57
struct stat sb;
lib/libc/db/recno/rec_open.c
57
struct stat sb;
lib/libc/gen/authenticate.c
116
struct stat sb;
lib/libc/gen/authenticate.c
133
if (*nologin != '\0' && stat(nologin, &sb) == 0)
lib/libc/gen/authenticate.c
141
if (stat(_PATH_NOLOGIN, &sb) == 0) {
lib/libc/gen/authenticate.c
298
struct stat sb;
lib/libc/gen/authenticate.c
300
if (stat(pwd->pw_dir, &sb) == -1 || !S_ISDIR(sb.st_mode) ||
lib/libc/gen/devname.c
49
struct stat sb;
lib/libc/gen/fstab.c
184
struct stat sbuf;
lib/libc/gen/fstab.c
191
if (stat(_PATH_FSTAB, &sbuf) != 0)
lib/libc/gen/ftok.c
36
struct stat st;
lib/libc/gen/ftok.c
38
if (stat(path, &st) == -1)
lib/libc/gen/fts.c
1026
struct stat sb;
lib/libc/gen/fts.c
799
struct stat *sbp, sb;
lib/libc/gen/fts.c
829
err: memset(sbp, 0, sizeof(struct stat));
lib/libc/gen/fts.c
919
len += sizeof(struct stat) + ALIGNBYTES;
lib/libc/gen/fts.c
927
p->fts_statp = (struct stat *)ALIGN(p->fts_name + namelen + 2);
lib/libc/gen/ftw.c
31
ftw(const char *path, int (*fn)(const char *, const struct stat *, int),
lib/libc/gen/glob.c
1001
g_lstat(Char *fn, struct stat *sb, glob_t *pglob)
lib/libc/gen/glob.c
1013
g_stat(Char *fn, struct stat *sb, glob_t *pglob)
lib/libc/gen/glob.c
1021
return(stat(buf, sb));
lib/libc/gen/glob.c
137
struct stat *gps_stat;
lib/libc/gen/glob.c
143
static int g_lstat(Char *, struct stat *, glob_t *);
lib/libc/gen/glob.c
147
static int g_stat(Char *, struct stat *, glob_t *);
lib/libc/gen/glob.c
155
struct stat *);
lib/libc/gen/glob.c
621
struct stat sb;
lib/libc/gen/glob.c
787
struct stat *sb)
lib/libc/gen/glob.c
793
struct stat **statv;
lib/libc/gen/isfdtype.c
29
struct stat sb;
lib/libc/gen/login_cap.c
220
int stat;
lib/libc/gen/login_cap.c
227
switch (stat = cgetstr(lc->lc_cap, cap, &res)) {
lib/libc/gen/login_cap.c
236
if (stat >= 0)
lib/libc/gen/login_cap.c
256
int stat;
lib/libc/gen/login_cap.c
264
switch (stat = cgetstr(lc->lc_cap, cap, &res)) {
lib/libc/gen/login_cap.c
275
if (stat >= 0)
lib/libc/gen/login_cap.c
341
int stat;
lib/libc/gen/login_cap.c
349
switch (stat = cgetstr(lc->lc_cap, cap, &res)) {
lib/libc/gen/login_cap.c
360
if (stat >= 0)
lib/libc/gen/login_cap.c
395
int stat;
lib/libc/gen/login_cap.c
403
switch (stat = cgetstr(lc->lc_cap, cap, &res)) {
lib/libc/gen/login_cap.c
414
if (stat >= 0)
lib/libc/gen/login_cap.c
577
struct stat sb;
lib/libc/gen/nftw.c
30
nftw(const char *path, int (*fn)(const char *, const struct stat *, int,
lib/libc/gen/nlist.c
99
struct stat st;
lib/libc/gen/opendir.c
97
struct stat sb;
lib/libc/gen/scandir.c
69
struct stat stb;
lib/libc/gen/shm_open.c
51
struct stat sb;
lib/libc/gen/ttyname.c
113
oldttyname(struct stat *sb, char *buf, size_t len)
lib/libc/gen/ttyname.c
117
struct stat dsb;
lib/libc/gen/ttyname.c
44
static int oldttyname(struct stat *, char *, size_t);
lib/libc/gen/ttyname.c
69
struct stat sb;
lib/libc/hash/helper.c
62
struct stat sb;
lib/libc/hidden/sys/stat.h
40
PROTO_NORMAL(stat);
lib/libc/locale/rune.c
219
struct stat sb;
lib/libc/net/ruserok.c
87
struct stat sbuf;
lib/libc/nls/catopen.c
166
struct stat st;
lib/libc/rpc/auth_unix.c
259
int stat;
lib/libc/rpc/auth_unix.c
272
stat = xdr_authunix_parms(&xdrs, &aup);
lib/libc/rpc/auth_unix.c
273
if (! stat)
lib/libc/rpc/auth_unix.c
281
stat = xdr_authunix_parms(&xdrs, &aup);
lib/libc/rpc/auth_unix.c
282
if (! stat)
lib/libc/rpc/auth_unix.c
291
return (stat);
lib/libc/rpc/clnt_perror.c
178
clnt_sperrno(enum clnt_stat stat)
lib/libc/rpc/clnt_perror.c
180
unsigned int errnum = stat;
lib/libc/rpc/clnt_perror.c
242
auth_errmsg(enum auth_stat stat)
lib/libc/rpc/clnt_perror.c
244
unsigned int errnum = stat;
lib/libc/rpc/clnt_perror.c
42
static char *auth_errmsg(enum auth_stat stat);
lib/libc/rpc/pmap_rmt.c
213
enum clnt_stat stat;
lib/libc/rpc/pmap_rmt.c
235
stat = RPC_AUTHERROR;
lib/libc/rpc/pmap_rmt.c
244
stat = RPC_CANTSEND;
lib/libc/rpc/pmap_rmt.c
249
stat = RPC_CANTSEND;
lib/libc/rpc/pmap_rmt.c
259
stat = RPC_CANTSEND;
lib/libc/rpc/pmap_rmt.c
286
stat = RPC_CANTENCODEARGS;
lib/libc/rpc/pmap_rmt.c
308
stat = RPC_CANTSEND;
lib/libc/rpc/pmap_rmt.c
313
stat = RPC_SUCCESS;
lib/libc/rpc/pmap_rmt.c
323
stat = RPC_TIMEDOUT;
lib/libc/rpc/pmap_rmt.c
336
stat = RPC_CANTRECV;
lib/libc/rpc/pmap_rmt.c
346
stat = RPC_CANTRECV;
lib/libc/rpc/pmap_rmt.c
371
stat = RPC_SUCCESS;
lib/libc/rpc/pmap_rmt.c
383
return (stat);
lib/libc/rpc/pmap_rmt.c
75
enum clnt_stat stat;
lib/libc/rpc/pmap_rmt.c
88
stat = CLNT_CALL(client, PMAPPROC_CALLIT, xdr_rmtcall_args, &a,
lib/libc/rpc/pmap_rmt.c
92
stat = RPC_FAILED;
lib/libc/rpc/pmap_rmt.c
95
return (stat);
lib/libc/rpc/svc.c
558
enum xprt_stat stat;
lib/libc/rpc/svc.c
621
if ((stat = SVC_STAT(xprt)) == XPRT_DIED){
lib/libc/rpc/svc.c
625
} while (stat == XPRT_MOREREQS);
lib/libc/rpc/svc_auth_unix.c
100
stat = AUTH_BADCRED;
lib/libc/rpc/svc_auth_unix.c
106
stat = AUTH_BADCRED;
lib/libc/rpc/svc_auth_unix.c
111
stat = AUTH_OK;
lib/libc/rpc/svc_auth_unix.c
114
return (stat);
lib/libc/rpc/svc_auth_unix.c
53
enum auth_stat stat;
lib/libc/rpc/svc_auth_unix.c
77
stat = AUTH_BADCRED;
lib/libc/rpc/svc_auth_unix.c
88
stat = AUTH_BADCRED;
lib/libc/rpc/svc_tcp.c
443
bool_t stat;
lib/libc/rpc/svc_tcp.c
447
stat = xdr_replymsg(xdrs, msg);
lib/libc/rpc/svc_tcp.c
449
return (stat);
lib/libc/rpc/svc_udp.c
218
bool_t stat = FALSE;
lib/libc/rpc/svc_udp.c
228
stat = TRUE;
lib/libc/rpc/svc_udp.c
234
return (stat);
lib/libc/rpc/xdr_array.c
103
for (i = 0; (i < c) && stat; i++) {
lib/libc/rpc/xdr_array.c
104
stat = (*elproc)(xdrs, target);
lib/libc/rpc/xdr_array.c
115
return (stat);
lib/libc/rpc/xdr_array.c
67
bool_t stat = TRUE;
lib/libc/rpc/xdr_reference.c
63
bool_t stat;
lib/libc/rpc/xdr_reference.c
79
stat = (*proc)(xdrs, loc);
lib/libc/rpc/xdr_reference.c
85
return (stat);
lib/libc/stdio/fseek.c
54
struct stat st;
lib/libc/stdio/makebuf.c
82
struct stat st;
lib/libc/stdio/remove.c
42
struct stat st;
lib/libc/stdlib/icdb.c
158
struct stat sb;
lib/libc/stdlib/mktemp.c
25
struct stat sb;
lib/libc/stdlib/posix_pty.c
65
struct stat sb;
lib/libc/yp/xdr_ypresp_key_val.c
36
if (!xdr_ypstat(xdrs, (ypstat *)&objp->stat)) {
lib/libc/yp/xdr_ypresp_maplist.c
36
if (!xdr_ypstat(xdrs, (ypstat *)&objp->stat)) {
lib/libc/yp/xdr_ypresp_master.c
36
if (!xdr_ypstat(xdrs, (ypstat *)&objp->stat)) {
lib/libc/yp/xdr_ypresp_order.c
36
if (!xdr_ypstat(xdrs, (ypstat *)&objp->stat)) {
lib/libc/yp/xdr_ypresp_val.c
36
if (!xdr_ypstat(xdrs, (ypstat *)&objp->stat)) {
lib/libc/yp/yp_all.c
63
status = out.ypresp_all_u.val.stat;
lib/libc/yp/yp_first.c
75
if (!(r = ypprot_err(yprkv.stat))) {
lib/libc/yp/yp_maplist.c
65
return ypprot_err(ypml.stat);
lib/libc/yp/yp_master.c
71
if (!(r = ypprot_err(yprm.stat))) {
lib/libc/yp/yp_order.c
80
r = ypprot_err(ypro.stat);
lib/libc/yp/ypmatch_cache.c
193
if (!(r = ypprot_err(yprv.stat))) {
lib/libc/yp/ypmatch_cache.c
254
if (!(r = ypprot_err(yprkv.stat))) {
lib/libcrypto/arc4random/getentropy_aix.c
123
struct stat st;
lib/libcrypto/arc4random/getentropy_aix.c
214
struct stat st;
lib/libcrypto/arc4random/getentropy_aix.c
347
HX(stat(".", &st) == -1, st);
lib/libcrypto/arc4random/getentropy_aix.c
350
HX(stat("/", &st) == -1, st);
lib/libcrypto/arc4random/getentropy_hpux.c
127
struct stat st;
lib/libcrypto/arc4random/getentropy_hpux.c
214
struct stat st;
lib/libcrypto/arc4random/getentropy_hpux.c
341
HX(stat(".", &st) == -1, st);
lib/libcrypto/arc4random/getentropy_hpux.c
344
HX(stat("/", &st) == -1, st);
lib/libcrypto/arc4random/getentropy_linux.c
201
struct stat st;
lib/libcrypto/arc4random/getentropy_linux.c
328
struct stat st;
lib/libcrypto/arc4random/getentropy_linux.c
447
HX(stat(".", &st) == -1, st);
lib/libcrypto/arc4random/getentropy_linux.c
451
HX(stat("/", &st) == -1, st);
lib/libcrypto/arc4random/getentropy_osx.c
147
struct stat st;
lib/libcrypto/arc4random/getentropy_osx.c
214
struct stat st;
lib/libcrypto/arc4random/getentropy_osx.c
357
HX(stat(".", &st) == -1, st);
lib/libcrypto/arc4random/getentropy_osx.c
361
HX(stat("/", &st) == -1, st);
lib/libcrypto/arc4random/getentropy_solaris.c
153
struct stat st;
lib/libcrypto/arc4random/getentropy_solaris.c
248
struct stat st;
lib/libcrypto/arc4random/getentropy_solaris.c
367
HX(stat(".", &st) == -1, st);
lib/libcrypto/arc4random/getentropy_solaris.c
370
HX(stat("/", &st) == -1, st);
lib/libcrypto/rand/randfile.c
103
if (stat(file, &sb) != -1 &&
lib/libcrypto/rand/randfile.c
97
struct stat sb;
lib/libcurses/tinfo/access.c
167
struct stat sb;
lib/libcurses/tinfo/access.c
169
if (stat(path, &sb) == 0
lib/libcurses/tinfo/access.c
180
struct stat sb;
lib/libcurses/tinfo/access.c
182
if (stat(path, &sb) == 0
lib/libcurses/tinfo/db_iterator.c
301
struct stat *my_stat;
lib/libcurses/tinfo/db_iterator.c
370
my_stat = typeCalloc(struct stat, blobsize);
lib/libcurses/tinfo/db_iterator.c
74
check_existence(const char *name, struct stat *sb)
lib/libcurses/tinfo/db_iterator.c
80
} else if (stat(name, sb) == 0
lib/libcurses/tinfo/db_iterator.c
89
if (stat(temp, sb) == 0 && S_ISREG(sb->st_mode) && sb->st_size) {
lib/libcurses/tinfo/read_termcap.c
1043
struct stat test_stat[MAXPATHS];
lib/libcurses/tinfo/read_termcap.c
1090
if (stat(termpaths[j], &test_stat[j]) != 0
lib/libcurses/tinfo/write_entry.c
201
struct stat statbuf;
lib/libcurses/tinfo/write_entry.c
203
if ((rc = stat(path, &statbuf)) == -1) {
lib/libcurses/tinfo/write_entry.c
299
struct stat statbuf;
lib/libcurses/tinfo/write_entry.c
436
stat(filename, &statbuf) >= 0
lib/libcurses/tinfo/write_entry.c
460
if (stat(filename, &statbuf) == -1
lib/libcurses/tinfo/write_entry.c
492
else if (stat(linkname, &statbuf) >= 0 &&
lib/libedit/filecomplete.c
242
struct stat stbuf;
lib/libedit/filecomplete.c
246
if (stat(expname ? expname : name, &stbuf) == -1)
lib/libelf/libelf_open.c
130
struct stat sb;
lib/libexpat/tests/benchmark/benchmark.c
75
struct stat fileAttr;
lib/libfido2/src/hid_unix.c
24
struct stat st;
lib/libfuse/fuse.c
415
struct stat st;
lib/libfuse/fuse.c
443
res = stat(opt->mp, &st);
lib/libfuse/fuse.h
46
typedef int (*fuse_fill_dir_t)(void *, const char *, const struct stat *,
lib/libfuse/fuse.h
58
int (*getattr)(const char *, struct stat *);
lib/libfuse/fuse.h
96
int (*fgetattr)(const char *, struct stat *,
lib/libfuse/fuse_lowlevel.c
186
fuse_reply_attr(fuse_req_t req, const struct stat *stbuf, double attr_timeout)
lib/libfuse/fuse_lowlevel.c
264
const char *name, const struct stat *stbuf, off_t off)
lib/libfuse/fuse_lowlevel.h
112
const struct stat *, off_t);
lib/libfuse/fuse_lowlevel.h
142
int fuse_reply_attr(fuse_req_t, const struct stat *, double);
lib/libfuse/fuse_lowlevel.h
42
struct stat attr;
lib/libfuse/fuse_lowlevel.h
60
void (*setattr)(fuse_req_t, fuse_ino_t, struct stat *, int,
lib/libfuse/fuse_ops.c
214
ifuse_fill_readdir(void *dh, const char *name, const struct stat *stbuf,
lib/libfuse/fuse_ops.c
220
struct stat attr;
lib/libfuse/fuse_ops.c
279
struct stat st;
lib/libfuse/fuse_ops.c
55
update_attr(struct fuse *f, struct stat *attr, const char *realname,
lib/libfuse/fuse_ops.c
60
memset(attr, 0, sizeof(struct stat));
lib/libfuse/fuse_ops.c
753
ifuse_ops_setattr(fuse_req_t req, fuse_ino_t ino, struct stat *attr,
lib/libfuse/fuse_ops.c
757
struct stat stbuf;
lib/libfuse/fuse_ops.c
93
struct stat stbuf;
lib/libfuse/fuse_session.c
203
struct stat *stbuf = &fbuf->fb_attr;
lib/libkeynote/keynote-sign.c
52
struct stat sb;
lib/libkeynote/keynote-sigver.c
50
struct stat sb;
lib/libkeynote/keynote-verify.c
61
struct stat sb;
lib/libkvm/kvm.c
181
struct stat st;
lib/libpcap/pcap-int.h
66
struct pcap_stat stat;
lib/librthread/rthread_sem.c
317
struct stat sb;
lib/librthread/rthread_sem_compat.c
332
struct stat sb;
lib/libskey/skeylogin.c
103
if (stat(_PATH_SKEYDIR, &statbuf) != 0)
lib/libskey/skeylogin.c
97
struct stat statbuf;
lib/libsndio/aucat.c
207
struct stat sb;
lib/libtls/tls_client.c
176
struct stat sb;
lib/libtls/tls_config.c
44
struct stat st;
lib/libtls/tls_config.c
724
struct stat sb;
lib/libtls/tls_util.c
158
struct stat st;
lib/libutil/logwtmp.c
45
struct stat buf;
lib/libutil/passwd.c
118
struct stat sb;
lib/libutil/passwd.c
124
if (stat(pw_lck, &sb) == 0 && sb.st_size == 0) {
lib/libutil/readlabel.c
57
struct stat sbuf;
lib/libutil/readlabel.c
77
if (stat(device, &sbuf) == -1) {
libexec/comsat/comsat.c
178
struct stat statbf;
libexec/comsat/comsat.c
249
struct stat stb;
libexec/comsat/comsat.c
260
if (stat(tty, &stb) || !(stb.st_mode & S_IEXEC)) {
libexec/ftpd/ftpcmd.y
1508
struct stat stbuf;
libexec/ftpd/ftpcmd.y
1509
if (stat(filename, &stbuf) == -1 || !S_ISREG(stbuf.st_mode))
libexec/ftpd/ftpcmd.y
1518
struct stat stbuf;
libexec/ftpd/ftpcmd.y
607
struct stat stbuf;
libexec/ftpd/ftpcmd.y
608
if (stat($4, &stbuf) == -1)
libexec/ftpd/ftpd.c
1000
struct stat ts;
libexec/ftpd/ftpd.c
1005
if (stat(rootdir, &ts) == -1) {
libexec/ftpd/ftpd.c
1114
struct stat st;
libexec/ftpd/ftpd.c
1191
struct stat st;
libexec/ftpd/ftpd.c
1197
if (unique && stat(name, &st) == 0) {
libexec/ftpd/ftpd.c
1989
struct stat st;
libexec/ftpd/ftpd.c
1992
if (stat(name, &st) == -1) {
libexec/ftpd/ftpd.c
2092
struct stat st;
libexec/ftpd/ftpd.c
2094
if (stat(name, &st) == -1) {
libexec/ftpd/ftpd.c
2532
struct stat st;
libexec/ftpd/ftpd.c
2540
if (stat(cp ? local : ".", &st) == -1) {
libexec/ftpd/ftpd.c
2582
struct stat st;
libexec/ftpd/ftpd.c
2614
if (stat(dirname, &st) == -1) {
libexec/ftpd/logwtmp.c
60
struct stat buf;
libexec/ftpd/monitor.c
400
int stat, olderrno = errno;
libexec/ftpd/monitor.c
403
pid = waitpid(slave_pid, &stat, WNOHANG);
libexec/ld.so/dir.c
56
struct stat sb;
libexec/ld.so/ldconfig/ldconfig.c
426
struct stat sb;
libexec/ld.so/ldconfig/sod.c
154
struct stat sb;
libexec/ld.so/ldd/ldd.c
105
struct stat st;
libexec/ld.so/library.c
114
struct stat sb;
libexec/ld.so/library_mquery.c
115
struct stat sb;
libexec/ld.so/sod.c
158
struct stat sb;
libexec/ld.so/syscall.h
39
struct stat;
libexec/ld.so/syscall.h
44
int _dl_fstat(int, struct stat *);
libexec/login_ldap/util.c
174
struct stat sb;
libexec/login_token/tokendb.c
167
struct stat statb;
libexec/login_token/tokendb.c
179
if (stat(tt->db, &statb) == -1) {
libexec/mail.local/locking.c
59
struct stat sb;
libexec/mail.local/locking.c
66
if (stat(_PATH_MAILDIR, &sb) != -1 &&
libexec/mail.local/mail.local.c
157
struct stat sb, fsb;
libexec/rpc.rquotad/rquotad.c
184
struct stat st;
libexec/rpc.rquotad/rquotad.c
212
stat(fs_current->fs_file, &st);
libexec/rpc.rquotad/rquotad.c
228
struct stat st_path;
libexec/rpc.rquotad/rquotad.c
232
if (stat(path, &st_path) == -1)
libexec/rpc.rusersd/rusers_proc.c
77
struct stat st;
libexec/rpc.rusersd/rusers_proc.c
83
if (stat(devname, &st) == -1) {
libexec/talkd/announce.c
55
struct stat stbuf;
libexec/talkd/process.c
211
struct stat statb;
libexec/talkd/process.c
217
if (stat(ftty, &statb) == 0) {
regress/lib/libc/db/dbtest.c
675
struct stat sb;
regress/lib/libc/mkstemp/mkstemp_test.c
113
struct stat sb, fsb;
regress/lib/libc/mkstemp/mkstemp_test.c
41
struct stat sb, fsb;
regress/lib/libc/mkstemp/mkstemp_test.c
53
if (stat(path, &sb))
regress/lib/libc/sys/t_dup.c
58
struct stat st, st1;
regress/lib/libc/sys/t_dup.c
88
(void)memset(&st, 0, sizeof(struct stat));
regress/lib/libc/sys/t_dup.c
89
(void)memset(&st1, 0, sizeof(struct stat));
regress/lib/libc/sys/t_link.c
185
struct stat sa, sb;
regress/lib/libc/sys/t_link.c
188
(void)memset(&sa, 0, sizeof(struct stat));
regress/lib/libc/sys/t_link.c
189
(void)memset(&sb, 0, sizeof(struct stat));
regress/lib/libc/sys/t_link.c
198
ATF_REQUIRE(stat(path, &sa) == 0);
regress/lib/libc/sys/t_link.c
73
struct stat sa, sb;
regress/lib/libc/sys/t_link.c
76
(void)memset(&sa, 0, sizeof(struct stat));
regress/lib/libc/sys/t_link.c
77
(void)memset(&sb, 0, sizeof(struct stat));
regress/lib/libc/sys/t_link.c
85
ATF_REQUIRE(stat(path, &sa) == 0);
regress/lib/libc/sys/t_link.c
87
ATF_REQUIRE(stat(path, &sb) == 0);
regress/lib/libc/sys/t_mkdir.c
110
struct stat st_a, st_b;
regress/lib/libc/sys/t_mkdir.c
115
(void)memset(&st_a, 0, sizeof(struct stat));
regress/lib/libc/sys/t_mkdir.c
116
(void)memset(&st_b, 0, sizeof(struct stat));
regress/lib/libc/sys/t_mkdir.c
121
ATF_REQUIRE(stat("/tmp", &st_a) == 0);
regress/lib/libc/sys/t_mkdir.c
143
ATF_REQUIRE(stat(path, &st_b) == 0);
regress/lib/libc/sys/t_mkfifo.c
247
struct stat st;
regress/lib/libc/sys/t_mkfifo.c
251
(void)memset(&st, 0, sizeof(struct stat));
regress/lib/libc/sys/t_mkfifo.c
254
ATF_REQUIRE(stat(path, &st) == 0);
regress/lib/libc/sys/t_mkfifo.c
275
struct stat st;
regress/lib/libc/sys/t_mkfifo.c
279
(void)memset(&st, 0, sizeof(struct stat));
regress/lib/libc/sys/t_mkfifo.c
282
ATF_REQUIRE(stat(path, &st) == 0);
regress/lib/libc/sys/t_mknod.c
146
struct stat st;
regress/lib/libc/sys/t_mknod.c
148
(void)memset(&st, 0, sizeof(struct stat));
regress/lib/libc/sys/t_mknod.c
151
ATF_REQUIRE(stat(path, &st) == 0);
regress/lib/libc/sys/t_mknod.c
158
(void)memset(&st, 0, sizeof(struct stat));
regress/lib/libc/sys/t_mknod.c
161
ATF_REQUIRE(stat(path, &st) == 0);
regress/lib/libc/sys/t_mknod.c
168
(void)memset(&st, 0, sizeof(struct stat));
regress/lib/libc/sys/t_mknod.c
173
ATF_REQUIRE(stat(path, &st) == 0);
regress/lib/libc/sys/t_stat.c
125
(void)memset(&sa, 0, sizeof(struct stat));
regress/lib/libc/sys/t_stat.c
126
(void)memset(&sb, 0, sizeof(struct stat));
regress/lib/libc/sys/t_stat.c
128
ATF_REQUIRE(stat(ftse->fts_parent->fts_path,&sa) == 0);
regress/lib/libc/sys/t_stat.c
130
ATF_REQUIRE(stat(".", &sb) == 0);
regress/lib/libc/sys/t_stat.c
165
struct stat st;
regress/lib/libc/sys/t_stat.c
173
ATF_REQUIRE_ERRNO(ENAMETOOLONG, stat(buf, &st) == -1);
regress/lib/libc/sys/t_stat.c
179
ATF_REQUIRE_ERRNO(EFAULT, stat((void *)-1, &st) == -1);
regress/lib/libc/sys/t_stat.c
185
ATF_REQUIRE_ERRNO(EFAULT, stat("/etc/passwd", (void *)-1) == -1);
regress/lib/libc/sys/t_stat.c
191
ATF_REQUIRE_ERRNO(ENOENT, stat("/a/b/c/d/e/f/g/h/i/j/k", &st) == -1);
regress/lib/libc/sys/t_stat.c
205
struct stat sa, sb;
regress/lib/libc/sys/t_stat.c
211
(void)memset(&sa, 0, sizeof(struct stat));
regress/lib/libc/sys/t_stat.c
212
(void)memset(&sb, 0, sizeof(struct stat));
regress/lib/libc/sys/t_stat.c
218
ATF_REQUIRE(stat(path, &sa) == 0);
regress/lib/libc/sys/t_stat.c
223
ATF_REQUIRE(stat(path, &sb) == 0);
regress/lib/libc/sys/t_stat.c
247
struct stat sa, sb;
regress/lib/libc/sys/t_stat.c
252
(void)memset(&sa, 0, sizeof(struct stat));
regress/lib/libc/sys/t_stat.c
253
(void)memset(&sb, 0, sizeof(struct stat));
regress/lib/libc/sys/t_stat.c
262
ATF_REQUIRE(stat(path, &sb) == 0);
regress/lib/libc/sys/t_stat.c
287
struct stat sa, sb, sc;
regress/lib/libc/sys/t_stat.c
297
(void)memset(&sa, 0, sizeof(struct stat));
regress/lib/libc/sys/t_stat.c
298
(void)memset(&sb, 0, sizeof(struct stat));
regress/lib/libc/sys/t_stat.c
299
(void)memset(&sc, 0, sizeof(struct stat));
regress/lib/libc/sys/t_stat.c
304
ATF_REQUIRE(stat(path, &sc) == 0);
regress/lib/libc/sys/t_stat.c
332
struct stat st;
regress/lib/libc/sys/t_stat.c
336
(void)memset(&st, 0, sizeof(struct stat));
regress/lib/libc/sys/t_stat.c
375
struct stat sa, sb;
regress/lib/libc/sys/t_stat.c
378
(void)memset(&sa, 0, sizeof(struct stat));
regress/lib/libc/sys/t_stat.c
379
(void)memset(&sb, 0, sizeof(struct stat));
regress/lib/libc/sys/t_stat.c
385
ATF_REQUIRE(stat(pathlink, &sa) == 0);
regress/lib/libc/sys/t_stat.c
62
struct stat sa, sb;
regress/lib/libc/sys/t_stat.c
65
(void)memset(&sa, 0, sizeof(struct stat));
regress/lib/libc/sys/t_stat.c
66
(void)memset(&sb, 0, sizeof(struct stat));
regress/lib/libc/sys/t_stat.c
71
ATF_REQUIRE(stat(path, &sa) == 0);
regress/lib/libc/sys/t_stat.c
73
ATF_REQUIRE(stat(path, &sb) == 0);
regress/lib/libc/sys/t_stat.c
96
struct stat sa, sb;
regress/lib/libc/sys/t_truncate.c
116
struct stat st;
regress/lib/libc/sys/t_truncate.c
125
(void)memset(&st, 0, sizeof(struct stat));
regress/lib/libc/sys/t_truncate.c
56
struct stat st;
regress/lib/libc/sys/t_truncate.c
65
(void)memset(&st, 0, sizeof(struct stat));
regress/lib/libc/sys/t_umask.c
120
struct stat st;
regress/lib/libc/sys/t_umask.c
134
(void)memset(&st, 0, sizeof(struct stat));
regress/lib/libc/sys/t_umask.c
136
if (stat(path, &st) != 0) {
regress/lib/libc/time/time_conversion/timetest.c
1827
struct stat sb;
regress/lib/libc/time/time_conversion/timetest.c
1830
if (stat("/usr/share/zoneinfo/posix", &sb) == -1 ||
regress/lib/libc/time/time_conversion/timetest.c
1831
stat("/usr/share/zoneinfo/right", &sb) == -1) {
regress/lib/libcrypto/x509/bettertls/verify.c
210
struct stat sb;
regress/lib/libcrypto/x509/bettertls/verify.c
215
if (stat(cert_file, &sb) == -1)
regress/lib/libcrypto/x509/bettertls/verify.c
217
if (stat(bundle_file, &sb) == -1)
regress/lib/libpthread/blocked_fifo/blocked_fifo.c
92
struct stat st;
regress/lib/libpthread/stdio/stdio.c
51
struct stat statbuf;
regress/lib/libpthread/stdio/stdio.c
55
CHECKe(stat(fullname, &statbuf));
regress/lib/libtls/keypair/keypairtest.c
39
struct stat sb;
regress/lib/libtls/signer/signertest.c
59
struct stat sb;
regress/lib/libutil/fmt_scaled/fmt_test.c
30
__dead static void usage(int stat)
regress/lib/libutil/fmt_scaled/fmt_test.c
33
exit(stat);
regress/lib/libz/minigzip.c
314
struct stat sb;
regress/sbin/isakmpd/x509/x509test.c
73
struct stat st;
regress/sbin/isakmpd/x509/x509test.c
76
if (stat (name, &st) == -1)
regress/sys/ffs/fstest.c
204
show_stat(struct stat *sp, const char *what)
regress/sys/ffs/fstest.c
262
show_stats(struct stat *sp, char *what)
regress/sys/ffs/fstest.c
278
struct stat sb;
regress/sys/ffs/fstest.c
397
rval = stat(STR(0), &sb);
regress/sys/kern/pledge/open/open.c
38
struct stat sb;
regress/sys/kern/pledge/sendrecvfd/sendrecvfd.c
88
struct stat sb;
regress/sys/kern/ptmget/ptmget.c
26
struct stat sb;
regress/sys/kern/ptmget/ptmget.c
48
if ((stat(ptm.sn, &sb) == -1))
regress/sys/kern/realpath/realpath3.c
62
struct stat sb;
regress/sys/kern/realpath/realpath3.c
77
if (stat(path, &sb) == -1)
regress/sys/kern/unveil/syscalls.c
272
struct stat sb;
regress/sys/kern/unveil/syscalls.c
551
struct stat sb;
regress/sys/kern/unveil/syscalls.c
554
UV_SHOULD_SUCCEED((stat(uv_file1, &sb) == -1), "stat");
regress/sys/kern/unveil/syscalls.c
555
UV_SHOULD_ENOENT((stat(uv_file2, &sb) == -1), "stat");
regress/sys/kern/unveil/syscalls.c
556
UV_SHOULD_SUCCEED((stat(uv_dir1, &sb) == -1), "stat");
regress/sys/kern/unveil/syscalls.c
557
UV_SHOULD_ENOENT((stat(uv_dir2, &sb) == -1), "stat");
regress/sys/kern/unveil/syscalls.c
558
UV_SHOULD_ENOENT((stat("/", &sb) == -1), "stat");
regress/sys/kern/unveil/syscalls.c
571
struct stat sb;
regress/sys/kern/unveil/syscalls.c
574
UV_SHOULD_ENOENT((stat("/", &sb) == -1), "stat");
regress/sys/kern/unveil/syscalls.c
575
UV_SHOULD_ENOENT((stat("/usr", &sb) == -1), "stat");
regress/sys/kern/unveil/syscalls.c
576
UV_SHOULD_ENOENT((stat("/usr/share", &sb) == -1), "stat");
regress/sys/kern/unveil/syscalls.c
577
UV_SHOULD_ENOENT((stat("/usr/share/man", &sb) == -1), "stat");
regress/sys/kern/unveil/syscalls.c
578
UV_SHOULD_ENOENT((stat("/usr/share/man/nonexistent", &sb) == -1), "stat");
regress/sys/kern/unveil/syscalls.c
613
struct stat sb;
regress/sys/kern/unveil/syscalls.c
818
struct stat sb;
regress/sys/kern/unveil/syscalls.c
881
struct stat st;
regress/sys/kern/unveil/syscalls.c
891
UV_SHOULD_SUCCEED((stat("/usr/bin", &st) == -1), "stat");
regress/sys/kern/unveil/syscalls.c
898
struct stat st;
regress/sys/kern/unveil/syscalls.c
909
UV_SHOULD_ENOENT((stat("/usr/bin", &st) == -1), "stat");
regress/usr.bin/mandoc/db/makeinodes/makeinodes.c
29
struct stat sb1, sb2;
sbin/badsect/badsect.c
79
struct stat stbuf, devstat;
sbin/badsect/badsect.c
89
if (chdir(argv[1]) == -1 || stat(".", &stbuf) == -1)
sbin/badsect/badsect.c
99
if (stat(name, &devstat) == -1)
sbin/bioctl/bioctl.c
1002
struct stat sb;
sbin/bioctl/bioctl.c
1320
struct stat sb;
sbin/bioctl/bioctl.c
686
struct stat sb;
sbin/bioctl/bioctl.c
690
if (stat(arg, &sb) == -1) {
sbin/bioctl/bioctl.c
835
struct stat sb;
sbin/dhcp6leased/parse.y
525
struct stat st;
sbin/dhcpleased/parse.y
653
struct stat st;
sbin/dump/main.c
237
struct stat sb;
sbin/dump/tape.c
362
struct stat sb;
sbin/dump/traverse.c
236
struct stat sb;
sbin/dump/traverse.c
245
if (stat(path, &sb) == -1) {
sbin/fdisk/disk.c
47
struct stat st;
sbin/fsck/fsutil.c
163
struct stat stb;
sbin/fsck/fsutil.c
167
if (stat(name, &stb) == -1)
sbin/fsck/fsutil.c
196
struct stat stblock, stchar;
sbin/fsck/fsutil.c
204
if (stat(newname, &stblock) == -1)
sbin/fsck/fsutil.c
215
if (stat(raw, &stchar) == -1) {
sbin/fsck/fsutil.c
56
struct stat stslash;
sbin/fsck/fsutil.c
61
if (stat("/", &stslash) == -1) {
sbin/fsck_ext2fs/setup.c
73
struct stat statb;
sbin/fsck_ffs/setup.c
86
struct stat statb;
sbin/growfs/growfs.c
1705
struct stat st;
sbin/iked/parse.y
1924
struct stat st;
sbin/iked/parse.y
2190
struct stat sb;
sbin/ipsecctl/ike.c
890
struct stat sb;
sbin/ipsecctl/ipsecctl.c
141
struct stat st;
sbin/ipsecctl/parse.y
1359
struct stat st;
sbin/ipsecctl/parse.y
1610
struct stat sb;
sbin/isakmpd/ike_auth.c
186
struct stat sb;
sbin/isakmpd/log.c
390
struct stat st;
sbin/isakmpd/monitor.c
284
monitor_stat(const char *path, struct stat *sb)
sbin/isakmpd/monitor.c
829
struct stat sb;
sbin/isakmpd/monitor.h
56
int monitor_stat(const char *, struct stat *);
sbin/isakmpd/policy.c
2120
struct stat sb;
sbin/isakmpd/ui.c
77
struct stat st;
sbin/isakmpd/util.c
531
struct stat st;
sbin/isakmpd/x509.c
615
struct stat sb;
sbin/isakmpd/x509.c
699
struct stat sb;
sbin/mount_msdos/mount_msdos.c
120
if (stat(dir, &sb) == -1)
sbin/mount_msdos/mount_msdos.c
66
struct stat sb;
sbin/mount_nfs/mount_nfs.c
137
u_long stat;
sbin/mount_nfs/mount_nfs.c
433
nfhret.stat = EACCES; /* Mark not yet successful */
sbin/mount_nfs/mount_nfs.c
507
if (nfhret.stat) {
sbin/mount_nfs/mount_nfs.c
510
warnc(nfhret.stat, "can't access %s", spec);
sbin/mount_nfs/mount_nfs.c
537
if (!xdr_u_long(xdrsp, &np->stat))
sbin/mount_nfs/mount_nfs.c
539
if (np->stat)
sbin/mount_nfs/mount_nfs.c
565
np->stat = EAUTH;
sbin/mount_ntfs/mount_ntfs.c
118
if (stat(dir, &sb) == -1)
sbin/mount_ntfs/mount_ntfs.c
66
struct stat sb;
sbin/mount_tmpfs/mount_tmpfs.c
148
if (stat(canon_dir, &sb) == -1)
sbin/mount_tmpfs/mount_tmpfs.c
85
struct stat sb;
sbin/mountd/mountd.c
2405
struct stat sb;
sbin/mountd/mountd.c
758
struct stat stb;
sbin/mountd/mountd.c
798
} else if (stat(dirpath, &stb) == -1 ||
sbin/ncheck_ffs/ncheck_ffs.c
506
struct stat stblock;
sbin/ncheck_ffs/ncheck_ffs.c
574
if (stat(disk, &stblock) == -1)
sbin/newfs/newfs.c
174
struct stat st;
sbin/newfs/newfs.c
183
struct stat mountpoint;
sbin/newfs/newfs.c
501
if (stat(node, &mountpoint) == -1)
sbin/newfs/newfs.c
743
struct stat st;
sbin/newfs/newfs.c
745
if (stat(path, &st) != 0)
sbin/newfs_ext2fs/newfs_ext2fs.c
116
struct stat sb;
sbin/newfs_ext2fs/newfs_ext2fs.c
467
struct stat st;
sbin/newfs_msdos/newfs_msdos.c
237
struct stat sb;
sbin/pdisk/pdisk.c
75
struct stat st;
sbin/pfctl/parse.y
5914
struct stat st;
sbin/pfctl/pfctl.c
2220
struct stat st;
sbin/pflogd/pflogd.c
332
struct stat st;
sbin/restore/interactive.c
734
glob_stat(const char *name, struct stat *stp)
sbin/restore/interactive.c
84
static int glob_stat(const char *, struct stat *);
sbin/restore/symtab.c
525
struct stat stbuf;
sbin/restore/tape.c
195
struct stat stbuf;
sbin/restore/tape.c
239
if (stat(".", &stbuf) == -1)
sbin/savecore/compress.h
65
extern int z_close(void *, struct z_info *, const char *, struct stat *);
sbin/savecore/compress.h
71
extern int gz_close(void *, struct z_info *, const char *, struct stat *);
sbin/savecore/compress.h
83
extern int null_close(void *, struct z_info *, const char *, struct stat *);
sbin/savecore/compress.h
86
extern void setfile(const char *, int, struct stat *);
sbin/savecore/savecore.c
622
struct stat st;
sbin/savecore/savecore.c
628
if (stat(tkernel, &st) == -1) {
sbin/savecore/zopen.c
309
z_close(void *cookie, struct z_info *info, const char *name, struct stat *sb)
sbin/swapctl/swapctl.c
334
struct stat st;
sbin/swapctl/swapctl.c
422
if (stat(spec, &st) == -1) {
sbin/umount/umount.c
153
struct stat sb;
sbin/umount/umount.c
164
if (stat(name, &sb) == 0) {
sbin/unwind/parse.y
717
struct stat st;
sys/arch/alpha/stand/boot/boot.c
72
struct stat sb;
sys/arch/alpha/stand/installboot.c
159
if (stat(boot, &bootsb) == -1)
sys/arch/alpha/stand/installboot.c
242
struct stat statbuf;
sys/arch/alpha/stand/installboot.c
321
struct stat statbuf;
sys/arch/alpha/stand/installboot.c
97
struct stat disksb, bootsb;
sys/arch/alpha/stand/setnetbootinfo/setnetbootinfo.c
73
struct stat sb;
sys/arch/amd64/isa/clock.c
191
u_int stat = 0;
sys/arch/amd64/isa/clock.c
198
stat = 1;
sys/arch/amd64/isa/clock.c
200
if (stat)
sys/arch/amd64/isa/clock.c
203
return (stat);
sys/arch/amd64/stand/efiboot/efidev.c
896
esp_stat(struct open_file *f, struct stat *sb)
sys/arch/amd64/stand/efiboot/efidev.h
45
int esp_stat(struct open_file *, struct stat *);
sys/arch/amd64/stand/efiboot/efipxe.c
240
tftp_stat(struct open_file *f, struct stat *sb)
sys/arch/amd64/stand/efiboot/exec_i386.c
175
struct stat sb;
sys/arch/amd64/stand/libsa/exec_i386.c
197
struct stat sb;
sys/arch/amd64/stand/rdboot/cmd.c
104
struct stat sb;
sys/arch/amd64/stand/rdboot/cmd.c
374
struct stat sb;
sys/arch/amd64/stand/rdboot/cmd.c
384
if (stat(path, &sb) < 0) {
sys/arch/amd64/stand/rdboot/cmd.c
432
ls(const char *name, struct stat *sb)
sys/arch/amd64/stand/rdboot/cmd.c
505
struct stat sb;
sys/arch/amd64/stand/rdboot/cmd.c
512
if (stat(path, &sb) == 0 && S_ISREG(sb.st_mode)) {
sys/arch/amd64/stand/rdboot/cmd.c
82
static void ls(const char *, struct stat *);
sys/arch/amd64/stand/rdboot/disk.c
132
struct stat st;
sys/arch/amd64/stand/rdboot/disk.c
143
if (stat(path, &st) == -1 || !S_ISDIR(st.st_mode)) {
sys/arch/amd64/stand/rdboot/rdboot.c
122
struct stat sb;
sys/arch/amd64/stand/rdboot/rdboot.c
169
struct stat sb;
sys/arch/arm64/dev/apldc.c
167
uint32_t stat, pending;
sys/arch/arm64/dev/apldc.c
170
stat = HREAD4(sc, DC_IRQ_STAT);
sys/arch/arm64/dev/apldc.c
172
pending = stat;
sys/arch/arm64/dev/apldc.c
186
HWRITE4(sc, DC_IRQ_STAT, stat);
sys/arch/arm64/dev/aplns.c
451
uint32_t stat;
sys/arch/arm64/dev/aplns.c
460
stat = nvme_read4(sc, ANS_NVMMU_TCB_STAT);
sys/arch/arm64/dev/aplns.c
461
if (stat != 0) {
sys/arch/arm64/dev/aplns.c
463
DEVNAME(sc), stat);
sys/arch/arm64/dev/aplpcie.c
447
uint32_t stat;
sys/arch/arm64/dev/aplpcie.c
481
stat = PREAD4(sc, port, PCIE_PORT_LINK_STAT);
sys/arch/arm64/dev/aplpcie.c
482
if (stat & PCIE_PORT_LINK_STAT_UP)
sys/arch/arm64/dev/aplpcie.c
507
stat = LREAD4(sc, port, PCIE_PHY_LANE_CONF);
sys/arch/arm64/dev/aplpcie.c
508
if (stat & PCIE_PHY_LANE_CONF_REFCLK0ACK)
sys/arch/arm64/dev/aplpcie.c
514
stat = LREAD4(sc, port, PCIE_PHY_LANE_CONF);
sys/arch/arm64/dev/aplpcie.c
515
if (stat & PCIE_PHY_LANE_CONF_REFCLK1ACK)
sys/arch/arm64/dev/aplpcie.c
540
stat = PREAD4(sc, port, PCIE_PORT_STAT);
sys/arch/arm64/dev/aplpcie.c
541
if (stat & PCIE_PORT_STAT_READY)
sys/arch/arm64/dev/aplpcie.c
545
if ((stat & PCIE_PORT_STAT_READY) == 0)
sys/arch/arm64/dev/aplpcie.c
554
stat = PREAD4(sc, port, PCIE_PORT_LINK_STAT);
sys/arch/arm64/dev/aplpcie.c
555
if (stat & PCIE_PORT_LINK_STAT_UP)
sys/arch/arm64/dev/aplpcie.c
568
uint32_t stat;
sys/arch/arm64/dev/aplpcie.c
606
stat = PREAD4(sc, port, PCIE_PORT_LINK_STAT);
sys/arch/arm64/dev/aplpcie.c
607
if (stat & PCIE_PORT_LINK_STAT_UP)
sys/arch/arm64/dev/aplpcie.c
631
stat = LREAD4(sc, port, PCIE_PHY_LANE_CONF);
sys/arch/arm64/dev/aplpcie.c
632
if (stat & PCIE_PHY_LANE_CONF_REFCLK0ACK)
sys/arch/arm64/dev/aplpcie.c
638
stat = LREAD4(sc, port, PCIE_PHY_LANE_CONF);
sys/arch/arm64/dev/aplpcie.c
639
if (stat & PCIE_PHY_LANE_CONF_REFCLK1ACK)
sys/arch/arm64/dev/aplpcie.c
662
stat = PREAD4(sc, port, PCIE_PORT_STAT);
sys/arch/arm64/dev/aplpcie.c
663
if (stat & PCIE_PORT_STAT_READY)
sys/arch/arm64/dev/aplpcie.c
667
if ((stat & PCIE_PORT_STAT_READY) == 0)
sys/arch/arm64/dev/aplpcie.c
677
stat = PREAD4(sc, port, PCIE_PORT_LINK_STAT);
sys/arch/arm64/dev/aplpcie.c
678
if (stat & PCIE_PORT_LINK_STAT_UP)
sys/arch/arm64/stand/efiboot/efiboot.c
1218
struct stat sb;
sys/arch/arm64/stand/efiboot/efidev.c
688
esp_stat(struct open_file *f, struct stat *sb)
sys/arch/arm64/stand/efiboot/efidev.h
43
int esp_stat(struct open_file *, struct stat *);
sys/arch/arm64/stand/efiboot/efipxe.c
267
mtftp_stat(struct open_file *f, struct stat *sb)
sys/arch/arm64/stand/efiboot/efipxe.h
27
int mtftp_stat(struct open_file *, struct stat *);
sys/arch/armv7/omap/if_cpsw.c
1243
uint32_t stat;
sys/arch/armv7/omap/if_cpsw.c
1255
stat = bus_space_read_4(sc->sc_bst, sc->sc_bsh, CPSW_CPDMA_DMASTATUS);
sys/arch/armv7/omap/if_cpsw.c
1256
printf("CPSW_CPDMA_DMASTATUS %x\n", stat);
sys/arch/armv7/omap/if_cpsw.c
1257
stat = bus_space_read_4(sc->sc_bst, sc->sc_bsh, CPSW_CPDMA_TX_HDP(0));
sys/arch/armv7/omap/if_cpsw.c
1258
printf("CPSW_CPDMA_TX0_HDP %x\n", stat);
sys/arch/armv7/omap/if_cpsw.c
1259
stat = bus_space_read_4(sc->sc_bst, sc->sc_bsh, CPSW_CPDMA_TX_CP(0));
sys/arch/armv7/omap/if_cpsw.c
1260
printf("CPSW_CPDMA_TX0_CP %x\n", stat);
sys/arch/armv7/omap/if_cpsw.c
1261
stat = bus_space_read_4(sc->sc_bst, sc->sc_bsh, CPSW_CPDMA_RX_HDP(0));
sys/arch/armv7/omap/if_cpsw.c
1262
printf("CPSW_CPDMA_RX0_HDP %x\n", stat);
sys/arch/armv7/omap/if_cpsw.c
1263
stat = bus_space_read_4(sc->sc_bst, sc->sc_bsh, CPSW_CPDMA_RX_CP(0));
sys/arch/armv7/omap/if_cpsw.c
1264
printf("CPSW_CPDMA_RX0_CP %x\n", stat);
sys/arch/armv7/omap/ti_iic.c
223
uint32_t stat;
sys/arch/armv7/omap/ti_iic.c
226
stat = I2C_READ_REG(sc, AM335X_I2C_IRQSTATUS);
sys/arch/armv7/omap/ti_iic.c
227
I2C_WRITE_REG(sc, AM335X_I2C_IRQSTATUS, stat);
sys/arch/armv7/omap/ti_iic.c
230
ti_iic_handle_intr(sc, stat);
sys/arch/armv7/omap/ti_iic.c
237
DPRINTF(("ti_iic_intr status 0x%x\n", stat));
sys/arch/armv7/omap/ti_iic.c
361
uint16_t con, stat, mask;
sys/arch/armv7/omap/ti_iic.c
431
stat = ti_iic_stat(sc, mask);
sys/arch/armv7/omap/ti_iic.c
432
DPRINTF(("ti_iic_op stat 0x%x\n", stat));
sys/arch/armv7/omap/ti_iic.c
433
if (stat == 0) /* timeout */
sys/arch/armv7/omap/ti_iic.c
436
ti_iic_handle_intr(sc, stat);
sys/arch/armv7/omap/ti_iic.c
437
I2C_WRITE_REG(sc, AM335X_I2C_IRQSTATUS, stat);
sys/arch/armv7/omap/ti_iic.c
453
ti_iic_handle_intr(struct ti_iic_softc *sc, uint32_t stat)
sys/arch/armv7/omap/ti_iic.c
455
KASSERT(stat != 0);
sys/arch/armv7/omap/ti_iic.c
456
DPRINTF(("ti_iic_handle_intr stat %#x\n", stat));
sys/arch/armv7/omap/ti_iic.c
458
if (stat & (I2C_IRQSTATUS_NACK|I2C_IRQSTATUS_AL)) {
sys/arch/armv7/omap/ti_iic.c
462
if (stat & I2C_IRQSTATUS_ARDY) {
sys/arch/armv7/omap/ti_iic.c
467
ti_iic_do_read(sc, stat);
sys/arch/armv7/omap/ti_iic.c
469
ti_iic_do_write(sc, stat);
sys/arch/armv7/omap/ti_iic.c
474
ti_iic_do_read(struct ti_iic_softc *sc, uint32_t stat)
sys/arch/armv7/omap/ti_iic.c
478
DPRINTF(("ti_iic_do_read stat %#x\n", stat));
sys/arch/armv7/omap/ti_iic.c
479
if (stat & I2C_IRQSTATUS_RDR) {
sys/arch/armv7/omap/ti_iic.c
484
} else if (stat & I2C_IRQSTATUS_RRDY) {
sys/arch/armv7/omap/ti_iic.c
500
ti_iic_do_write(struct ti_iic_softc *sc, uint32_t stat)
sys/arch/armv7/omap/ti_iic.c
504
DPRINTF(("ti_iic_do_write stat %#x\n", stat));
sys/arch/armv7/omap/ti_iic.c
506
if (stat & I2C_IRQSTATUS_XDR) {
sys/arch/armv7/omap/ti_iic.c
511
} else if (stat & I2C_IRQSTATUS_XRDY) {
sys/arch/armv7/stand/efiboot/efiboot.c
1016
struct stat sb;
sys/arch/armv7/stand/efiboot/efipxe.c
267
mtftp_stat(struct open_file *f, struct stat *sb)
sys/arch/armv7/stand/efiboot/efipxe.h
27
int mtftp_stat(struct open_file *, struct stat *);
sys/arch/hppa/gsc/gsckbc.c
458
u_char stat;
sys/arch/hppa/gsc/gsckbc.c
462
stat = bus_space_read_1(iot, ioh, KBSTATP);
sys/arch/hppa/gsc/gsckbc.c
463
if (stat & KBS_DIB) {
sys/arch/hppa/hppa/trap.c
305
u_int32_t stat = HPPA_FPU_OP(*pex);
sys/arch/hppa/hppa/trap.c
306
if (stat & HPPA_FPU_UNMPL)
sys/arch/hppa/hppa/trap.c
308
else if (stat & (HPPA_FPU_V << 1))
sys/arch/hppa/hppa/trap.c
310
else if (stat & (HPPA_FPU_Z << 1))
sys/arch/hppa/hppa/trap.c
312
else if (stat & (HPPA_FPU_I << 1))
sys/arch/hppa/hppa/trap.c
314
else if (stat & (HPPA_FPU_O << 1))
sys/arch/hppa/hppa/trap.c
316
else if (stat & (HPPA_FPU_U << 1))
sys/arch/hppa/include/pdc.h
497
u_int stat; /* HPA.io_status style error returns */
sys/arch/hppa/stand/libsa/libsa.h
68
int lif_stat(struct open_file *f, struct stat *sb);
sys/arch/hppa/stand/libsa/lif.c
234
struct stat *sb;
sys/arch/hppa/stand/mkboot/mkboot.c
353
struct stat statb;
sys/arch/hppa/stand/mkboot/mkboot.c
356
stat(file, &statb);
sys/arch/i386/isa/clock.c
216
u_int stat = 0;
sys/arch/i386/isa/clock.c
223
stat = 1;
sys/arch/i386/isa/clock.c
226
if (stathz != 0 && stat)
sys/arch/i386/isa/clock.c
229
return (stat);
sys/arch/i386/stand/libsa/exec_i386.c
163
struct stat sb;
sys/arch/landisk/stand/xxboot/boot1.c
67
struct stat sb;
sys/arch/landisk/stand/xxboot/ufs12.c
752
ufs12_stat(struct open_file *f, struct stat *sb)
sys/arch/landisk/stand/xxboot/ufs12.h
42
int ufs12_stat(struct open_file *f, struct stat *sb);
sys/arch/loongson/stand/boot/libsa.h
63
int rdfs_stat(struct open_file *f, struct stat *sb);
sys/arch/loongson/stand/boot/rd.c
130
rdfs_stat(struct open_file *f, struct stat *sb)
sys/arch/luna88k/dev/siotty.c
260
uint8_t stat;
sys/arch/luna88k/dev/siotty.c
273
stat = get[1];
sys/arch/luna88k/dev/siotty.c
274
if ((stat & RR_FRAMING) != 0)
sys/arch/luna88k/dev/siotty.c
276
else if ((stat & RR_PARITY) != 0)
sys/arch/luna88k/stand/boot/lance.c
191
uint16_t stat;
sys/arch/luna88k/stand/boot/lance.c
195
stat = lereg->ler_rdp;
sys/arch/luna88k/stand/boot/lance.c
197
stat & (LE_C0_BABL | LE_C0_CERR | LE_C0_MISS | LE_C0_TINT);
sys/arch/luna88k/stand/boot/lance.c
199
if (stat & (LE_C0_BABL | LE_C0_CERR | LE_C0_MISS | LE_C0_MERR))
sys/arch/luna88k/stand/boot/lance.c
201
__func__, stat);
sys/arch/luna88k/stand/boot/lance.c
222
stat = lereg->ler_rdp;
sys/arch/luna88k/stand/boot/lance.c
224
if (stat & LE_C0_ERR) {
sys/arch/luna88k/stand/boot/lance.c
225
printf("%s: TX error (CSR0=%x)\n", __func__, stat);
sys/arch/luna88k/stand/boot/lance.c
226
if (stat & LE_C0_CERR) {
sys/arch/luna88k/stand/boot/lance.c
232
printf("%s: TX timeout (CSR0=%x)\n", __func__, stat);
sys/arch/luna88k/stand/boot/lance.c
235
} while ((stat & LE_C0_TINT) == 0);
sys/arch/luna88k/stand/boot/sd.c
311
int stat;
sys/arch/luna88k/stand/boot/sd.c
338
stat = scsi_immed_command(&sc->sc_sc, target, sc->sc_punit, cdb, buf,
sys/arch/macppc/dev/if_bm.c
471
int stat;
sys/arch/macppc/dev/if_bm.c
476
stat = bmac_read_reg(sc, STATUS);
sys/arch/macppc/dev/if_bm.c
477
if (stat == 0)
sys/arch/macppc/dev/if_bm.c
481
printf("bmac_intr status = 0x%x\n", stat);
sys/arch/macppc/dev/if_bm.c
484
if (stat & IntFrameSent) {
sys/arch/macppc/stand/hfs.c
103
hfs_stat(struct open_file *f, struct stat *sb)
sys/arch/macppc/stand/hfs.h
9
int hfs_stat(struct open_file *, struct stat *);
sys/arch/octeon/dev/octiic.c
422
uint8_t ctl, stat;
sys/arch/octeon/dev/octiic.c
431
octiic_reg_read(sc, TWSI_IA_STAT, &stat);
sys/arch/octeon/dev/octiic.c
432
if (stat != nstate)
sys/arch/octeon/stand/rdboot/cmd.c
100
struct stat sb;
sys/arch/octeon/stand/rdboot/cmd.c
370
struct stat sb;
sys/arch/octeon/stand/rdboot/cmd.c
380
if (stat(path, &sb) < 0) {
sys/arch/octeon/stand/rdboot/cmd.c
428
ls(const char *name, struct stat *sb)
sys/arch/octeon/stand/rdboot/cmd.c
507
struct stat sb;
sys/arch/octeon/stand/rdboot/cmd.c
514
if (stat(path, &sb) == 0 && S_ISREG(sb.st_mode)) {
sys/arch/octeon/stand/rdboot/cmd.c
78
static void ls(const char *, struct stat *);
sys/arch/octeon/stand/rdboot/disk.c
117
struct stat st;
sys/arch/octeon/stand/rdboot/disk.c
128
if (stat(path, &st) == -1 || !S_ISDIR(st.st_mode)) {
sys/arch/octeon/stand/rdboot/rdboot.c
123
struct stat sb;
sys/arch/octeon/stand/rdboot/rdboot.c
170
struct stat sb;
sys/arch/powerpc64/stand/rdboot/cmd.c
368
struct stat sb;
sys/arch/powerpc64/stand/rdboot/cmd.c
378
if (stat(path, &sb) < 0) {
sys/arch/powerpc64/stand/rdboot/cmd.c
426
ls(const char *name, struct stat *sb)
sys/arch/powerpc64/stand/rdboot/cmd.c
499
struct stat sb;
sys/arch/powerpc64/stand/rdboot/cmd.c
506
if (stat(path, &sb) == 0 && S_ISREG(sb.st_mode)) {
sys/arch/powerpc64/stand/rdboot/cmd.c
76
static void ls(const char *, struct stat *);
sys/arch/powerpc64/stand/rdboot/cmd.c
98
struct stat sb;
sys/arch/powerpc64/stand/rdboot/disk.c
132
struct stat st;
sys/arch/powerpc64/stand/rdboot/disk.c
143
if (stat(path, &st) == -1 || !S_ISDIR(st.st_mode)) {
sys/arch/powerpc64/stand/rdboot/rdboot.c
121
struct stat sb;
sys/arch/powerpc64/stand/rdboot/rdboot.c
168
struct stat sb;
sys/arch/riscv64/dev/sfuart.c
334
int stat;
sys/arch/riscv64/dev/sfuart.c
349
stat = HREAD4(sc, UART_TXDATA);
sys/arch/riscv64/dev/sfuart.c
350
while ((stat & UART_TXDATA_FULL) == 0 && tp->t_outq.c_cc != 0) {
sys/arch/riscv64/dev/sfuart.c
352
stat = HREAD4(sc, UART_TXDATA);
sys/arch/riscv64/dev/stfrng.c
122
uint32_t stat, istat;
sys/arch/riscv64/dev/stfrng.c
124
stat = HREAD4(sc, RNG_STAT);
sys/arch/riscv64/dev/stfrng.c
125
if (stat & RNG_STAT_SEEDED) {
sys/arch/riscv64/stand/efiboot/efiboot.c
997
struct stat sb;
sys/arch/riscv64/stand/efiboot/efipxe.c
267
mtftp_stat(struct open_file *f, struct stat *sb)
sys/arch/riscv64/stand/efiboot/efipxe.h
27
int mtftp_stat(struct open_file *, struct stat *);
sys/arch/sparc64/dev/comkbd_ebus.c
424
u_int8_t stat, c;
sys/arch/sparc64/dev/comkbd_ebus.c
438
stat = COM_READ(sc,com_lsr);
sys/arch/sparc64/dev/comkbd_ebus.c
439
if (stat & LSR_RXRDY) {
sys/arch/sparc64/dev/comkbd_ebus.c
454
stat = COM_READ(sc, com_lsr);
sys/arch/sparc64/dev/comkbd_ebus.c
455
if (stat & LSR_RXRDY) {
sys/arch/sparc64/dev/comkbd_ebus.c
474
stat = COM_READ(sc, com_lsr);
sys/arch/sparc64/dev/comkbd_ebus.c
475
if (stat & LSR_RXRDY) {
sys/arch/sparc64/dev/sab.c
592
u_int8_t stat;
sys/arch/sparc64/dev/sab.c
595
stat = sc->sc_rget[1];
sys/arch/sparc64/dev/sab.c
597
if (stat & SAB_RSTAT_PE)
sys/arch/sparc64/dev/sab.c
599
if (stat & SAB_RSTAT_FE)
sys/arch/sparc64/stand/ofwboot/boot.c
258
struct stat st;
sys/arch/sparc64/stand/ofwboot/boot.c
284
struct stat sb;
sys/arch/sparc64/stand/ofwboot/boot.c
286
if (stat("/bsd.upgrade", &sb) < 0)
sys/arch/sparc64/stand/ofwboot/boot.c
298
struct stat sb;
sys/ddb/db_dwarf.c
453
struct stat st;
sys/dev/acpi/acpiec.c
101
while (((stat = acpiec_status(sc)) & mask) != val) {
sys/dev/acpi/acpiec.c
102
if (stat & EC_STAT_SCI_EVT)
sys/dev/acpi/acpiec.c
104
if (cold || (stat & EC_STAT_BURST) || tries++ < 300)
sys/dev/acpi/acpiec.c
110
dnprintf(40, "%s: EC wait_ns, stat: %b\n", DEVNAME(sc), (int)stat,
sys/dev/acpi/acpiec.c
365
uint8_t mask, stat, en;
sys/dev/acpi/acpiec.c
375
stat = acpiec_status(sc);
sys/dev/acpi/acpiec.c
377
DEVNAME(sc), (int)stat,
sys/dev/acpi/acpiec.c
380
if (stat & EC_STAT_SCI_EVT)
sys/dev/acpi/acpiec.c
95
uint8_t stat;
sys/dev/acpi/qcgpio.c
555
uint32_t stat;
sys/dev/acpi/qcgpio.c
563
stat = HREAD4(sc, off + TLMM_GPIO_INTR_STATUS(pin));
sys/dev/acpi/qcgpio.c
564
if (stat & TLMM_GPIO_INTR_STATUS_INTR_STATUS) {
sys/dev/acpi/qcgpio.c
569
stat & ~TLMM_GPIO_INTR_STATUS_INTR_STATUS);
sys/dev/acpi/qciic.c
190
uint32_t stat;
sys/dev/acpi/qciic.c
194
stat = HREAD4(sc, GENI_M_IRQ_STATUS);
sys/dev/acpi/qciic.c
195
if (stat & bits)
sys/dev/acpi/qciic.c
208
uint32_t stat, word;
sys/dev/acpi/qciic.c
215
stat = HREAD4(sc, GENI_RX_FIFO_STATUS);
sys/dev/acpi/qciic.c
216
if (GENI_RX_FIFO_STATUS_WC(stat) > 0)
sys/dev/acpi/qciic.c
233
uint32_t stat, word;
sys/dev/acpi/qciic.c
241
stat = HREAD4(sc, GENI_TX_FIFO_STATUS);
sys/dev/acpi/qciic.c
242
if (stat < 16)
sys/dev/acpi/qciic.c
261
uint32_t m_cmd, m_param, stat;
sys/dev/acpi/qciic.c
271
stat = HREAD4(sc, GENI_M_IRQ_STATUS);
sys/dev/acpi/qciic.c
272
HWRITE4(sc, GENI_M_IRQ_CLEAR, stat);
sys/dev/acpi/qciic.c
293
stat = HREAD4(sc, GENI_M_IRQ_STATUS);
sys/dev/acpi/qciic.c
294
HWRITE4(sc, GENI_M_IRQ_CLEAR, stat);
sys/dev/acpi/qciic.c
307
stat = HREAD4(sc, GENI_M_IRQ_STATUS);
sys/dev/acpi/qciic.c
308
HWRITE4(sc, GENI_M_IRQ_CLEAR, stat);
sys/dev/acpi/tipmic.c
204
uint8_t stat;
sys/dev/acpi/tipmic.c
206
stat = tipmic_read_1(sc, TIPMIC_INTR_STAT, I2C_F_POLL);
sys/dev/acpi/tipmic.c
207
tipmic_write_1(sc, TIPMIC_INTR_STAT, stat, I2C_F_POLL);
sys/dev/acpi/tipmic.c
208
if (stat & TIPMIC_INTR_STAT_ADC) {
sys/dev/fdt/amluart.c
201
u_int32_t stat;
sys/dev/fdt/amluart.c
208
stat = HREAD4(sc, UART_STATUS);
sys/dev/fdt/amluart.c
209
if (!ISSET(stat, UART_STATUS_TX_FIFO_FULL) &&
sys/dev/fdt/amluart.c
219
while (!ISSET(stat, UART_STATUS_RX_FIFO_EMPTY)) {
sys/dev/fdt/amluart.c
221
if (ISSET(stat, UART_STATUS_FRAME_ERROR))
sys/dev/fdt/amluart.c
223
if (ISSET(stat, UART_STATUS_PARITY_ERROR))
sys/dev/fdt/amluart.c
225
if (ISSET(stat, UART_STATUS_RX_FIFO_OVERFLOW))
sys/dev/fdt/amluart.c
233
if (stat & UART_STATUS_ERROR)
sys/dev/fdt/amluart.c
235
stat = HREAD4(sc, UART_STATUS);
sys/dev/fdt/amluart.c
342
int stat;
sys/dev/fdt/amluart.c
355
stat = HREAD4(sc, UART_STATUS);
sys/dev/fdt/amluart.c
356
while ((stat & UART_STATUS_TX_FIFO_FULL) == 0) {
sys/dev/fdt/amluart.c
358
stat = HREAD4(sc, UART_STATUS);
sys/dev/fdt/bcm2835_bsc.c
186
uint32_t stat;
sys/dev/fdt/bcm2835_bsc.c
190
stat = HREAD4(sc, BSC_S);
sys/dev/fdt/bcm2835_bsc.c
191
if ((stat & mask) == value)
sys/dev/fdt/bcm2835_bsc.c
193
if (stat & BSC_S_CLKT)
sys/dev/fdt/bcm2835_bsc.c
195
if (stat & BSC_S_ERR)
sys/dev/fdt/bcmstbgpio.c
235
uint32_t mask, stat;
sys/dev/fdt/bcmstbgpio.c
240
stat = HREAD4(sc, GIO_STAT(bank)) & mask;
sys/dev/fdt/bcmstbgpio.c
241
if (stat == 0)
sys/dev/fdt/bcmstbgpio.c
244
while (stat) {
sys/dev/fdt/bcmstbgpio.c
245
pin = ffs(stat) - 1;
sys/dev/fdt/bcmstbgpio.c
246
stat &= ~(1U << pin);
sys/dev/fdt/dwmmc.c
551
uint32_t stat;
sys/dev/fdt/dwmmc.c
554
stat = HREAD4(sc, SDMMC_IDSTS(sc));
sys/dev/fdt/dwmmc.c
555
if (stat) {
sys/dev/fdt/dwmmc.c
556
HWRITE4(sc, SDMMC_IDSTS(sc), stat);
sys/dev/fdt/dwmmc.c
557
sc->sc_idsts |= stat;
sys/dev/fdt/dwmmc.c
562
stat = HREAD4(sc, SDMMC_MINTSTS);
sys/dev/fdt/dwmmc.c
563
if (stat & SDMMC_RINTSTS_SDIO) {
sys/dev/fdt/mvtemp.c
245
mvtemp_ap806_calc_temp(uint32_t stat)
sys/dev/fdt/mvtemp.c
247
stat = ((stat & 0x3ff) ^ 0x200) - 0x200;
sys/dev/fdt/mvtemp.c
248
return (stat * 423000) + 150000000 + 273150000;
sys/dev/fdt/mvtemp.c
271
mvtemp_cp110_calc_temp(uint32_t stat)
sys/dev/fdt/mvtemp.c
273
return ((stat & 0x3ff) * 476100) - 279100000 + 273150000;
sys/dev/fdt/mvtemp.c
280
int32_t stat, temp;
sys/dev/fdt/mvtemp.c
282
stat = mvtemp_read(sc, REG_STAT);
sys/dev/fdt/mvtemp.c
283
temp = sc->sc_calc_temp(stat);
sys/dev/fdt/mvtemp.c
285
if ((stat & sc->sc_stat_valid) && temp >= 0)
sys/dev/fdt/mvuart.c
202
uint32_t stat;
sys/dev/fdt/mvuart.c
208
stat = HREAD4(sc, MVUART_STAT);
sys/dev/fdt/mvuart.c
210
if ((stat & MVUART_STAT_STD_RX_RDY) != 0)
sys/dev/fdt/mvuart.c
213
if ((stat & MVUART_STAT_STD_TX_RDY) != 0)
sys/dev/fdt/mvuart.c
222
uint32_t stat;
sys/dev/fdt/mvuart.c
227
stat = HREAD4(sc, MVUART_STAT);
sys/dev/fdt/mvuart.c
228
while ((stat & MVUART_STAT_STD_RX_RDY) != 0) {
sys/dev/fdt/mvuart.c
230
c |= (stat & MVUART_STAT_STD_ERROR_MASK) << 8;
sys/dev/fdt/mvuart.c
236
stat = HREAD4(sc, MVUART_STAT);
sys/dev/fdt/ociic.c
197
uint8_t stat;
sys/dev/fdt/ociic.c
201
stat = ociic_read(sc, I2C_SR);
sys/dev/fdt/ociic.c
202
if ((stat & I2C_SR_BUSY) == 0)
sys/dev/fdt/ociic.c
217
uint8_t stat;
sys/dev/fdt/ociic.c
221
stat = ociic_read(sc, I2C_SR);
sys/dev/fdt/ociic.c
222
if ((stat & I2C_SR_TIP) == 0)
sys/dev/fdt/ociic.c
224
if ((stat & I2C_SR_AL))
sys/dev/fdt/ociic.c
233
if (stat & I2C_SR_AL) {
sys/dev/fdt/ociic.c
237
if (ack && (stat & I2C_SR_RXNACK)) {
sys/dev/fdt/qcdpc.c
319
uint32_t val, stat;
sys/dev/fdt/qcdrm.c
150
uint32_t stat;
sys/dev/fdt/qcdrm.c
153
stat = bus_space_read_4(sc->sc_iot, sc->sc_ioh, MDSS_HW_INTR_STATUS);
sys/dev/fdt/qcdrm.c
156
if ((stat & (1U << bit)) == 0)
sys/dev/fdt/qcgpio_fdt.c
378
uint32_t stat;
sys/dev/fdt/qcgpio_fdt.c
392
stat = HREAD4(sc, TLMM_GPIO_INTR_STATUS(pin));
sys/dev/fdt/qcgpio_fdt.c
393
if (stat & TLMM_GPIO_INTR_STATUS_INTR_STATUS) {
sys/dev/fdt/qcgpio_fdt.c
398
stat & ~TLMM_GPIO_INTR_STATUS_INTR_STATUS);
sys/dev/fdt/qciic_fdt.c
145
uint32_t stat;
sys/dev/fdt/qciic_fdt.c
149
stat = HREAD4(sc, GENI_M_IRQ_STATUS);
sys/dev/fdt/qciic_fdt.c
150
if (stat & bits)
sys/dev/fdt/qciic_fdt.c
163
uint32_t stat, word;
sys/dev/fdt/qciic_fdt.c
170
stat = HREAD4(sc, GENI_RX_FIFO_STATUS);
sys/dev/fdt/qciic_fdt.c
171
if (GENI_RX_FIFO_STATUS_WC(stat) > 0)
sys/dev/fdt/qciic_fdt.c
188
uint32_t stat, word;
sys/dev/fdt/qciic_fdt.c
196
stat = HREAD4(sc, GENI_TX_FIFO_STATUS);
sys/dev/fdt/qciic_fdt.c
197
if (stat < 16)
sys/dev/fdt/qciic_fdt.c
216
uint32_t m_cmd, m_param, stat;
sys/dev/fdt/qciic_fdt.c
226
stat = HREAD4(sc, GENI_M_IRQ_STATUS);
sys/dev/fdt/qciic_fdt.c
227
HWRITE4(sc, GENI_M_IRQ_CLEAR, stat);
sys/dev/fdt/qciic_fdt.c
248
stat = HREAD4(sc, GENI_M_IRQ_STATUS);
sys/dev/fdt/qciic_fdt.c
249
HWRITE4(sc, GENI_M_IRQ_CLEAR, stat);
sys/dev/fdt/qciic_fdt.c
262
stat = HREAD4(sc, GENI_M_IRQ_STATUS);
sys/dev/fdt/qciic_fdt.c
263
HWRITE4(sc, GENI_M_IRQ_CLEAR, stat);
sys/dev/fdt/rkcomphy.c
282
int stat, timo;
sys/dev/fdt/rkcomphy.c
396
stat = regmap_read_4(phy_rm,
sys/dev/fdt/rkcomphy.c
398
if ((stat & PIPE_PHY_GRF_PIPE_PHYSTATUS) == 0)
sys/dev/fdt/rkpciephy.c
116
uint32_t grf, stat;
sys/dev/fdt/rkpciephy.c
147
stat = regmap_read_4(rm, GRF_PCIE30PHY_STATUS0);
sys/dev/fdt/rkpciephy.c
148
if (stat & GRF_PCIE30PHY_SRAM_INIT_DONE)
sys/dev/fdt/rkpciephy.c
167
uint32_t grf, reg, stat;
sys/dev/fdt/rkpciephy.c
221
stat = regmap_read_4(phy, RK3588_PCIE3PHY_GRF_PHY0_STATUS1);
sys/dev/fdt/rkpciephy.c
222
if (stat & RK3588_PCIE3PHY_SRAM_INIT_DONE)
sys/dev/fdt/rkpciephy.c
227
stat = regmap_read_4(phy, RK3588_PCIE3PHY_GRF_PHY1_STATUS1);
sys/dev/fdt/rkpciephy.c
228
if (stat & RK3588_PCIE3PHY_SRAM_INIT_DONE)
sys/dev/fdt/rkrng.c
262
uint32_t stat;
sys/dev/fdt/rkrng.c
269
stat = HREAD4(sc, TRNG_V1_STAT);
sys/dev/fdt/rkrng.c
270
if ((stat & mask) == TRNG_V1_STAT_SEEDED)
sys/dev/fdt/rktemp.c
542
uint32_t stat, ch;
sys/dev/fdt/rktemp.c
544
stat = HREAD4(sc, TSADC_V3_HLT_INT_PD);
sys/dev/fdt/rktemp.c
545
stat &= HREAD4(sc, TSADC_V3_HT_INT_EN);
sys/dev/fdt/rktemp.c
547
if (stat & TSADC_V3_HT_INT_STATUS(ch))
sys/dev/fdt/rktemp.c
555
HWRITE4(sc, TSADC_V3_HT_INT_EN, stat << 16);
sys/dev/fdt/rktemp.c
556
HWRITE4(sc, TSADC_V3_HLT_INT_PD, stat);
sys/dev/fdt/sxirsb.c
281
uint16_t stat;
sys/dev/fdt/sxirsb.c
290
stat = HREAD4(sc, RSB_STAT);
sys/dev/fdt/sxirsb.c
291
HWRITE4(sc, RSB_STAT, stat);
sys/dev/fdt/sxirsb.c
292
if (stat != RSB_STAT_TRANS_OVER)
sys/dev/fdt/sxitemp.c
244
uint32_t cell, stat;
sys/dev/fdt/sxitemp.c
247
stat = HREAD4(sc, THS_STAT);
sys/dev/fdt/sxitemp.c
248
HWRITE4(sc, THS_STAT, stat);
sys/dev/fdt/sxitemp.c
250
if (stat & THS_STAT_THS0_DATA_IRQ_STS) {
sys/dev/fdt/sxitemp.c
255
if (stat & THS_STAT_THS1_DATA_IRQ_STS) {
sys/dev/fdt/sxitemp.c
260
if (stat & THS_STAT_THS2_DATA_IRQ_STS) {
sys/dev/hil/hil.c
280
u_int8_t c, stat;
sys/dev/hil/hil.c
285
stat = bus_space_read_1(sc->sc_bst, sc->sc_bsh, HILP_STAT);
sys/dev/hil/hil.c
291
if ((stat & HIL_DATA_RDY) == 0)
sys/dev/hil/hil.c
298
hil_process_int(sc, stat, c);
sys/dev/hil/hil.c
307
hil_process_int(struct hil_softc *sc, u_int8_t stat, u_int8_t c)
sys/dev/hil/hil.c
311
switch ((stat >> HIL_SSHIFT) & HIL_SMASK) {
sys/dev/hil/hil.c
369
hil_process_poll(struct hil_softc *sc, u_int8_t stat, u_int8_t c)
sys/dev/hil/hil.c
373
switch ((stat >> HIL_SSHIFT) & HIL_SMASK) {
sys/dev/hil/hil.c
867
hil_poll_data(struct hildev_softc *dev, u_int8_t *stat, u_int8_t *data)
sys/dev/hil/hil.c
882
*stat = s;
sys/dev/hil/hilkbd.c
324
u_int8_t c, stat;
sys/dev/hil/hilkbd.c
327
while (hil_poll_data((struct hildev_softc *)sc, &stat, &c) != 0)
sys/dev/i2c/adm1021.c
111
sc->sc_addr, &cmd, sizeof cmd, &stat, sizeof stat, 0)) {
sys/dev/i2c/adm1021.c
116
if ((stat & ADM1021_STATUS_INVAL) == ADM1021_STATUS_INVAL) {
sys/dev/i2c/adm1021.c
118
sc->sc_addr, &cmd, sizeof cmd, &stat, sizeof stat, 0)) {
sys/dev/i2c/adm1021.c
126
if ((stat & ADM1021_STATUS_INVAL) != ADM1021_STATUS_INVAL &&
sys/dev/i2c/adm1021.c
127
(stat & ADM1021_STATUS_NOEXT))
sys/dev/i2c/adm1021.c
88
u_int8_t cmd, data, stat;
sys/dev/ic/ami.c
842
u_int8_t stat;
sys/dev/ic/ami.c
853
stat = bus_space_read_1(sc->sc_iot, sc->sc_ioh, AMI_ISTAT);
sys/dev/ic/ami.c
854
if (stat & AMI_ISTAT_PEND) {
sys/dev/ic/ami.c
855
bus_space_write_1(sc->sc_iot, sc->sc_ioh, AMI_ISTAT, stat);
sys/dev/ic/an.c
576
int i, stat;
sys/dev/ic/an.c
602
stat = CSR_READ_2(sc, AN_STATUS);
sys/dev/ic/an.c
617
if (stat & AN_STAT_CMD_RESULT) {
sys/dev/ic/an.c
621
sc->sc_dev.dv_xname, cmd, val, stat,
sys/dev/ic/cac.c
850
if (dstatus.stat < nitems(cac_stat))
sys/dev/ic/cac.c
851
bv->bv_status = cac_stat[dstatus.stat];
sys/dev/ic/cacreg.h
178
u_int8_t stat;
sys/dev/ic/ciss.c
1029
if (ldstat->stat < nitems(ciss_stat))
sys/dev/ic/ciss.c
1030
bv->bv_status = ciss_stat[ldstat->stat];
sys/dev/ic/ciss.c
1055
if (ldstat->stat == CISS_LD_REBLD &&
sys/dev/ic/ciss.c
1145
switch (ldstat->stat) {
sys/dev/ic/ciss.c
1218
ciss_ldstat(struct ciss_softc *sc, int target, struct ciss_ldstat *stat)
sys/dev/ic/ciss.c
1229
ccb->ccb_len = sizeof(*stat);
sys/dev/ic/ciss.c
1230
ccb->ccb_data = stat;
sys/dev/ic/ciss.c
1241
cmd->cdb[7] = sizeof(*stat) >> 8; /* biiiig endian */
sys/dev/ic/ciss.c
1242
cmd->cdb[8] = sizeof(*stat) & 0xff;
sys/dev/ic/ciss.c
1327
ciss_blink(struct ciss_softc *sc, int ld, int pd, int stat,
sys/dev/ic/ciss.c
1343
ldp->bling.pdtab[ldp->tgts[pd]] = stat == BIOC_SBUNBLINK? 0 :
sys/dev/ic/cissreg.h
180
u_int8_t stat;
sys/dev/ic/com.c
1162
u_char stat;
sys/dev/ic/com.c
1173
stat = bus_space_read_1(iot, ioh, com_iir);
sys/dev/ic/com.c
1249
u_char stat, c;
sys/dev/ic/com.c
1252
while (!ISSET(stat = comcn_read_reg(com_lsr), LSR_RXRDY))
sys/dev/ic/com.c
1258
stat = comcn_read_reg(com_iir);
sys/dev/ic/cy.c
1054
int cy_chip, stat;
sys/dev/ic/cy.c
1063
stat = cd_read_reg_sc(sc, cy_chip, CD1400_SVRR);
sys/dev/ic/cy.c
1064
if (stat == 0)
sys/dev/ic/cy.c
1067
if (ISSET(stat, CD1400_SVRR_RXRDY)) {
sys/dev/ic/cy.c
1171
if (ISSET(stat, CD1400_SVRR_MDMCH)) {
sys/dev/ic/cy.c
1206
if (ISSET(stat, CD1400_SVRR_TXRDY)) {
sys/dev/ic/dc.c
2043
u_int32_t stat;
sys/dev/ic/dc.c
2055
stat = sc->dc_ldata->dc_rx_list[pos].dc_status;
sys/dev/ic/dc.c
2056
if (!(stat & htole32(DC_RXSTAT_OWN)))
sys/dev/ic/dwiic.c
500
uint32_t stat;
sys/dev/ic/dwiic.c
502
stat = dwiic_read(sc, DW_IC_INTR_STAT);
sys/dev/ic/dwiic.c
504
if (stat & DW_IC_INTR_RX_UNDER)
sys/dev/ic/dwiic.c
506
if (stat & DW_IC_INTR_RX_OVER)
sys/dev/ic/dwiic.c
508
if (stat & DW_IC_INTR_TX_OVER)
sys/dev/ic/dwiic.c
510
if (stat & DW_IC_INTR_RD_REQ)
sys/dev/ic/dwiic.c
512
if (stat & DW_IC_INTR_TX_ABRT)
sys/dev/ic/dwiic.c
514
if (stat & DW_IC_INTR_RX_DONE)
sys/dev/ic/dwiic.c
516
if (stat & DW_IC_INTR_ACTIVITY)
sys/dev/ic/dwiic.c
518
if (stat & DW_IC_INTR_STOP_DET)
sys/dev/ic/dwiic.c
520
if (stat & DW_IC_INTR_START_DET)
sys/dev/ic/dwiic.c
522
if (stat & DW_IC_INTR_GEN_CALL)
sys/dev/ic/dwiic.c
525
return stat;
sys/dev/ic/dwiic.c
532
uint32_t en, stat;
sys/dev/ic/dwiic.c
539
stat = dwiic_read_clear_intrbits(sc);
sys/dev/ic/dwiic.c
541
__func__, en, stat));
sys/dev/ic/dwiic.c
542
if (!(stat & ~DW_IC_INTR_ACTIVITY))
sys/dev/ic/dwiic.c
545
if (stat & DW_IC_INTR_TX_ABRT)
sys/dev/ic/dwiic.c
552
if (stat & DW_IC_INTR_RX_FULL) {
sys/dev/ic/dwiic.c
558
if (stat & DW_IC_INTR_TX_EMPTY) {
sys/dev/ic/dwiic.c
564
if (stat & DW_IC_INTR_STOP_DET) {
sys/dev/ic/iha.c
1314
u_int8_t stat;
sys/dev/ic/iha.c
1350
stat = bus_space_read_1(iot, ioh, TUL_ISTUS0);
sys/dev/ic/iha.c
1351
while ((stat & DABT) == 0);
sys/dev/ic/iha.c
877
u_int8_t stat;
sys/dev/ic/iha.c
882
stat = bus_space_read_1(iot, ioh, TUL_STAT0);
sys/dev/ic/iha.c
883
if ((stat & INTPD) != 0) {
sys/dev/ic/iha.c
884
sc->HCS_JSStatus0 = stat;
sys/dev/ic/malo.c
1300
int stat;
sys/dev/ic/malo.c
1304
stat = sc->sc_txring.stat;
sys/dev/ic/malo.c
1306
desc = &sc->sc_txring.desc[sc->sc_txring.stat];
sys/dev/ic/malo.c
1307
data = &sc->sc_txring.data[sc->sc_txring.stat];
sys/dev/ic/malo.c
1348
sc->sc_dev.dv_xname, sc->sc_txring.stat);
sys/dev/ic/malo.c
1352
if (++sc->sc_txring.stat >= sc->sc_txring.count)
sys/dev/ic/malo.c
1353
sc->sc_txring.stat = 0;
sys/dev/ic/malo.c
1354
if (sc->sc_txring.stat == stat)
sys/dev/ic/malo.c
694
ring->cur = ring->next = ring->stat = 0;
sys/dev/ic/malo.c
794
ring->cur = ring->next = ring->stat = 0;
sys/dev/ic/malo.h
47
int stat;
sys/dev/ic/ncr53c9x.c
1105
if (ecb->stat == SCSI_QUEUE_FULL) {
sys/dev/ic/ncr53c9x.c
1124
xs->status = ecb->stat;
sys/dev/ic/ncr53c9x.c
1129
} else if ((ecb->stat & ST_MASK) == SCSI_CHECK) {
sys/dev/ic/ncr53c9x.c
2481
ecb->stat = sc->sc_imess[sc->sc_imlen - 2];
sys/dev/ic/ncr53c9x.c
2483
NCR_PHASE(("<stat:(%x,%x)>", ecb->stat, msg));
sys/dev/ic/ncr53c9x.c
2741
ecb, ecb->flags, ecb->dleft, ecb->stat,
sys/dev/ic/ncr53c9x.c
856
ecb->stat = 0;
sys/dev/ic/ncr53c9xvar.h
114
u_char stat; /* SCSI status byte */
sys/dev/ic/osiop.c
1156
*status = ds->stat[0];
sys/dev/ic/osiop.c
1620
intcode, ds->stat[0], ds->msgbuf[0], ds->msgbuf[1],
sys/dev/ic/osiop.c
1650
ds ? ds->stat[0] : 0,
sys/dev/ic/osiop.c
1731
(sc->sc_nexus != NULL) ? sc->sc_nexus->ds->stat[0] : 0);
sys/dev/ic/osiop.c
1746
(sc->sc_nexus != NULL) ? sc->sc_nexus->ds->stat[0] : 0,
sys/dev/ic/osiop.c
816
u_int8_t stat;
sys/dev/ic/osiop.c
867
stat = osiop_read_1(sc, OSIOP_ISTAT);
sys/dev/ic/osiop.c
868
if (stat & OSIOP_ISTAT_SIP)
sys/dev/ic/osiop.c
870
if (stat & OSIOP_ISTAT_DIP) {
sys/dev/ic/osiop.c
871
if (stat & OSIOP_ISTAT_SIP)
sys/dev/ic/osiop.c
964
ds->stat[0] = SCSI_OSIOP_NOSTATUS; /* set invalid status */
sys/dev/ic/osiopvar.h
113
u_int8_t stat[8];
sys/dev/ic/osiopvar.h
131
#define OSIOP_DSSTATOFF OSIOP_DSOFF(stat[0])
sys/dev/ic/pckbc.c
1011
u_char stat;
sys/dev/ic/pckbc.c
1021
stat = bus_space_read_1(t->t_iot, t->t_ioh_c, 0);
sys/dev/ic/pckbc.c
1022
if (!(stat & KBS_DIB))
sys/dev/ic/pckbc.c
1027
slot = (t->t_haveaux && (stat & KBS_AUXDATA)) ?
sys/dev/ic/pckbc.c
145
u_char stat;
sys/dev/ic/pckbc.c
149
stat = bus_space_read_1(iot, ioh_c, 0);
sys/dev/ic/pckbc.c
150
if (stat & KBS_DIB) {
sys/dev/ic/pckbc.c
156
if (checkaux && (stat & KBS_AUXDATA)) {
sys/dev/ic/pckbc.c
165
} else if (stat & KBS_AUXDATA) {
sys/dev/ic/qcuart.c
139
uint32_t stat;
sys/dev/ic/qcuart.c
145
stat = HREAD4(sc, GENI_RX_FIFO_STATUS);
sys/dev/ic/qcuart.c
146
if ((stat & GENI_RX_FIFO_STATUS_WC_MASK) == 0)
sys/dev/ic/qcuart.c
548
uint32_t stat;
sys/dev/ic/qcuart.c
554
stat = bus_space_read_4(iot, ioh, GENI_M_IRQ_STATUS);
sys/dev/ic/qcuart.c
555
bus_space_write_4(iot, ioh, GENI_M_IRQ_CLEAR, stat);
sys/dev/ic/qcuart.c
556
stat = bus_space_read_4(iot, ioh, GENI_S_IRQ_STATUS);
sys/dev/ic/qcuart.c
557
bus_space_write_4(iot, ioh, GENI_S_IRQ_CLEAR, stat);
sys/dev/ic/qcuart.c
560
stat = bus_space_read_4(iot, ioh, GENI_RX_FIFO_STATUS);
sys/dev/ic/qcuart.c
561
if (stat & GENI_RX_FIFO_STATUS_WC_MASK)
sys/dev/ic/qcuart.c
575
uint32_t stat;
sys/dev/ic/qcuart.c
585
stat = bus_space_read_4(iot, ioh, GENI_M_IRQ_STATUS);
sys/dev/ic/qcuart.c
586
if (stat & GENI_M_IRQ_TX_FIFO_WATERMARK)
sys/dev/ic/qcuart.c
596
stat = bus_space_read_4(iot, ioh, GENI_M_IRQ_STATUS);
sys/dev/ic/qcuart.c
597
if (stat & GENI_M_IRQ_CMD_DONE)
sys/dev/ic/rt2661.c
429
ring->cur = ring->next = ring->stat = 0;
sys/dev/ic/rt2661.c
522
ring->cur = ring->next = ring->stat = 0;
sys/dev/ic/rt2661var.h
66
int stat;
sys/dev/ic/rt2860.c
1171
uint32_t stat;
sys/dev/ic/rt2860.c
1175
while ((stat = RAL_READ(sc, RT2860_TX_STAT_FIFO)) & RT2860_TXQ_VLD) {
sys/dev/ic/rt2860.c
1176
DPRINTFN(4, ("tx stat 0x%08x\n", stat));
sys/dev/ic/rt2860.c
1178
wcid = (stat >> RT2860_TXQ_WCID_SHIFT) & 0xff;
sys/dev/ic/rt2860.c
1181
if (!(stat & RT2860_TXQ_ACKREQ) || wcid == 0xff)
sys/dev/ic/rt2860.c
1187
if (stat & RT2860_TXQ_OK) {
sys/dev/ic/rt2860.c
1194
mcs = (stat >> RT2860_TXQ_MCS_SHIFT) & 0x7f;
sys/dev/ic/rt2860.c
1195
pid = (stat >> RT2860_TXQ_PID_SHIFT) & 0xf;
sys/dev/ic/sti.c
1685
uint8_t stat;
sys/dev/ic/sti.c
1688
stat = bus_space_read_1(memt, memh, NGLE_REG_15b0);
sys/dev/ic/sti.c
1689
if (stat == 0)
sys/dev/ic/sti.c
1690
stat = bus_space_read_1(memt, memh, NGLE_REG_15b0);
sys/dev/ic/sti.c
1691
} while (stat != 0);
sys/dev/isa/aps.c
177
int bp, stat, n;
sys/dev/isa/aps.c
184
stat = bus_space_read_1(iot, ioh, APS_STR3);
sys/dev/isa/aps.c
185
if (stat & (APS_STR3_OBF3B | APS_STR3_SWMF)) {
sys/dev/isa/aps.c
190
stat = bus_space_read_1(iot, ioh, APS_STR3);
sys/dev/isa/aps.c
191
if (stat & (APS_STR3_MWMF))
sys/dev/isa/aps.c
214
stat = bus_space_read_1(iot, ioh, APS_STR3);
sys/dev/isa/aps.c
215
if (stat & (APS_STR3_OBF3B))
sys/dev/isa/wds.c
1005
scb->cmd.stat = 0x00;
sys/dev/isa/wds.c
310
if (wmbi->stat == WDS_MBI_FREE) {
sys/dev/isa/wds.c
312
if (wmbi->stat != WDS_MBI_FREE) {
sys/dev/isa/wds.c
341
wmbi->stat, wmbi);
sys/dev/isa/wds.c
347
wds_done(sc, scb, wmbi->stat);
sys/dev/isa/wds.c
350
wmbi->stat = WDS_MBI_FREE;
sys/dev/isa/wds.c
352
} while (wmbi->stat != WDS_MBI_FREE);
sys/dev/isa/wds.c
615
wds_done(struct wds_softc *sc, struct wds_scb *scb, u_int8_t stat)
sys/dev/isa/wds.c
633
if (stat == WDS_MBI_OK) {
sys/dev/isa/wds.c
638
switch (stat) {
sys/dev/isa/wds.c
648
if (scb->cmd.stat == SCSI_CHECK) {
sys/dev/isa/wds.c
652
} else if (scb->cmd.stat == SCSI_BUSY) {
sys/dev/isa/wds.c
663
printf("%s: VENDOR ERROR %02x, scsi %02x\n", sc->sc_dev.dv_xname, scb->cmd.venderr, scb->cmd.stat);
sys/dev/isa/wds.c
783
wmbx->mbi[i].stat = WDS_MBI_FREE;
sys/dev/isa/wdsreg.h
119
u_int8_t stat;
sys/dev/isa/wdsreg.h
58
u_int8_t stat;
sys/dev/microcode/bwi/build/build.c
48
struct stat s;
sys/dev/microcode/bwi/build/build.c
63
if (stat(h[j].filename, &s) == -1)
sys/dev/mii/ipgphy.c
271
uint32_t bmsr, bmcr, stat;
sys/dev/mii/ipgphy.c
292
stat = PHY_READ(sc, IPGPHY_LSR);
sys/dev/mii/ipgphy.c
293
switch (stat & IPGPHY_LSR_SPEED_MASK) {
sys/dev/mii/ipgphy.c
308
if (stat & IPGPHY_LSR_FULL_DUPLEX)
sys/dev/mii/ipgphy.c
313
stat = PHY_READ(sc, STGE_PhyCtrl);
sys/dev/mii/ipgphy.c
314
switch (PC_LinkSpeed(stat)) {
sys/dev/mii/ipgphy.c
332
if (stat & PC_PhyDuplexStatus)
sys/dev/pci/bktr/bktr_core.c
3642
u_int32_t x, stat;
sys/dev/pci/bktr/bktr_core.c
3659
if ((stat = INL(bktr, BKTR_INT_STAT)) & BT848_INT_I2CDONE)
sys/dev/pci/bktr/bktr_core.c
3663
if ((stat & (I2C_BITS)) != (I2C_BITS))
sys/dev/pci/drm/amd/amdgpu/amdgpu_kms.c
1577
int vpos, hpos, stat;
sys/dev/pci/drm/amd/amdgpu/amdgpu_kms.c
1603
stat = amdgpu_display_get_crtc_scanoutpos(
sys/dev/pci/drm/amd/amdgpu/amdgpu_kms.c
1609
if (((stat & (DRM_SCANOUTPOS_VALID | DRM_SCANOUTPOS_ACCURATE)) !=
sys/dev/pci/drm/amd/amdgpu/amdgpu_kms.c
1611
DRM_DEBUG_VBL("Query failed! stat %d\n", stat);
sys/dev/pci/drm/drm_file.c
886
const char *stat,
sys/dev/pci/drm/drm_file.c
900
prefix, stat, region, sz, units[u]);
sys/dev/pci/drm/drm_linux.c
2600
dmabuf_stat(struct file *fp, struct stat *st, struct proc *p)
sys/dev/pci/drm/drm_linux.c
3195
syncfile_stat(struct file *fp, struct stat *st, struct proc *p)
sys/dev/pci/drm/i915/display/intel_crt.c
581
u32 stat;
sys/dev/pci/drm/i915/display/intel_crt.c
613
stat = intel_de_read(display, PORT_HOTPLUG_STAT(display));
sys/dev/pci/drm/i915/display/intel_crt.c
614
if ((stat & CRT_HOTPLUG_MONITOR_MASK) != CRT_HOTPLUG_MONITOR_NONE)
sys/dev/pci/drm/i915/display/intel_opregion.c
135
u32 stat;
sys/dev/pci/drm/include/drm/drm_file.h
525
const char *stat,
sys/dev/pci/drm/radeon/radeon_kms.c
764
int vpos, hpos, stat;
sys/dev/pci/drm/radeon/radeon_kms.c
791
stat = radeon_get_crtc_scanoutpos(
sys/dev/pci/drm/radeon/radeon_kms.c
797
if (((stat & (DRM_SCANOUTPOS_VALID | DRM_SCANOUTPOS_ACCURATE)) !=
sys/dev/pci/drm/radeon/radeon_kms.c
799
DRM_DEBUG_VBL("Query failed! stat %d\n", stat);
sys/dev/pci/if_age.c
1868
struct age_stats *stat;
sys/dev/pci/if_age.c
1871
stat = &sc->age_stat;
sys/dev/pci/if_age.c
1881
stat->rx_frames += smb->rx_frames;
sys/dev/pci/if_age.c
1882
stat->rx_bcast_frames += smb->rx_bcast_frames;
sys/dev/pci/if_age.c
1883
stat->rx_mcast_frames += smb->rx_mcast_frames;
sys/dev/pci/if_age.c
1884
stat->rx_pause_frames += smb->rx_pause_frames;
sys/dev/pci/if_age.c
1885
stat->rx_control_frames += smb->rx_control_frames;
sys/dev/pci/if_age.c
1886
stat->rx_crcerrs += smb->rx_crcerrs;
sys/dev/pci/if_age.c
1887
stat->rx_lenerrs += smb->rx_lenerrs;
sys/dev/pci/if_age.c
1888
stat->rx_bytes += smb->rx_bytes;
sys/dev/pci/if_age.c
1889
stat->rx_runts += smb->rx_runts;
sys/dev/pci/if_age.c
1890
stat->rx_fragments += smb->rx_fragments;
sys/dev/pci/if_age.c
1891
stat->rx_pkts_64 += smb->rx_pkts_64;
sys/dev/pci/if_age.c
1892
stat->rx_pkts_65_127 += smb->rx_pkts_65_127;
sys/dev/pci/if_age.c
1893
stat->rx_pkts_128_255 += smb->rx_pkts_128_255;
sys/dev/pci/if_age.c
1894
stat->rx_pkts_256_511 += smb->rx_pkts_256_511;
sys/dev/pci/if_age.c
1895
stat->rx_pkts_512_1023 += smb->rx_pkts_512_1023;
sys/dev/pci/if_age.c
1896
stat->rx_pkts_1024_1518 += smb->rx_pkts_1024_1518;
sys/dev/pci/if_age.c
1897
stat->rx_pkts_1519_max += smb->rx_pkts_1519_max;
sys/dev/pci/if_age.c
1898
stat->rx_pkts_truncated += smb->rx_pkts_truncated;
sys/dev/pci/if_age.c
1899
stat->rx_fifo_oflows += smb->rx_fifo_oflows;
sys/dev/pci/if_age.c
1900
stat->rx_desc_oflows += smb->rx_desc_oflows;
sys/dev/pci/if_age.c
1901
stat->rx_alignerrs += smb->rx_alignerrs;
sys/dev/pci/if_age.c
1902
stat->rx_bcast_bytes += smb->rx_bcast_bytes;
sys/dev/pci/if_age.c
1903
stat->rx_mcast_bytes += smb->rx_mcast_bytes;
sys/dev/pci/if_age.c
1904
stat->rx_pkts_filtered += smb->rx_pkts_filtered;
sys/dev/pci/if_age.c
1907
stat->tx_frames += smb->tx_frames;
sys/dev/pci/if_age.c
1908
stat->tx_bcast_frames += smb->tx_bcast_frames;
sys/dev/pci/if_age.c
1909
stat->tx_mcast_frames += smb->tx_mcast_frames;
sys/dev/pci/if_age.c
1910
stat->tx_pause_frames += smb->tx_pause_frames;
sys/dev/pci/if_age.c
1911
stat->tx_excess_defer += smb->tx_excess_defer;
sys/dev/pci/if_age.c
1912
stat->tx_control_frames += smb->tx_control_frames;
sys/dev/pci/if_age.c
1913
stat->tx_deferred += smb->tx_deferred;
sys/dev/pci/if_age.c
1914
stat->tx_bytes += smb->tx_bytes;
sys/dev/pci/if_age.c
1915
stat->tx_pkts_64 += smb->tx_pkts_64;
sys/dev/pci/if_age.c
1916
stat->tx_pkts_65_127 += smb->tx_pkts_65_127;
sys/dev/pci/if_age.c
1917
stat->tx_pkts_128_255 += smb->tx_pkts_128_255;
sys/dev/pci/if_age.c
1918
stat->tx_pkts_256_511 += smb->tx_pkts_256_511;
sys/dev/pci/if_age.c
1919
stat->tx_pkts_512_1023 += smb->tx_pkts_512_1023;
sys/dev/pci/if_age.c
1920
stat->tx_pkts_1024_1518 += smb->tx_pkts_1024_1518;
sys/dev/pci/if_age.c
1921
stat->tx_pkts_1519_max += smb->tx_pkts_1519_max;
sys/dev/pci/if_age.c
1922
stat->tx_single_colls += smb->tx_single_colls;
sys/dev/pci/if_age.c
1923
stat->tx_multi_colls += smb->tx_multi_colls;
sys/dev/pci/if_age.c
1924
stat->tx_late_colls += smb->tx_late_colls;
sys/dev/pci/if_age.c
1925
stat->tx_excess_colls += smb->tx_excess_colls;
sys/dev/pci/if_age.c
1926
stat->tx_underrun += smb->tx_underrun;
sys/dev/pci/if_age.c
1927
stat->tx_desc_underrun += smb->tx_desc_underrun;
sys/dev/pci/if_age.c
1928
stat->tx_lenerrs += smb->tx_lenerrs;
sys/dev/pci/if_age.c
1929
stat->tx_pkts_truncated += smb->tx_pkts_truncated;
sys/dev/pci/if_age.c
1930
stat->tx_bcast_bytes += smb->tx_bcast_bytes;
sys/dev/pci/if_age.c
1931
stat->tx_mcast_bytes += smb->tx_mcast_bytes;
sys/dev/pci/if_alc.c
2090
struct alc_hw_stats *stat;
sys/dev/pci/if_alc.c
2095
stat = &sc->alc_stats;
sys/dev/pci/if_alc.c
2120
stat->rx_frames += smb->rx_frames;
sys/dev/pci/if_alc.c
2121
stat->rx_bcast_frames += smb->rx_bcast_frames;
sys/dev/pci/if_alc.c
2122
stat->rx_mcast_frames += smb->rx_mcast_frames;
sys/dev/pci/if_alc.c
2123
stat->rx_pause_frames += smb->rx_pause_frames;
sys/dev/pci/if_alc.c
2124
stat->rx_control_frames += smb->rx_control_frames;
sys/dev/pci/if_alc.c
2125
stat->rx_crcerrs += smb->rx_crcerrs;
sys/dev/pci/if_alc.c
2126
stat->rx_lenerrs += smb->rx_lenerrs;
sys/dev/pci/if_alc.c
2127
stat->rx_bytes += smb->rx_bytes;
sys/dev/pci/if_alc.c
2128
stat->rx_runts += smb->rx_runts;
sys/dev/pci/if_alc.c
2129
stat->rx_fragments += smb->rx_fragments;
sys/dev/pci/if_alc.c
2130
stat->rx_pkts_64 += smb->rx_pkts_64;
sys/dev/pci/if_alc.c
2131
stat->rx_pkts_65_127 += smb->rx_pkts_65_127;
sys/dev/pci/if_alc.c
2132
stat->rx_pkts_128_255 += smb->rx_pkts_128_255;
sys/dev/pci/if_alc.c
2133
stat->rx_pkts_256_511 += smb->rx_pkts_256_511;
sys/dev/pci/if_alc.c
2134
stat->rx_pkts_512_1023 += smb->rx_pkts_512_1023;
sys/dev/pci/if_alc.c
2135
stat->rx_pkts_1024_1518 += smb->rx_pkts_1024_1518;
sys/dev/pci/if_alc.c
2136
stat->rx_pkts_1519_max += smb->rx_pkts_1519_max;
sys/dev/pci/if_alc.c
2137
stat->rx_pkts_truncated += smb->rx_pkts_truncated;
sys/dev/pci/if_alc.c
2138
stat->rx_fifo_oflows += smb->rx_fifo_oflows;
sys/dev/pci/if_alc.c
2139
stat->rx_rrs_errs += smb->rx_rrs_errs;
sys/dev/pci/if_alc.c
2140
stat->rx_alignerrs += smb->rx_alignerrs;
sys/dev/pci/if_alc.c
2141
stat->rx_bcast_bytes += smb->rx_bcast_bytes;
sys/dev/pci/if_alc.c
2142
stat->rx_mcast_bytes += smb->rx_mcast_bytes;
sys/dev/pci/if_alc.c
2143
stat->rx_pkts_filtered += smb->rx_pkts_filtered;
sys/dev/pci/if_alc.c
2146
stat->tx_frames += smb->tx_frames;
sys/dev/pci/if_alc.c
2147
stat->tx_bcast_frames += smb->tx_bcast_frames;
sys/dev/pci/if_alc.c
2148
stat->tx_mcast_frames += smb->tx_mcast_frames;
sys/dev/pci/if_alc.c
2149
stat->tx_pause_frames += smb->tx_pause_frames;
sys/dev/pci/if_alc.c
2150
stat->tx_excess_defer += smb->tx_excess_defer;
sys/dev/pci/if_alc.c
2151
stat->tx_control_frames += smb->tx_control_frames;
sys/dev/pci/if_alc.c
2152
stat->tx_deferred += smb->tx_deferred;
sys/dev/pci/if_alc.c
2153
stat->tx_bytes += smb->tx_bytes;
sys/dev/pci/if_alc.c
2154
stat->tx_pkts_64 += smb->tx_pkts_64;
sys/dev/pci/if_alc.c
2155
stat->tx_pkts_65_127 += smb->tx_pkts_65_127;
sys/dev/pci/if_alc.c
2156
stat->tx_pkts_128_255 += smb->tx_pkts_128_255;
sys/dev/pci/if_alc.c
2157
stat->tx_pkts_256_511 += smb->tx_pkts_256_511;
sys/dev/pci/if_alc.c
2158
stat->tx_pkts_512_1023 += smb->tx_pkts_512_1023;
sys/dev/pci/if_alc.c
2159
stat->tx_pkts_1024_1518 += smb->tx_pkts_1024_1518;
sys/dev/pci/if_alc.c
2160
stat->tx_pkts_1519_max += smb->tx_pkts_1519_max;
sys/dev/pci/if_alc.c
2161
stat->tx_single_colls += smb->tx_single_colls;
sys/dev/pci/if_alc.c
2162
stat->tx_multi_colls += smb->tx_multi_colls;
sys/dev/pci/if_alc.c
2163
stat->tx_late_colls += smb->tx_late_colls;
sys/dev/pci/if_alc.c
2164
stat->tx_excess_colls += smb->tx_excess_colls;
sys/dev/pci/if_alc.c
2165
stat->tx_underrun += smb->tx_underrun;
sys/dev/pci/if_alc.c
2166
stat->tx_desc_underrun += smb->tx_desc_underrun;
sys/dev/pci/if_alc.c
2167
stat->tx_lenerrs += smb->tx_lenerrs;
sys/dev/pci/if_alc.c
2168
stat->tx_pkts_truncated += smb->tx_pkts_truncated;
sys/dev/pci/if_alc.c
2169
stat->tx_bcast_bytes += smb->tx_bcast_bytes;
sys/dev/pci/if_alc.c
2170
stat->tx_mcast_bytes += smb->tx_mcast_bytes;
sys/dev/pci/if_ale.c
1150
struct ale_hw_stats *stat;
sys/dev/pci/if_ale.c
1155
stat = &sc->ale_stats;
sys/dev/pci/if_ale.c
1170
stat->rx_frames += smb->rx_frames;
sys/dev/pci/if_ale.c
1171
stat->rx_bcast_frames += smb->rx_bcast_frames;
sys/dev/pci/if_ale.c
1172
stat->rx_mcast_frames += smb->rx_mcast_frames;
sys/dev/pci/if_ale.c
1173
stat->rx_pause_frames += smb->rx_pause_frames;
sys/dev/pci/if_ale.c
1174
stat->rx_control_frames += smb->rx_control_frames;
sys/dev/pci/if_ale.c
1175
stat->rx_crcerrs += smb->rx_crcerrs;
sys/dev/pci/if_ale.c
1176
stat->rx_lenerrs += smb->rx_lenerrs;
sys/dev/pci/if_ale.c
1177
stat->rx_bytes += smb->rx_bytes;
sys/dev/pci/if_ale.c
1178
stat->rx_runts += smb->rx_runts;
sys/dev/pci/if_ale.c
1179
stat->rx_fragments += smb->rx_fragments;
sys/dev/pci/if_ale.c
1180
stat->rx_pkts_64 += smb->rx_pkts_64;
sys/dev/pci/if_ale.c
1181
stat->rx_pkts_65_127 += smb->rx_pkts_65_127;
sys/dev/pci/if_ale.c
1182
stat->rx_pkts_128_255 += smb->rx_pkts_128_255;
sys/dev/pci/if_ale.c
1183
stat->rx_pkts_256_511 += smb->rx_pkts_256_511;
sys/dev/pci/if_ale.c
1184
stat->rx_pkts_512_1023 += smb->rx_pkts_512_1023;
sys/dev/pci/if_ale.c
1185
stat->rx_pkts_1024_1518 += smb->rx_pkts_1024_1518;
sys/dev/pci/if_ale.c
1186
stat->rx_pkts_1519_max += smb->rx_pkts_1519_max;
sys/dev/pci/if_ale.c
1187
stat->rx_pkts_truncated += smb->rx_pkts_truncated;
sys/dev/pci/if_ale.c
1188
stat->rx_fifo_oflows += smb->rx_fifo_oflows;
sys/dev/pci/if_ale.c
1189
stat->rx_rrs_errs += smb->rx_rrs_errs;
sys/dev/pci/if_ale.c
1190
stat->rx_alignerrs += smb->rx_alignerrs;
sys/dev/pci/if_ale.c
1191
stat->rx_bcast_bytes += smb->rx_bcast_bytes;
sys/dev/pci/if_ale.c
1192
stat->rx_mcast_bytes += smb->rx_mcast_bytes;
sys/dev/pci/if_ale.c
1193
stat->rx_pkts_filtered += smb->rx_pkts_filtered;
sys/dev/pci/if_ale.c
1196
stat->tx_frames += smb->tx_frames;
sys/dev/pci/if_ale.c
1197
stat->tx_bcast_frames += smb->tx_bcast_frames;
sys/dev/pci/if_ale.c
1198
stat->tx_mcast_frames += smb->tx_mcast_frames;
sys/dev/pci/if_ale.c
1199
stat->tx_pause_frames += smb->tx_pause_frames;
sys/dev/pci/if_ale.c
1200
stat->tx_excess_defer += smb->tx_excess_defer;
sys/dev/pci/if_ale.c
1201
stat->tx_control_frames += smb->tx_control_frames;
sys/dev/pci/if_ale.c
1202
stat->tx_deferred += smb->tx_deferred;
sys/dev/pci/if_ale.c
1203
stat->tx_bytes += smb->tx_bytes;
sys/dev/pci/if_ale.c
1204
stat->tx_pkts_64 += smb->tx_pkts_64;
sys/dev/pci/if_ale.c
1205
stat->tx_pkts_65_127 += smb->tx_pkts_65_127;
sys/dev/pci/if_ale.c
1206
stat->tx_pkts_128_255 += smb->tx_pkts_128_255;
sys/dev/pci/if_ale.c
1207
stat->tx_pkts_256_511 += smb->tx_pkts_256_511;
sys/dev/pci/if_ale.c
1208
stat->tx_pkts_512_1023 += smb->tx_pkts_512_1023;
sys/dev/pci/if_ale.c
1209
stat->tx_pkts_1024_1518 += smb->tx_pkts_1024_1518;
sys/dev/pci/if_ale.c
1210
stat->tx_pkts_1519_max += smb->tx_pkts_1519_max;
sys/dev/pci/if_ale.c
1211
stat->tx_single_colls += smb->tx_single_colls;
sys/dev/pci/if_ale.c
1212
stat->tx_multi_colls += smb->tx_multi_colls;
sys/dev/pci/if_ale.c
1213
stat->tx_late_colls += smb->tx_late_colls;
sys/dev/pci/if_ale.c
1214
stat->tx_excess_colls += smb->tx_excess_colls;
sys/dev/pci/if_ale.c
1215
stat->tx_underrun += smb->tx_underrun;
sys/dev/pci/if_ale.c
1216
stat->tx_desc_underrun += smb->tx_desc_underrun;
sys/dev/pci/if_ale.c
1217
stat->tx_lenerrs += smb->tx_lenerrs;
sys/dev/pci/if_ale.c
1218
stat->tx_pkts_truncated += smb->tx_pkts_truncated;
sys/dev/pci/if_ale.c
1219
stat->tx_bcast_bytes += smb->tx_bcast_bytes;
sys/dev/pci/if_ale.c
1220
stat->tx_mcast_bytes += smb->tx_mcast_bytes;
sys/dev/pci/if_bge.c
3936
#define READ_STAT(sc, stats, stat) \
sys/dev/pci/if_bge.c
3937
CSR_READ_4(sc, stats + offsetof(struct bge_stats, stat))
sys/dev/pci/if_iwm.c
11392
hw = le16toh(sc->rxq.stat->closed_rb_num) & 0xfff;
sys/dev/pci/if_iwm.c
1302
sizeof(*ring->stat), 16);
sys/dev/pci/if_iwm.c
1308
ring->stat = ring->stat_dma.vaddr;
sys/dev/pci/if_iwm.c
1377
memset(ring->stat, 0, sizeof(*ring->stat));
sys/dev/pci/if_iwm.c
2260
memset(sc->rxq.stat, 0, sizeof(*sc->rxq.stat));
sys/dev/pci/if_iwmvar.h
299
struct iwm_rb_status *stat;
sys/dev/pci/if_iwn.c
1190
(void **)&ring->stat, sizeof (struct iwn_rx_status), 16);
sys/dev/pci/if_iwn.c
1972
struct iwn_rx_stat *stat = (struct iwn_rx_stat *)(desc + 1);
sys/dev/pci/if_iwn.c
1976
sizeof (*stat), BUS_DMASYNC_POSTREAD);
sys/dev/pci/if_iwn.c
1979
memcpy(&sc->last_rx_stat, stat, sizeof (*stat));
sys/dev/pci/if_iwn.c
1985
if (stat->flags & htole16(IWN_STAT_FLAG_AGG))
sys/dev/pci/if_iwn.c
2005
struct iwn_rx_stat *stat;
sys/dev/pci/if_iwn.c
2018
stat = &sc->last_rx_stat;
sys/dev/pci/if_iwn.c
2020
(stat->flags & htole16(IWN_STAT_FLAG_AGG)) == 0) {
sys/dev/pci/if_iwn.c
2025
(stat->flags & htole16(IWN_STAT_FLAG_AGG))) {
sys/dev/pci/if_iwn.c
2030
stat = (struct iwn_rx_stat *)(desc + 1);
sys/dev/pci/if_iwn.c
2035
if (stat->cfg_phy_len > IWN_STAT_MAXLEN) {
sys/dev/pci/if_iwn.c
2045
head = (caddr_t)(stat + 1) + stat->cfg_phy_len;
sys/dev/pci/if_iwn.c
2046
len = letoh16(stat->len);
sys/dev/pci/if_iwn.c
2166
rssi = ops->get_rssi(stat);
sys/dev/pci/if_iwn.c
2168
chan = stat->chan;
sys/dev/pci/if_iwn.c
2178
if (stat->flags & htole16(IWN_STAT_FLAG_SHPREAMBLE))
sys/dev/pci/if_iwn.c
2187
tap->wr_tsft = stat->tstamp;
sys/dev/pci/if_iwn.c
2188
if (stat->rflags & IWN_RFLAG_MCS) {
sys/dev/pci/if_iwn.c
2189
tap->wr_rate = (0x80 | stat->rate); /* HT MCS index */
sys/dev/pci/if_iwn.c
2191
switch (stat->rate) {
sys/dev/pci/if_iwn.c
2657
struct iwn4965_tx_stat *stat = (struct iwn4965_tx_stat *)(desc + 1);
sys/dev/pci/if_iwn.c
2660
uint16_t status = letoh32(stat->stat.status) & 0xff;
sys/dev/pci/if_iwn.c
2672
if (sizeof(*stat) > len)
sys/dev/pci/if_iwn.c
2674
if (stat->nframes < 1 || stat->nframes > IWN_AMPDU_MAX)
sys/dev/pci/if_iwn.c
2676
if (desc->qid < sc->first_agg_txq && stat->nframes > 1)
sys/dev/pci/if_iwn.c
2678
if (desc->qid >= sc->first_agg_txq && sizeof(*stat) + sizeof(ssn) +
sys/dev/pci/if_iwn.c
2679
stat->nframes * sizeof(stat->stat) > len)
sys/dev/pci/if_iwn.c
2689
iwn_tx_done(sc, desc, stat->ackfailcnt, stat->rate,
sys/dev/pci/if_iwn.c
2690
stat->rflags, txfail, desc->qid, framelen);
sys/dev/pci/if_iwn.c
2692
memcpy(&ssn, &stat->stat.status + stat->nframes, sizeof(ssn));
sys/dev/pci/if_iwn.c
2694
iwn_ampdu_tx_done(sc, ring, desc, status, stat->ackfailcnt,
sys/dev/pci/if_iwn.c
2695
stat->rate, stat->rflags, stat->nframes, ssn,
sys/dev/pci/if_iwn.c
2696
stat->stat.agg_status);
sys/dev/pci/if_iwn.c
2704
struct iwn5000_tx_stat *stat = (struct iwn5000_tx_stat *)(desc + 1);
sys/dev/pci/if_iwn.c
2707
uint16_t status = letoh32(stat->stat.status) & 0xff;
sys/dev/pci/if_iwn.c
2716
sizeof (*stat), BUS_DMASYNC_POSTREAD);
sys/dev/pci/if_iwn.c
2719
if (sizeof(*stat) > len)
sys/dev/pci/if_iwn.c
2721
if (stat->nframes < 1 || stat->nframes > IWN_AMPDU_MAX)
sys/dev/pci/if_iwn.c
2723
if (desc->qid < sc->first_agg_txq && stat->nframes > 1)
sys/dev/pci/if_iwn.c
2725
if (desc->qid >= sc->first_agg_txq && sizeof(*stat) + sizeof(ssn) +
sys/dev/pci/if_iwn.c
2726
stat->nframes * sizeof(stat->stat) > len)
sys/dev/pci/if_iwn.c
2737
iwn_tx_done(sc, desc, stat->ackfailcnt, stat->rate,
sys/dev/pci/if_iwn.c
2738
stat->rflags, txfail, desc->qid, letoh16(stat->len));
sys/dev/pci/if_iwn.c
2740
memcpy(&ssn, &stat->stat.status + stat->nframes, sizeof(ssn));
sys/dev/pci/if_iwn.c
2742
iwn_ampdu_tx_done(sc, ring, desc, status, stat->ackfailcnt,
sys/dev/pci/if_iwn.c
2743
stat->rate, stat->rflags, stat->nframes, ssn,
sys/dev/pci/if_iwn.c
2744
stat->stat.agg_status);
sys/dev/pci/if_iwn.c
2872
hw = letoh16(sc->rxq.stat->closed_count) & 0xfff;
sys/dev/pci/if_iwn.c
4287
iwn4965_get_rssi(const struct iwn_rx_stat *stat)
sys/dev/pci/if_iwn.c
4289
struct iwn4965_rx_phystat *phy = (void *)stat->phybuf;
sys/dev/pci/if_iwn.c
4308
iwn5000_get_rssi(const struct iwn_rx_stat *stat)
sys/dev/pci/if_iwn.c
4310
struct iwn5000_rx_phystat *phy = (void *)stat->phybuf;
sys/dev/pci/if_iwnreg.h
1280
} stat;
sys/dev/pci/if_iwnreg.h
1308
} stat;
sys/dev/pci/if_iwnvar.h
97
struct iwn_rx_status *stat;
sys/dev/pci/if_iwx.c
11282
hw = le16toh(sc->rxq.stat->closed_rb_num) & 0xfff;
sys/dev/pci/if_iwx.c
1956
size = sizeof(*ring->stat);
sys/dev/pci/if_iwx.c
1963
ring->stat = ring->stat_dma.vaddr;
sys/dev/pci/if_iwx.c
2039
memset(ring->stat, 0, sizeof(*ring->stat));
sys/dev/pci/if_iwxvar.h
277
struct iwx_rb_status *stat;
sys/dev/pci/if_msk.c
1703
msk_rxvalid(struct sk_softc *sc, u_int32_t stat, u_int32_t len)
sys/dev/pci/if_msk.c
1705
if ((stat & (YU_RXSTAT_CRCERR | YU_RXSTAT_LONGERR |
sys/dev/pci/if_msk.c
1708
(stat & YU_RXSTAT_RXOK) != YU_RXSTAT_RXOK ||
sys/dev/pci/if_msk.c
1709
YU_RXSTAT_BYTES(stat) != len)
sys/dev/pci/if_sk.c
1554
sk_rxvalid(struct sk_softc *sc, u_int32_t stat, u_int32_t len)
sys/dev/pci/if_sk.c
1557
if ((stat & XM_RXSTAT_ERRFRAME) == XM_RXSTAT_ERRFRAME ||
sys/dev/pci/if_sk.c
1558
XM_RXSTAT_BYTES(stat) != len)
sys/dev/pci/if_sk.c
1561
if ((stat & (YU_RXSTAT_CRCERR | YU_RXSTAT_LONGERR |
sys/dev/pci/if_sk.c
1564
(stat & YU_RXSTAT_RXOK) != YU_RXSTAT_RXOK ||
sys/dev/pci/if_sk.c
1565
YU_RXSTAT_BYTES(stat) != len)
sys/dev/pci/if_vte.c
805
struct vte_hw_stats *stat;
sys/dev/pci/if_vte.c
808
stat = &sc->vte_stats;
sys/dev/pci/if_vte.c
812
stat->rx_frames += CSR_READ_2(sc, VTE_CNT_RX_DONE);
sys/dev/pci/if_vte.c
814
stat->rx_bcast_frames += (value >> 8);
sys/dev/pci/if_vte.c
815
stat->rx_mcast_frames += (value & 0xFF);
sys/dev/pci/if_vte.c
817
stat->rx_runts += (value >> 8);
sys/dev/pci/if_vte.c
818
stat->rx_crcerrs += (value & 0xFF);
sys/dev/pci/if_vte.c
820
stat->rx_long_frames += (value & 0xFF);
sys/dev/pci/if_vte.c
822
stat->rx_fifo_full += (value >> 8);
sys/dev/pci/if_vte.c
823
stat->rx_desc_unavail += (value & 0xFF);
sys/dev/pci/if_vte.c
826
stat->tx_frames += CSR_READ_2(sc, VTE_CNT_TX_DONE);
sys/dev/pci/if_vte.c
828
stat->tx_underruns += (value >> 8);
sys/dev/pci/if_vte.c
829
stat->tx_late_colls += (value & 0xFF);
sys/dev/pci/if_vte.c
832
stat->tx_pause_frames += (value >> 8);
sys/dev/pci/if_vte.c
833
stat->rx_pause_frames += (value & 0xFF);
sys/dev/pci/if_vte.c
836
ifp->if_collisions = stat->tx_late_colls;
sys/dev/pci/if_vte.c
837
ifp->if_oerrors = stat->tx_late_colls + stat->tx_underruns;
sys/dev/pci/if_vte.c
838
ifp->if_ierrors = stat->rx_crcerrs + stat->rx_runts +
sys/dev/pci/if_vte.c
839
stat->rx_long_frames + stat->rx_fifo_full;
sys/dev/pci/if_wpi.c
1178
struct wpi_rx_stat *stat;
sys/dev/pci/if_wpi.c
1190
stat = (struct wpi_rx_stat *)(desc + 1);
sys/dev/pci/if_wpi.c
1192
if (stat->len > WPI_STAT_MAXLEN) {
sys/dev/pci/if_wpi.c
1198
head = (struct wpi_rx_head *)((caddr_t)(stat + 1) + stat->len);
sys/dev/pci/if_wpi.c
1303
tap->wr_dbm_antsignal = (int8_t)(stat->rssi - WPI_RSSI_OFFSET);
sys/dev/pci/if_wpi.c
1304
tap->wr_dbm_antnoise = (int8_t)letoh16(stat->noise);
sys/dev/pci/if_wpi.c
1332
rxi.rxi_rssi = stat->rssi;
sys/dev/pci/if_wpi.c
1346
struct wpi_tx_stat *stat = (struct wpi_tx_stat *)(desc + 1);
sys/dev/pci/if_wpi.c
1351
if (stat->retrycnt > 0)
sys/dev/pci/if_wpi.c
1354
if ((letoh32(stat->status) & 0xff) != 1)
sys/dev/pci/nhi.c
552
uint32_t prod, stat;
sys/dev/pci/nhi.c
554
stat = bus_space_read_4(sc->sc_iot, sc->sc_ioh, NHI_ISR(0));
sys/dev/pci/nhi.c
555
if (stat == 0)
sys/dev/sbus/bereg.h
206
u_int32_t stat; /* status */
sys/dev/sbus/bereg.h
65
u_int32_t stat; /* status, clear on read */
sys/dev/sbus/magma.c
690
u_char stat;
sys/dev/sbus/magma.c
693
stat = mp->mp_rget[0];
sys/dev/sbus/magma.c
697
if (stat & (CD1400_RDSR_BREAK | CD1400_RDSR_FE))
sys/dev/sbus/magma.c
699
if (stat & CD1400_RDSR_PE)
sys/dev/sbus/magma.c
702
if (stat & CD1400_RDSR_OE)
sys/dev/sbus/mgx.c
538
uint stat;
sys/dev/sbus/mgx.c
541
stat = mgx_read_1(sc->sc_xreg, ATR_BLT_STATUS);
sys/dev/sbus/mgx.c
542
if (!ISSET(stat, BLT_HOST_BUSY | BLT_ENGINE_BUSY))
sys/dev/sbus/mgx.c
553
uint stat;
sys/dev/sbus/mgx.c
556
stat = (mgx_read_1(sc->sc_xreg, ATR_FIFO_STATUS) & FIFO_MASK) >>
sys/dev/sbus/mgx.c
558
if (stat >= nfifo)
sys/dev/sbus/qereg.h
64
u_int32_t stat; /* status */
sys/dev/sbus/spif.c
887
u_int8_t stat, msvr;
sys/dev/sbus/spif.c
900
stat = sp->sp_rget[0];
sys/dev/sbus/spif.c
906
if (stat & (CD180_RCSR_BE | CD180_RCSR_FE))
sys/dev/sbus/spif.c
909
if (stat & CD180_RCSR_PE)
sys/dev/usb/ehci.c
2868
struct ehci_soft_qtd *setup, *stat, *next;
sys/dev/usb/ehci.c
2884
stat = ehci_alloc_sqtd(sc);
sys/dev/usb/ehci.c
2885
if (stat == NULL) {
sys/dev/usb/ehci.c
2900
end->nextqtd = stat;
sys/dev/usb/ehci.c
2902
end->qtd.qtd_altnext = htole32(stat->physaddr);
sys/dev/usb/ehci.c
2906
next = stat;
sys/dev/usb/ehci.c
2927
stat->qtd.qtd_status = htole32(
sys/dev/usb/ehci.c
2934
stat->qtd.qtd_buffer[0] = 0; /* XXX not needed? */
sys/dev/usb/ehci.c
2935
stat->qtd.qtd_buffer_hi[0] = 0; /* XXX not needed? */
sys/dev/usb/ehci.c
2936
stat->nextqtd = NULL;
sys/dev/usb/ehci.c
2937
stat->qtd.qtd_next = stat->qtd.qtd_altnext = htole32(EHCI_LINK_TERMINATE);
sys/dev/usb/ehci.c
2938
stat->len = 0;
sys/dev/usb/ehci.c
2939
usb_syncmem(&stat->dma, stat->offs, sizeof(stat->qtd),
sys/dev/usb/ehci.c
2943
ex->sqtdend = stat;
sys/dev/usb/ehci.c
2966
ehci_free_sqtd(sc, stat);
sys/dev/usb/if_atu.c
2195
usbd_status stat;
sys/dev/usb/if_atu.c
2221
&stat);
sys/dev/usb/if_atu.c
2222
atu_txeof(c->atu_xfer, c, stat);
sys/dev/usb/if_aue.c
1476
usbd_status stat;
sys/dev/usb/if_aue.c
1486
usbd_get_xfer_status(c->aue_xfer, NULL, NULL, NULL, &stat);
sys/dev/usb/if_aue.c
1487
aue_txeof(c->aue_xfer, c, stat);
sys/dev/usb/if_axe.c
1434
usbd_status stat;
sys/dev/usb/if_axe.c
1444
usbd_get_xfer_status(c->axe_xfer, NULL, NULL, NULL, &stat);
sys/dev/usb/if_axe.c
1445
axe_txeof(c->axe_xfer, c, stat);
sys/dev/usb/if_axen.c
1420
usbd_status stat;
sys/dev/usb/if_axen.c
1430
usbd_get_xfer_status(c->axen_xfer, NULL, NULL, NULL, &stat);
sys/dev/usb/if_axen.c
1431
axen_txeof(c->axen_xfer, c, stat);
sys/dev/usb/if_cue.c
1085
usbd_status stat;
sys/dev/usb/if_cue.c
1098
usbd_get_xfer_status(c->cue_xfer, NULL, NULL, NULL, &stat);
sys/dev/usb/if_cue.c
1099
cue_txeof(c->cue_xfer, c, stat);
sys/dev/usb/if_kue.c
1058
usbd_status stat;
sys/dev/usb/if_kue.c
1071
usbd_get_xfer_status(c->kue_xfer, NULL, NULL, NULL, &stat);
sys/dev/usb/if_kue.c
1072
kue_txeof(c->kue_xfer, c, stat);
sys/dev/usb/if_mos.c
1293
usbd_status stat;
sys/dev/usb/if_mos.c
1303
usbd_get_xfer_status(c->mos_xfer, NULL, NULL, NULL, &stat);
sys/dev/usb/if_mos.c
1304
mos_txeof(c->mos_xfer, c, stat);
sys/dev/usb/if_mue.c
1279
usbd_status stat;
sys/dev/usb/if_mue.c
1287
usbd_get_xfer_status(c->mue_xfer, NULL, NULL, NULL, &stat);
sys/dev/usb/if_mue.c
1288
mue_txeof(c->mue_xfer, c, stat);
sys/dev/usb/if_rsu.c
1281
struct r92s_rx_stat *stat;
sys/dev/usb/if_rsu.c
1288
stat = (struct r92s_rx_stat *)buf;
sys/dev/usb/if_rsu.c
1289
rxdw0 = letoh32(stat->rxdw0);
sys/dev/usb/if_rsu.c
1290
rxdw3 = letoh32(stat->rxdw3);
sys/dev/usb/if_rsu.c
1306
rssi = rsu_get_rssi(sc, rate, &stat[1]);
sys/dev/usb/if_rsu.c
1332
wh = (struct ieee80211_frame *)((uint8_t *)&stat[1] + infosz);
sys/dev/usb/if_rsu.c
1393
struct r92s_rx_stat *stat;
sys/dev/usb/if_rsu.c
1398
stat = (struct r92s_rx_stat *)buf;
sys/dev/usb/if_rsu.c
1399
npkts = MS(letoh32(stat->rxdw2), R92S_RXDW2_PKTCNT);
sys/dev/usb/if_rsu.c
1404
if (__predict_false(len < sizeof(*stat)))
sys/dev/usb/if_rsu.c
1406
stat = (struct r92s_rx_stat *)buf;
sys/dev/usb/if_rsu.c
1407
rxdw0 = letoh32(stat->rxdw0);
sys/dev/usb/if_rsu.c
1416
totlen = sizeof(*stat) + infosz + pktlen;
sys/dev/usb/if_rsu.c
1436
struct r92s_rx_stat *stat;
sys/dev/usb/if_rsu.c
1450
if (__predict_false(len < sizeof(*stat))) {
sys/dev/usb/if_rsu.c
1462
stat = (struct r92s_rx_stat *)data->buf;
sys/dev/usb/if_rsu.c
1463
if ((letoh32(stat->rxdw1) & 0x1ff) == 0x1ff)
sys/dev/usb/if_udav.c
1182
usbd_status stat;
sys/dev/usb/if_udav.c
1192
usbd_get_xfer_status(c->udav_xfer, NULL, NULL, NULL, &stat);
sys/dev/usb/if_udav.c
1193
udav_txeof(c->udav_xfer, c, stat);
sys/dev/usb/if_upl.c
691
uByte stat;
sys/dev/usb/if_upl.c
717
stat = sc->sc_ibuf;
sys/dev/usb/if_upl.c
719
if (stat == 0)
sys/dev/usb/if_upl.c
723
__func__, stat));
sys/dev/usb/if_url.c
1042
usbd_status stat;
sys/dev/usb/if_url.c
1052
usbd_get_xfer_status(c->url_xfer, NULL, NULL, NULL, &stat);
sys/dev/usb/if_url.c
1053
url_txeof(c->url_xfer, c, stat);
sys/dev/usb/if_zyd.c
1904
const struct zyd_rx_stat *stat;
sys/dev/usb/if_zyd.c
1915
stat = (const struct zyd_rx_stat *)(buf + len - sizeof (*stat));
sys/dev/usb/if_zyd.c
1917
if (stat->flags & ZYD_RX_ERROR) {
sys/dev/usb/if_zyd.c
1919
sc->sc_dev.dv_xname, stat->flags));
sys/dev/usb/if_zyd.c
1925
len -= (sizeof (*plcp) + sizeof (*stat) + IEEE80211_CRC_LEN);
sys/dev/usb/if_zyd.c
1963
tap->wr_rssi = stat->rssi;
sys/dev/usb/if_zyd.c
1980
rxi.rxi_rssi = stat->rssi;
sys/dev/usb/if_zyd.c
2503
uint8_t stat;
sys/dev/usb/if_zyd.c
2533
USETW(req.wLength, sizeof stat);
sys/dev/usb/if_zyd.c
2534
if (usbd_do_request(sc->sc_udev, &req, &stat) != 0)
sys/dev/usb/if_zyd.c
2537
return (stat & 0x80) ? EIO : 0;
sys/dev/usb/ohci.c
1556
struct ohci_soft_td *setup, *stat, *next, *tail;
sys/dev/usb/ohci.c
1571
stat = ohci_alloc_std(sc);
sys/dev/usb/ohci.c
1572
if (stat == NULL) {
sys/dev/usb/ohci.c
1585
next = stat;
sys/dev/usb/ohci.c
1589
struct ohci_soft_td *std = stat;
sys/dev/usb/ohci.c
1591
err = ohci_alloc_std_chain(sc, len, xfer, std, &stat);
sys/dev/usb/ohci.c
1592
stat = stat->nexttd; /* point at free TD */
sys/dev/usb/ohci.c
1613
stat->td.td_flags = htole32(
sys/dev/usb/ohci.c
1616
stat->td.td_cbp = 0;
sys/dev/usb/ohci.c
1617
stat->nexttd = tail;
sys/dev/usb/ohci.c
1618
stat->td.td_nexttd = htole32(tail->physaddr);
sys/dev/usb/ohci.c
1619
stat->td.td_be = 0;
sys/dev/usb/ohci.c
1620
stat->flags = OHCI_CALL_DONE;
sys/dev/usb/ohci.c
1621
stat->len = 0;
sys/dev/usb/ohci.c
1622
stat->xfer = xfer;
sys/dev/usb/ohci.c
1663
ohci_free_std(sc, stat);
sys/dev/usb/uhci.c
1972
struct uhci_soft_td *setup, *data, *stat, *next, *dataend;
sys/dev/usb/uhci.c
1989
stat = upipe->u.ctl.stat;
sys/dev/usb/uhci.c
1999
dataend->link.std = stat;
sys/dev/usb/uhci.c
2000
dataend->td.td_link = htole32(stat->physaddr | UHCI_PTR_VF | UHCI_PTR_TD);
sys/dev/usb/uhci.c
2002
next = stat;
sys/dev/usb/uhci.c
2015
stat->link.std = NULL;
sys/dev/usb/uhci.c
2016
stat->td.td_link = htole32(UHCI_PTR_T);
sys/dev/usb/uhci.c
2017
stat->td.td_status = htole32(UHCI_TD_SET_ERRCNT(3) | ls |
sys/dev/usb/uhci.c
2019
stat->td.td_token = htole32(usbd_xfer_isread(xfer) ?
sys/dev/usb/uhci.c
2021
stat->td.td_buffer = htole32(0);
sys/dev/usb/uhci.c
2032
ux->stdend = stat;
sys/dev/usb/uhci.c
2662
upipe->u.ctl.stat = uhci_alloc_std(sc);
sys/dev/usb/uhci.c
2663
if (upipe->u.ctl.stat == NULL) {
sys/dev/usb/uhci.c
2675
uhci_free_std(sc, upipe->u.ctl.stat);
sys/dev/usb/uhci.c
84
struct uhci_soft_td *setup, *stat;
sys/kern/kern_descrip.c
792
syscallarg(struct stat *) sb;
sys/kern/kern_descrip.c
797
struct stat ub;
sys/kern/kern_event.c
1870
kqueue_stat(struct file *fp, struct stat *st, struct proc *p)
sys/kern/kern_event.c
78
int kqueue_stat(struct file *fp, struct stat *st, struct proc *p);
sys/kern/sys_pipe.c
64
int pipe_stat(struct file *fp, struct stat *ub, struct proc *p);
sys/kern/sys_pipe.c
714
pipe_stat(struct file *fp, struct stat *ub, struct proc *p)
sys/kern/sys_socket.c
139
soo_stat(struct file *fp, struct stat *ub, struct proc *p)
sys/kern/uipc_usrreq.c
665
uipc_sense(struct socket *so, struct stat *sb)
sys/kern/vfs_syscalls.c
1504
syscallarg(struct stat *) sb;
sys/kern/vfs_syscalls.c
1506
struct stat sb;
sys/kern/vfs_syscalls.c
2069
syscallarg(struct stat *) ub;
sys/kern/vfs_syscalls.c
2081
syscallarg(struct stat *) buf;
sys/kern/vfs_syscalls.c
2090
dofstatat(struct proc *p, int fd, const char *path, struct stat *buf, int flag)
sys/kern/vfs_syscalls.c
2092
struct stat sb;
sys/kern/vfs_syscalls.c
2133
syscallarg(struct stat *) ub;
sys/kern/vfs_syscalls.c
76
int dofstatat(struct proc *, int, const char *, struct stat *, int);
sys/kern/vfs_vnops.c
433
vn_statfile(struct file *fp, struct stat *sb, struct proc *p)
sys/kern/vfs_vnops.c
449
vn_stat(struct vnode *vp, struct stat *sb, struct proc *p)
sys/lib/libsa/cd9660.c
362
cd9660_stat(struct open_file *f, struct stat *sb)
sys/lib/libsa/cd9660.h
42
int cd9660_stat(struct open_file *f, struct stat *sb);
sys/lib/libsa/fstat.c
38
fstat(int fd, struct stat *sb)
sys/lib/libsa/fstat.c
53
errno = (f->f_ops->stat)(f, sb);
sys/lib/libsa/nfs.c
593
nfs_stat(struct open_file *f, struct stat *sb)
sys/lib/libsa/nfs.h
40
int nfs_stat(struct open_file *f, struct stat *sb);
sys/lib/libsa/nullfs.c
101
null_stat(struct open_file *f, struct stat *sb)
sys/lib/libsa/readdir.c
42
struct stat sb;
sys/lib/libsa/readdir.c
45
if (stat(name, &sb) < 0)
sys/lib/libsa/stand.h
171
int stat(const char *path, struct stat *sb);
sys/lib/libsa/stand.h
172
int fstat(int fd, struct stat *sb);
sys/lib/libsa/stand.h
186
int null_stat(struct open_file *f, struct stat *sb);
sys/lib/libsa/stand.h
68
int (*stat)(struct open_file *f, struct stat *sb);
sys/lib/libsa/stat.c
38
stat(const char *str, struct stat *sb)
sys/lib/libsa/tftp.c
384
tftp_stat(struct open_file *f, struct stat *sb)
sys/lib/libsa/tftp.h
111
int tftp_stat(struct open_file *, struct stat *);
sys/lib/libsa/ufs.c
677
ufs_stat(struct open_file *f, struct stat *sb)
sys/lib/libsa/ufs.h
42
int ufs_stat(struct open_file *f, struct stat *sb);
sys/lib/libsa/ufs2.c
673
ufs2_stat(struct open_file *f, struct stat *sb)
sys/lib/libsa/ufs2.h
36
int ufs2_stat(struct open_file *, struct stat *);
sys/miscfs/fuse/fuse_vnops.c
408
struct stat *st;
sys/net/route.c
676
enum rtstat_counters stat = rts_ncounters;
sys/net/route.c
748
stat = rts_dynamic;
sys/net/route.c
757
stat = rts_newgateway;
sys/net/route.c
772
else if (stat != rts_ncounters)
sys/net/route.c
773
rtstat_inc(stat);
sys/netinet/tcp_usrreq.c
898
tcp_sense(struct socket *so, struct stat *ub)
sys/netinet/tcp_var.h
777
int tcp_sense(struct socket *, struct stat *);
sys/stand/boot/boot.c
132
struct stat st;
sys/stand/boot/boot.c
168
struct stat sb;
sys/stand/boot/cmd.c
105
struct stat sb;
sys/stand/boot/cmd.c
441
struct stat sb;
sys/stand/boot/cmd.c
445
if (stat(qualify((cmd.argv[1]? cmd.argv[1]: "/.")), &sb) < 0) {
sys/stand/boot/cmd.c
466
if (stat(cmd.path, &sb) < 0)
sys/stand/boot/cmd.c
483
ls(char *name, struct stat *sb)
sys/stand/boot/cmd.c
556
struct stat sb;
sys/stand/boot/cmd.c
558
if (stat(qualify(("/bsd.upgrade")), &sb) < 0)
sys/stand/boot/cmd.c
82
static void ls(char *, struct stat *);
sys/sys/file.h
54
struct stat;
sys/sys/file.h
70
int (*fo_stat)(struct file *, struct stat *, struct proc *);
sys/sys/fusebuf.h
69
struct stat FD_attr; /* for attr vnops */
sys/sys/ktrace.h
137
struct stat;
sys/sys/ktrace.h
275
ktrstruct(p, "stat", s, sizeof(struct stat))
sys/sys/mount.h
632
struct stat;
sys/sys/mount.h
634
int fhstat(const fhandle_t *, struct stat *);
sys/sys/protosw.h
359
pru_sense(struct socket *so, struct stat *ub)
sys/sys/protosw.h
64
struct stat;
sys/sys/protosw.h
83
int (*pru_sense)(struct socket *, struct stat *);
sys/sys/socketvar.h
209
struct stat;
sys/sys/socketvar.h
221
int soo_stat(struct file *, struct stat *, struct proc *);
sys/sys/stat.h
195
int fstat(int, struct stat *);
sys/sys/stat.h
199
int stat(const char *, struct stat *);
sys/sys/stat.h
203
int lstat(const char *, struct stat *);
sys/sys/stat.h
207
int fstatat(int, const char *, struct stat *, int);
sys/sys/syscallargs.h
1029
syscallarg(struct stat *) sb;
sys/sys/syscallargs.h
191
syscallarg(struct stat *) ub;
sys/sys/syscallargs.h
196
syscallarg(struct stat *) ub;
sys/sys/syscallargs.h
206
syscallarg(struct stat *) buf;
sys/sys/syscallargs.h
247
syscallarg(struct stat *) sb;
sys/sys/unpcb.h
106
struct stat;
sys/sys/unpcb.h
131
int uipc_sense(struct socket *, struct stat *);
sys/sys/vnode.h
569
struct stat;
sys/sys/vnode.h
627
int vn_stat(struct vnode *, struct stat *, struct proc *);
sys/sys/vnode.h
628
int vn_statfile(struct file *, struct stat *, struct proc *);
usr.bin/at/at.c
438
struct stat stbuf;
usr.bin/at/at.c
614
struct stat stbuf;
usr.bin/awk/run.c
2370
struct stat sbuf;
usr.bin/awk/run.c
2403
if (stat(s, &sbuf) == 0 && S_ISDIR(sbuf.st_mode))
usr.bin/awk/run.c
2446
bool stat;
usr.bin/awk/run.c
2450
stat = true;
usr.bin/awk/run.c
2465
stat = freopen("/dev/null", "r+", files[i].fp) == NULL;
usr.bin/awk/run.c
2467
stat = pclose(files[i].fp) == -1;
usr.bin/awk/run.c
2469
stat = fclose(files[i].fp) == EOF;
usr.bin/awk/run.c
2470
if (stat)
usr.bin/awk/run.c
2479
setfval(x, (Awkfloat) (stat ? -1 : 0));
usr.bin/awk/run.c
2486
bool stat = false;
usr.bin/awk/run.c
2504
stat = pclose(files[i].fp) == -1;
usr.bin/awk/run.c
2506
stat = fclose(files[i].fp) == EOF;
usr.bin/awk/run.c
2507
if (stat)
usr.bin/bgplg/bgplg.c
251
struct stat st;
usr.bin/bgplg/bgplg.c
268
if (stat(INC_STYLE, &st) == 0) {
usr.bin/bgplg/bgplg.c
273
if (stat(INC_HEAD, &st) != 0 || lg_incl(INC_HEAD) != 0) {
usr.bin/bgplg/bgplg.c
373
if (stat(INC_FOOT, &st) != 0 || lg_incl(INC_FOOT) != 0)
usr.bin/bgplg/misc.c
41
struct stat stbuf;
usr.bin/bgplg/misc.c
52
if (stat(cmd->earg[0], &stbuf) != 0 ||
usr.bin/biff/biff.c
48
struct stat sb;
usr.bin/biff/biff.c
68
if (stat(name, &sb))
usr.bin/calendar/calendar.c
163
struct stat sbuf;
usr.bin/calendar/calendar.c
186
if (stat(calendarFile, &sbuf) != 0) {
usr.bin/calendar/calendar.c
193
if (stat(calendarNoMail, &sbuf) == 0 ||
usr.bin/calendar/calendar.c
194
stat(calendarFile, &sbuf) != 0)
usr.bin/calendar/calendar.c
211
stat(calendarFile, &sbuf) != 0 ||
usr.bin/calendar/calendar.c
213
stat(calendarNoMail, &sbuf) == 0 ||
usr.bin/calendar/calendar.c
214
stat(calendarFile, &sbuf) != 0)
usr.bin/calendar/io.c
325
struct stat st;
usr.bin/calendar/io.c
393
struct stat sbuf;
usr.bin/cdio/cdio.c
576
struct stat sb;
usr.bin/chpass/edit.c
134
struct stat sb;
usr.bin/chpass/edit.c
53
struct stat begin, end;
usr.bin/cmp/cmp.c
55
struct stat sb1, sb2;
usr.bin/compress/compress.h
66
extern int z_close(void *, struct z_info *, const char *, struct stat *);
usr.bin/compress/compress.h
72
extern int gz_close(void *, struct z_info *, const char *, struct stat *);
usr.bin/compress/compress.h
77
extern int zip_close(void *, struct z_info *, const char *, struct stat *);
usr.bin/compress/compress.h
83
extern int null_close(void *, struct z_info *, const char *, struct stat *);
usr.bin/compress/compress.h
86
extern void setfile(const char *, int, struct stat *);
usr.bin/compress/gzopen.c
496
gz_close(void *cookie, struct z_info *info, const char *name, struct stat *sb)
usr.bin/compress/main.c
133
int, struct stat *);
usr.bin/compress/main.c
134
static int dodecompress(const char *, char *, struct stat *);
usr.bin/compress/main.c
406
stat(_infile, entry->fts_statp) ==
usr.bin/compress/main.c
516
struct stat sb;
usr.bin/compress/main.c
556
int bits, struct stat *sb)
usr.bin/compress/main.c
673
dodecompress(const char *in, char *out, struct stat *sb)
usr.bin/compress/main.c
71
int (*close)(void *, struct z_info *, const char *, struct stat *);
usr.bin/compress/main.c
791
setfile(const char *name, int fd, struct stat *fs)
usr.bin/compress/nullopen.c
88
null_close(void *cookie, struct z_info *info, const char *name, struct stat *sb)
usr.bin/compress/zipopen.c
416
zip_close(void *cookie, struct z_info *info, const char *name, struct stat *sb)
usr.bin/compress/zopen.c
310
z_close(void *cookie, struct z_info *info, const char *name, struct stat *sb)
usr.bin/ctfconv/ctfconv.c
183
struct stat st;
usr.bin/ctfdump/ctfdump.c
131
struct stat st;
usr.bin/cvs/add.c
235
struct stat st;
usr.bin/cvs/add.c
303
struct stat st;
usr.bin/cvs/add.c
316
if (stat(entry, &st) != -1) {
usr.bin/cvs/add.c
333
} else if (stat(entry, &st) != -1) {
usr.bin/cvs/buf.c
100
struct stat st;
usr.bin/cvs/checkout.c
402
struct stat sb;
usr.bin/cvs/checkout.c
404
if (stat(repo, &sb) == 0) {
usr.bin/cvs/checkout.c
418
if (stat(fpath, &sb) == 0) {
usr.bin/cvs/checkout.c
428
if (stat(fpath, &sb) == 0) {
usr.bin/cvs/client.c
1036
struct stat st;
usr.bin/cvs/client.c
1107
if (stat(fpath, &st) != -1)
usr.bin/cvs/client.c
1126
if (stat(fpath, &st) != -1)
usr.bin/cvs/client.c
406
struct stat st;
usr.bin/cvs/client.c
423
if (stat(fpath, &st) == 0 && (st.st_mode & (S_IRUSR|S_IRGRP|S_IROTH)))
usr.bin/cvs/cvs.c
189
struct stat st;
usr.bin/cvs/cvs.c
251
if (stat(cvs_tmpdir, &st) == -1)
usr.bin/cvs/cvs.c
308
if (stat(fpath, &st) == -1 && cvs_cmdop != CVS_OP_INIT) {
usr.bin/cvs/diff.c
305
struct stat st;
usr.bin/cvs/diff_internals.c
213
static struct stat stb1, stb2;
usr.bin/cvs/edit.c
328
struct stat st;
usr.bin/cvs/edit.c
345
if (stat(bfpath, &st) == -1)
usr.bin/cvs/file.c
1008
struct stat stb1, stb2;
usr.bin/cvs/file.c
1070
struct stat st;
usr.bin/cvs/file.c
265
struct stat st;
usr.bin/cvs/file.c
316
if (stat(d, &st) == -1) {
usr.bin/cvs/file.c
404
struct stat st;
usr.bin/cvs/file.c
441
l = stat(fpath, &st);
usr.bin/cvs/file.c
606
stat(fpath, &st) == -1 || build_dirs == 1)
usr.bin/cvs/file.c
648
struct stat st;
usr.bin/cvs/file.c
722
else if (cf->fd == -1 && stat(rcsfile, &st) != -1)
usr.bin/cvs/import.c
231
struct stat st;
usr.bin/cvs/import.c
260
if (cf->file_rcs != NULL || stat(repo, &st) != -1)
usr.bin/cvs/import.c
310
struct stat st;
usr.bin/cvs/init.c
129
struct stat st;
usr.bin/cvs/init.c
133
(errno == EACCES && (stat(path, &st) == 0) &&
usr.bin/cvs/logmsg.c
101
struct stat st1, st2;
usr.bin/cvs/logmsg.c
104
struct stat st;
usr.bin/cvs/logmsg.c
47
struct stat st;
usr.bin/cvs/rcs.c
160
struct stat st;
usr.bin/cvs/release.c
125
if (stat(CVS_PATH_CVSDIR, &st) == -1 || !S_ISDIR(st.st_mode)) {
usr.bin/cvs/release.c
97
struct stat st;
usr.bin/cvs/remote.c
168
struct stat st;
usr.bin/cvs/remote.c
249
struct stat st;
usr.bin/cvs/repository.c
103
struct stat st;
usr.bin/cvs/repository.c
48
struct stat st;
usr.bin/cvs/repository.c
65
if (stat(fpath, &st) == -1)
usr.bin/cvs/update.c
243
struct stat st;
usr.bin/cvs/util.c
367
struct stat st;
usr.bin/dc/dc.c
48
struct stat st;
usr.bin/diff/diff.c
243
} else if (stat(argv[0], &stb1) != 0)
usr.bin/diff/diff.c
248
} else if (stat(argv[1], &stb2) != 0)
usr.bin/diff/diff.c
260
if (stat(argv[0], &stb1) == -1)
usr.bin/diff/diff.c
265
if (stat(argv[1], &stb2) == -1)
usr.bin/diff/diff.c
42
struct stat stb1, stb2;
usr.bin/diff/diff.h
87
extern struct stat stb1, stb2;
usr.bin/diff/diffdir.c
175
if (stat(path1, &stb1) != 0) {
usr.bin/diff/diffdir.c
185
if (stat(path2, &stb2) != 0) {
usr.bin/doas/doas.c
159
struct stat sb;
usr.bin/du/du.c
248
struct stat *st;
usr.bin/file/file.c
261
error = stat(path, &msg->sb);
usr.bin/file/file.c
323
struct stat sb;
usr.bin/file/file.c
358
if (!Lflag && stat(path, &sb) == -1)
usr.bin/file/file.c
48
struct stat sb;
usr.bin/find/extern.h
45
struct stat;
usr.bin/find/extern.h
46
void printlong(char *, char *, struct stat *);
usr.bin/find/function.c
1217
struct stat sb;
usr.bin/find/function.c
1221
if (stat(filename, &sb))
usr.bin/find/function.c
1248
struct stat sb;
usr.bin/find/function.c
1252
if (stat(filename, &sb))
usr.bin/find/function.c
1279
struct stat sb;
usr.bin/find/function.c
1283
if (stat(filename, &sb))
usr.bin/find/ls.c
57
printlong(char *name, char *accpath, struct stat *sb)
usr.bin/finger/finger.c
122
if (stat(_PATH_MP_DB, &sb) == 0) {
usr.bin/finger/finger.c
83
struct stat sb;
usr.bin/finger/util.c
124
if (stat(tbuf, &sb) < 0) {
usr.bin/finger/util.c
60
struct stat sb;
usr.bin/finger/util.c
63
if (stat(tbuf, &sb) == -1) {
usr.bin/finger/util.c
90
struct stat sb;
usr.bin/fstat/fstat.c
897
struct stat sb;
usr.bin/fstat/fstat.c
900
if (stat(filename, &sb)) {
usr.bin/fstat/fstat.c
919
if (stat(mntbuf[i].f_mntonname, &sb) == -1) {
usr.bin/ftp/cmds.c
367
struct stat filestat;
usr.bin/ftp/cmds.c
371
if (stat(*cpp, &filestat) != 0) {
usr.bin/ftp/fetch.c
183
struct stat st;
usr.bin/ftp/fetch.c
337
struct stat stbuf;
usr.bin/ftp/fetch.c
723
if (stat(savefile, &stbuf) == 0) {
usr.bin/ftp/ftp.c
578
struct stat st;
usr.bin/ftp/ftp.c
878
struct stat st;
usr.bin/ftp/ruserpass.c
81
struct stat stb;
usr.bin/ftp/small.c
262
struct stat stbuf;
usr.bin/ftp/small.c
265
ret = stat(argv[2], &stbuf);
usr.bin/gprof/elf.c
52
struct stat s;
usr.bin/grep/file.c
99
struct stat sb;
usr.bin/grep/grep.h
111
mmf_t *mmopen(int fd, struct stat *sb);
usr.bin/grep/mmfile.c
44
mmopen(int fd, struct stat *st)
usr.bin/hexdump/display.c
330
struct stat sb;
usr.bin/kdump/ktrstruct.c
214
ktrstat(const struct stat *statp)
usr.bin/kdump/ktrstruct.c
595
struct stat sb;
usr.bin/kdump/ktrstruct.c
597
if (datalen != sizeof(struct stat))
usr.bin/ktrace/ktrace.c
68
struct stat sb;
usr.bin/last/last.c
252
struct stat stb;
usr.bin/lastcomm/lastcomm.c
63
struct stat sb;
usr.bin/ldap/ldapclient.c
113
struct stat st;
usr.bin/ldap/ldapclient.c
244
else if (stat(secretfile, &st) == -1)
usr.bin/less/ch.c
293
struct stat st;
usr.bin/less/ch.c
294
int r = stat(get_filename(curr_ifile), &st);
usr.bin/less/cmdbuf.c
1277
struct stat statbuf;
usr.bin/less/edit.c
295
struct stat statbuf;
usr.bin/less/edit.c
301
r = stat(qopen_filename, &statbuf);
usr.bin/less/filename.c
449
struct stat statbuf;
usr.bin/less/filename.c
453
r = stat(filename, &statbuf);
usr.bin/less/filename.c
474
struct stat statbuf;
usr.bin/less/filename.c
476
r = stat(filename, &statbuf);
usr.bin/less/filename.c
496
struct stat statbuf;
usr.bin/lndir/lndir.c
121
if (stat(tn, &ts) == -1)
usr.bin/lndir/lndir.c
129
if (stat(fn, &fs) == -1)
usr.bin/lndir/lndir.c
179
struct stat *fs, *ts; /* stats for the "from" directory and cwd */
usr.bin/lndir/lndir.c
183
dodir(char *fn, struct stat *fs, struct stat *ts, int rel)
usr.bin/lndir/lndir.c
188
struct stat sb, sc;
usr.bin/lndir/lndir.c
224
if (stat(buf, &sb) == -1) {
usr.bin/lndir/lndir.c
250
if (stat(dp->d_name, &sc) == -1 &&
usr.bin/lndir/lndir.c
253
stat(dp->d_name, &sc) == -1) {
usr.bin/lndir/lndir.c
72
int dodir(char *, struct stat *, struct stat *, int);
usr.bin/lndir/lndir.c
85
struct stat fs, ts;
usr.bin/locate/locate/locate.c
198
struct stat sb;
usr.bin/login/login.c
153
struct stat st;
usr.bin/login/login.c
690
if (stat(mail, &st) == 0 && st.st_size != 0)
usr.bin/look/look.c
76
struct stat sb;
usr.bin/mail/collect.c
393
struct stat junk;
usr.bin/mail/collect.c
399
if (stat(name, &junk) >= 0 && S_ISREG(junk.st_mode)) {
usr.bin/mail/edit.c
154
struct stat statb;
usr.bin/mail/edit.c
214
if (stat(tempname, &statb) == -1) {
usr.bin/mail/fio.c
314
struct stat sb;
usr.bin/mail/fio.c
316
if (stat(name, &sb) == -1)
usr.bin/mail/fio.c
392
struct stat sbuf;
usr.bin/mail/lex.c
59
struct stat stb;
usr.bin/mail/quit.c
394
struct stat statb;
usr.bin/mail/quit.c
411
if (stat(mailname, &statb) >= 0 && statb.st_size > mailsize) {
usr.bin/mail/quit.c
70
struct stat minfo;
usr.bin/mail/util.c
101
if (stat(name, &sbuf) == -1)
usr.bin/mail/util.c
99
struct stat sbuf;
usr.bin/mail/v7.local.c
55
struct stat sb;
usr.bin/mail/v7.local.c
58
if ((mbox = getenv("MAIL")) && stat(mbox, &sb) == 0 &&
usr.bin/make/dir.c
423
struct stat stb;/* Buffer for stat, if necessary */
usr.bin/make/dir.c
548
if (stat(file, &stb) == 0) {
usr.bin/make/dir.c
610
} else if (stat(q, &stb) == 0) {
usr.bin/make/dir.c
702
struct stat stb;
usr.bin/make/dir.c
732
} else if (stat(fullName, &stb) == 0)
usr.bin/make/main.c
516
struct stat sa, sb;
usr.bin/make/main.c
523
if (stat(cwd, &sa) == -1)
usr.bin/make/main.c
529
if (stat(dir, &sb) == 0 && sa.st_ino == sb.st_ino &&
usr.bin/make/memory.c
168
struct stat st;
usr.bin/mandoc/dbm_map.c
39
static struct stat st;
usr.bin/mandoc/html.c
598
struct stat sb;
usr.bin/mandoc/html.c
606
if (stat(filename, &sb) == -1)
usr.bin/mandoc/main.c
728
struct stat sb;
usr.bin/mandoc/main.c
745
if (stat(file, &sb) != -1)
usr.bin/mandoc/main.c
751
if (stat(file, &sb) != -1) {
usr.bin/mandoc/main.c
760
if (stat(file, &sb) != -1)
usr.bin/mandoc/main.c
809
globres = stat(file, &sb);
usr.bin/mandoc/mandocdb.c
117
static void mlink_add(struct mlink *, const struct stat *);
usr.bin/mandoc/mandocdb.c
2181
struct stat sb1, sb2;
usr.bin/mandoc/mandocdb.c
592
if (stat(path, ff->fts_statp) == -1) {
usr.bin/mandoc/mandocdb.c
755
struct stat st;
usr.bin/mandoc/mandocdb.c
817
if (stat(usefile, &st) == -1) {
usr.bin/mandoc/mandocdb.c
949
mlink_add(struct mlink *mlink, const struct stat *st)
usr.bin/mandoc/manpath.c
113
struct stat sb;
usr.bin/mandoc/manpath.c
124
if (stat(cp, &sb) == -1)
usr.bin/mandoc/read.c
440
struct stat st;
usr.bin/mesg/mesg.c
51
struct stat sb;
usr.bin/mesg/mesg.c
71
if (stat(tty, &sb) == -1)
usr.bin/mg/cscope.c
158
struct stat sb;
usr.bin/mg/cscope.c
179
if (stat(dir, &sb) == -1)
usr.bin/mg/dir.c
115
struct stat sb;
usr.bin/mg/dir.c
141
ishere = !stat(path, &sb);
usr.bin/mg/dired.c
479
struct stat statbuf;
usr.bin/mg/dired.c
506
if (stat(topath, &statbuf) == 0) {
usr.bin/mg/dired.c
537
struct stat statbuf;
usr.bin/mg/dired.c
565
if (stat(topath, &statbuf) == 0) {
usr.bin/mg/file.c
199
struct stat statbuf;
usr.bin/mg/file.c
252
if (stat(dp, &statbuf) == -1 && errno == ENOENT) {
usr.bin/mg/file.c
508
struct stat statbuf;
usr.bin/mg/file.c
527
if (stat(adjfname, &statbuf) == 0) {
usr.bin/mg/file.c
662
struct stat statbuf;
usr.bin/mg/file.c
667
if (stat(fn, &statbuf) == -1 && errno == ENOENT) {
usr.bin/mg/fileio.c
212
struct stat sb;
usr.bin/mg/fileio.c
219
if (stat(fn, &sb) == -1) {
usr.bin/mg/fileio.c
386
struct stat orig;
usr.bin/mg/fileio.c
530
struct stat statbuf;
usr.bin/mg/fileio.c
564
struct stat statbuf;
usr.bin/mg/fileio.c
566
if (stat(fname, &statbuf) != 0)
usr.bin/mg/fileio.c
583
struct stat sb;
usr.bin/mg/fileio.c
585
if (stat(bp->b_fname, &sb) == -1)
usr.bin/mg/fileio.c
602
struct stat sb;
usr.bin/mg/fileio.c
605
if (bkupdir != NULL && (stat(bkupdir, &sb) == 0) &&
usr.bin/mg/fileio.c
63
struct stat sb;
usr.bin/mg/fileio.c
704
struct stat statbuf;
usr.bin/mg/fileio.c
712
if (fn[0] != '~' || stat(fn, &statbuf) == 0) {
usr.bin/mg/log.c
337
struct stat sb;
usr.bin/mg/log.c
360
if(stat(mglogdir, &sb)) {
usr.bin/mg/tags.c
261
struct stat sb;
usr.bin/newsyslog/newsyslog.c
1026
struct stat sb, tsb;
usr.bin/newsyslog/newsyslog.c
1031
if (stat(ent->log, &sb) == -1)
usr.bin/newsyslog/newsyslog.c
1052
if ((sb.st_size == 0) || stat(fname, &tsb) == -1)
usr.bin/newsyslog/newsyslog.c
1134
stat_suffix(char *file, size_t size, char *suffix, struct stat *sp,
usr.bin/newsyslog/newsyslog.c
1135
int (*func)(const char *, struct stat *))
usr.bin/newsyslog/newsyslog.c
1153
struct stat sb;
usr.bin/newsyslog/newsyslog.c
160
int stat_suffix(char *, size_t, char *, struct stat *,
usr.bin/newsyslog/newsyslog.c
161
int (*)(const char *, struct stat *));
usr.bin/newsyslog/newsyslog.c
162
off_t sizefile(struct stat *);
usr.bin/newsyslog/newsyslog.c
281
struct stat sb;
usr.bin/newsyslog/newsyslog.c
293
if (S_ISLNK(sb.st_mode) && stat(ent->log, &sb) != 0) {
usr.bin/newsyslog/newsyslog.c
474
struct stat sb;
usr.bin/newsyslog/newsyslog.c
756
if (stat(working->backdir, &sb) != 0 ||
usr.bin/newsyslog/newsyslog.c
958
sizefile(struct stat *sb)
usr.bin/newsyslog/newsyslog.c
972
struct stat sb;
usr.bin/newsyslog/newsyslog.c
981
stat) < 0 && stat(file, &sb) == -1)
usr.bin/newsyslog/newsyslog.c
984
if (stat(file, &sb) == -1 && stat_suffix(file, sizeof(file),
usr.bin/newsyslog/newsyslog.c
985
COMPRESS_POSTFIX, &sb, stat) < 0)
usr.bin/openssl/apps.c
1936
struct stat st;
usr.bin/openssl/apps.c
1938
if (stat(name, &st) == 0)
usr.bin/openssl/certhash.c
474
struct stat sb;
usr.bin/patch/inp.c
134
struct stat filestat;
usr.bin/patch/inp.c
147
statfailed = stat(filename, &filestat);
usr.bin/patch/inp.c
165
statfailed = stat(filename, &filestat);
usr.bin/patch/mkpath.c
48
struct stat sb;
usr.bin/patch/mkpath.c
61
if (stat(path, &sb)) {
usr.bin/patch/patch.c
429
struct stat statbuf;
usr.bin/patch/patch.c
441
stat(realout, &statbuf) == 0 &&
usr.bin/patch/pch.c
100
struct stat filestat;
usr.bin/patch/util.c
126
while (stat(bakname, &filestat) == 0 &&
usr.bin/patch/util.c
345
struct stat filestat;
usr.bin/patch/util.c
377
if (stat(fullname, &filestat) == 0 && S_ISDIR(filestat.st_mode)) {
usr.bin/patch/util.c
385
*exists = stat(name, &filestat) == 0;
usr.bin/patch/util.c
94
struct stat filestat;
usr.bin/patch/util.c
99
if (backup_type == none || stat(orig, &filestat) != 0)
usr.bin/pkgconf/libpkgconf/path.c
27
path_list_contains_entry(const char *text, pkgconf_list_t *dirlist, struct stat *st)
usr.bin/pkgconf/libpkgconf/path.c
71
struct stat st;
usr.bin/pkgconf/libpkgconf/path.c
82
if (linkdest != NULL && stat(linkdest, &st) == -1)
usr.bin/pkgconf/libpkgconf/pkg.c
80
struct stat path_stat;
usr.bin/pkill/pkill.c
544
struct stat st;
usr.bin/pkill/pkill.c
613
if (stat(buf, &st) == -1) {
usr.bin/pr/pr.c
1415
struct stat statbuf;
usr.bin/rcs/buf.c
92
struct stat st;
usr.bin/rcs/ci.c
425
struct stat st;
usr.bin/rcs/ci.c
600
struct stat st;
usr.bin/rcs/ci.c
821
struct stat sb;
usr.bin/rcs/co.c
250
struct stat st;
usr.bin/rcs/co.c
405
if ((flags & (PIPEOUT|FORCE)) == 0 && stat(dst, &st) != -1) {
usr.bin/rcs/diff.c
210
static struct stat stb1, stb2;
usr.bin/rcs/rcsdiff.c
276
struct stat st;
usr.bin/rcs/rcsutil.c
155
struct stat sb;
usr.bin/rcs/rcsutil.c
178
if (stat(rcsdir, &sb) == 0 && S_ISDIR(sb.st_mode))
usr.bin/rcs/rcsutil.c
53
struct stat st;
usr.bin/rdist/client.c
1021
dostat(char *file, struct stat *statbuf, opt_t opts)
usr.bin/rdist/client.c
1026
s = stat(file, statbuf);
usr.bin/rdist/client.c
1041
struct stat *st, char *user, char *group)
usr.bin/rdist/client.c
1073
struct stat *st, char *user, char *group)
usr.bin/rdist/client.c
1137
static struct stat stb;
usr.bin/rdist/client.c
318
linkinfo(struct stat *statp)
usr.bin/rdist/client.c
380
sendfile(char *rname, opt_t opts, struct stat *stb, char *user,
usr.bin/rdist/client.c
492
struct stat stb;
usr.bin/rdist/client.c
579
senddir(char *rname, opt_t opts, struct stat *stb, char *user,
usr.bin/rdist/client.c
654
sendlink(char *rname, opt_t opts, struct stat *stb, char *user,
usr.bin/rdist/client.c
70
static struct linkbuf *linkinfo(struct stat *);
usr.bin/rdist/client.c
72
static int sendfile(char *, opt_t, struct stat *, char *, char *, int);
usr.bin/rdist/client.c
74
static int senddir(char *, opt_t, struct stat *, char *, char *, int);
usr.bin/rdist/client.c
75
static int sendlink(char *, opt_t, struct stat *, char *, char *, int);
usr.bin/rdist/client.c
76
static int update(char *, opt_t, struct stat *);
usr.bin/rdist/client.c
77
static int dostat(char *, struct stat *, opt_t);
usr.bin/rdist/client.c
771
update(char *rname, opt_t opts, struct stat *statp)
usr.bin/rdist/client.c
78
static int statupdate(int, char *, opt_t, char *, int, struct stat *, char *, char *);
usr.bin/rdist/client.c
79
static int fullupdate(int, char *, opt_t, char *, int, struct stat *, char *, char *);
usr.bin/rdist/client.h
193
int isexec(char *, struct stat *);
usr.bin/rdist/common.c
825
struct stat statbuf;
usr.bin/rdist/common.c
830
found = stat(file, &statbuf) == 0;
usr.bin/rdist/docmd.c
498
struct stat s;
usr.bin/rdist/docmd.c
60
static void rcmptime(struct stat *, struct subcmd *, char **);
usr.bin/rdist/docmd.c
609
rcmptime(struct stat *st, struct subcmd *sbcmds, char **env)
usr.bin/rdist/docmd.c
652
struct stat stb;
usr.bin/rdist/docmd.c
674
if (access(name, R_OK) == -1 || stat(name, &stb) == -1) {
usr.bin/rdist/docmd.c
721
struct stat stb;
usr.bin/rdist/docmd.c
733
if (stat(stamp, &stb) == -1) {
usr.bin/rdist/docmd.c
97
struct stat stb;
usr.bin/rdist/expand.c
311
struct stat stb;
usr.bin/rdist/expand.c
317
if (!expany || stat(path, &stb) >= 0) {
usr.bin/rdist/expand.c
347
struct stat stb;
usr.bin/rdist/expand.c
501
struct stat stb;
usr.bin/rdist/expand.c
569
if (stat(path, &stb) == 0 && S_ISDIR(stb.st_mode)) {
usr.bin/rdist/isexec.c
43
isexec(char *file, struct stat *statp)
usr.bin/rdistd/filesys.c
169
findmnt(struct stat *filest, struct mntinfo *mntinfo)
usr.bin/rdistd/filesys.c
217
struct stat mntstat;
usr.bin/rdistd/filesys.c
246
if (stat(mnt->me_path, &mntstat) != 0) {
usr.bin/rdistd/filesys.c
284
getmntpt(char *pathname, struct stat *statbuf, int *isvalid)
usr.bin/rdistd/filesys.c
287
static struct stat filestat;
usr.bin/rdistd/filesys.c
288
struct stat *pstat;
usr.bin/rdistd/filesys.c
334
is_nfs_mounted(char *path, struct stat *statbuf, int *isvalid)
usr.bin/rdistd/filesys.c
352
is_ro_mounted(char *path, struct stat *statbuf, int *isvalid)
usr.bin/rdistd/filesys.c
370
is_symlinked(char *path, struct stat *statbuf, int *isvalid)
usr.bin/rdistd/filesys.c
372
static struct stat stb;
usr.bin/rdistd/filesys.c
53
find_file(char *pathname, struct stat *statbuf, int *isvalid)
usr.bin/rdistd/filesys.c
57
static struct stat filestat;
usr.bin/rdistd/server.c
1106
struct stat stb;
usr.bin/rdistd/server.c
1202
struct stat stb;
usr.bin/rdistd/server.c
181
struct stat st;
usr.bin/rdistd/server.c
251
if (stat(file, &st) == -1) {
usr.bin/rdistd/server.c
283
removefile(struct stat *statb, int silent)
usr.bin/rdistd/server.c
288
struct stat stb;
usr.bin/rdistd/server.c
393
struct stat stb;
usr.bin/rdistd/server.c
557
static struct stat stb;
usr.bin/rdistd/server.c
641
struct stat stb;
usr.bin/rdistd/server.c
65
static int removefile(struct stat *, int);
usr.bin/rdistd/server.c
686
struct stat st;
usr.bin/rdistd/server.c
738
static struct stat statbuff;
usr.bin/rdistd/server.c
878
if ((stat(target, &statbuff) == 0) && S_ISDIR(statbuff.st_mode)) {
usr.bin/rdistd/server.c
891
struct stat stb;
usr.bin/rdistd/server.c
958
struct stat stb;
usr.bin/rdistd/server.h
79
char *find_file(char *, struct stat *, int *);
usr.bin/rdistd/server.h
80
mntent_t *findmnt(struct stat *, struct mntinfo *);
usr.bin/rdistd/server.h
84
mntent_t *getmntpt(char *, struct stat *, int *);
usr.bin/rdistd/server.h
85
int is_nfs_mounted(char *, struct stat *, int *);
usr.bin/rdistd/server.h
86
int is_ro_mounted(char *, struct stat *, int *);
usr.bin/rdistd/server.h
87
int is_symlinked(char *, struct stat *, int *);
usr.bin/rpcgen/rpc_main.c
282
struct stat buf;
usr.bin/rpcgen/rpc_main.c
285
if (stat(CPP, &buf) == -1) {
usr.bin/rpcgen/rpc_main.c
292
if (stat(CPP, &buf) == -1) { /* can't find any cpp */
usr.bin/rpcgen/rpc_main.c
833
struct stat buf;
usr.bin/rpcgen/rpc_main.c
836
if (stat(infile, &buf) == -1) {
usr.bin/rpcgen/rpc_main.c
842
if (stat(outfile, &buf) == -1)
usr.bin/rsync/downloader.c
301
struct stat st;
usr.bin/rsync/flist.c
1054
struct stat st;
usr.bin/rsync/flist.c
1174
struct stat st;
usr.bin/rsync/flist.c
1307
if (stat(wfl[i].path, &st) == -1) {
usr.bin/rsync/flist.c
224
flist_copy_stat(struct flist *f, const struct stat *st)
usr.bin/rsync/flist.c
544
flist_append(struct flist *f, struct stat *st, const char *path)
usr.bin/rsync/flist.c
807
struct stat st;
usr.bin/rsync/mkpath.c
47
struct stat sb;
usr.bin/rsync/mkpath.c
63
if (stat(path, &sb) == -1) {
usr.bin/rsync/mktemp.c
81
struct stat sb;
usr.bin/rsync/sender.c
110
switch (up->stat.curst) {
usr.bin/rsync/sender.c
120
up->stat.curlen - up->stat.curpos);
usr.bin/rsync/sender.c
131
up->stat.map + up->stat.curpos, sz);
usr.bin/rsync/sender.c
133
up->stat.curpos += sz;
usr.bin/rsync/sender.c
134
if (up->stat.curpos == up->stat.curlen)
usr.bin/rsync/sender.c
135
up->stat.curst = BLKSTAT_TOK;
usr.bin/rsync/sender.c
151
&pos, *wbsz, up->stat.curtok);
usr.bin/rsync/sender.c
152
up->stat.curst = up->stat.curtok ?
usr.bin/rsync/sender.c
162
hash_file_final(&up->stat.ctx, fmd);
usr.bin/rsync/sender.c
168
up->stat.curst = BLKSTAT_DONE;
usr.bin/rsync/sender.c
180
(intmax_t)up->stat.total / 1024,
usr.bin/rsync/sender.c
181
100.0 * up->stat.dirty / up->stat.total);
usr.bin/rsync/sender.c
203
assert(up->stat.fd != -1);
usr.bin/rsync/sender.c
205
fl[up->cur->idx].path, &up->stat);
usr.bin/rsync/sender.c
211
assert(BLKSTAT_NONE == up->stat.curst);
usr.bin/rsync/sender.c
235
up->stat.curst = BLKSTAT_PHASE;
usr.bin/rsync/sender.c
245
up->stat.curst = BLKSTAT_DONE;
usr.bin/rsync/sender.c
247
assert(up->stat.fd != -1);
usr.bin/rsync/sender.c
268
up->stat.curst = BLKSTAT_NEXT;
usr.bin/rsync/sender.c
368
struct stat st;
usr.bin/rsync/sender.c
380
up.stat.fd = -1;
usr.bin/rsync/sender.c
381
up.stat.map = MAP_FAILED;
usr.bin/rsync/sender.c
382
up.stat.blktab = blkhash_alloc();
usr.bin/rsync/sender.c
48
struct blkstat stat; /* status of file being updated */
usr.bin/rsync/sender.c
522
assert(up.stat.fd != -1);
usr.bin/rsync/sender.c
523
assert(up.stat.map == MAP_FAILED);
usr.bin/rsync/sender.c
524
assert(up.stat.mapsz == 0);
usr.bin/rsync/sender.c
527
if (fstat(up.stat.fd, &st) == -1) {
usr.bin/rsync/sender.c
539
if ((up.stat.mapsz = st.st_size) > 0) {
usr.bin/rsync/sender.c
540
up.stat.map = mmap(NULL,
usr.bin/rsync/sender.c
541
up.stat.mapsz, PROT_READ,
usr.bin/rsync/sender.c
542
MAP_SHARED, up.stat.fd, 0);
usr.bin/rsync/sender.c
543
if (up.stat.map == MAP_FAILED) {
usr.bin/rsync/sender.c
605
assert(up.stat.fd == -1);
usr.bin/rsync/sender.c
606
assert(up.stat.map == MAP_FAILED);
usr.bin/rsync/sender.c
607
assert(up.stat.mapsz == 0);
usr.bin/rsync/sender.c
623
hash_file_start(&up.stat.ctx, sess);
usr.bin/rsync/sender.c
624
blkhash_set(up.stat.blktab, up.cur->blks);
usr.bin/rsync/sender.c
643
up.stat.fd = open(fl[up.cur->idx].path,
usr.bin/rsync/sender.c
645
if (up.stat.fd == -1) {
usr.bin/rsync/sender.c
649
pfd[2].fd = up.stat.fd;
usr.bin/rsync/sender.c
685
blkhash_free(up.stat.blktab);
usr.bin/rsync/sender.c
73
if (p->stat.map != MAP_FAILED)
usr.bin/rsync/sender.c
74
munmap(p->stat.map, p->stat.mapsz);
usr.bin/rsync/sender.c
76
p->stat.map = MAP_FAILED;
usr.bin/rsync/sender.c
77
p->stat.mapsz = 0;
usr.bin/rsync/sender.c
79
if (p->stat.fd != -1)
usr.bin/rsync/sender.c
80
close(p->stat.fd);
usr.bin/rsync/sender.c
82
p->stat.fd = -1;
usr.bin/rsync/sender.c
86
p->stat.offs = 0;
usr.bin/rsync/sender.c
87
p->stat.hint = 0;
usr.bin/rsync/sender.c
88
p->stat.curst = BLKSTAT_NONE;
usr.bin/rsync/uploader.c
172
struct stat st;
usr.bin/rsync/uploader.c
277
struct stat st;
usr.bin/rsync/uploader.c
366
struct stat st;
usr.bin/rsync/uploader.c
443
struct stat st;
usr.bin/rsync/uploader.c
520
struct stat st;
usr.bin/rsync/uploader.c
583
struct stat st;
usr.bin/rsync/uploader.c
657
check_file(int rootfd, const struct flist *f, struct stat *st,
usr.bin/rsync/uploader.c
702
struct stat st;
usr.bin/rusers/rusers.c
485
enum clnt_stat stat;
usr.bin/rusers/rusers.c
522
stat = rpc_setup(&sock[0], &xdr, &msg[0], &args, unix_auth, buf[0]);
usr.bin/rusers/rusers.c
523
if (stat != RPC_SUCCESS)
usr.bin/rusers/rusers.c
530
stat = rpc_setup(&sock[1], &xdr, &msg[1], &args, unix_auth, buf[1]);
usr.bin/rusers/rusers.c
531
if (stat != RPC_SUCCESS)
usr.bin/rusers/rusers.c
604
stat = get_reply(sock[1], (in_port_t)port[1],
usr.bin/rusers/rusers.c
606
if (stat != RPC_SUCCESS)
usr.bin/rusers/rusers.c
610
stat = get_reply(sock[0], (in_port_t)port[0],
usr.bin/rusers/rusers.c
612
if (stat != RPC_SUCCESS)
usr.bin/rusers/rusers.c
625
if (stat != RPC_SUCCESS) {
usr.bin/rusers/rusers.c
626
clnt_perrno(stat);
usr.bin/rwall/rwall.c
108
struct stat sbuf;
usr.bin/sdiff/sdiff.c
98
struct stat sb;
usr.bin/sed/main.c
341
struct stat sb;
usr.bin/sed/main.c
384
if (stat(fname, &sb) != 0)
usr.bin/sendbug/sendbug.c
162
if (stat(tmppath, &sb) == -1)
usr.bin/sendbug/sendbug.c
84
struct stat sb;
usr.bin/signify/signify.c
173
struct stat sb;
usr.bin/signify/signify.c
93
struct stat sb;
usr.bin/signify/zsig.c
241
struct stat sb;
usr.bin/sndiod/listen.c
114
if (stat(dir, &sb) == -1) {
usr.bin/sndiod/listen.c
81
struct stat sb;
usr.bin/sort/file.c
535
struct stat stat_buf;
usr.bin/sort/sort.c
1017
struct stat sb;
usr.bin/sort/sort.c
1022
if (stat(outfile, &sb) == -1)
usr.bin/spell/spellprog.c
246
struct stat sb;
usr.bin/ssh/auth-rhosts.c
191
struct stat st;
usr.bin/ssh/auth-rhosts.c
212
r = stat(path, &st);
usr.bin/ssh/auth-rhosts.c
225
stat(_PATH_RHOSTS_EQUIV, &st) == -1 &&
usr.bin/ssh/auth-rhosts.c
226
stat(_PATH_SSH_HOSTS_EQUIV, &st) == -1) {
usr.bin/ssh/auth-rhosts.c
256
if (stat(pw->pw_dir, &st) == -1) {
usr.bin/ssh/auth-rhosts.c
281
if (stat(path, &st) == -1) {
usr.bin/ssh/auth-rhosts.c
61
struct stat st;
usr.bin/ssh/auth.c
105
if (stat(shell, &st) == -1) {
usr.bin/ssh/auth.c
373
struct stat st;
usr.bin/ssh/auth.c
383
(stat(user_hostfile, &st) == 0) &&
usr.bin/ssh/auth.c
87
struct stat st;
usr.bin/ssh/auth2-pubkeyfile.c
458
struct stat st;
usr.bin/ssh/auth2.c
105
struct stat st;
usr.bin/ssh/authfile.c
83
struct stat st;
usr.bin/ssh/clientloop.c
2255
struct stat sb;
usr.bin/ssh/clientloop.c
2320
if (stat(options.user_hostfiles[i], &sb) != 0) {
usr.bin/ssh/clientloop.c
291
struct stat st;
usr.bin/ssh/clientloop.c
304
if (xauth_path != NULL && stat(xauth_path, &st) == -1) {
usr.bin/ssh/hostfile.c
506
struct stat st;
usr.bin/ssh/hostfile.c
514
if (stat(dotsshdir, &st) == 0)
usr.bin/ssh/misc-agent.c
269
struct stat sb;
usr.bin/ssh/misc.c
2233
safe_path(const char *name, struct stat *stp, const char *pw_dir,
usr.bin/ssh/misc.c
2239
struct stat st;
usr.bin/ssh/misc.c
2273
if (stat(buf, &st) == -1 ||
usr.bin/ssh/misc.c
2305
struct stat st;
usr.bin/ssh/misc.c
2734
struct stat st;
usr.bin/ssh/misc.c
2777
if (stat(av[0], &st) == -1) {
usr.bin/ssh/misc.h
210
struct stat;
usr.bin/ssh/misc.h
211
int safe_path(const char *, struct stat *, const char *, uid_t,
usr.bin/ssh/readconf.c
2624
struct stat sb;
usr.bin/ssh/scp.c
1131
if (stat(argv[i], &sb) != 0) {
usr.bin/ssh/scp.c
1288
struct stat st;
usr.bin/ssh/scp.c
1291
if (stat(src, &st) != 0)
usr.bin/ssh/scp.c
1342
struct stat stb;
usr.bin/ssh/scp.c
1452
rsource(char *name, struct stat *statp)
usr.bin/ssh/scp.c
1508
struct stat st;
usr.bin/ssh/scp.c
1546
if ((r = stat(dst, &st)) != 0)
usr.bin/ssh/scp.c
1617
struct stat stb;
usr.bin/ssh/scp.c
1653
if (stat(targ, &stb) == 0 && S_ISDIR(stb.st_mode))
usr.bin/ssh/scp.c
1801
exists = stat(np, &stb) == 0;
usr.bin/ssh/scp.c
2132
struct stat stb;
usr.bin/ssh/scp.c
2134
if (!stat(cp, &stb)) {
usr.bin/ssh/scp.c
2177
struct stat stb;
usr.bin/ssh/scp.c
402
void rsource(char *, struct stat *);
usr.bin/ssh/scp.c
675
do_times(int fd, int verb, const struct stat *sb)
usr.bin/ssh/scp.c
985
struct stat sb;
usr.bin/ssh/servconf.c
2741
struct stat st;
usr.bin/ssh/session.c
1001
struct stat sb;
usr.bin/ssh/session.c
1007
if (stat(nl, &sb) == -1) {
usr.bin/ssh/session.c
1032
struct stat st;
usr.bin/ssh/session.c
1054
if (stat(component, &st) != 0)
usr.bin/ssh/session.c
1595
struct stat st;
usr.bin/ssh/session.c
1614
if (stat(prog, &st) == -1)
usr.bin/ssh/session.c
2203
struct stat st;
usr.bin/ssh/session.c
2217
(stat(options.xauth_location, &st) == -1)) {
usr.bin/ssh/session.c
727
struct stat st;
usr.bin/ssh/session.c
733
if (login_getcapbool(lc, "hushlogin", 0) || stat(buf, &st) >= 0)
usr.bin/ssh/session.c
929
struct stat st;
usr.bin/ssh/session.c
938
stat(user_rc, &st) >= 0) {
usr.bin/ssh/session.c
953
} else if (stat(_PATH_SSH_SYSTEM_RC, &st) >= 0) {
usr.bin/ssh/sftp-client.c
1585
struct stat st;
usr.bin/ssh/sftp-client.c
2013
struct stat sb;
usr.bin/ssh/sftp-client.c
2232
struct stat sb;
usr.bin/ssh/sftp-client.c
2243
if (stat(src, &sb) == -1) {
usr.bin/ssh/sftp-client.c
2309
if (stat(new_src, &sb) == -1) {
usr.bin/ssh/sftp-common.c
213
ls_file(const char *name, const struct stat *st, int remote, int si_units,
usr.bin/ssh/sftp-common.c
64
stat_to_attrib(const struct stat *st, Attrib *a)
usr.bin/ssh/sftp-common.c
82
attrib_to_stat(const Attrib *a, struct stat *st)
usr.bin/ssh/sftp-common.h
46
void stat_to_attrib(const struct stat *, Attrib *);
usr.bin/ssh/sftp-common.h
47
void attrib_to_stat(const Attrib *, struct stat *);
usr.bin/ssh/sftp-common.h
50
char *ls_file(const char *, const struct stat *, int, int,
usr.bin/ssh/sftp-glob.c
116
struct stat sb;
usr.bin/ssh/sftp-glob.c
84
fudge_lstat(const char *path, struct stat *st)
usr.bin/ssh/sftp-glob.c
97
fudge_stat(const char *path, struct stat *st)
usr.bin/ssh/sftp-realpath.c
58
struct stat sb;
usr.bin/ssh/sftp-server.c
1124
struct stat st;
usr.bin/ssh/sftp-server.c
1250
struct stat sb;
usr.bin/ssh/sftp-server.c
1265
struct stat st;
usr.bin/ssh/sftp-server.c
1271
if (stat(newpath, &st) == -1) {
usr.bin/ssh/sftp-server.c
1287
} else if (stat(newpath, &sb) == -1) {
usr.bin/ssh/sftp-server.c
892
struct stat st;
usr.bin/ssh/sftp-server.c
901
r = do_lstat ? lstat(name, &st) : stat(name, &st);
usr.bin/ssh/sftp-server.c
930
struct stat st;
usr.bin/ssh/sftp.c
620
struct stat sb;
usr.bin/ssh/sftp.c
622
if (stat(path, &sb) == -1)
usr.bin/ssh/sftp.c
726
struct stat sb;
usr.bin/ssh/sftp.c
754
if (stat(g.gl_pathv[i], &sb) == -1) {
usr.bin/ssh/sftp.c
892
struct stat sb;
usr.bin/ssh/sftp.c
930
const struct stat *as = sort_glob->gl_statv[a];
usr.bin/ssh/sftp.c
931
const struct stat *bs = sort_glob->gl_statv[b];
usr.bin/ssh/ssh-add.c
1011
struct stat st;
usr.bin/ssh/ssh-add.c
1024
if (stat(buf, &st) == -1)
usr.bin/ssh/ssh-keygen.c
1003
struct stat st;
usr.bin/ssh/ssh-keygen.c
1016
if (stat(prv_file, &st) == 0) {
usr.bin/ssh/ssh-keygen.c
1241
struct stat sb;
usr.bin/ssh/ssh-keygen.c
1251
if (stat(identity_file, &sb) != 0)
usr.bin/ssh/ssh-keygen.c
1345
struct stat st;
usr.bin/ssh/ssh-keygen.c
1351
if (stat(identity_file, &st) == -1)
usr.bin/ssh/ssh-keygen.c
1426
struct stat st;
usr.bin/ssh/ssh-keygen.c
1441
if (stat(fname, &st) == -1) {
usr.bin/ssh/ssh-keygen.c
1463
struct stat st;
usr.bin/ssh/ssh-keygen.c
1468
if (stat(identity_file, &st) == -1)
usr.bin/ssh/ssh-keygen.c
2104
struct stat st;
usr.bin/ssh/ssh-keygen.c
2114
if (strcmp(identity_file, "-") != 0 && stat(identity_file, &st) == -1)
usr.bin/ssh/ssh-keygen.c
222
struct stat st;
usr.bin/ssh/ssh-keygen.c
224
if (stat(filename, &st) != 0)
usr.bin/ssh/ssh-keygen.c
2369
struct stat sb;
usr.bin/ssh/ssh-keygen.c
2377
if (stat(identity_file, &sb) == -1) {
usr.bin/ssh/ssh-keygen.c
2456
struct stat st;
usr.bin/ssh/ssh-keygen.c
2473
if (waspub && stat(privpath, &st) != 0 && errno == ENOENT)
usr.bin/ssh/ssh-keygen.c
386
struct stat st;
usr.bin/ssh/ssh-keygen.c
391
if (stat(identity_file, &st) == -1)
usr.bin/ssh/ssh-keygen.c
702
struct stat st;
usr.bin/ssh/ssh-keygen.c
706
if (stat(identity_file, &st) == -1)
usr.bin/ssh/ssh-keygen.c
755
struct stat st;
usr.bin/ssh/ssh-keygen.c
761
if (stat(identity_file, &st) == -1)
usr.bin/ssh/ssh-keygen.c
864
struct stat st;
usr.bin/ssh/ssh-keygen.c
869
if (stat(identity_file, &st) == -1)
usr.bin/ssh/ssh.c
1494
if (stat(options.forward_agent_sock_path, &st) != 0) {
usr.bin/ssh/ssh.c
635
struct stat st;
usr.bin/ssh/ssh.c
840
if (stat(p, &st) == -1)
usr.bin/ssh/sshbuf-io.c
36
struct stat st;
usr.bin/ssh/sshconnect2.c
1524
struct stat st;
usr.bin/ssh/sshconnect2.c
1526
if (stat(id->filename, &st) == -1) {
usr.bin/ssh/sshconnect2.c
2021
struct stat st;
usr.bin/ssh/sshconnect2.c
2031
if (stat(_PATH_SSH_KEY_SIGN, &st) == -1) {
usr.bin/ssh/sshd.c
1269
struct stat sb;
usr.bin/ssh/sshd.c
1668
if ((stat(_PATH_PRIVSEP_CHROOT_DIR, &sb) == -1) ||
usr.bin/ssh/sshd.c
1701
if (stat(rexec_argv[0], &sb) != 0 || !(sb.st_mode & (S_IXOTH|S_IXUSR)))
usr.bin/ssh/sshd.c
1706
if (stat(options.sshd_auth_path, &sb) != 0 ||
usr.bin/ssh/sshpty.c
142
struct stat st;
usr.bin/ssh/sshpty.c
156
if (stat(tty, &st) == -1)
usr.bin/stat/stat.c
134
void output(const struct stat *, const char *,
usr.bin/stat/stat.c
136
int format1(const struct stat *, /* stat info */
usr.bin/stat/stat.c
156
struct stat st;
usr.bin/stat/stat.c
261
if ((rc = stat(argv[0], &st)) == -1 &&
usr.bin/stat/stat.c
296
output(const struct stat *st, const char *file,
usr.bin/stat/stat.c
485
format1(const struct stat *st,
usr.bin/tail/extern.h
42
struct stat sb;
usr.bin/tail/forward.c
334
struct stat sb;
usr.bin/tail/forward.c
339
((stat(tf->fname, &sb) != 0) || sb.st_ino != tf->sb.st_ino)) {
usr.bin/tail/forward.c
364
if (stat(ttf->fname, &sb) == -1)
usr.bin/tftp/tftp.c
446
struct stat st;
usr.bin/tftp/tftp.c
458
stat(name, &st);
usr.bin/tic/tic.c
458
struct stat sb;
usr.bin/tic/tic.c
463
} else if (stat(filename, &sb) == -1) {
usr.bin/tic/tic.c
577
struct stat sb;
usr.bin/tic/tic.c
594
if (stat(result, &sb) >= 0) {
usr.bin/tic/tic.c
618
if (stat(result, &sb) >= 0
usr.bin/tmux/procname.c
86
struct stat sb;
usr.bin/tmux/procname.c
94
if (stat(tty, &sb) == -1)
usr.bin/tmux/server.c
332
struct stat sb;
usr.bin/tmux/server.c
345
if (stat(socket_path, &sb) != 0)
usr.bin/tmux/tmux.c
195
struct stat sb;
usr.bin/touch/touch.c
278
struct stat sb;
usr.bin/touch/touch.c
280
if (stat(fname, &sb))
usr.bin/unifdef/unifdef.c
395
struct stat st;
usr.bin/unifdef/unifdef.c
413
if (stat(ofn, &st) == -1) {
usr.bin/uudecode/uudecode.c
192
struct stat st;
usr.bin/uuencode/uuencode.c
64
struct stat sb;
usr.bin/vacation/vacation.c
146
if (iflag == 1 || (stat(VDB, &sb) == 0 && sb.st_size == (off_t)0))
usr.bin/vacation/vacation.c
93
struct stat sb;
usr.bin/vi/cl/cl_term.c
254
struct stat sb;
usr.bin/vi/cl/cl_term.c
263
if (stat(tty, &sb) < 0) {
usr.bin/vi/common/exf.c
1089
if (stat(wfname, &sb) == 0) {
usr.bin/vi/common/exf.c
123
struct stat sb;
usr.bin/vi/common/exf.c
42
static int file_spath(SCR *, FREF *, struct stat *, int *);
usr.bin/vi/common/exf.c
449
file_spath(SCR *sp, FREF *frp, struct stat *sbp, int *existsp)
usr.bin/vi/common/exf.c
467
*existsp = !stat(name, sbp);
usr.bin/vi/common/exf.c
472
if (!stat(name, sbp)) {
usr.bin/vi/common/exf.c
488
if (!stat(path, sbp)) {
usr.bin/vi/common/exf.c
734
struct stat sb;
usr.bin/vi/common/exf.c
770
!stat(name, &sb)) {
usr.bin/vi/common/exf.c
782
if (!LF_ISSET(FS_ALL) && noname && !stat(name, &sb)) {
usr.bin/vi/common/exf.c
801
if (stat(name, &sb))
usr.bin/vi/common/exf.c
872
if (stat(name, &sb))
usr.bin/vi/common/exf.c
979
struct stat sb;
usr.bin/vi/common/recover.c
126
struct stat sb;
usr.bin/vi/common/recover.c
138
if (stat(dp, &sb)) {
usr.bin/vi/common/recover.c
465
struct stat sb;
usr.bin/vi/common/recover.c
523
struct stat sb;
usr.bin/vi/common/recover.c
573
if (stat(path + sizeof(VI_PHEADER) - 1, &sb) &&
usr.bin/vi/common/recover.c
604
struct stat sb;
usr.bin/vi/common/recover.c
657
if (stat(path + sizeof(VI_PHEADER) - 1, &sb) &&
usr.bin/vi/common/recover.c
823
struct stat sb;
usr.bin/vi/common/recover.c
835
if (_PATH_SENDMAIL[0] != '/' || stat(_PATH_SENDMAIL, &sb) == -1)
usr.bin/vi/ex/ex_init.c
132
struct stat hsb, lsb;
usr.bin/vi/ex/ex_init.c
31
static enum rc exrc_isok(SCR *, struct stat *, int *, char *, int, int);
usr.bin/vi/ex/ex_init.c
336
exrc_isok(SCR *sp, struct stat *sbp, int *fdp, char *path, int rootown,
usr.bin/vi/ex/ex_mkexrc.c
40
struct stat sb;
usr.bin/vi/ex/ex_mkexrc.c
57
if (!FL_ISSET(cmdp->iflags, E_C_FORCE) && !stat(fname, &sb)) {
usr.bin/vi/ex/ex_read.c
44
struct stat sb;
usr.bin/vi/ex/ex_source.c
38
struct stat sb;
usr.bin/vi/ex/ex_tag.c
1117
struct stat sb;
usr.bin/vi/ex/ex_tag.c
1130
stat(name, &sb) && (p = strrchr(tfp->name, '/')) != NULL) {
usr.bin/vi/ex/ex_tag.c
1133
if (stat(buf, &sb) == 0) {
usr.bin/vi/ex/ex_tag.c
988
struct stat sb;
usr.bin/vi/ex/ex_write.c
270
struct stat sb;
usr.bin/vi/vi/v_txt.c
1969
struct stat sb;
usr.bin/vi/vi/v_txt.c
2039
!stat(cmd.argv[0]->bp, &sb) && S_ISDIR(sb.st_mode)) {
usr.bin/vi/vi/v_txt.c
2095
if (argc == 1 && !stat(cmd.argv[0]->bp, &sb) && S_ISDIR(sb.st_mode)) {
usr.bin/w/w.c
108
struct stat *stp;
usr.bin/w/w.c
484
static struct stat *
usr.bin/w/w.c
487
static struct stat sb;
usr.bin/w/w.c
493
if (stat(ttybuf, &sb))
usr.bin/w/w.c
98
static struct stat
usr.bin/wall/ttymsg.c
64
struct stat st;
usr.bin/wall/wall.c
180
struct stat sbuf;
usr.bin/wc/wc.c
130
struct stat sbuf;
usr.bin/which/which.c
104
if ((stat(prog, &sbuf) == 0) && S_ISREG(sbuf.st_mode) &&
usr.bin/which/which.c
132
if ((stat(filename, &sbuf) == 0) && S_ISREG(sbuf.st_mode) &&
usr.bin/which/which.c
99
struct stat sbuf;
usr.bin/who/who.c
226
struct stat sb;
usr.bin/who/who.c
240
if (stat(line, &sb) == 0) {
usr.bin/write/write.c
207
struct stat s;
usr.bin/write/write.c
211
if (stat(path, &s) == -1) {
usr.bin/xinstall/xinstall.c
188
no_target = stat(to_name = argv[argc - 1], &to_sb);
usr.bin/xinstall/xinstall.c
201
if (stat(*argv, &from_sb))
usr.bin/xinstall/xinstall.c
221
struct stat from_sb, to_sb;
usr.bin/xinstall/xinstall.c
232
if (stat(from_name, &from_sb))
usr.bin/xinstall/xinstall.c
248
if (stat(to_name, &to_sb) == 0) {
usr.bin/xinstall/xinstall.c
289
struct stat temp_sb;
usr.bin/xinstall/xinstall.c
443
struct stat sb;
usr.bin/xinstall/xinstall.c
571
struct stat sb;
usr.bin/xinstall/xinstall.c
580
if (stat(path, &sb)) {
usr.bin/xinstall/xinstall.c
84
struct stat from_sb, to_sb;
usr.sbin/acme-client/parse.y
1194
struct stat st;
usr.sbin/acme-client/parse.y
1200
if (stat(s, &st)) {
usr.sbin/acpidump/acpidump.c
676
struct stat st;
usr.sbin/acpidump/acpidump.c
696
if (stat(aml_dumpfile, &st) == 0 && S_ISDIR(st.st_mode))
usr.sbin/amd/amd/afs_ops.c
314
struct stat stb;
usr.sbin/amd/amd/afs_ops.c
325
if (stat(mp->am_path, &stb) < 0) {
usr.sbin/amd/amd/afs_ops.c
437
struct stat stb;
usr.sbin/amd/amd/host_ops.c
130
struct stat stb;
usr.sbin/amd/amd/host_ops.c
138
if (stat(dir, &stb) < 0 || (stb.st_mode & S_IFMT) != S_IFDIR) {
usr.sbin/amd/amd/info_file.c
193
struct stat stb;
usr.sbin/amd/amd/info_ndbm.c
72
struct stat stb;
usr.sbin/amd/amd/info_ndbm.c
96
struct stat stb;
usr.sbin/amd/amd/nfs_ops.c
681
struct stat stb;
usr.sbin/amd/amd/sfs_ops.c
108
struct stat stb;
usr.sbin/amd/amd/util.c
516
struct stat stb;
usr.sbin/amd/amd/util.c
549
return stat(path, &stb) == 0 &&
usr.sbin/amd/amd/util.c
566
struct stat stb;
usr.sbin/amd/amd/util.c
572
if (stat(xdp, &stb) == 0 && (stb.st_mode & 0200) == 0) {
usr.sbin/authpf/authpf.c
324
struct stat sb;
usr.sbin/authpf/authpf.c
332
if (stat(path_message, &sb) == -1 || ! S_ISREG(sb.st_mode)) {
usr.sbin/authpf/authpf.c
757
struct stat sb;
usr.sbin/authpf/authpf.c
786
if (stat(fn, &sb) == -1) {
usr.sbin/authpf/authpf.c
791
if(stat(fn, &sb) == -1) {
usr.sbin/bgpd/parse.y
4009
struct stat st;
usr.sbin/bgplgd/slowcgi.c
246
struct stat st;
usr.sbin/bgplgd/slowcgi.c
282
struct stat sb;
usr.sbin/bpflogd/bpflogd.c
460
struct stat st;
usr.sbin/btrace/btrace.c
243
struct stat st;
usr.sbin/btrace/btrace.c
246
if (stat(filename, &st))
usr.sbin/config/main.c
689
struct stat st;
usr.sbin/config/main.c
704
if (stat(builddir, &st) != 0) {
usr.sbin/config/main.c
711
if (stat(srcdir, &st) != 0 || !S_ISDIR(st.st_mode))
usr.sbin/config/main.c
720
if (stat("obj", &st) == 0)
usr.sbin/cron/atrun.c
162
struct stat sb;
usr.sbin/cron/atrun.c
325
struct stat sb;
usr.sbin/cron/atrun.c
70
struct stat sb;
usr.sbin/cron/crontab.c
262
struct stat statbuf, xstatbuf;
usr.sbin/cron/database.c
170
struct stat *statbuf, cron_db *new_db, cron_db *old_db)
usr.sbin/cron/database.c
45
struct stat *, cron_db *, cron_db *);
usr.sbin/cron/database.c
50
struct stat statbuf, syscron_stat;
usr.sbin/cron/database.c
61
if (stat(_PATH_CRON_SPOOL, &statbuf) == -1) {
usr.sbin/cron/database.c
68
if (stat(_PATH_SYS_CRONTAB, &syscron_stat) == -1)
usr.sbin/crunchgen/crunchgen.c
1041
struct stat buf;
usr.sbin/crunchgen/crunchgen.c
1043
if (stat(pathname, &buf) == -1)
usr.sbin/crunchgen/crunchgen.c
1051
struct stat buf;
usr.sbin/crunchgen/crunchgen.c
1053
if (stat(pathname, &buf) == -1)
usr.sbin/crunchgen/crunchide.c
194
struct stat infstat;
usr.sbin/crunchgen/mangle.c
61
struct stat sb;
usr.sbin/crunchgen/mangle.c
63
ret = stat(filename, &sb);
usr.sbin/dvmrpd/parse.y
669
struct stat st;
usr.sbin/eigrpd/parse.y
918
struct stat st;
usr.sbin/hostapd/hostapd.c
146
struct stat st;
usr.sbin/hostapd/parse.y
1709
struct stat st;
usr.sbin/httpd/httpd.c
657
struct stat st;
usr.sbin/httpd/httpd.c
671
ret = stat(path, &st);
usr.sbin/httpd/parse.y
1798
struct stat st;
usr.sbin/httpd/server_file.c
175
struct stat gzst;
usr.sbin/httpd/server_file.c
272
*media, int fd, const struct stat *st)
usr.sbin/httpd/server_file.c
347
struct media_type *media, int fd, const struct stat *st, char *range_str)
usr.sbin/httpd/server_file.c
46
struct media_type *, int, const struct stat *);
usr.sbin/httpd/server_file.c
48
struct media_type *, int, const struct stat *,
usr.sbin/httpd/server_file.c
483
struct stat *st)
usr.sbin/httpd/server_file.c
51
struct stat *);
usr.sbin/httpd/server_file.c
550
struct stat subst;
usr.sbin/httpd/server_file.c
65
struct stat st;
usr.sbin/httpd/server_http.c
1546
struct stat sb;
usr.sbin/httpd/server_http.c
1794
struct stat sb;
usr.sbin/identd/identd.c
468
struct stat st;
usr.sbin/identd/identd.c
477
if (stat(path, &st) == -1)
usr.sbin/ifstated/parse.y
663
struct stat st;
usr.sbin/ikectl/ikeca.c
1003
if (stat(path, &st) != 0) {
usr.sbin/ikectl/ikeca.c
1076
struct stat st;
usr.sbin/ikectl/ikeca.c
1080
if (stat(IKECA_CNF, &st) == 0) {
usr.sbin/ikectl/ikeca.c
1104
struct stat st;
usr.sbin/ikectl/ikeca.c
1109
if (stat(PATH_OPENSSL, &st) == -1)
usr.sbin/ikectl/ikeca.c
1123
if (create == 0 && stat(ca->sslpath, &st) == -1) {
usr.sbin/ikectl/ikeca.c
1139
if (create && stat(path, &st) == -1 && errno == ENOENT)
usr.sbin/ikectl/ikeca.c
134
struct stat st;
usr.sbin/ikectl/ikeca.c
144
if (stat(path, &st) == 0) {
usr.sbin/ikectl/ikeca.c
158
struct stat st;
usr.sbin/ikectl/ikeca.c
162
if (stat(import, &st) != 0) {
usr.sbin/ikectl/ikeca.c
348
struct stat st;
usr.sbin/ikectl/ikeca.c
358
if (stat(src, &st) == -1) {
usr.sbin/ikectl/ikeca.c
502
struct stat st;
usr.sbin/ikectl/ikeca.c
511
if (stat(src, &st) == -1) {
usr.sbin/ikectl/ikeca.c
531
if (stat(src, &st) == 0) {
usr.sbin/ikectl/ikeca.c
552
struct stat st;
usr.sbin/ikectl/ikeca.c
560
if (stat(path, &st) != 0)
usr.sbin/ikectl/ikeca.c
698
struct stat st;
usr.sbin/ikectl/ikeca.c
705
if (stat(dst, &st) != 0 && errno == ENOENT &&
usr.sbin/ikectl/ikeca.c
716
struct stat st;
usr.sbin/ikectl/ikeca.c
804
if (stat(dst, &st) != 0 && errno == ENOENT &&
usr.sbin/ikectl/ikeca.c
840
if (stat(src, &st) == 0) {
usr.sbin/ikectl/ikeca.c
887
if (stat(PATH_TAR, &st) == 0) {
usr.sbin/ikectl/ikeca.c
904
if (stat(PATH_ZIP, &st) == 0) {
usr.sbin/ikectl/ikeca.c
953
struct stat st;
usr.sbin/ikectl/ikeca.c
961
if (stat(ca->index, &st) != 0) {
usr.sbin/ikectl/ikeca.c
975
if (stat(ca->serial, &st) != 0) {
usr.sbin/ikectl/ikeca.c
992
struct stat st;
usr.sbin/ikectl/ikectl.c
444
struct iked_stats *stat;
usr.sbin/ikectl/ikectl.c
447
if (IMSG_DATA_SIZE(imsg) != sizeof(*stat))
usr.sbin/ikectl/ikectl.c
449
stat = imsg->data;
usr.sbin/ikectl/ikectl.c
451
#define p(f, m) if (stat->f || !quiet) \
usr.sbin/ikectl/ikectl.c
452
printf(m, stat->f, plural(stat->f))
usr.sbin/installboot/bootstrap.c
43
struct stat sb;
usr.sbin/installboot/efi_installboot.c
391
struct stat st;
usr.sbin/installboot/efi_installboot.c
402
if ((stat(fw, &st) != 0) || !S_ISDIR(st.st_mode))
usr.sbin/installboot/efi_installboot.c
415
if ((stat(dst, &st) != 0) || !S_ISDIR(st.st_mode)) {
usr.sbin/installboot/i386_installboot.c
198
struct stat sb;
usr.sbin/installboot/i386_installboot.c
789
struct stat dsb, fsb;
usr.sbin/installboot/i386_nlist.c
106
struct stat st;
usr.sbin/installboot/i386_softraid.c
98
struct stat sb;
usr.sbin/installboot/landisk_installboot.c
89
struct stat sb;
usr.sbin/installboot/sparc64_installboot.c
53
struct stat sb;
usr.sbin/installboot/util.c
40
struct stat sb;
usr.sbin/ldapctl/ldapctl.c
249
struct stat sb;
usr.sbin/ldapctl/ldapctl.c
283
if (stat(datadir, &sb) == -1)
usr.sbin/ldapd/btree.c
1102
bt->stat.max_cache = BT_MAXCACHE_DEF;
usr.sbin/ldapd/btree.c
213
struct btree_stat stat;
usr.sbin/ldapd/btree.c
3149
bt->stat.max_cache = cache_size;
usr.sbin/ldapd/btree.c
3170
bt->stat.branch_pages = bt->meta.branch_pages;
usr.sbin/ldapd/btree.c
3171
bt->stat.leaf_pages = bt->meta.leaf_pages;
usr.sbin/ldapd/btree.c
3172
bt->stat.overflow_pages = bt->meta.overflow_pages;
usr.sbin/ldapd/btree.c
3173
bt->stat.revisions = bt->meta.revisions;
usr.sbin/ldapd/btree.c
3174
bt->stat.depth = bt->meta.depth;
usr.sbin/ldapd/btree.c
3175
bt->stat.entries = bt->meta.entries;
usr.sbin/ldapd/btree.c
3176
bt->stat.psize = bt->head.psize;
usr.sbin/ldapd/btree.c
3177
bt->stat.created_at = bt->meta.created_at;
usr.sbin/ldapd/btree.c
3179
return &bt->stat;
usr.sbin/ldapd/btree.c
475
bt->stat.hits++;
usr.sbin/ldapd/btree.c
487
bt->stat.cache_size++;
usr.sbin/ldapd/btree.c
504
assert(bt->stat.cache_size > 0);
usr.sbin/ldapd/btree.c
505
bt->stat.cache_size--;
usr.sbin/ldapd/btree.c
550
if (bt->stat.cache_size <= bt->stat.max_cache)
usr.sbin/ldapd/btree.c
610
bt->stat.reads++;
usr.sbin/ldapd/btree.c
839
struct stat sb;
usr.sbin/ldapd/ldapd.c
125
struct stat sb;
usr.sbin/ldapd/ldapd.c
200
if (stat(datadir, &sb) == -1)
usr.sbin/ldapd/parse.y
756
struct stat st;
usr.sbin/ldpd/parse.y
1232
struct stat st;
usr.sbin/lpd/lp.c
281
struct stat st;
usr.sbin/lpd/lp.c
335
if (stat(path, &st) == -1) {
usr.sbin/lpd/lp.c
445
lp_stat(struct lp_printer *lp, const char *fname, struct stat *st)
usr.sbin/lpd/lp.c
452
return stat(path, st);
usr.sbin/lpd/lp.c
463
struct stat st;
usr.sbin/lpd/lp.c
529
struct stat st;
usr.sbin/lpd/lp.c
810
struct stat st;
usr.sbin/lpd/lp.c
830
if (stat(path, &st) == 0) {
usr.sbin/lpd/lp.h
139
int lp_stat(struct lp_printer *, const char *, struct stat *);
usr.sbin/lpd/lp_displayq.c
164
struct stat st;
usr.sbin/lpd/lp_displayq.c
226
struct stat st;
usr.sbin/lpd/parse.y
530
struct stat st;
usr.sbin/lpd/printer.c
327
openfile(const char *fname, const char *inodeinfo, struct stat *st, FILE **fpp)
usr.sbin/lpd/printer.c
593
struct stat st;
usr.sbin/lpd/printer.c
85
static int openfile(const char *, const char *, struct stat *, FILE **);
usr.sbin/lpd/printer.c
865
struct stat st;
usr.sbin/lpd/printer.c
938
struct stat st;
usr.sbin/lpr/common_source/common.c
232
struct stat stbuf;
usr.sbin/lpr/common_source/common.c
256
if (stat(d->d_name, &stbuf) < 0) {
usr.sbin/lpr/common_source/common.c
431
struct stat stbuf;
usr.sbin/lpr/common_source/displayq.c
100
struct stat statb;
usr.sbin/lpr/common_source/displayq.c
148
ret = stat(LO, &statb);
usr.sbin/lpr/common_source/displayq.c
459
struct stat lbuf;
usr.sbin/lpr/common_source/displayq.c
481
if (*file && !stat(file, &lbuf))
usr.sbin/lpr/common_source/displayq.c
492
struct stat lbuf;
usr.sbin/lpr/common_source/displayq.c
501
ret = stat(file, &lbuf);
usr.sbin/lpr/lpc/cmds.c
1014
if (changed && stat(LO, &stbuf) >= 0) {
usr.sbin/lpr/lpc/cmds.c
117
struct stat stbuf;
usr.sbin/lpr/lpc/cmds.c
132
if (stat(line, &stbuf) >= 0) {
usr.sbin/lpr/lpc/cmds.c
410
struct stat stbuf;
usr.sbin/lpr/lpc/cmds.c
423
if (stat(line, &stbuf) >= 0) {
usr.sbin/lpr/lpc/cmds.c
479
struct stat stbuf;
usr.sbin/lpr/lpc/cmds.c
491
if (stat(line, &stbuf) >= 0) {
usr.sbin/lpr/lpc/cmds.c
557
struct stat stbuf;
usr.sbin/lpr/lpc/cmds.c
572
if (stat(line, &stbuf) >= 0) {
usr.sbin/lpr/lpc/cmds.c
721
struct stat stbuf;
usr.sbin/lpr/lpc/cmds.c
735
if (enable && stat(line, &stbuf) >= 0) {
usr.sbin/lpr/lpc/cmds.c
796
struct stat stbuf;
usr.sbin/lpr/lpc/cmds.c
810
i = stat(line, &stbuf);
usr.sbin/lpr/lpc/cmds.c
912
struct stat stbuf;
usr.sbin/lpr/lpc/cmds.c
925
if (stat(line, &stbuf) >= 0) {
usr.sbin/lpr/lpc/cmds.c
958
struct stat stbuf;
usr.sbin/lpr/lpd/printjob.c
1116
struct stat stb;
usr.sbin/lpr/lpd/printjob.c
1160
if (stat(tempfile, &stb) < 0 || stb.st_size == 0 ||
usr.sbin/lpr/lpd/printjob.c
130
struct stat stb;
usr.sbin/lpr/lpd/printjob.c
225
if (stat(q->q_name, &stb) < 0)
usr.sbin/lpr/lpd/printjob.c
536
struct stat stb;
usr.sbin/lpr/lpd/printjob.c
883
struct stat stb;
usr.sbin/lpr/lpd/recvjob.c
108
if (stat(LO, &stb) == 0) {
usr.sbin/lpr/lpd/recvjob.c
114
} else if (stat(SD, &stb) < 0)
usr.sbin/lpr/lpd/recvjob.c
78
struct stat stb;
usr.sbin/lpr/lpr/lpr.c
113
struct stat stb;
usr.sbin/lpr/lpr/lpr.c
281
if (real_uid && stat(buf, &stb) == 0 && (stb.st_mode & 010))
usr.sbin/lpr/lpr/lpr.c
664
struct stat stb;
usr.sbin/lpr/lpr/lpr.c
687
} while (stat(tfname, &stb) == 0 || stat(cfname, &stb) == 0 ||
usr.sbin/lpr/lpr/lpr.c
688
stat(dfname, &stb) == 0);
usr.sbin/lpr/lpr/lpr.c
89
static struct stat statb;
usr.sbin/makefs/cd9660.c
1966
struct stat stbuf;
usr.sbin/makefs/cd9660/cd9660_eltorito.c
68
struct stat stbuf;
usr.sbin/makefs/makefs.h
84
struct stat st; /* stat entry */
usr.sbin/makefs/msdos/mkfs_msdos.c
229
struct stat sb;
usr.sbin/makefs/msdos/mkfs_msdos.c
769
struct stat st;
usr.sbin/makefs/msdos/msdosfs_vnops.c
332
struct stat *st = &node->inode->st;
usr.sbin/makefs/msdos/msdosfs_vnops.c
407
struct stat *st = &node->inode->st;
usr.sbin/makefs/msdos/msdosfs_vnops.c
522
struct stat *st = &node->inode->st;
usr.sbin/makefs/msdos/msdosfs_vnops.c
94
const struct stat *st)
usr.sbin/makefs/walk.c
195
struct stat *stbuf)
usr.sbin/makefs/walk.c
53
struct stat *);
usr.sbin/makefs/walk.c
72
struct stat stbuf;
usr.sbin/mksuncd/mksuncd.c
155
struct stat st;
usr.sbin/mksuncd/mksuncd.c
316
struct stat st;
usr.sbin/mkuboot/mkuboot.c
141
struct stat sb;
usr.sbin/mtree/verify.c
164
struct stat statbuf;
usr.sbin/mtree/verify.c
166
if (qflag && stat(path, &statbuf) == 0)
usr.sbin/nsd/dbaccess.c
209
struct stat s;
usr.sbin/nsd/dbaccess.c
210
if(stat(file, &s) != 0) {
usr.sbin/nsd/dbcreate.c
161
struct stat s;
usr.sbin/nsd/dbcreate.c
162
if(stat(path, &s) != 0) {
usr.sbin/nsd/dnstap/dnstap.c
514
struct stat statbuf;
usr.sbin/nsd/dnstap/dnstap.c
516
if(stat(socket_path, &statbuf) < 0) {
usr.sbin/nsd/ixfr.c
1665
struct stat statbuf;
usr.sbin/nsd/ixfr.c
1669
if(stat(ixfrfile, &statbuf) < 0) {
usr.sbin/nsd/ixfr.c
2649
struct stat statbuf;
usr.sbin/nsd/ixfr.c
2653
if (stat(ixfrfile, &statbuf) != 0 && errno == ENOENT)
usr.sbin/nsd/options.c
221
struct stat st;
usr.sbin/nsd/xfrd-disk.c
607
struct stat tempxfr_stat;
usr.sbin/nsd/xfrd-disk.c
609
if( stat( fname, &tempxfr_stat ) < 0 ) {
usr.sbin/ntpd/ntp.c
119
if (stat(pw->pw_dir, &stb) == -1) {
usr.sbin/ntpd/ntp.c
90
struct stat stb;
usr.sbin/ospf6d/parse.y
946
struct stat st;
usr.sbin/ospfd/parse.y
1137
struct stat st;
usr.sbin/pppd/auth.c
1089
struct stat sbuf;
usr.sbin/pppd/main.c
185
struct stat statbuf;
usr.sbin/pppd/options.c
1516
struct stat statbuf;
usr.sbin/pppd/options.c
1531
if (stat(cp, &statbuf) < 0) {
usr.sbin/pppd/options.c
694
struct stat sbuf;
usr.sbin/pwd_mkdb/pwd_mkdb.c
103
struct stat st;
usr.sbin/rad/parse.y
827
struct stat st;
usr.sbin/radiusctl/radiusctl.c
631
struct radiusd_ipcp_statistics *stat;
usr.sbin/radiusctl/radiusctl.c
688
stat = (struct radiusd_ipcp_statistics *)
usr.sbin/radiusctl/radiusctl.c
692
ipcp_handle_json(dump, datalen, stat, 0);
usr.sbin/radiusctl/radiusctl.c
696
ipcp_handle_stat(stat);
usr.sbin/radiusctl/radiusctl.c
802
ipcp_handle_stat(struct radiusd_ipcp_statistics *stat)
usr.sbin/radiusctl/radiusctl.c
810
stat->cause, stat->ipackets, stat->opackets, stat->ibytes,
usr.sbin/radiusctl/radiusctl.c
811
stat->obytes);
usr.sbin/radiusctl/radiusctl.c
847
struct radiusd_ipcp_statistics *stat, int idx)
usr.sbin/radiusctl/radiusctl.c
858
if (stat == NULL)
usr.sbin/radiusctl/radiusctl.c
868
if (stat != NULL) {
usr.sbin/radiusctl/radiusctl.c
869
json_do_string("terminate-cause", stat->cause);
usr.sbin/radiusctl/radiusctl.c
870
json_do_uint("input-packets", stat->ipackets);
usr.sbin/radiusctl/radiusctl.c
871
json_do_uint("output-packets", stat->opackets);
usr.sbin/radiusctl/radiusctl.c
872
json_do_uint("input-bytes", stat->ibytes);
usr.sbin/radiusctl/radiusctl.c
873
json_do_uint("output-bytes", stat->obytes);
usr.sbin/radiusd/radiusd_ipcp.c
1102
stat;
usr.sbin/radiusd/radiusd_ipcp.c
1253
memset(&stat, 0, sizeof(stat));
usr.sbin/radiusd/radiusd_ipcp.c
1261
stat.ibytes = uval;
usr.sbin/radiusd/radiusd_ipcp.c
1264
stat.ibytes = ((uint64_t)uval << 32) | stat.ibytes;
usr.sbin/radiusd/radiusd_ipcp.c
1267
stat.obytes = uval;
usr.sbin/radiusd/radiusd_ipcp.c
1270
stat.obytes = ((uint64_t)uval << 32) | stat.obytes;
usr.sbin/radiusd/radiusd_ipcp.c
1272
&stat.ipackets);
usr.sbin/radiusd/radiusd_ipcp.c
1274
&stat.opackets);
usr.sbin/radiusd/radiusd_ipcp.c
1278
strlcpy(stat.cause, radius_terminate_cause_string(uval),
usr.sbin/radiusd/radiusd_ipcp.c
1279
sizeof(stat.cause));
usr.sbin/radiusd/radiusd_ipcp.c
1290
sizeof(buf)), stat.ibytes, stat.ipackets, stat.obytes,
usr.sbin/radiusd/radiusd_ipcp.c
1291
stat.opackets, stat.cause);
usr.sbin/radiusd/radiusd_ipcp.c
1294
if (ipcp_notice_startstop(self, assign, 0, &stat) != 0)
usr.sbin/radiusd/radiusd_ipcp.c
1369
struct radiusd_ipcp_statistics stat;
usr.sbin/radiusd/radiusd_ipcp.c
1371
memset(&stat, 0, sizeof(stat));
usr.sbin/radiusd/radiusd_ipcp.c
1372
strlcpy(stat.cause, cause, sizeof(stat.cause));
usr.sbin/radiusd/radiusd_ipcp.c
1375
ipcp_notice_startstop(self, assign, 0, &stat);
usr.sbin/radiusd/radiusd_ipcp.c
703
int start, struct radiusd_ipcp_statistics *stat)
usr.sbin/radiusd/radiusd_ipcp.c
722
iov[++niov].iov_base = stat;
usr.sbin/rbootd/parseconf.c
294
struct stat statb;
usr.sbin/rbootd/parseconf.c
323
if (stat(dp->d_name, &statb) == -1 ||
usr.sbin/rdsetroot/rdsetroot.c
188
struct stat sstat;
usr.sbin/relayd/parse.y
2811
struct stat st;
usr.sbin/relayd/relayd.c
1312
struct stat st;
usr.sbin/ripd/parse.y
704
struct stat st;
usr.sbin/rpc.bootparamd/bootparamd.c
107
if (stat(bootpfile, &buf))
usr.sbin/rpc.bootparamd/bootparamd.c
70
struct stat buf;
usr.sbin/rpc.lockd/lockd_lock.c
506
struct stat st;
usr.sbin/rpc.lockd/procs.c
1057
result.stat = nlm4_granted;
usr.sbin/rpc.lockd/procs.c
1077
result.stat = nlm4_granted;
usr.sbin/rpc.lockd/procs.c
1102
result.stat.stat = nlm4_granted;
usr.sbin/rpc.lockd/procs.c
312
result.stat.stat = nlm_granted;
usr.sbin/rpc.lockd/procs.c
314
result.stat.stat = nlm_denied;
usr.sbin/rpc.lockd/procs.c
315
memcpy(&result.stat.nlm_testrply_u.holder, holder,
usr.sbin/rpc.lockd/procs.c
317
result.stat.nlm_testrply_u.holder.l_offset =
usr.sbin/rpc.lockd/procs.c
319
result.stat.nlm_testrply_u.holder.l_len =
usr.sbin/rpc.lockd/procs.c
346
result.stat.stat = nlm_granted;
usr.sbin/rpc.lockd/procs.c
348
result.stat.stat = nlm_denied;
usr.sbin/rpc.lockd/procs.c
349
memcpy(&result.stat.nlm_testrply_u.holder, holder,
usr.sbin/rpc.lockd/procs.c
351
result.stat.nlm_testrply_u.holder.l_offset =
usr.sbin/rpc.lockd/procs.c
353
result.stat.nlm_testrply_u.holder.l_len =
usr.sbin/rpc.lockd/procs.c
399
result.stat.stat = getlock(&arg4, rqstp, LOCK_MON);
usr.sbin/rpc.lockd/procs.c
420
result.stat.stat = getlock(&arg4, rqstp, LOCK_ASYNC | LOCK_MON);
usr.sbin/rpc.lockd/procs.c
450
result.stat.stat = unlock(&arg4, LOCK_CANCEL);
usr.sbin/rpc.lockd/procs.c
470
result.stat.stat = unlock(&arg4, LOCK_CANCEL);
usr.sbin/rpc.lockd/procs.c
494
result.stat.stat = unlock(&arg4, 0);
usr.sbin/rpc.lockd/procs.c
511
result.stat.stat = unlock(&arg4, 0);
usr.sbin/rpc.lockd/procs.c
547
result.stat.stat = nlm_granted;
usr.sbin/rpc.lockd/procs.c
560
result.stat.stat = nlm_granted;
usr.sbin/rpc.lockd/procs.c
655
result.stat = nlm_granted;
usr.sbin/rpc.lockd/procs.c
675
result.stat = nlm_granted;
usr.sbin/rpc.lockd/procs.c
700
result.stat.stat = nlm_granted;
usr.sbin/rpc.lockd/procs.c
751
result.stat.stat = nlm4_granted;
usr.sbin/rpc.lockd/procs.c
753
result.stat.stat = nlm4_denied;
usr.sbin/rpc.lockd/procs.c
754
memcpy(&result.stat.nlm4_testrply_u.holder, holder,
usr.sbin/rpc.lockd/procs.c
778
result.stat.stat = nlm4_granted;
usr.sbin/rpc.lockd/procs.c
780
result.stat.stat = nlm4_denied;
usr.sbin/rpc.lockd/procs.c
781
memcpy(&result.stat.nlm4_testrply_u.holder, holder,
usr.sbin/rpc.lockd/procs.c
820
result.stat.stat = getlock(arg, rqstp, LOCK_MON | LOCK_V4);
usr.sbin/rpc.lockd/procs.c
833
result.stat.stat = getlock(arg, rqstp, LOCK_MON | LOCK_ASYNC | LOCK_V4);
usr.sbin/rpc.lockd/procs.c
860
result.stat.stat = unlock(&arg->alock, LOCK_CANCEL);
usr.sbin/rpc.lockd/procs.c
877
result.stat.stat = unlock(&arg->alock, LOCK_CANCEL | LOCK_V4);
usr.sbin/rpc.lockd/procs.c
899
result.stat.stat = unlock(&arg->alock, LOCK_V4);
usr.sbin/rpc.lockd/procs.c
913
result.stat.stat = unlock(&arg->alock, LOCK_V4);
usr.sbin/rpc.lockd/procs.c
949
result.stat.stat = nlm4_granted;
usr.sbin/rpc.lockd/procs.c
962
result.stat.stat = nlm4_granted;
usr.sbin/rpc.lockd/test.c
318
res_block.stat.stat = nlm_granted;
usr.sbin/rpc.lockd/test.c
330
printf("out->stat = %d", out->stat);
usr.sbin/rpki-client/encoding.c
40
struct stat st;
usr.sbin/rpki-client/repo.c
1871
struct stat st;
usr.sbin/rpki-client/repo.c
680
struct stat st;
usr.sbin/rpki-client/rsync.c
270
struct stat stt;
usr.sbin/sasyncd/conf.y
350
struct stat st;
usr.sbin/sasyncd/conf.y
355
if (stat(cfgfile, &st) != 0)
usr.sbin/sasyncd/monitor.c
440
struct stat sb;
usr.sbin/slowcgi/slowcgi.c
274
struct stat sb;
usr.sbin/smtpd/crypto.c
136
struct stat sb;
usr.sbin/smtpd/crypto.c
70
struct stat sb;
usr.sbin/smtpd/forward.c
40
struct stat sb;
usr.sbin/smtpd/mail.maildir.c
130
struct stat sb;
usr.sbin/smtpd/mail.maildir.c
163
if (stat(extpath, &sb) != -1) {
usr.sbin/smtpd/mail.maildir.c
219
struct stat sb;
usr.sbin/smtpd/mail.maildir.c
221
if (stat(path, &sb) == -1) {
usr.sbin/smtpd/makemap.c
186
if (stat(source, &sb) == -1)
usr.sbin/smtpd/makemap.c
69
struct stat sb;
usr.sbin/smtpd/mta_session.c
273
struct stat sb;
usr.sbin/smtpd/parse.y
3066
struct stat st;
usr.sbin/smtpd/queue_fs.c
184
struct stat sb;
usr.sbin/smtpd/queue_fs.c
187
if (stat(path, &sb) == -1)
usr.sbin/smtpd/queue_fs.c
204
struct stat sb;
usr.sbin/smtpd/queue_fs.c
212
if (stat(path, &sb) == -1)
usr.sbin/smtpd/queue_fs.c
70
struct stat sb;
usr.sbin/smtpd/queue_fs.c
80
if (stat(rootdir, &sb) != -1)
usr.sbin/smtpd/queue_ram.c
78
struct stat sb;
usr.sbin/smtpd/smtpd.c
1620
struct stat sb;
usr.sbin/smtpd/smtpd.c
1789
struct stat sb;
usr.sbin/smtpd/smtpd.c
1797
if (stat(directory, &sb) == -1) {
usr.sbin/smtpd/ssl.c
119
struct stat st;
usr.sbin/smtpd/ssl.c
36
struct stat st;
usr.sbin/smtpd/table.c
223
struct stat sb;
usr.sbin/smtpd/table.c
234
if (stat(path, &sb) == 0) {
usr.sbin/smtpd/table_db.c
122
struct stat sb;
usr.sbin/smtpd/table_db.c
129
if (stat(handle->pathname, &sb) == -1)
usr.sbin/smtpd/table_db.c
164
struct stat sb;
usr.sbin/smtpd/table_db.c
166
if (stat(handle->pathname, &sb) == -1)
usr.sbin/smtpd/util.c
175
struct stat sb;
usr.sbin/smtpd/util.c
177
if (stat(path, &sb) == -1) {
usr.sbin/smtpd/util.c
199
if (stat(path, &sb) == -1) {
usr.sbin/smtpd/util.c
560
struct stat st;
usr.sbin/smtpd/util.c
582
if (stat(buf, &st) == -1 ||
usr.sbin/snmpd/parse.y
1622
struct stat st;
usr.sbin/syslogd/privsep.c
177
struct stat cf_info, cf_stat;
usr.sbin/syslogd/privsep.c
244
if (stat(conf, &cf_info) == -1)
usr.sbin/syslogd/privsep.c
310
stat(conf, &cf_info);
usr.sbin/syslogd/privsep.c
321
if (stat(conf, &cf_stat) == -1 ||
usr.sbin/tcpdump/tcpdump.c
536
struct pcap_stat stat;
usr.sbin/tcpdump/tcpdump.c
545
if (priv_pcap_stats(&stat) < 0) {
usr.sbin/tcpdump/tcpdump.c
550
"%u packets received by filter\n", stat.ps_recv);
usr.sbin/tcpdump/tcpdump.c
552
"%u packets dropped by kernel\n", stat.ps_drop);
usr.sbin/tcpdump/util.c
262
struct stat buf;
usr.sbin/tftpd/tftpd.c
1020
if (stat(filename, &stbuf) == -1) {
usr.sbin/tftpd/tftpd.c
974
struct stat stbuf;
usr.sbin/unbound/dnstap/dnstap.c
147
struct stat statbuf;
usr.sbin/unbound/dnstap/dnstap.c
149
if(stat(socket_path, &statbuf) < 0) {
usr.sbin/unbound/smallapp/unbound-checkconf.c
528
struct stat buf;
usr.sbin/unbound/smallapp/unbound-checkconf.c
529
if(stat(fname, &buf) < 0) {
usr.sbin/unbound/smallapp/unbound-checkconf.c
548
struct stat buf;
usr.sbin/unbound/smallapp/unbound-checkconf.c
549
if(stat(fname, &buf) < 0) {
usr.sbin/unbound/testcode/memstats.c
181
struct stat s;
usr.sbin/unbound/testcode/memstats.c
182
if(stat(fname, &s) < 0) {
usr.sbin/user/user.c
1042
struct stat st;
usr.sbin/user/user.c
1315
struct stat st;
usr.sbin/user/user.c
294
struct stat st;
usr.sbin/user/user.c
303
if (stat(dir, &st) == -1) {
usr.sbin/user/user.c
400
struct stat st;
usr.sbin/user/user.c
474
struct stat st;
usr.sbin/user/user.c
578
struct stat st;
usr.sbin/user/user.c
842
struct stat st;
usr.sbin/user/user.c
862
if (stat(CONFFILE, &st) == -1 && !setdefaults(up)) {
usr.sbin/vipw/vipw.c
105
copyfile(int from, int to, struct stat *sb)
usr.sbin/vipw/vipw.c
44
void copyfile(int, int, struct stat *);
usr.sbin/vipw/vipw.c
51
struct stat begin, end;
usr.sbin/vipw/vipw.c
89
if (stat(_PATH_MASTERPASSWD_LOCK, &end))
usr.sbin/vmctl/vmctl.c
79
struct stat sb;
usr.sbin/vmd/vioqcow2.c
209
struct stat st;
usr.sbin/vmd/vmd.c
1556
struct stat st;
usr.sbin/vmd/vmd.c
1605
struct stat st;
usr.sbin/vmd/x86_vm.c
242
struct stat sb;
usr.sbin/wsfontload/wsfontload.c
213
if (fstat(ffd, &stat) == 0)
usr.sbin/wsfontload/wsfontload.c
214
f.numchars = stat.st_size /
usr.sbin/wsfontload/wsfontload.c
82
struct stat stat;
usr.sbin/ypbind/ypbind.c
773
struct stat fst, st;
usr.sbin/ypbind/ypbind.c
776
stat(ypdb->dom_servlist, &st) != -1 &&
usr.sbin/ypldap/parse.y
845
struct stat st;
usr.sbin/ypldap/yp.c
398
res->stat = YP_NODOM;
usr.sbin/ypldap/yp.c
463
res.stat = YP_NOKEY;
usr.sbin/ypldap/yp.c
473
res.stat = YP_BADARGS;
usr.sbin/ypldap/yp.c
479
res.stat = YP_NOKEY;
usr.sbin/ypldap/yp.c
488
res.stat = YP_BADARGS;
usr.sbin/ypldap/yp.c
493
res.stat = YP_NOKEY;
usr.sbin/ypldap/yp.c
503
res.stat = YP_NOKEY;
usr.sbin/ypldap/yp.c
513
res.stat = YP_BADARGS;
usr.sbin/ypldap/yp.c
520
res.stat = YP_BADARGS;
usr.sbin/ypldap/yp.c
525
res.stat = YP_BADARGS;
usr.sbin/ypldap/yp.c
530
res.stat = YP_BADARGS;
usr.sbin/ypldap/yp.c
536
res.stat = YP_BADARGS;
usr.sbin/ypldap/yp.c
542
res.stat = YP_NOKEY;
usr.sbin/ypldap/yp.c
551
res.stat = YP_NOMAP;
usr.sbin/ypldap/yp.c
577
res.stat = YP_NOMAP;
usr.sbin/ypldap/yp.c
605
res.stat = YP_NOKEY;
usr.sbin/ypldap/yp.c
622
res.stat = YP_NOKEY;
usr.sbin/ypldap/yp.c
632
res.stat = YP_NOMAP;
usr.sbin/ypldap/yp.c
660
res.stat = YP_TRUE;
usr.sbin/ypldap/yp.c
662
res.stat = YP_NOKEY;
usr.sbin/ypldap/yp.c
688
res.stat = YP_TRUE;
usr.sbin/ypldap/yp.c
715
res->stat = YP_TRUE;
usr.sbin/ypldap/yp.c
734
res->stat = YP_NOMORE;
usr.sbin/ypldap/yp.c
737
res->stat = YP_TRUE;
usr.sbin/ypserv/common/yplib_host.c
147
if ( !(r = ypprot_err(yprv.stat)) ) {
usr.sbin/ypserv/common/yplib_host.c
180
if ( !(r = ypprot_err(yprkv.stat)) ) {
usr.sbin/ypserv/common/yplib_host.c
219
if ( !(r = ypprot_err(yprkv.stat)) ) {
usr.sbin/ypserv/common/yplib_host.c
255
status = out.ypresp_all_u.val.stat;
usr.sbin/ypserv/common/yplib_host.c
337
return ypprot_err(ypro.stat);
usr.sbin/ypserv/common/yplib_host.c
359
if (!(r = ypprot_err(yprm.stat)))
usr.sbin/ypserv/common/yplib_host.c
383
return ypprot_err(ypml.stat);
usr.sbin/ypserv/makedbm/makedbm.c
108
struct stat finfo;
usr.sbin/ypserv/makedbm/makedbm.c
116
status = stat(filename, &finfo);
usr.sbin/ypserv/yppush/yppush.c
225
struct stat finfo;
usr.sbin/ypserv/yppush/yppush.c
260
if (!((stat(map_path, &finfo) == 0) && S_ISDIR(finfo.st_mode))) {
usr.sbin/ypserv/yppush/yppush.c
268
if (!(stat(map_path, &finfo) == 0)) {
usr.sbin/ypserv/ypserv/ypserv_db.c
453
db = ypdb_open_db(domain, map, &res.stat, &map_info);
usr.sbin/ypserv/ypserv/ypserv_db.c
454
if (!db || res.stat < 0)
usr.sbin/ypserv/ypserv/ypserv_db.c
463
res.stat = YP_NOKEY;
usr.sbin/ypserv/ypserv/ypserv_db.c
470
res.stat = YP_NOKEY;
usr.sbin/ypserv/ypserv/ypserv_db.c
477
res.stat = lookup_host((hn == 0) ? TRUE : FALSE,
usr.sbin/ypserv/ypserv/ypserv_db.c
498
db = ypdb_open_db(domain, map, &res.stat, NULL);
usr.sbin/ypserv/ypserv/ypserv_db.c
500
if (res.stat >= 0) {
usr.sbin/ypserv/ypserv/ypserv_db.c
507
res.stat = YP_NOKEY;
usr.sbin/ypserv/ypserv/ypserv_db.c
513
res.stat = YP_NOKEY;
usr.sbin/ypserv/ypserv/ypserv_db.c
532
db = ypdb_open_db(domain, map, &res.stat, NULL);
usr.sbin/ypserv/ypserv/ypserv_db.c
534
if (res.stat >= 0) {
usr.sbin/ypserv/ypserv/ypserv_db.c
555
res.stat = YP_NOMORE;
usr.sbin/ypserv/ypserv/ypserv_db.c
561
res.stat = YP_NOMORE;
usr.sbin/ypserv/ypserv/ypserv_db.c
582
db = ypdb_open_db(domain, map, &res.stat, NULL);
usr.sbin/ypserv/ypserv/ypserv_db.c
584
if (res.stat >= 0) {
usr.sbin/ypserv/ypserv/ypserv_db.c
590
res.stat = YP_NOKEY;
usr.sbin/ypserv/ypserv/ypserv_db.c
611
db = ypdb_open_db(domain, map, &res.stat, NULL);
usr.sbin/ypserv/ypserv/ypserv_db.c
613
if (res.stat >= 0) {
usr.sbin/ypserv/ypserv/ypserv_db.c
619
res.stat = YP_NOKEY;
usr.sbin/ypserv/ypserv/ypserv_db.c
643
&resp.ypresp_all_u.val.stat, NULL);
usr.sbin/ypserv/ypserv/ypserv_db.c
644
if (!db || resp.ypresp_all_u.val.stat < 0)
usr.sbin/ypserv/ypserv/ypserv_db.c
659
resp.ypresp_all_u.val.stat = YP_TRUE;
usr.sbin/ypserv/ypserv/ypserv_db.c
679
resp.ypresp_all_u.val.stat = YP_NOKEY;
usr.sbin/ypserv/ypserv/ypserv_db.c
703
db = ypdb_open_db(domain, map, &res.stat, &map_info);
usr.sbin/ypserv/ypserv/ypserv_db.c
704
if (!db || res.stat < 0)
usr.sbin/ypserv/ypserv/ypserv_proc.c
112
struct stat finfo;
usr.sbin/ypserv/ypserv/ypserv_proc.c
117
result = (bool_t) ((stat(domain_path, &finfo) == 0) &&
usr.sbin/ypserv/ypserv/ypserv_proc.c
157
res.stat = YP_YPERR;
usr.sbin/ypserv/ypserv/ypserv_proc.c
163
yplog(" match2_status: %s", yperr_string(ypprot_err(res.stat)));
usr.sbin/ypserv/ypserv/ypserv_proc.c
188
res.stat = YP_YPERR;
usr.sbin/ypserv/ypserv/ypserv_proc.c
194
yplog(" first2_status: %s", yperr_string(ypprot_err(res.stat)));
usr.sbin/ypserv/ypserv/ypserv_proc.c
221
res.stat = YP_YPERR;
usr.sbin/ypserv/ypserv/ypserv_proc.c
227
yplog(" next2_status: %s", yperr_string(ypprot_err(res.stat)));
usr.sbin/ypserv/ypserv/ypserv_proc.c
333
res.ypresp_all_u.val.stat = YP_YPERR;
usr.sbin/ypserv/ypserv/ypserv_proc.c
374
res.stat = YP_YPERR;
usr.sbin/ypserv/ypserv/ypserv_proc.c
380
yplog(" master2_status: %s", yperr_string(ypprot_err(res.stat)));
usr.sbin/ypserv/ypserv/ypserv_proc.c
420
res.stat = YP_YPERR;
usr.sbin/ypserv/ypserv/ypserv_proc.c
422
res.stat = YP_NOMAP;
usr.sbin/ypserv/ypserv/ypserv_proc.c
428
yplog(" order2_status: %s", yperr_string(ypprot_err(res.stat)));
usr.sbin/ypserv/ypserv/ypserv_proc.c
441
struct stat finfo;
usr.sbin/ypserv/ypserv/ypserv_proc.c
467
if (!((stat(domain_path, &finfo) == 0) && S_ISDIR(finfo.st_mode)))
usr.sbin/ypserv/ypserv/ypserv_proc.c
505
res.stat = status;
usr.sbin/ypserv/ypserv/ypserv_proc.c
507
yplog(" maplist_status: %s", yperr_string(ypprot_err(res.stat)));
usr.sbin/ypserv/ypserv/ypserv_proc.c
539
struct stat finfo;
usr.sbin/ypserv/ypserv/ypserv_proc.c
544
result = (bool_t) ((stat(domain_path, &finfo) == 0) &&
usr.sbin/ypserv/ypserv/ypserv_proc.c
567
struct stat finfo;
usr.sbin/ypserv/ypserv/ypserv_proc.c
572
result = (bool_t) ((stat(domain_path, &finfo) == 0) &&
usr.sbin/ypserv/ypserv/ypserv_proc.c
85
struct stat finfo;
usr.sbin/ypserv/ypserv/ypserv_proc.c
90
result = (bool_t) ((stat(domain_path, &finfo) == 0) &&
usr.sbin/ypserv/ypxfr/ypxfr.c
101
if (!(stat(map_path, &finfo) == 0)) {
usr.sbin/ypserv/ypxfr/ypxfr.c
82
struct stat finfo;
usr.sbin/ypserv/ypxfr/ypxfr.c
92
if (!((stat(map_path, &finfo) == 0) && S_ISDIR(finfo.st_mode))) {