bin/cat/cat.c
404
struct stat sbuf;
bin/cp/cp.c
106
struct stat to_stat, tmp_stat;
bin/cp/cp.c
237
r = stat(to.base, &to_stat);
bin/cp/cp.c
256
stat(*argv, &tmp_stat);
bin/cp/cp.c
298
copy(char *argv[], enum op type, int fts_options, struct stat *root_stat)
bin/cp/cp.c
301
struct stat created_root_stat, to_stat, *curr_stat;
bin/cp/cp.c
79
static int copy(char *[], enum op, int, struct stat *);
bin/cp/extern.h
44
int copy_fifo(struct stat *, bool, bool);
bin/cp/extern.h
47
int copy_special(struct stat *, bool, bool);
bin/cp/extern.h
48
int setfile(struct stat *, int, bool);
bin/cp/utils.c
104
struct stat sb, *fs;
bin/cp/utils.c
286
copy_fifo(struct stat *from_stat, bool dne, bool beneath)
bin/cp/utils.c
307
copy_special(struct stat *from_stat, bool dne, bool beneath)
bin/cp/utils.c
328
setfile(struct stat *fs, int fd, bool beneath)
bin/cp/utils.c
331
struct stat ts;
bin/date/date.c
137
} else if (stat(optarg, &sb) == 0) {
bin/date/date.c
91
struct stat sb;
bin/dd/dd.c
313
struct stat sb;
bin/df/df.c
101
struct stat stbuf;
bin/df/df.c
212
if (stat(*argv, &stbuf) < 0) {
bin/getfacl/getfacl.c
106
error = stat(path, &sb);
bin/getfacl/getfacl.c
98
struct stat sb;
bin/ln/ln.c
160
if (stat(targetdir, &sb))
bin/ln/ln.c
178
struct stat sb1, sb2;
bin/ln/ln.c
202
if (stat(pathbuf, &sb1) != 0)
bin/ln/ln.c
210
if (stat(pathbuf, &sb2) != 0)
bin/ln/ln.c
228
struct stat sb;
bin/ln/ln.c
235
if ((Pflag ? lstat : stat)(source, &sb)) {
bin/ln/ln.c
262
(!hflag && stat(target, &sb) == 0 && S_ISDIR(sb.st_mode))) {
bin/ln/ln.c
285
if (stat(source, &sb) != 0)
bin/ln/ln.c
298
if (stat(wbuf, &sb) != 0)
bin/ln/ln.c
64
struct stat sb;
bin/ls/ls.c
748
struct stat *sp;
bin/ls/print.c
203
struct stat *sp;
bin/ls/print.c
398
struct stat *sp;
bin/mkdir/mkdir.c
129
struct stat sb;
bin/mkdir/mkdir.c
169
if (stat(path, &sb) < 0) {
bin/mv/mv.c
108
if (stat(argv[argc - 1], &sb) || !S_ISDIR(sb.st_mode)) {
bin/mv/mv.c
163
struct stat sb;
bin/mv/mv.c
187
} else if (access(to, W_OK) && !stat(to, &sb) && isatty(STDIN_FILENO)) {
bin/mv/mv.c
256
fastcopy(const char *from, const char *to, struct stat *sbp)
bin/mv/mv.c
259
struct stat tsb;
bin/mv/mv.c
360
struct stat sb;
bin/mv/mv.c
62
static int fastcopy(const char *, const char *, struct stat *);
bin/mv/mv.c
70
struct stat sb;
bin/pax/ar_io.c
73
static struct stat arsb; /* stat of archive device at open */
bin/pax/ar_subs.c
150
struct stat sb;
bin/pax/ar_subs.c
727
struct stat sb;
bin/pax/ar_subs.c
745
if (stat(dirptr, &sb) < 0) {
bin/pax/buf_subs.c
602
struct stat sb;
bin/pax/buf_subs.c
667
struct stat sb;
bin/pax/buf_subs.c
756
struct stat sb;
bin/pax/extern.h
267
void add_dir(char *, int, struct stat *, int);
bin/pax/file_subs.c
168
struct stat sb;
bin/pax/file_subs.c
226
struct stat sb;
bin/pax/file_subs.c
261
mk_link(char *to, struct stat *to_sb, char *from,
bin/pax/file_subs.c
264
struct stat sb;
bin/pax/file_subs.c
341
struct stat sb;
bin/pax/file_subs.c
492
struct stat sb;
bin/pax/file_subs.c
50
mk_link(char *,struct stat *,char *, int);
bin/pax/file_subs.c
544
struct stat sb;
bin/pax/file_subs.c
633
struct stat sb;
bin/pax/file_subs.c
897
struct stat sb;
bin/pax/gen_subs.c
71
struct stat *sbp;
bin/pax/options.c
978
struct stat sb;
bin/pax/options.c
991
if (stat(path, &sb)) {
bin/pax/pax.h
197
struct stat sb; /* stat buffer see stat(2) */
bin/pax/tables.c
1118
add_dir(char *name, int nlen, struct stat *psb, int frc_mode)
bin/pkill/pkill.c
704
struct stat st;
bin/pkill/pkill.c
750
if (stat(buf, &st) != -1)
bin/pkill/pkill.c
786
if (stat(buf, &st) != -1)
bin/pkill/pkill.c
790
if (stat(buf, &st) != -1)
bin/ps/ps.c
924
struct stat sb;
bin/ps/ps.c
953
if (stat(pathbuf2, &sb) == 0 && S_ISCHR(sb.st_mode)) {
bin/ps/ps.c
961
if (stat(pathbuf3, &sb) == 0 && S_ISCHR(sb.st_mode)) {
bin/ps/ps.c
969
if (stat(ttypath, &sb) == -1) {
bin/pwd/pwd.c
45
struct stat log, phy;
bin/pwd/pwd.c
60
if (stat(pwd, &log) != 0 || stat(".", &phy) != 0 ||
bin/rm/rm.c
327
struct stat sb;
bin/rm/rm.c
387
check(const char *path, const char *name, struct stat *sp)
bin/rm/rm.c
450
struct stat st;
bin/rm/rm.c
54
static int check(const char *, const char *, struct stat *);
bin/sh/cd.c
116
if (stat(p, &statb) < 0) {
bin/sh/cd.c
181
struct stat statb;
bin/sh/cd.c
411
struct stat stdot, stpwd;
bin/sh/cd.c
414
if (pwd && *pwd == '/' && stat(".", &stdot) != -1 &&
bin/sh/cd.c
415
stat(pwd, &stpwd) != -1 &&
bin/sh/cd.c
79
struct stat statb;
bin/sh/exec.c
353
struct stat statb;
bin/sh/exec.c
406
if (stat(fullname, &statb) < 0) {
bin/sh/expand.c
1073
struct stat statb;
bin/sh/histedit.c
644
struct stat statb;
bin/sh/histedit.c
753
struct stat stbuf;
bin/sh/histedit.c
758
stat(expname ? expname : name, &stbuf) == 0 &&
bin/sh/mail.c
102
if (stat(p, &statb) < 0)
bin/sh/mail.c
72
struct stat statb;
bin/sh/mail.c
94
if (stat(p, &statb) < 0)
bin/sh/main.c
314
struct stat statb;
bin/sh/main.c
321
if ((stat(fullname, &statb) == 0) && S_ISREG(statb.st_mode)) {
bin/sh/redir.c
167
struct stat sb;
bin/sh/redir.c
188
if (stat(fname, &sb) == -1) {
bin/stty/util.c
50
struct stat sb1, sb2;
bin/test/test.c
366
struct stat s;
bin/test/test.c
368
if (mode == FILSYM ? lstat(nm, &s) : stat(nm, &s))
bin/test/test.c
596
struct stat b1, b2;
bin/test/test.c
598
if (stat(f1, &b1) != 0 || stat(f2, &b2) != 0)
bin/test/test.c
618
struct stat b1, b2;
bin/test/test.c
620
return (stat (f1, &b1) == 0 &&
bin/test/test.c
621
stat (f2, &b2) == 0 &&
crypto/heimdal/appl/ftp/common/buffer.c
47
alloc_buffer (void *oldbuf, size_t *sz, struct stat *st)
crypto/heimdal/appl/ftp/common/common.h
58
void *alloc_buffer (void *oldbuf, size_t *sz, struct stat *st);
crypto/heimdal/appl/ftp/ftp/cmds.c
646
struct stat stbuf;
crypto/heimdal/appl/ftp/ftp/cmds.c
649
ret = stat(argv[2], &stbuf);
crypto/heimdal/appl/ftp/ftp/ftp.c
592
struct stat st;
crypto/heimdal/appl/ftp/ftp/ftp.c
671
struct stat st;
crypto/heimdal/appl/ftp/ftp/ftp.c
908
struct stat st;
crypto/heimdal/appl/ftp/ftp/ruserpass.c
112
struct stat stb;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
2391
struct stat stbuf;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
2392
if (stat((yyvsp[(3) - (5)].s), &stbuf) < 0)
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3494
struct stat stbuf;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3495
if (stat(filename, &stbuf) < 0 || !S_ISREG(stbuf.st_mode))
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3505
struct stat stbuf;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1441
struct stat stbuf;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1442
if (stat(filename, &stbuf) < 0 || !S_ISREG(stbuf.st_mode))
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1452
struct stat stbuf;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
615
struct stat stbuf;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
616
if (stat($3, &stbuf) < 0)
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1104
struct stat st;
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1111
if (stat(name, &st) == 0) {
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1376
struct stat st;
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1401
struct stat st;
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1461
struct stat st;
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1733
struct stat st;
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1736
if (stat(name, &st) < 0) {
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1811
struct stat st;
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1813
if (stat(name, &st) < 0) {
crypto/heimdal/appl/ftp/ftpd/ftpd.c
2146
struct stat st;
crypto/heimdal/appl/ftp/ftpd/ftpd.c
2153
if (stat(cp ? local : ".", &st) < 0) {
crypto/heimdal/appl/ftp/ftpd/ftpd.c
2161
if (stat(new, &st) < 0)
crypto/heimdal/appl/ftp/ftpd/ftpd.c
2211
struct stat st;
crypto/heimdal/appl/ftp/ftpd/ftpd.c
2252
if (stat(dirname, &st) < 0) {
crypto/heimdal/appl/ftp/ftpd/ftpd.c
2301
if (simple || (stat(nbuf, &st) == 0 &&
crypto/heimdal/appl/ftp/ftpd/ftpd.c
746
struct stat st;
crypto/heimdal/appl/ftp/ftpd/ftpd.c
749
if(stat("/bin/ls", &st) == 0 &&
crypto/heimdal/appl/ftp/ftpd/ftpd.c
954
struct stat st;
crypto/heimdal/appl/ftp/ftpd/ls.c
154
struct stat *st = &file->st;
crypto/heimdal/appl/ftp/ftpd/ls.c
413
lstat_file (const char *file, struct stat *sb)
crypto/heimdal/appl/ftp/ftpd/ls.c
72
struct stat st;
crypto/heimdal/appl/rcp/rcp.c
279
struct stat stb;
crypto/heimdal/appl/rcp/rcp.c
361
rsource(char *name, struct stat *statp)
crypto/heimdal/appl/rcp/rcp.c
416
struct stat stb;
crypto/heimdal/appl/rcp/rcp.c
441
if (stat(targ, &stb) == 0 && S_ISDIR(stb.st_mode))
crypto/heimdal/appl/rcp/rcp.c
48
void rsource (char *, struct stat *);
crypto/heimdal/appl/rcp/rcp.c
534
exists = stat(np, &stb) == 0;
crypto/heimdal/appl/rcp/util.c
150
struct stat stb;
crypto/heimdal/appl/rcp/util.c
83
struct stat stb;
crypto/heimdal/appl/rcp/util.c
85
if (!stat(cp, &stb)) {
crypto/heimdal/appl/telnet/telnetd/sys_term.c
1491
struct stat statbf;
crypto/heimdal/appl/telnet/telnetd/sys_term.c
431
struct stat stb;
crypto/heimdal/appl/telnet/telnetd/sys_term.c
440
if (stat(line, &stb) < 0)
crypto/heimdal/appl/telnet/telnetd/sys_term.c
475
struct stat sb;
crypto/heimdal/appl/telnet/telnetd/sys_term.c
488
if(stat(line, &sb) < 0) {
crypto/heimdal/kdc/pkinit.c
1496
struct stat sb;
crypto/heimdal/lib/asn1/asn1_print.c
295
struct stat sb;
crypto/heimdal/lib/hdb/hdb-mitdb.c
831
struct stat st;
crypto/heimdal/lib/hdb/hdb-mitdb.c
839
if (stat(fn, &st) == 0)
crypto/heimdal/lib/hx509/ks_dir.c
63
struct stat sb;
crypto/heimdal/lib/hx509/ks_dir.c
66
ret = stat(residue, &sb);
crypto/heimdal/lib/hx509/revoke.c
331
struct stat sb;
crypto/heimdal/lib/hx509/revoke.c
339
ret = stat(ocsp->path, &sb);
crypto/heimdal/lib/hx509/revoke.c
567
struct stat sb;
crypto/heimdal/lib/hx509/revoke.c
577
ret = stat(path, &sb);
crypto/heimdal/lib/hx509/revoke.c
695
struct stat sb;
crypto/heimdal/lib/hx509/revoke.c
700
ret = stat(ocsp->path, &sb);
crypto/heimdal/lib/hx509/revoke.c
771
struct stat sb;
crypto/heimdal/lib/hx509/revoke.c
780
ret = stat(crl->path, &sb);
crypto/heimdal/lib/krb5/fcache.c
1052
struct stat sb;
crypto/heimdal/lib/krb5/fcache.c
251
struct stat sb1, sb2;
crypto/heimdal/lib/krb5/fcache.c
930
struct stat sb;
crypto/heimdal/lib/krb5/fcache.c
931
ret = stat(fn + 5, &sb);
crypto/heimdal/lib/krb5/kuserok.c
119
struct stat st;
crypto/heimdal/lib/krb5/kuserok.c
139
struct stat st2;
crypto/heimdal/lib/krb5/kuserok.c
52
struct stat st;
crypto/heimdal/lib/krb5/test_store.c
202
struct stat sb;
crypto/heimdal/lib/roken/dumpdata.c
61
struct stat sb;
crypto/heimdal/lib/roken/getusershell.c
125
struct stat statb;
crypto/heimdal/lib/roken/glob.c
147
static int g_lstat (Char *, struct stat *, glob_t *);
crypto/heimdal/lib/roken/glob.c
153
static int g_stat (Char *, struct stat *, glob_t *);
crypto/heimdal/lib/roken/glob.c
522
struct stat sb;
crypto/heimdal/lib/roken/glob.c
775
g_lstat(Char *fn, struct stat *sb, glob_t *pglob)
crypto/heimdal/lib/roken/glob.c
786
g_stat(Char *fn, struct stat *sb, glob_t *pglob)
crypto/heimdal/lib/roken/glob.c
793
return(stat(buf, sb));
crypto/heimdal/lib/roken/iruserok.c
221
struct stat sbuf;
crypto/heimdal/lib/roken/lstat.c
39
lstat(const char *path, struct stat *buf)
crypto/heimdal/lib/roken/lstat.c
41
return stat(path, buf);
crypto/heimdal/lib/roken/socket_wrapper.c
1384
struct stat st;
crypto/heimdal/lib/roken/socket_wrapper.c
1458
if (stat(un_addr.sun_path, &st) == 0) continue;
crypto/heimdal/lib/roken/socket_wrapper.c
1691
struct stat st;
crypto/heimdal/lib/roken/socket_wrapper.c
1701
if (stat(un_addr.sun_path, &st) != 0) continue;
crypto/heimdal/lib/roken/socket_wrapper.c
444
struct stat st;
crypto/heimdal/lib/roken/socket_wrapper.c
535
if (stat(un->sun_path, &st) == 0) continue;
crypto/krb5/src/appl/gss-sample/gss-client.c
333
struct stat stat_buf;
crypto/krb5/src/clients/ksu/authorization.c
101
k5login_flag = stat(k5login_path, &st_temp);
crypto/krb5/src/clients/ksu/authorization.c
102
k5users_flag = stat(k5users_path, &st_temp);
crypto/krb5/src/clients/ksu/authorization.c
46
struct stat sbuf;
crypto/krb5/src/clients/ksu/authorization.c
480
struct stat st_temp;
crypto/krb5/src/clients/ksu/authorization.c
487
if (!stat (fcmd_arr[i], &st_temp )){
crypto/krb5/src/clients/ksu/authorization.c
83
struct stat st_temp;
crypto/krb5/src/clients/ksu/heuristic.c
207
struct stat tb;
crypto/krb5/src/clients/ksu/heuristic.c
217
k5login_flag = stat(k5login_path, &tb);
crypto/krb5/src/clients/ksu/heuristic.c
218
k5users_flag = stat(k5users_path, &tb);
crypto/krb5/src/clients/ksu/heuristic.c
521
struct stat tb;
crypto/krb5/src/clients/ksu/heuristic.c
584
if (stat(k5login_path, &tb) && stat(k5users_path, &tb) ){
crypto/krb5/src/kprop/kprop.c
340
struct stat stbuf, stbuf_ok;
crypto/krb5/src/kprop/kprop.c
373
if (stat(data_ok_fn, &stbuf_ok)) {
crypto/krb5/src/kprop/kpropd.c
255
struct stat st;
crypto/krb5/src/kprop/kproplog.c
406
struct stat st;
crypto/krb5/src/lib/crypto/krb/prng.c
71
struct stat sb;
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
446
struct stat st1, st2;
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
452
if (stat(filename, &st2) != 0)
crypto/krb5/src/lib/kadm5/srv/pwqual_dict.c
102
struct stat sb;
crypto/krb5/src/lib/kdb/kdb_default.c
123
struct stat stb;
crypto/krb5/src/lib/kdb/kdb_default.c
132
if ((statrc = stat(keyfile, &stb)) >= 0) {
crypto/krb5/src/lib/kdb/kdb_default.c
167
statrc = stat(tmp_ktpath, &stb);
crypto/krb5/src/lib/kdb/kdb_log.c
503
struct stat st;
crypto/krb5/src/lib/kdb/kdb_log.c
514
if (stat(logname, &st) == -1) {
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
223
struct stat st;
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
225
if (stat(dirname, &st) < 0) {
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
642
struct stat sb;
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
649
if (data->primary != NULL && stat(data->primary + 1, &sb) == 0)
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1213
struct stat sb;
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1233
if (stat(residual, &sb) != 0)
crypto/krb5/src/lib/krb5/ccache/cc_file.c
131
struct stat sb;
crypto/krb5/src/lib/krb5/ccache/cc_file.c
558
struct stat buf;
crypto/krb5/src/lib/krb5/os/localauth_k5login.c
90
struct stat sbuf;
crypto/krb5/src/lib/krb5/rcache/rc_dfl.c
89
struct stat statbuf;
crypto/krb5/src/lib/krb5/rcache/t_rcfile2.c
74
struct stat statbuf;
crypto/krb5/src/lib/krb5/rcache/t_rcfile2.c
92
st = stat(filename, &statbuf);
crypto/krb5/src/lib/rpc/auth_unix.c
251
int stat;
crypto/krb5/src/lib/rpc/auth_unix.c
264
stat = xdr_authunix_parms(&xdrs, &aup);
crypto/krb5/src/lib/rpc/auth_unix.c
265
if (! stat)
crypto/krb5/src/lib/rpc/auth_unix.c
273
stat = xdr_authunix_parms(&xdrs, &aup);
crypto/krb5/src/lib/rpc/auth_unix.c
274
if (! stat)
crypto/krb5/src/lib/rpc/auth_unix.c
283
return (stat);
crypto/krb5/src/lib/rpc/clnt_perror.c
233
clnt_sperrno(enum clnt_stat stat)
crypto/krb5/src/lib/rpc/clnt_perror.c
238
if (rpc_errlist[i].status == stat) {
crypto/krb5/src/lib/rpc/clnt_perror.c
339
auth_errmsg(enum auth_stat stat)
crypto/krb5/src/lib/rpc/clnt_perror.c
344
if (auth_errlist[i].status == stat) {
crypto/krb5/src/lib/rpc/pmap_rmt.c
108
stat = CLNT_CALL(client, PMAPPROC_CALLIT,
crypto/krb5/src/lib/rpc/pmap_rmt.c
113
stat = RPC_FAILED;
crypto/krb5/src/lib/rpc/pmap_rmt.c
117
return (stat);
crypto/krb5/src/lib/rpc/pmap_rmt.c
239
enum clnt_stat stat;
crypto/krb5/src/lib/rpc/pmap_rmt.c
277
stat = RPC_CANTSEND;
crypto/krb5/src/lib/rpc/pmap_rmt.c
285
stat = RPC_CANTSEND;
crypto/krb5/src/lib/rpc/pmap_rmt.c
321
stat = RPC_CANTENCODEARGS;
crypto/krb5/src/lib/rpc/pmap_rmt.c
337
stat = RPC_CANTSEND;
crypto/krb5/src/lib/rpc/pmap_rmt.c
342
stat = RPC_SUCCESS;
crypto/krb5/src/lib/rpc/pmap_rmt.c
355
stat = RPC_TIMEDOUT;
crypto/krb5/src/lib/rpc/pmap_rmt.c
362
stat = RPC_CANTRECV;
crypto/krb5/src/lib/rpc/pmap_rmt.c
374
stat = RPC_CANTRECV;
crypto/krb5/src/lib/rpc/pmap_rmt.c
406
stat = RPC_SUCCESS;
crypto/krb5/src/lib/rpc/pmap_rmt.c
415
return (stat);
crypto/krb5/src/lib/rpc/pmap_rmt.c
95
enum clnt_stat stat;
crypto/krb5/src/lib/rpc/svc.c
456
enum xprt_stat stat;
crypto/krb5/src/lib/rpc/svc.c
524
if ((stat = SVC_STAT(xprt)) == XPRT_DIED){
crypto/krb5/src/lib/rpc/svc.c
531
} while (stat == XPRT_MOREREQS);
crypto/krb5/src/lib/rpc/svc_auth_unix.c
111
stat = AUTH_BADCRED;
crypto/krb5/src/lib/rpc/svc_auth_unix.c
117
stat = AUTH_BADCRED;
crypto/krb5/src/lib/rpc/svc_auth_unix.c
122
stat = AUTH_OK;
crypto/krb5/src/lib/rpc/svc_auth_unix.c
125
return (stat);
crypto/krb5/src/lib/rpc/svc_auth_unix.c
60
enum auth_stat stat;
crypto/krb5/src/lib/rpc/svc_auth_unix.c
86
stat = AUTH_BADCRED;
crypto/krb5/src/lib/rpc/svc_auth_unix.c
97
stat = AUTH_BADCRED;
crypto/krb5/src/lib/rpc/svc_tcp.c
479
bool_t stat;
crypto/krb5/src/lib/rpc/svc_tcp.c
498
stat = FALSE;
crypto/krb5/src/lib/rpc/svc_tcp.c
502
stat = TRUE;
crypto/krb5/src/lib/rpc/svc_tcp.c
505
return (stat);
crypto/krb5/src/lib/rpc/svc_udp.c
252
bool_t stat = FALSE;
crypto/krb5/src/lib/rpc/svc_udp.c
280
stat = TRUE;
crypto/krb5/src/lib/rpc/svc_udp.c
286
return (stat);
crypto/krb5/src/lib/rpc/xdr_array.c
115
for (i = 0; (i < c) && stat; i++) {
crypto/krb5/src/lib/rpc/xdr_array.c
116
stat = (*elproc)(xdrs, target);
crypto/krb5/src/lib/rpc/xdr_array.c
127
return (stat);
crypto/krb5/src/lib/rpc/xdr_array.c
73
bool_t stat = TRUE;
crypto/krb5/src/lib/rpc/xdr_reference.c
68
bool_t stat;
crypto/krb5/src/lib/rpc/xdr_reference.c
89
stat = (*proc)(xdrs, loc);
crypto/krb5/src/lib/rpc/xdr_reference.c
95
return (stat);
crypto/krb5/src/lib/rpc/xdr_sizeof.c
126
bool_t stat;
crypto/krb5/src/lib/rpc/xdr_sizeof.c
148
stat = func(&x, data);
crypto/krb5/src/lib/rpc/xdr_sizeof.c
151
return (stat == TRUE ? (unsigned) x.x_handy: 0);
crypto/krb5/src/plugins/kdb/db2/kdb_db2.c
569
struct stat st;
crypto/krb5/src/plugins/kdb/db2/kdb_db2.c
586
struct stat st;
crypto/krb5/src/plugins/kdb/db2/kdb_db2.c
621
struct stat statb;
crypto/krb5/src/plugins/kdb/db2/libdb2/btree/bt_open.c
95
struct stat sb;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
100
struct stat statbuf;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
124
(stat(file, &statbuf) && (errno == ENOENT))) {
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
295
struct stat statbuf;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
308
if (stat(file, &statbuf))
crypto/krb5/src/plugins/kdb/db2/libdb2/mpool/mpool.c
61
struct stat sb;
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
65
struct stat sb;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/dbtest.c
759
struct stat sb;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tdel.c
112
stat = (dbp->del)(dbp, &key, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tdel.c
113
if (stat) {
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tdel.c
65
int stat;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/thash4.c
116
stat = (dbp->get)(dbp, &key, &res, 0);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/thash4.c
117
if (stat < 0 ) {
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/thash4.c
121
} else if ( stat > 0 ) {
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/thash4.c
66
int stat;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tread2.c
67
int stat;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tread2.c
94
stat = (dbp->get)(dbp, &key, &res,0);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tread2.c
95
if (stat < 0) {
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tread2.c
98
} else if ( stat > 0 ) {
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tseq.c
64
int stat;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tseq.c
75
for ( stat = (dbp->seq) (dbp, &res, &item, 1 );
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tseq.c
76
stat == 0;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tseq.c
77
stat = (dbp->seq) (dbp, &res, &item, 0 ) ) {
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tverify.c
68
int stat;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tverify.c
93
stat = (dbp->get)(dbp, &key, &res,0);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tverify.c
94
if (stat < 0) {
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tverify.c
97
} else if ( stat > 0 ) {
crypto/krb5/src/plugins/kdb/lmdb/kdb_lmdb.c
430
struct stat st;
crypto/krb5/src/plugins/kdb/lmdb/kdb_lmdb.c
509
struct stat st;
crypto/krb5/src/plugins/kdb/lmdb/kdb_lmdb.c
520
if (stat(dbc->path, &st) != 0) {
crypto/krb5/src/plugins/kdb/lmdb/kdb_lmdb.c
580
struct stat st;
crypto/krb5/src/plugins/kdb/lmdb/kdb_lmdb.c
592
if (stat(dbc->path, &st) == 0) {
crypto/krb5/src/plugins/pwqual/test/main.c
57
struct stat sb;
crypto/krb5/src/util/profile/prof_file.c
297
struct stat st;
crypto/krb5/src/util/profile/prof_file.c
317
if (stat(data->filespec, &st)) {
crypto/krb5/src/util/support/mkstemp.c
100
if (stat(path, &sbuf))
crypto/krb5/src/util/support/mkstemp.c
119
else if (stat(path, &sbuf))
crypto/krb5/src/util/support/mkstemp.c
81
struct stat sbuf;
crypto/krb5/src/util/verto/ev.h
372
typedef struct stat ev_statdata;
crypto/krb5/src/util/verto/ev.h
479
struct ev_stat stat;
crypto/openssh/auth-rhosts.c
193
struct stat st;
crypto/openssh/auth-rhosts.c
214
r = stat(path, &st);
crypto/openssh/auth-rhosts.c
227
stat(_PATH_RHOSTS_EQUIV, &st) == -1 &&
crypto/openssh/auth-rhosts.c
228
stat(_PATH_SSH_HOSTS_EQUIV, &st) == -1) {
crypto/openssh/auth-rhosts.c
258
if (stat(pw->pw_dir, &st) == -1) {
crypto/openssh/auth-rhosts.c
283
if (stat(path, &st) == -1) {
crypto/openssh/auth-rhosts.c
63
struct stat st;
crypto/openssh/auth.c
100
struct stat st;
crypto/openssh/auth.c
124
if (stat(shell, &st) == -1) {
crypto/openssh/auth.c
425
struct stat st;
crypto/openssh/auth.c
435
(stat(user_hostfile, &st) == 0) &&
crypto/openssh/auth2-pubkeyfile.c
459
struct stat st;
crypto/openssh/auth2.c
108
struct stat st;
crypto/openssh/authfile.c
200
struct stat st;
crypto/openssh/authfile.c
210
if (stat(filename, &st) == 0 && S_ISREG(st.st_mode) &&
crypto/openssh/authfile.c
84
struct stat st;
crypto/openssh/channels.c
5222
struct stat sbuf;
crypto/openssh/channels.c
5230
if (stat(path, &sbuf) == 0) {
crypto/openssh/channels.c
5236
if (stat(path, &sbuf) == 0) {
crypto/openssh/clientloop.c
2275
struct stat sb;
crypto/openssh/clientloop.c
2340
if (stat(options.user_hostfiles[i], &sb) != 0) {
crypto/openssh/clientloop.c
296
struct stat st;
crypto/openssh/clientloop.c
309
if (xauth_path != NULL && stat(xauth_path, &st) == -1) {
crypto/openssh/hostfile.c
508
struct stat st;
crypto/openssh/hostfile.c
516
if (stat(dotsshdir, &st) == 0)
crypto/openssh/loginrec.c
1084
struct stat buf;
crypto/openssh/loginrec.c
1174
struct stat st;
crypto/openssh/loginrec.c
1256
struct stat buf;
crypto/openssh/loginrec.c
1339
struct stat st;
crypto/openssh/loginrec.c
1529
struct stat st;
crypto/openssh/loginrec.c
1531
if (stat(LASTLOG_FILE, &st) != 0) {
crypto/openssh/loginrec.c
1716
struct stat fst;
crypto/openssh/misc-agent.c
278
struct stat sb;
crypto/openssh/misc.c
2319
safe_path(const char *name, struct stat *stp, const char *pw_dir,
crypto/openssh/misc.c
2325
struct stat st;
crypto/openssh/misc.c
2359
if (stat(buf, &st) == -1 ||
crypto/openssh/misc.c
2391
struct stat st;
crypto/openssh/misc.c
2836
struct stat st;
crypto/openssh/misc.c
2879
if (stat(av[0], &st) == -1) {
crypto/openssh/misc.c
3157
struct stat st;
crypto/openssh/misc.h
212
struct stat;
crypto/openssh/misc.h
213
int safe_path(const char *, struct stat *, const char *, uid_t,
crypto/openssh/openbsd-compat/bsd-misc.c
237
fstatat(int dirfd, const char *path, struct stat *sb, int flag)
crypto/openssh/openbsd-compat/bsd-misc.c
244
return stat(path, sb);
crypto/openssh/openbsd-compat/bsd-misc.h
85
int fstatat(int, const char *, struct stat *, int);
crypto/openssh/openbsd-compat/getcwd.c
102
if (stat("/", &s))
crypto/openssh/openbsd-compat/getcwd.c
59
struct stat s;
crypto/openssh/openbsd-compat/glob.c
1013
g_lstat(Char *fn, struct stat *sb, glob_t *pglob)
crypto/openssh/openbsd-compat/glob.c
1025
g_stat(Char *fn, struct stat *sb, glob_t *pglob)
crypto/openssh/openbsd-compat/glob.c
1033
return(stat(buf, sb));
crypto/openssh/openbsd-compat/glob.c
150
struct stat *gps_stat;
crypto/openssh/openbsd-compat/glob.c
156
static int g_lstat(Char *, struct stat *, glob_t *);
crypto/openssh/openbsd-compat/glob.c
160
static int g_stat(Char *, struct stat *, glob_t *);
crypto/openssh/openbsd-compat/glob.c
168
struct stat *);
crypto/openssh/openbsd-compat/glob.c
633
struct stat sb;
crypto/openssh/openbsd-compat/glob.c
799
struct stat *sb)
crypto/openssh/openbsd-compat/glob.c
805
struct stat **statv;
crypto/openssh/openbsd-compat/glob.h
55
struct stat;
crypto/openssh/openbsd-compat/glob.h
62
struct stat **gl_statv; /* Stat entries corresponding to gl_pathv */
crypto/openssh/openbsd-compat/glob.h
74
int (*gl_lstat)(const char *, struct stat *);
crypto/openssh/openbsd-compat/glob.h
75
int (*gl_stat)(const char *, struct stat *);
crypto/openssh/openbsd-compat/mktemp.c
75
struct stat sb;
crypto/openssh/openbsd-compat/port-aix.c
245
struct stat st;
crypto/openssh/openbsd-compat/port-aix.c
265
if (result == -1 && errno == EPERM && stat(_PATH_NOLOGIN, &st) == 0)
crypto/openssh/openbsd-compat/port-linux.c
345
struct stat sb;
crypto/openssh/openbsd-compat/port-linux.c
363
if (path[0] == '/' && stat(path, &sb) != 0) {
crypto/openssh/openbsd-compat/regress/utimensattest.c
117
if (stat(TMPFILE2, &sb) == -1)
crypto/openssh/openbsd-compat/regress/utimensattest.c
64
struct stat sb;
crypto/openssh/openbsd-compat/regress/utimensattest.c
79
if (stat(TMPFILE, &sb) == -1)
crypto/openssh/readconf.c
2636
struct stat sb;
crypto/openssh/regress/check-perm.c
127
if (stat(buf, &st) < 0 ||
crypto/openssh/regress/check-perm.c
164
struct stat st;
crypto/openssh/regress/check-perm.c
193
if (stat(path, &st) < 0)
crypto/openssh/regress/check-perm.c
37
struct stat st;
crypto/openssh/regress/check-perm.c
59
if (stat(component, &st) != 0)
crypto/openssh/regress/check-perm.c
92
auth_secure_path(const char *name, struct stat *stp, const char *pw_dir,
crypto/openssh/regress/check-perm.c
98
struct stat st;
crypto/openssh/scp.c
1026
struct stat sb;
crypto/openssh/scp.c
1172
if (stat(argv[i], &sb) != 0) {
crypto/openssh/scp.c
1329
struct stat st;
crypto/openssh/scp.c
1332
if (stat(src, &st) != 0)
crypto/openssh/scp.c
1383
struct stat stb;
crypto/openssh/scp.c
1493
rsource(char *name, struct stat *statp)
crypto/openssh/scp.c
1549
struct stat st;
crypto/openssh/scp.c
1587
if ((r = stat(dst, &st)) != 0)
crypto/openssh/scp.c
1658
struct stat stb;
crypto/openssh/scp.c
1694
if (stat(targ, &stb) == 0 && S_ISDIR(stb.st_mode))
crypto/openssh/scp.c
1842
exists = stat(np, &stb) == 0;
crypto/openssh/scp.c
2185
struct stat stb;
crypto/openssh/scp.c
2187
if (!stat(cp, &stb)) {
crypto/openssh/scp.c
2231
struct stat stb;
crypto/openssh/scp.c
438
void rsource(char *, struct stat *);
crypto/openssh/scp.c
716
do_times(int fd, int verb, const struct stat *sb)
crypto/openssh/servconf.c
2616
struct stat st;
crypto/openssh/session.c
1181
struct stat st;
crypto/openssh/session.c
1190
stat(user_rc, &st) >= 0) {
crypto/openssh/session.c
1205
} else if (stat(_PATH_SSH_SYSTEM_RC, &st) >= 0) {
crypto/openssh/session.c
1254
struct stat sb;
crypto/openssh/session.c
1265
if (stat(nl, &sb) == -1)
crypto/openssh/session.c
1287
struct stat st;
crypto/openssh/session.c
1309
if (stat(component, &st) != 0)
crypto/openssh/session.c
1928
struct stat st;
crypto/openssh/session.c
1949
if (stat(prog, &st) == -1)
crypto/openssh/session.c
2553
struct stat st;
crypto/openssh/session.c
2567
(stat(options.xauth_location, &st) == -1)) {
crypto/openssh/session.c
771
struct stat st;
crypto/openssh/session.c
778
if (login_getcapbool(lc, "hushlogin", 0) || stat(buf, &st) >= 0)
crypto/openssh/session.c
781
if (stat(buf, &st) >= 0)
crypto/openssh/sftp-client.c
1594
struct stat st;
crypto/openssh/sftp-client.c
2031
struct stat sb;
crypto/openssh/sftp-client.c
2251
struct stat sb;
crypto/openssh/sftp-client.c
2262
if (stat(src, &sb) == -1) {
crypto/openssh/sftp-client.c
2328
if (stat(new_src, &sb) == -1) {
crypto/openssh/sftp-common.c
215
ls_file(const char *name, const struct stat *st, int remote, int si_units,
crypto/openssh/sftp-common.c
66
stat_to_attrib(const struct stat *st, Attrib *a)
crypto/openssh/sftp-common.c
84
attrib_to_stat(const Attrib *a, struct stat *st)
crypto/openssh/sftp-common.h
46
void stat_to_attrib(const struct stat *, Attrib *);
crypto/openssh/sftp-common.h
47
void attrib_to_stat(const Attrib *, struct stat *);
crypto/openssh/sftp-common.h
50
char *ls_file(const char *, const struct stat *, int, int,
crypto/openssh/sftp-glob.c
110
fudge_lstat(const char *path, struct stat *st)
crypto/openssh/sftp-glob.c
123
fudge_stat(const char *path, struct stat *st)
crypto/openssh/sftp-glob.c
142
struct stat sb;
crypto/openssh/sftp-realpath.c
60
struct stat sb;
crypto/openssh/sftp-server.c
1138
struct stat st;
crypto/openssh/sftp-server.c
1265
struct stat sb;
crypto/openssh/sftp-server.c
1287
struct stat st;
crypto/openssh/sftp-server.c
1293
if (stat(newpath, &st) == -1) {
crypto/openssh/sftp-server.c
1309
} else if (stat(newpath, &sb) == -1) {
crypto/openssh/sftp-server.c
1610
struct stat st_read, st_write;
crypto/openssh/sftp-server.c
894
struct stat st;
crypto/openssh/sftp-server.c
903
r = do_lstat ? lstat(name, &st) : stat(name, &st);
crypto/openssh/sftp-server.c
932
struct stat st;
crypto/openssh/sftp.c
629
struct stat sb;
crypto/openssh/sftp.c
631
if (stat(path, &sb) == -1)
crypto/openssh/sftp.c
735
struct stat sb;
crypto/openssh/sftp.c
763
if (stat(g.gl_pathv[i], &sb) == -1) {
crypto/openssh/sftp.c
901
struct stat sb;
crypto/openssh/sftp.c
942
const struct stat *as = sort_glob->gl_statv[a];
crypto/openssh/sftp.c
943
const struct stat *bs = sort_glob->gl_statv[b];
crypto/openssh/ssh-add.c
1025
struct stat st;
crypto/openssh/ssh-add.c
1038
if (stat(buf, &st) == -1)
crypto/openssh/ssh-keygen.c
1031
struct stat st;
crypto/openssh/ssh-keygen.c
1044
if (stat(prv_file, &st) == 0) {
crypto/openssh/ssh-keygen.c
1269
struct stat sb;
crypto/openssh/ssh-keygen.c
1279
if (stat(identity_file, &sb) != 0)
crypto/openssh/ssh-keygen.c
1373
struct stat st;
crypto/openssh/ssh-keygen.c
1379
if (stat(identity_file, &st) == -1)
crypto/openssh/ssh-keygen.c
1454
struct stat st;
crypto/openssh/ssh-keygen.c
1469
if (stat(fname, &st) == -1) {
crypto/openssh/ssh-keygen.c
1491
struct stat st;
crypto/openssh/ssh-keygen.c
1496
if (stat(identity_file, &st) == -1)
crypto/openssh/ssh-keygen.c
2132
struct stat st;
crypto/openssh/ssh-keygen.c
2142
if (strcmp(identity_file, "-") != 0 && stat(identity_file, &st) == -1)
crypto/openssh/ssh-keygen.c
230
struct stat st;
crypto/openssh/ssh-keygen.c
232
if (stat(filename, &st) != 0)
crypto/openssh/ssh-keygen.c
2397
struct stat sb;
crypto/openssh/ssh-keygen.c
2405
if (stat(identity_file, &sb) == -1) {
crypto/openssh/ssh-keygen.c
2484
struct stat st;
crypto/openssh/ssh-keygen.c
2501
if (waspub && stat(privpath, &st) != 0 && errno == ENOENT)
crypto/openssh/ssh-keygen.c
404
struct stat st;
crypto/openssh/ssh-keygen.c
409
if (stat(identity_file, &st) == -1)
crypto/openssh/ssh-keygen.c
722
struct stat st;
crypto/openssh/ssh-keygen.c
726
if (stat(identity_file, &st) == -1)
crypto/openssh/ssh-keygen.c
777
struct stat st;
crypto/openssh/ssh-keygen.c
783
if (stat(identity_file, &st) == -1)
crypto/openssh/ssh-keygen.c
886
struct stat st;
crypto/openssh/ssh-keygen.c
891
if (stat(identity_file, &st) == -1)
crypto/openssh/ssh.c
1517
if (stat(options.forward_agent_sock_path, &st) != 0) {
crypto/openssh/ssh.c
628
struct stat st;
crypto/openssh/ssh.c
843
if (stat(p, &st) == -1)
crypto/openssh/sshbuf-io.c
38
struct stat st;
crypto/openssh/sshconnect2.c
1535
struct stat st;
crypto/openssh/sshconnect2.c
1537
if (stat(id->filename, &st) == -1) {
crypto/openssh/sshconnect2.c
2032
struct stat st;
crypto/openssh/sshconnect2.c
2042
if (stat(_PATH_SSH_KEY_SIGN, &st) == -1) {
crypto/openssh/sshd.c
1361
struct stat sb;
crypto/openssh/sshd.c
1793
if ((stat(_PATH_PRIVSEP_CHROOT_DIR, &sb) == -1) ||
crypto/openssh/sshd.c
1843
if (stat(rexec_argv[0], &sb) != 0 || !(sb.st_mode & (S_IXOTH|S_IXUSR)))
crypto/openssh/sshd.c
1848
if (stat(options.sshd_auth_path, &sb) != 0 ||
crypto/openssh/sshpty.c
167
struct stat st;
crypto/openssh/sshpty.c
181
if (stat(tty, &st) == -1)
crypto/openssl/apps/include/apps.h
223
struct stat dbst;
crypto/openssl/apps/lib/apps.c
1683
struct stat dbst;
crypto/openssl/apps/lib/opt.c
1282
struct stat st;
crypto/openssl/apps/lib/opt.c
1284
if (stat(name, &st) == 0)
crypto/openssl/apps/ocsp.c
933
struct stat sb;
crypto/openssl/apps/ocsp.c
935
if (rdb != NULL && stat(rdb->dbfname, &sb) != -1) {
crypto/openssl/apps/pkeyutl.c
472
struct stat st;
crypto/openssl/apps/pkeyutl.c
474
if (stat(infile, &st) == 0 && st.st_size <= INT_MAX)
crypto/openssl/apps/rehash.c
353
struct stat st;
crypto/openssl/apps/rehash.c
55
#define lstat(path, buf) stat(path, buf)
crypto/openssl/apps/s_server.c
3637
struct stat st;
crypto/openssl/crypto/conf/conf_def.c
808
struct stat st;
crypto/openssl/crypto/conf/conf_def.c
811
if (stat(include, &st) < 0) {
crypto/openssl/crypto/rand/randfile.c
191
struct stat sb;
crypto/openssl/crypto/rand/randfile.c
193
if (stat(file, &sb) >= 0 && !S_ISREG(sb.st_mode)) {
crypto/openssl/crypto/rand/randfile.c
97
struct stat sb;
crypto/openssl/crypto/x509/by_dir.c
326
struct stat st;
crypto/openssl/crypto/x509/by_dir.c
327
if (stat(b->data, &st) < 0)
crypto/openssl/demos/http3/ossl-nghttp3-demo-server.c
768
struct stat st;
crypto/openssl/demos/http3/ossl-nghttp3-demo-server.c
779
if (stat(filename, &st) == 0) {
crypto/openssl/engines/e_loader_attic.c
1012
if (stat(path_data[i].path, &st) < 0) {
crypto/openssl/engines/e_loader_attic.c
952
struct stat st;
crypto/openssl/fuzz/test-corpus.c
39
struct stat st;
crypto/openssl/fuzz/test-corpus.c
44
if (stat(pathname, &st) < 0 || !S_ISREG(st.st_mode))
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
516
struct stat st;
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
531
struct stat st;
crypto/openssl/providers/implementations/storemgmt/file_store.c
199
struct stat st;
crypto/openssl/providers/implementations/storemgmt/file_store.c
264
if (stat(path_data[i].path, &st) < 0) {
crypto/openssl/ssl/ssl_cert.c
953
struct stat st;
crypto/openssl/ssl/ssl_cert.c
971
if (!stat(buf, &st) && S_ISDIR(st.st_mode))
crypto/openssl/ssl/ssl_lib.c
3079
static int ssl_tsan_load(SSL_CTX *ctx, TSAN_QUALIFIER int *stat)
crypto/openssl/ssl/ssl_lib.c
3084
res = tsan_load(stat);
crypto/openssl/ssl/ssl_lib.c
4767
TSAN_QUALIFIER int *stat;
crypto/openssl/ssl/ssl_lib.c
4770
stat = &s->session_ctx->stats.sess_connect_good;
crypto/openssl/ssl/ssl_lib.c
4772
stat = &s->session_ctx->stats.sess_accept_good;
crypto/openssl/ssl/ssl_lib.c
4773
if ((ssl_tsan_load(s->session_ctx, stat) & 0xff) == 0xff)
crypto/openssl/ssl/ssl_local.h
3069
TSAN_QUALIFIER int *stat)
crypto/openssl/ssl/ssl_local.h
3072
tsan_counter(stat);
crypto/openssl/ssl/statem/extensions.c
914
TSAN_QUALIFIER int *stat)
crypto/openssl/ssl/statem/extensions.c
917
tsan_decr(stat);
crypto/openssl/test/prov_config_test.c
76
struct stat sbuf;
crypto/openssl/test/prov_config_test.c
91
rc = stat(full_path, &sbuf);
crypto/openssl/test/timing_load_creds.c
105
struct stat sb;
crypto/openssl/test/timing_load_creds.c
152
if (stat(av[0], &sb) < 0) {
include/fts.h
133
struct stat *fts_statp; /* stat(2) information */
include/ftw.h
57
int ftw(const char *, int (*)(const char *, const struct stat *, int), int);
include/ftw.h
58
int nftw(const char *, int (*)(const char *, const struct stat *, int,
include/glob.h
46
struct stat;
include/glob.h
71
int (*gl_lstat)(const char *, struct stat *);
include/glob.h
72
int (*gl_stat)(const char *, struct stat *);
lib/geom/part/geom_part.c
1115
struct stat sb;
lib/geom/part/geom_part.c
1119
if (stat(bootfile, &sb) == -1)
lib/lib80211/lib80211_regdomain.c
620
struct stat sb;
lib/libbe/be.c
1247
struct stat sb;
lib/libbe/be.c
1276
if (stat(child_path, &sb) != 0) {
lib/libbluetooth/hci.c
655
di->cmd_sent = rp.r4.stat.cmd_sent;
lib/libbluetooth/hci.c
656
di->evnt_recv = rp.r4.stat.evnt_recv;
lib/libbluetooth/hci.c
657
di->acl_recv = rp.r4.stat.acl_recv;
lib/libbluetooth/hci.c
658
di->acl_sent = rp.r4.stat.acl_sent;
lib/libbluetooth/hci.c
659
di->sco_recv = rp.r4.stat.sco_recv;
lib/libbluetooth/hci.c
660
di->sco_sent = rp.r4.stat.sco_sent;
lib/libbluetooth/hci.c
661
di->bytes_recv = rp.r4.stat.bytes_recv;
lib/libbluetooth/hci.c
662
di->bytes_sent = rp.r4.stat.bytes_sent;
lib/libc/db/btree/bt_open.c
89
struct stat sb;
lib/libc/db/hash/hash.c
102
struct stat statbuf;
lib/libc/db/hash/hash.c
273
struct stat statbuf;
lib/libc/db/hash/hash.c
291
if (stat(file, &statbuf))
lib/libc/db/mpool/mpool.c
61
struct stat sb;
lib/libc/db/recno/rec_open.c
59
struct stat sb;
lib/libc/db/test/dbtest.c
670
struct stat sb;
lib/libc/db/test/hash.tests/tdel.c
100
stat = (dbp->del)(dbp, &key, 0);
lib/libc/db/test/hash.tests/tdel.c
101
if (stat) {
lib/libc/db/test/hash.tests/tdel.c
53
int stat;
lib/libc/db/test/hash.tests/thash4.c
105
stat = (dbp->get)(dbp, &key, &res, 0);
lib/libc/db/test/hash.tests/thash4.c
106
if (stat < 0 ) {
lib/libc/db/test/hash.tests/thash4.c
110
} else if ( stat > 0 ) {
lib/libc/db/test/hash.tests/thash4.c
55
int stat;
lib/libc/db/test/hash.tests/tread2.c
55
int stat;
lib/libc/db/test/hash.tests/tread2.c
82
stat = (dbp->get)(dbp, &key, &res,0);
lib/libc/db/test/hash.tests/tread2.c
83
if (stat < 0) {
lib/libc/db/test/hash.tests/tread2.c
86
} else if ( stat > 0 ) {
lib/libc/db/test/hash.tests/tseq.c
52
int stat;
lib/libc/db/test/hash.tests/tseq.c
63
for ( stat = (dbp->seq) (dbp, &res, &item, 1 );
lib/libc/db/test/hash.tests/tseq.c
64
stat == 0;
lib/libc/db/test/hash.tests/tseq.c
65
stat = (dbp->seq) (dbp, &res, &item, 0 ) ) {
lib/libc/db/test/hash.tests/tverify.c
56
int stat;
lib/libc/db/test/hash.tests/tverify.c
81
stat = (dbp->get)(dbp, &key, &res,0);
lib/libc/db/test/hash.tests/tverify.c
82
if (stat < 0) {
lib/libc/db/test/hash.tests/tverify.c
85
} else if ( stat > 0 ) {
lib/libc/gen/ctermid.c
45
struct stat sb;
lib/libc/gen/ctermid.c
58
if (stat(_PATH_TTY, &sb) == 0 && S_ISCHR(sb.st_mode))
lib/libc/gen/exec.c
150
struct stat sb;
lib/libc/gen/exec.c
213
if (stat(path, &sb) == -1) {
lib/libc/gen/fstab.c
100
if (stat(buf, &sb) != 0 ||
lib/libc/gen/fstab.c
88
struct stat sb;
lib/libc/gen/ftok.c
37
struct stat st;
lib/libc/gen/ftok.c
39
if (stat(path, &st) < 0)
lib/libc/gen/fts.c
1038
struct stat *sbp, sb;
lib/libc/gen/fts.c
1085
err: memset(sbp, 0, sizeof(struct stat));
lib/libc/gen/fts.c
1179
len = roundup(len, alignof(struct stat));
lib/libc/gen/fts.c
1180
p = calloc(1, len + sizeof(struct stat));
lib/libc/gen/fts.c
1193
p->fts_statp = (struct stat *)((char *)p + len);
lib/libc/gen/fts.c
1275
struct stat sb;
lib/libc/gen/ftw.c
30
ftw(const char *path, int (*fn)(const char *, const struct stat *, int),
lib/libc/gen/gen-compat.h
71
stat, FBSD_1.0);
lib/libc/gen/getcwd.c
108
if (stat("/", &s))
lib/libc/gen/getcwd.c
63
struct stat s;
lib/libc/gen/getnetgrent.c
327
struct stat _yp_statp;
lib/libc/gen/getnetgrent.c
348
if (((stat(_PATH_NETGROUP, &_yp_statp) < 0) &&
lib/libc/gen/getttyent.c
103
struct stat sb;
lib/libc/gen/getttyent.c
112
if (dev != NULL && stat(dev, &sb) == 0)
lib/libc/gen/getutxent.c
46
struct stat sb;
lib/libc/gen/glob.c
1040
g_lstat(Char *fn, struct stat *sb, glob_t *pglob)
lib/libc/gen/glob.c
1054
g_stat(Char *fn, struct stat *sb, glob_t *pglob)
lib/libc/gen/glob.c
1064
return (stat(buf, sb));
lib/libc/gen/glob.c
153
static int g_lstat(Char *, struct stat *, glob_t *);
lib/libc/gen/glob.c
159
static int g_stat(Char *, struct stat *, glob_t *);
lib/libc/gen/glob.c
674
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
136
struct stat st;
lib/libc/gen/pututxline.c
237
struct stat sb;
lib/libc/gen/pututxline.c
46
struct stat sb;
lib/libc/gen/sem_new.c
142
struct stat sb;
lib/libc/iconv/citrus_mapper.c
76
struct stat st;
lib/libc/iconv/citrus_mapper.c
89
ret = stat(path, &st);
lib/libc/iconv/citrus_mmap.c
54
struct stat st;
lib/libc/include/compat.h
55
__sym_compat(stat, freebsd11_stat, FBSD_1.0);
lib/libc/include/libc_private.h
340
struct stat;
lib/libc/locale/collate.c
135
struct stat sbuf;
lib/libc/locale/ldpart.c
59
struct stat st;
lib/libc/locale/rune.c
62
struct stat sb;
lib/libc/net/nsdispatch.c
338
struct stat statbuf;
lib/libc/net/nsdispatch.c
365
if (stat(path, &statbuf) != 0)
lib/libc/net/nsdispatch.c
374
if (stat(path, &statbuf) != 0)
lib/libc/net/rcmd.c
425
struct stat sbuf;
lib/libc/nls/msgcat.c
129
struct stat sbuf;
lib/libc/nls/msgcat.c
257
if (stat(path, &sbuf) == 0) {
lib/libc/nls/msgcat.c
388
struct stat st;
lib/libc/resolv/res_init.c
275
struct stat sb;
lib/libc/resolv/res_state.c
70
struct stat sb;
lib/libc/resolv/res_state.c
88
if (stat(_PATH_RESCONF, &sb) == 0 &&
lib/libc/rpc/auth_unix.c
267
int stat;
lib/libc/rpc/auth_unix.c
282
stat = xdr_authunix_parms(&xdrs, &aup);
lib/libc/rpc/auth_unix.c
283
if (! stat)
lib/libc/rpc/auth_unix.c
291
stat = xdr_authunix_parms(&xdrs, &aup);
lib/libc/rpc/auth_unix.c
292
if (! stat)
lib/libc/rpc/auth_unix.c
301
return (stat);
lib/libc/rpc/clnt_bcast.c
243
enum clnt_stat stat = RPC_SUCCESS; /* Return status */
lib/libc/rpc/clnt_bcast.c
323
stat = RPC_CANTSEND;
lib/libc/rpc/clnt_bcast.c
346
stat = RPC_SYSTEMERROR;
lib/libc/rpc/clnt_bcast.c
356
if (stat == RPC_SUCCESS)
lib/libc/rpc/clnt_bcast.c
357
stat = RPC_UNKNOWNPROTO;
lib/libc/rpc/clnt_bcast.c
361
if (stat == RPC_SUCCESS)
lib/libc/rpc/clnt_bcast.c
362
stat = RPC_CANTSEND;
lib/libc/rpc/clnt_bcast.c
368
stat = RPC_SYSTEMERROR;
lib/libc/rpc/clnt_bcast.c
394
stat = RPC_CANTENCODEARGS;
lib/libc/rpc/clnt_bcast.c
418
stat = RPC_CANTENCODEARGS;
lib/libc/rpc/clnt_bcast.c
439
stat = RPC_CANTSEND;
lib/libc/rpc/clnt_bcast.c
465
stat = RPC_CANTSEND;
lib/libc/rpc/clnt_bcast.c
487
stat = RPC_CANTSEND;
lib/libc/rpc/clnt_bcast.c
502
stat = RPC_SUCCESS;
lib/libc/rpc/clnt_bcast.c
513
stat = RPC_TIMEDOUT;
lib/libc/rpc/clnt_bcast.c
551
stat = RPC_CANTRECV;
lib/libc/rpc/clnt_bcast.c
625
stat = RPC_SUCCESS;
lib/libc/rpc/clnt_bcast.c
646
return (stat);
lib/libc/rpc/clnt_perror.c
211
clnt_sperrno(enum clnt_stat stat)
lib/libc/rpc/clnt_perror.c
213
unsigned int errnum = stat;
lib/libc/rpc/clnt_perror.c
309
auth_errmsg(enum auth_stat stat)
lib/libc/rpc/clnt_perror.c
311
unsigned int errnum = stat;
lib/libc/rpc/crypt_client.c
52
int stat;
lib/libc/rpc/crypt_client.c
86
stat = result_1->stat;
lib/libc/rpc/crypt_client.c
88
if (result_1->stat == DESERR_NONE ||
lib/libc/rpc/crypt_client.c
89
result_1->stat == DESERR_NOHWDEVICE) {
lib/libc/rpc/crypt_client.c
97
return(stat);
lib/libc/rpc/pmap_rmt.c
103
stat = RPC_FAILED;
lib/libc/rpc/pmap_rmt.c
106
return (stat);
lib/libc/rpc/pmap_rmt.c
82
enum clnt_stat stat;
lib/libc/rpc/pmap_rmt.c
98
stat = CLNT_CALL(client, (rpcproc_t)PMAPPROC_CALLIT,
lib/libc/rpc/rpcb_clnt.c
1114
enum clnt_stat stat;
lib/libc/rpc/rpcb_clnt.c
1119
stat = 0;
lib/libc/rpc/rpcb_clnt.c
1137
stat = CLNT_CALL(client, (rpcproc_t)RPCBPROC_CALLIT,
lib/libc/rpc/rpcb_clnt.c
1140
if ((stat == RPC_SUCCESS) && (addr_ptr != NULL)) {
lib/libc/rpc/rpcb_clnt.c
1145
stat = RPC_N2AXLATEFAILURE;
lib/libc/rpc/rpcb_clnt.c
1152
stat = RPC_FAILED; /* XXX A better error no */
lib/libc/rpc/rpcb_clnt.c
1165
} else if ((stat != RPC_PROGVERSMISMATCH) &&
lib/libc/rpc/rpcb_clnt.c
1166
(stat != RPC_PROGUNAVAIL)) {
lib/libc/rpc/rpcb_clnt.c
1174
return (stat);
lib/libc/rpc/svc.c
618
enum xprt_stat stat;
lib/libc/rpc/svc.c
696
if ((stat = SVC_STAT(xprt)) == XPRT_DIED){
lib/libc/rpc/svc.c
700
} while (stat == XPRT_MOREREQS);
lib/libc/rpc/svc_auth_unix.c
108
stat = AUTH_BADCRED;
lib/libc/rpc/svc_auth_unix.c
114
stat = AUTH_BADCRED;
lib/libc/rpc/svc_auth_unix.c
130
stat = AUTH_OK;
lib/libc/rpc/svc_auth_unix.c
133
return (stat);
lib/libc/rpc/svc_auth_unix.c
56
enum auth_stat stat;
lib/libc/rpc/svc_auth_unix.c
83
stat = AUTH_BADCRED;
lib/libc/rpc/svc_auth_unix.c
94
stat = AUTH_BADCRED;
lib/libc/rpc/svc_dg.c
332
bool_t stat = TRUE;
lib/libc/rpc/svc_dg.c
349
stat = FALSE;
lib/libc/rpc/svc_dg.c
351
stat = xdr_replymsg(xdrs, msg);
lib/libc/rpc/svc_dg.c
353
if (stat) {
lib/libc/rpc/svc_dg.c
360
stat = TRUE;
lib/libc/rpc/svc_dg.c
365
return (stat);
lib/libc/rpc/svc_nl.c
115
sc->stat = XPRT_IDLE,
lib/libc/rpc/svc_nl.c
155
(sc)->stat = XPRT_DIED; \
lib/libc/rpc/svc_nl.c
181
switch (sc->stat) {
lib/libc/rpc/svc_nl.c
188
sc->stat = XPRT_IDLE;
lib/libc/rpc/svc_nl.c
350
if (sc->stat == XPRT_IDLE &&
lib/libc/rpc/svc_nl.c
353
sc->stat = XPRT_MOREREQS;
lib/libc/rpc/svc_nl.c
355
return (sc->stat);
lib/libc/rpc/svc_nl.c
79
enum xprt_stat stat;
lib/libc/rpc/svc_raw.c
157
bool_t stat;
lib/libc/rpc/svc_raw.c
179
stat = xdr_replymsg(xdrs, msg) &&
lib/libc/rpc/svc_raw.c
182
stat = xdr_replymsg(xdrs, msg);
lib/libc/rpc/svc_raw.c
184
if (!stat) {
lib/libc/stdio/fseek.c
95
struct stat st;
lib/libc/stdio/makebuf.c
88
struct stat st;
lib/libc/stdio/mktemp.c
117
struct stat sbuf;
lib/libc/stdio/remove.c
43
struct stat sb;
lib/libc/stdlib/realpath.c
50
struct stat sb;
lib/libc/sys/lstat.c
36
lstat(const char *path, struct stat *sb)
lib/libc/sys/stat.c
36
stat(const char *path, struct stat *sb)
lib/libc/tests/gen/fts_misc_test.c
254
struct stat sb;
lib/libc/tests/gen/fts_misc_test.c
268
stat(ent->fts_accpath, &sb),
lib/libc/tests/gen/ftw_test.c
52
cb(const char *path, const struct stat *st, int type, struct FTW *f)
lib/libc/tests/gen/posix_spawn_test.c
182
struct stat sb;
lib/libc/tests/stdio/gets_s_test.c
76
int stat;
lib/libc/tests/stdio/gets_s_test.c
82
(void) waitpid(kidpid, &stat, WEXITED);
lib/libc/tests/stdio/mkostemp_test.c
52
struct stat st1, st2;
lib/libc/tests/stdio/mkostemp_test.c
83
if (stat(tmpf, &st1) == -1) {
lib/libc/tests/sys/sendfile_test.c
267
struct stat st;
lib/libc/xdr/xdr_array.c
116
for (i = 0; (i < c) && stat; i++) {
lib/libc/xdr/xdr_array.c
117
stat = (*elproc)(xdrs, target);
lib/libc/xdr/xdr_array.c
128
return (stat);
lib/libc/xdr/xdr_array.c
75
bool_t stat = TRUE;
lib/libc/xdr/xdr_reference.c
72
bool_t stat;
lib/libc/xdr/xdr_reference.c
92
stat = (*proc)(xdrs, loc);
lib/libc/xdr/xdr_reference.c
98
return (stat);
lib/libc/xdr/xdr_sizeof.c
128
bool_t stat;
lib/libc/xdr/xdr_sizeof.c
150
stat = func(&x, data);
lib/libc/xdr/xdr_sizeof.c
153
return (stat == TRUE ? (unsigned) x.x_handy: 0);
lib/libc/yp/xdryp.c
80
status = out.ypresp_all_u.val.stat;
lib/libc/yp/yplib.c
1042
if (!(r = ypprot_err(ypro.stat))) {
lib/libc/yp/yplib.c
1089
if (!(r = ypprot_err(yprm.stat))) {
lib/libc/yp/yplib.c
1131
if (!(r = ypprot_err(ypml.stat))) {
lib/libc/yp/yplib.c
722
if (!(r = ypprot_err(yprv.stat))) {
lib/libc/yp/yplib.c
813
if (!(r = ypprot_err(yprkv.stat))) {
lib/libc/yp/yplib.c
894
if (!(r = ypprot_err(yprkv.stat))) {
lib/libcasper/services/cap_fileargs/cap_fileargs.c
365
fileargs_lstat(fileargs_t *fa, const char *name, struct stat *sb)
lib/libcasper/services/cap_fileargs/cap_fileargs.c
540
struct stat sb;
lib/libcasper/services/cap_fileargs/cap_fileargs.c
60
fileargs_get_lstat_cache(fileargs_t *fa, const char *name, struct stat *sb)
lib/libcasper/services/cap_fileargs/cap_fileargs.c
644
struct stat sb;
lib/libcasper/services/cap_fileargs/cap_fileargs.h
45
struct stat;
lib/libcasper/services/cap_fileargs/cap_fileargs.h
55
int fileargs_lstat(fileargs_t *fa, const char *name, struct stat *sb);
lib/libcasper/services/cap_fileargs/tests/fileargs_test.c
126
struct stat fasb, origsb;
lib/libcompat/4.3/rexec.c
137
struct stat stb;
lib/libfetch/common.c
1764
memcpy(&tmp->stat, us, sizeof(*us));
lib/libfetch/fetch.h
61
struct url_stat stat;
lib/libfetch/file.c
103
if (stat(fn, &sb) == -1) {
lib/libfetch/file.c
99
struct stat sb;
lib/libifconfig/libifconfig.h
199
struct ifstat *stat);
lib/libkvm/kvm.c
117
struct stat st;
lib/libmd/mdXhl.c
54
struct stat stbuf;
lib/libnetbsd/glob.h
34
#define __gl_stat_t struct stat
lib/libpam/modules/pam_nologin/pam_nologin.c
64
struct stat st;
lib/libpam/modules/pam_xdg/pam_xdg.c
215
struct stat sb;
lib/libpam/modules/pam_xdg/pam_xdg.c
59
struct stat sb;
lib/libpmc/pmu-events/jevents.c
1168
struct stat st;
lib/libpmc/pmu-events/jevents.c
1171
if (stat(path, &st))
lib/libpmc/pmu-events/jevents.c
1200
static int preprocess_arch_std_files(const char *fpath, const struct stat *sb,
lib/libpmc/pmu-events/jevents.c
1212
static int process_one_file(const char *fpath, const struct stat *sb,
lib/libpmc/pmu-events/jevents.c
1373
struct stat stbuf;
lib/libpmc/pmu-events/jevents.c
1398
if (stat(ldirname, &stbuf) < 0) {
lib/libpmc/pmu-events/jevents.c
1501
nftw_ordered(const char *path, int (*fn)(const char *, const struct stat *, int,
lib/libpmc/pmu-events/jevents.c
53
nftw_ordered(const char *path, int (*fn)(const char *, const struct stat *, int,
lib/libpmc/pmu-events/json.c
47
struct stat st;
lib/libsecureboot/h/libsecureboot.h
73
const char *, struct stat *);
lib/libsecureboot/h/libsecureboot.h
76
int verify_fd(int, const char *, off_t, struct stat *);
lib/libsecureboot/h/verify_file.h
43
struct stat;
lib/libsecureboot/h/verify_file.h
45
int verify_prep(int, const char *, off_t, struct stat *, const char *);
lib/libsecureboot/h/verify_file.h
51
int load_manifest(const char *, const char *, const char *, struct stat *);
lib/libsecureboot/h/verify_file.h
55
void verify_report(const char *, int, int, struct stat *);
lib/libsecureboot/h/verify_file.h
59
int is_verified(struct stat *);
lib/libsecureboot/h/verify_file.h
60
void add_verify_status(struct stat *, int);
lib/libsecureboot/h/verify_file.h
63
struct vectx* vectx_open(int, const char *, int, off_t, struct stat *, int *, const char *);
lib/libsecureboot/libsecureboot-priv.h
33
struct stat;
lib/libsecureboot/libsecureboot-priv.h
57
int is_verified(struct stat *stp);
lib/libsecureboot/libsecureboot-priv.h
58
void add_verify_status(struct stat *stp, int status);
lib/libsecureboot/pass_manifest.c
49
struct stat st;
lib/libsecureboot/pass_manifest.c
62
rc = stat(path, &st);
lib/libsecureboot/readfile.c
57
struct stat st;
lib/libsecureboot/tests/tvo.c
165
struct stat st;
lib/libsecureboot/vectx.c
102
struct stat st;
lib/libsecureboot/vectx.c
98
off_t off, struct stat *stp,
lib/libsecureboot/veopen.c
194
struct stat st;
lib/libsecureboot/veopen.c
416
verify_fd(int fd, const char *path, off_t off, struct stat *stp)
lib/libsecureboot/veopen.c
418
struct stat st;
lib/libsecureboot/veopen.c
71
const char *skip, const char *data, struct stat *stp)
lib/libsecureboot/verify_file.c
131
is_verified(struct stat *stp)
lib/libsecureboot/verify_file.c
153
add_verify_status(struct stat *stp, int status)
lib/libsecureboot/verify_file.c
177
const char *skip, struct stat *stp)
lib/libsecureboot/verify_file.c
179
struct stat st;
lib/libsecureboot/verify_file.c
189
if (stat(name, &st) < 0 || !S_ISREG(st.st_mode))
lib/libsecureboot/verify_file.c
226
struct stat st;
lib/libsecureboot/verify_file.c
247
if (stat(buf, &st) == 0 && st.st_size > 0) {
lib/libsecureboot/verify_file.c
304
verify_tweak(int fd, off_t off, struct stat *stp,
lib/libsecureboot/verify_file.c
411
verify_report(const char *path, int severity, int status, struct stat *stp)
lib/libsecureboot/verify_file.c
453
verify_prep(int fd, const char *filename, off_t off, struct stat *stp,
lib/libsecureboot/verify_file.c
523
struct stat st;
lib/libsecureboot/vesigned.c
43
struct stat st;
lib/libsecureboot/vesigned.c
49
if (stat(buf, &st) < 0 || !S_ISREG(st.st_mode))
lib/libsecureboot/veta.c
102
struct stat st;
lib/libsecureboot/veta.c
104
if (stat(trust, &st) < 0)
lib/libsecureboot/veta.c
76
struct stat st;
lib/libsecureboot/veta.c
88
if (stat(fbuf, &st) < 0 || S_ISDIR(st.st_mode))
lib/libsys/_libsys.h
426
typedef int (__sys_fstat_t)(int, struct stat *);
lib/libsys/_libsys.h
427
typedef int (__sys_fstatat_t)(int, const char *, struct stat *, int);
lib/libsys/_libsys.h
428
typedef int (__sys_fhstat_t)(const struct fhandle *, struct stat *);
lib/libsys/_libsys.h
58
struct stat;
lib/libsys/_libsys.h
637
int __sys_modstat(int modid, struct module_stat * stat);
lib/libsys/_libsys.h
644
int __sys_kldstat(int fileid, struct kld_file_stat * stat);
lib/libsys/_libsys.h
838
int __sys_fstat(int fd, struct stat * sb);
lib/libsys/_libsys.h
839
int __sys_fstatat(int fd, const char * path, struct stat * buf, int flag);
lib/libsys/_libsys.h
840
int __sys_fhstat(const struct fhandle * u_fhp, struct stat * sb);
lib/libufs/type.c
102
again: if ((ret = stat(name, &st)) < 0) {
lib/libufs/type.c
92
struct stat st;
lib/libutil++/tests/pidfile_test.cc
22
struct stat sb;
lib/libutil/_secure_path.c
46
struct stat sb;
lib/libutil/flopen.c
52
struct stat sb, fsb;
lib/libutil/gr_util.c
101
struct stat st;
lib/libutil/mntopts.c
123
struct stat sb;
lib/libutil/mntopts.c
125
if (realpath(path, resolved) == NULL || stat(resolved, &sb) != 0)
lib/libutil/mntopts.c
137
struct stat sb;
lib/libutil/mntopts.c
139
if (realpath(path, resolved) == NULL || stat(resolved, &sb) != 0)
lib/libutil/mntopts.c
167
struct stat devstat, mntdevstat;
lib/libutil/mntopts.c
179
if (stat(name, &devstat) != 0 &&
lib/libutil/mntopts.c
181
stat(prependdevtopath(name, device, devlen), &devstat) != 0))
lib/libutil/mntopts.c
198
if (stat(devname, &mntdevstat) != 0)
lib/libutil/mntopts.c
205
if (stat(devname, &mntdevstat) != 0)
lib/libutil/pidfile.c
126
struct stat sb;
lib/libutil/pidfile.c
61
struct stat sb;
lib/libutil/pw_util.c
174
struct stat st;
lib/libutil/pw_util.c
284
struct stat st1, st2;
lib/libutil/pw_util.c
290
if (stat(tempname, &st1) == -1)
lib/libutil/pw_util.c
342
if (stat(tempname, &st2) == -1)
lib/libutil/quotafile.c
118
struct stat st;
lib/libutil/quotafile.c
127
if (stat(qf->fsname, &st) != 0)
lib/libutil/quotafile.c
251
struct stat st;
lib/libutil/quotafile.c
253
if (stat(path, &st) == -1)
lib/libutil/quotafile.c
261
struct stat st;
lib/libutil/quotafile.c
264
if (stat(qf->qfname, &st) < 0)
lib/libveriexec/veriexec_check.c
48
struct stat st;
libexec/atrun/atrun.c
132
struct stat buf, lbuf;
libexec/atrun/atrun.c
348
stat(filename, &buf);
libexec/atrun/atrun.c
449
struct stat buf;
libexec/atrun/atrun.c
533
if (stat(dirent->d_name,&buf) != 0)
libexec/bootpd/bootpd.c
1128
struct stat st;
libexec/bootpd/bootpd.c
1130
if ((stat(path, &st) == 0) && (st.st_mode & (S_IREAD >> 6))) {
libexec/bootpd/readfile.c
310
struct stat st;
libexec/bootpd/readfile.c
317
if (stat(bootptab, &st) < 0) {
libexec/comsat/comsat.c
143
struct stat stb;
libexec/comsat/comsat.c
158
if (stat(tty, &stb) == -1 || !(stb.st_mode & (S_IXUSR | S_IXGRP))) {
libexec/flua/lfs/lfs.c
236
push_st_ ## lname (lua_State *L, struct stat *sb) \
libexec/flua/lfs/lfs.c
253
push_st_mode(lua_State *L, struct stat *sb)
libexec/flua/lfs/lfs.c
280
push_st_permissions(lua_State *L, struct stat *sb)
libexec/flua/lfs/lfs.c
295
void (*push)(lua_State *, struct stat *);
libexec/flua/lfs/lfs.c
315
struct stat sb;
libexec/flua/lfs/lfs.c
328
rc = stat(path, &sb);
libexec/pkg-serve/pkg-serve.c
41
struct stat st;
libexec/rbootd/parseconf.c
305
struct stat statb;
libexec/rbootd/parseconf.c
333
if (stat(dp->d_name, &statb) < 0 ||
libexec/rpc.rstatd/rstat_proc.c
223
#define FETCH_CNT(stat, cnt) do { \
libexec/rpc.rstatd/rstat_proc.c
229
stat = val; \
libexec/rpc.rusersd/rusers_proc.c
107
struct stat st;
libexec/rpc.rusersd/rusers_proc.c
132
if (stat(ttyname, &st) < 0) {
libexec/rtld-elf/libmap.c
103
struct stat st;
libexec/rtld-elf/map_object.c
385
get_elf_header(int fd, const char *path, const struct stat *sbp,
libexec/rtld-elf/map_object.c
41
static Elf_Ehdr *get_elf_header(int, const char *, const struct stat *,
libexec/rtld-elf/map_object.c
60
map_object(int fd, const char *path, const struct stat *sb, bool ismain)
libexec/rtld-elf/rtld-libc/rtld_libc.h
49
int __sys_fstat(int fd, struct stat *);
libexec/rtld-elf/rtld-libc/rtld_libc.h
50
int __sys_fstatat(int, const char *, struct stat *, int);
libexec/rtld-elf/rtld.c
106
static Obj_Entry *do_load_object(int, const char *, char *, struct stat *, int);
libexec/rtld-elf/rtld.c
2140
struct stat hint_stat;
libexec/rtld-elf/rtld.c
2873
struct stat sb;
libexec/rtld-elf/rtld.c
2957
do_load_object(int fd, const char *name, char *path, struct stat *sbp,
libexec/rtld-elf/rtld.c
530
struct stat st;
libexec/rtld-elf/rtld.h
385
Obj_Entry *map_object(int, const char *, const struct stat *, bool);
libexec/rtld-elf/rtld.h
63
struct stat;
libexec/talkd/announce.c
66
struct stat stbuf;
libexec/talkd/announce.c
70
if (stat(full_tty, &stbuf) < 0 || (stbuf.st_mode&020) == 0)
libexec/talkd/process.c
181
struct stat statb;
libexec/talkd/process.c
197
if (stat(ftty, &statb) == 0) {
libexec/tftpd/tests/functional.c
1144
struct stat sb;
libexec/tftpd/tests/functional.c
1156
ATF_REQUIRE_EQ(0, stat("small.txt", &sb));
libexec/tftpd/tftp-options.c
140
struct stat *stbuf)
libexec/tftpd/tftp-options.h
37
int option_tsize(int peer, struct tftphdr *, int, struct stat *);
libexec/tftpd/tftpd.c
322
struct stat sb;
libexec/tftpd/tftpd.c
335
statret = stat(tempchroot, &sb);
libexec/tftpd/tftpd.c
691
struct stat sb;
libexec/tftpd/tftpd.c
719
if (stat(filename, &sb) != 0)
libexec/tftpd/tftpd.c
741
if (stat(pathname, &sb) != 0)
libexec/ypxfr/ypxfr_main.c
551
int stat;
libexec/ypxfr/ypxfr_main.c
552
if ((stat = callrpc("localhost",YPPROG,YPVERS,YPPROC_CLEAR,
libexec/ypxfr/ypxfr_main.c
556
clnt_sperrno((enum clnt_stat) stat));
libexec/ypxfr/ypxfr_misc.c
171
if (resp->stat != YP_TRUE) {
libexec/ypxfr/ypxfr_misc.c
172
switch (resp->stat) {
libexec/ypxfr/ypxfr_misc.c
235
if (resp->stat != YP_TRUE) {
libexec/ypxfr/ypxfr_misc.c
236
switch (resp->stat) {
libexec/ypxfr/ypxfr_misc.c
285
if (ypval->stat != YP_TRUE) {
sbin/bsdlabel/bsdlabel.c
329
struct stat st;
sbin/bsdlabel/bsdlabel.c
430
struct stat sb;
sbin/camcontrol/camcontrol.c
7045
struct stat sb;
sbin/camcontrol/fwdownload.c
574
struct stat stbuf;
sbin/devmatch/devmatch.c
77
struct stat sb;
sbin/dump/main.c
107
struct stat sb;
sbin/dump/main.c
366
if ((stat(snapname, &sb) < 0) || !S_ISDIR(sb.st_mode)) {
sbin/dump/main.c
692
struct stat sb;
sbin/dump/main.c
697
if (stat(cp, &sb) == 0 && (sb.st_mode & S_IFMT) == S_IFCHR)
sbin/dump/tape.c
304
struct stat sb;
sbin/fdisk/fdisk.c
518
struct stat sb;
sbin/ffsinfo/ffsinfo.c
122
struct stat st;
sbin/ffsinfo/ffsinfo.c
184
if (0 == strrchr(device, '/') && stat(device, &st) == -1) {
sbin/ffsinfo/ffsinfo.c
198
if (stat(special, &st) == -1) {
sbin/fsck/fsutil.c
173
struct stat stslash, stchar;
sbin/fsck/fsutil.c
175
if (stat("/", &stslash) < 0) {
sbin/fsck/fsutil.c
179
if (stat(origname, &stchar) < 0) {
sbin/fsck_ffs/main.c
587
struct stat snapdir;
sbin/fsck_ffs/main.c
656
if (stat(snapname, &snapdir) < 0) {
sbin/fsck_ffs/setup.c
367
struct stat statb;
sbin/fsck_ffs/setup.c
370
if (stat(dev, &statb) < 0)
sbin/fsck_ffs/utilities.c
52
struct stat stblock;
sbin/fsck_ffs/utilities.c
59
if (stat(newname, &stblock) < 0) {
sbin/fsck_ffs/utilities.c
68
if (stat(newname, &stblock) < 0) {
sbin/geom/core/geom.c
1430
struct stat sb;
sbin/geom/core/geom.c
1448
if (stat(name, &sb) == 0)
sbin/ggate/shared/ggate.c
135
struct stat sb;
sbin/ggate/shared/ggate.c
156
struct stat sb;
sbin/growfs/growfs.c
1246
struct stat devstat;
sbin/growfs/growfs.c
1248
if (stat(name, &devstat) != 0)
sbin/hastd/hastd.c
168
struct stat sb;
sbin/hastd/subr.c
81
struct stat sb;
sbin/init/init.c
2033
struct stat sb;
sbin/init/init.c
2043
if (stat(_PATH_RUNDOWN, &sb) == -1 && errno == ENOENT)
sbin/init/init.c
2193
struct stat sb;
sbin/init/init.c
2201
if (stat(_PATH_RUNFINAL, &sb) == -1 && errno == ENOENT)
sbin/init/init.c
352
struct stat stst;
sbin/init/init.c
355
stat("/", &stst);
sbin/init/init.c
357
if (stat("/dev", &stst) != 0)
sbin/init/init.c
646
struct stat sb;
sbin/ipf/iplang/iplang_y.y
790
struct stat sb;
sbin/ipf/ipmon/ipmon.c
1718
struct stat sb;
sbin/kldload/kldload.c
52
struct stat sb;
sbin/kldload/kldload.c
64
if (stat(kldname, &sb) != 0)
sbin/kldload/kldload.c
91
if (stat(kldpath, &sb) == -1)
sbin/kldstat/kldstat.c
112
struct module_stat stat;
sbin/kldstat/kldstat.c
165
stat.version = sizeof(struct module_stat);
sbin/kldstat/kldstat.c
166
if (modstat(modid, &stat) < 0)
sbin/kldstat/kldstat.c
172
stat.id, stat.refs, stat.name,
sbin/kldstat/kldstat.c
173
stat.data.intval, stat.data.uintval,
sbin/kldstat/kldstat.c
174
stat.data.ulongval);
sbin/kldstat/kldstat.c
177
printf("%3d %4d %s\n", stat.id, stat.refs,
sbin/kldstat/kldstat.c
178
stat.name);
sbin/kldstat/kldstat.c
52
struct module_stat stat;
sbin/kldstat/kldstat.c
54
memset(&stat, 0, sizeof(stat));
sbin/kldstat/kldstat.c
55
stat.version = sizeof(struct module_stat);
sbin/kldstat/kldstat.c
56
if (modstat(modid, &stat) < 0) {
sbin/kldstat/kldstat.c
61
printf("\t\t%3d %s (%d, %u, 0x%lx)\n", stat.id,
sbin/kldstat/kldstat.c
62
stat.name, stat.data.intval, stat.data.uintval,
sbin/kldstat/kldstat.c
63
stat.data.ulongval);
sbin/kldstat/kldstat.c
65
printf("\t\t%3d %s\n", stat.id, stat.name);
sbin/kldstat/kldstat.c
71
struct kld_file_stat stat;
sbin/kldstat/kldstat.c
75
stat.version = sizeof(struct kld_file_stat);
sbin/kldstat/kldstat.c
76
if (kldstat(fileid, &stat) < 0)
sbin/kldstat/kldstat.c
79
humanize_number(buf, sizeof(buf), stat.size,
sbin/kldstat/kldstat.c
83
stat.id, stat.refs, PTR_WIDTH, stat.address,
sbin/kldstat/kldstat.c
84
buf, stat.name);
sbin/kldstat/kldstat.c
87
stat.id, stat.refs, PTR_WIDTH, stat.address,
sbin/kldstat/kldstat.c
88
stat.size, stat.name);
sbin/kldstat/kldstat.c
92
printf(" (%s)\n", stat.pathname);
sbin/kldunload/kldunload.c
100
stat.version = sizeof(stat);
sbin/kldunload/kldunload.c
101
if (kldstat(fileid, &stat) < 0)
sbin/kldunload/kldunload.c
103
(void) printf("Unloading %s, id=%d\n", stat.name,
sbin/kldunload/kldunload.c
54
struct kld_file_stat stat;
sbin/ldconfig/elfhints.c
195
struct stat s;
sbin/ldconfig/elfhints.c
245
struct stat s;
sbin/ldconfig/elfhints.c
256
if (stat(argv[i], &s) == -1)
sbin/ldconfig/elfhints.c
63
struct stat stbuf;
sbin/ldconfig/elfhints.c
68
if (stat(name, &stbuf) == -1) {
sbin/md5/md5.c
319
struct stat st;
sbin/mdconfig/mdconfig.c
469
struct stat sb;
sbin/mksnap_ffs/mksnap_ffs.c
66
isdir(const char *path, struct stat *stbufp)
sbin/mksnap_ffs/mksnap_ffs.c
69
if (stat(path, stbufp) < 0)
sbin/mksnap_ffs/mksnap_ffs.c
80
struct stat stbuf;
sbin/mksnap_ffs/mksnap_ffs.c
98
struct stat stbuf;
sbin/mount_fusefs/mount_fusefs.c
355
struct stat sbuf;
sbin/mount_msdosfs/mount_msdosfs.c
197
if (stat(mntpath, &sb) == -1)
sbin/mount_msdosfs/mount_msdosfs.c
68
struct stat sb;
sbin/mount_nfs/mount_nfs.c
1117
if (!xdr_u_long(xdrsp, &np->stat))
sbin/mount_nfs/mount_nfs.c
1119
if (np->stat)
sbin/mount_nfs/mount_nfs.c
1151
np->stat = EAUTH;
sbin/mount_nfs/mount_nfs.c
139
static enum tryret returncode(enum clnt_stat stat, struct rpc_err *rpcerr);
sbin/mount_nfs/mount_nfs.c
87
u_long stat;
sbin/mount_nfs/mount_nfs.c
987
if (nfhret.stat != 0) {
sbin/mount_nfs/mount_nfs.c
990
hostp, spec, strerror(nfhret.stat));
sbin/mount_nullfs/mount_nullfs.c
51
stat_realpath(const char *path, char *resolved, struct stat *sbp)
sbin/mount_nullfs/mount_nullfs.c
53
if (realpath(path, resolved) == NULL || stat(resolved, sbp) != 0)
sbin/mount_nullfs/mount_nullfs.c
68
struct stat target_stat;
sbin/mount_nullfs/mount_nullfs.c
69
struct stat mountpoint_stat;
sbin/newfs/newfs.c
122
struct stat st;
sbin/newfs_msdos/mkfs_msdos.c
239
struct stat sb;
sbin/newfs_msdos/mkfs_msdos.c
907
struct stat st;
sbin/newfs_msdos/newfs_msdos.c
54
struct stat st;
sbin/newfs_msdos/newfs_msdos.c
58
if (stat(b, &st) != -1)
sbin/nvmecontrol/firmware.c
117
struct stat sb;
sbin/pfctl/parse.y
7581
struct stat st;
sbin/pfctl/pfctl.c
2840
struct stat st;
sbin/pfctl/tests/pfctl_test.c
90
struct stat s;
sbin/pfctl/tests/pfctl_test.c
95
ATF_REQUIRE_EQ_MSG(stat(filename, &s), 0, "cannot stat %s", filename);
sbin/quotacheck/quotacheck.c
242
struct stat sb;
sbin/quotacheck/quotacheck.c
280
if ((stat(mntpt, &sb)) < 0) {
sbin/quotacheck/quotacheck.c
294
if (stat(quota_qfname(qfu), &sb) == 0) {
sbin/quotacheck/quotacheck.c
300
if (stat(quota_qfname(qfg), &sb) == 0) {
sbin/quotacheck/quotacheck.c
424
struct stat sb;
sbin/quotacheck/quotacheck.c
483
stat(quota_qfname(qf), &sb) == 0 &&
sbin/rcorder/rcorder.c
480
struct stat st;
sbin/reboot/reboot.c
262
struct stat st;
sbin/reboot/reboot.c
345
if (!donextboot && !fflag && stat(_PATH_NOSHUTDOWN, &st) == 0) {
sbin/reboot/reboot.c
366
struct stat sb;
sbin/reboot/reboot.c
379
if (stat(PATH_NEXTBOOT, &sb) != 0 && errno == ENOENT)
sbin/reboot/reboot.c
399
struct stat sb;
sbin/reboot/reboot.c
404
if (stat(k, &sb) != 0)
sbin/recoverdisk/recoverdisk.c
529
struct stat sb;
sbin/restore/interactive.c
726
glob_stat(const char *name, struct stat *stp)
sbin/restore/interactive.c
80
static int glob_stat(const char *, struct stat *);
sbin/restore/symtab.c
525
struct stat stbuf;
sbin/restore/tape.c
201
struct stat stbuf;
sbin/restore/tape.c
250
if (stat(".", &stbuf) < 0) {
sbin/restore/utilities.c
210
struct stat s;
sbin/restore/utilities.c
216
if (stat(existing, &s) == 0 && s.st_flags != 0 &&
sbin/routed/parms.c
165
struct stat sb;
sbin/routed/trace.c
285
struct stat stbuf;
sbin/routed/trace.c
320
|| 0 > stat(_PATH_TRACE, &stbuf))
sbin/routed/trace.c
329
if (stat(filename, &stbuf) >= 0 && !S_ISREG(stbuf.st_mode)) {
sbin/savecore/savecore.c
351
struct stat sb;
sbin/shutdown/shutdown.c
105
struct stat st;
sbin/shutdown/shutdown.c
225
if (!ign_noshutdown && stat(_PATH_NOSHUTDOWN, &st) == 0) {
sbin/swapon/swapon.c
378
struct stat sb;
sbin/swapon/swapon.c
382
error = stat(name, &sb);
sbin/swapon/swapon.c
707
struct stat sb;
sbin/umount/umount.c
259
struct stat sb;
sbin/umount/umount.c
305
} else if (stat(mntname, &sb) != 0) {
sbin/umount/umount.c
311
if (stat(buf, &sb) != 0) {
sbin/veriexec/manifest_parser.y
261
struct stat st;
sbin/veriexec/manifest_parser.y
275
} else if (stat(params->file, &st) == 0) {
share/examples/ipfilter/l4check/l4check.c
453
struct stat sb;
share/examples/kld/syscall/test/call.c
42
struct module_stat stat;
share/examples/kld/syscall/test/call.c
44
stat.version = sizeof(stat);
share/examples/kld/syscall/test/call.c
47
if (modstat(modid, &stat) != 0)
share/examples/kld/syscall/test/call.c
49
syscall_num = stat.data.intval;
share/examples/scsi_target/scsi_target.c
235
struct stat st;
share/examples/ses/srcs/chpmon.c
106
if (stat & SES_ENCSTAT_UNRECOV)
share/examples/ses/srcs/chpmon.c
109
if (stat & SES_ENCSTAT_CRITICAL)
share/examples/ses/srcs/chpmon.c
112
if (stat & SES_ENCSTAT_NONCRITICAL)
share/examples/ses/srcs/chpmon.c
115
stat = SES_ENCSTAT_CRITICAL;
share/examples/ses/srcs/chpmon.c
116
if (ioctl(fd, SESIOC_SETENCSTAT, (caddr_t) &stat) < 0) {
share/examples/ses/srcs/chpmon.c
52
ses_encstat stat, *carray;
share/examples/ses/srcs/chpmon.c
78
stat = 0;
share/examples/ses/srcs/chpmon.c
79
if (ioctl(fd, SESIOC_SETENCSTAT, (caddr_t) &stat) < 0) {
share/examples/ses/srcs/chpmon.c
88
if (ioctl(fd, SESIOC_GETENCSTAT, (caddr_t) &stat) < 0) {
share/examples/ses/srcs/chpmon.c
95
if ((stat & BADSTAT) == 0) {
share/examples/ses/srcs/sesd.c
132
if (ioctl(fd, ENCIOC_GETENCSTAT, (caddr_t) &stat) < 0) {
share/examples/ses/srcs/sesd.c
138
if (stat != 0 && clear) {
share/examples/ses/srcs/sesd.c
148
if (stat == carray[dev])
share/examples/ses/srcs/sesd.c
151
carray[dev] = stat;
share/examples/ses/srcs/sesd.c
152
if ((stat & ALLSTAT) == 0) {
share/examples/ses/srcs/sesd.c
156
if (stat & SES_ENCSTAT_INFO) {
share/examples/ses/srcs/sesd.c
160
if (stat & SES_ENCSTAT_NONCRITICAL) {
share/examples/ses/srcs/sesd.c
164
if (stat & SES_ENCSTAT_CRITICAL) {
share/examples/ses/srcs/sesd.c
168
if (stat & SES_ENCSTAT_UNRECOV) {
share/examples/ses/srcs/sesd.c
60
encioc_enc_status_t stat, nstat, *carray;
share/examples/ses/srcs/setencstat.c
49
encioc_enc_status_t stat;
share/examples/ses/srcs/setencstat.c
62
stat = (encioc_enc_status_t)val;
share/examples/ses/srcs/setencstat.c
63
if (ioctl(fd, ENCIOC_SETENCSTAT, (caddr_t) &stat) < 0) {
stand/common/ls.c
122
if (stat(buf, &sb)) {
stand/common/ls.c
156
struct stat sb;
stand/common/ls.c
59
struct stat sb;
stand/common/ls.c
91
if (stat(path, &sb) == 0 && !S_ISDIR(sb.st_mode)) {
stand/common/module.c
1082
struct stat st;
stand/common/module.c
1106
if (stat(result, &st) == 0 && S_ISREG(st.st_mode))
stand/common/module.c
1139
struct stat sb;
stand/common/module.c
1152
if (stat(name, &sb) == 0)
stand/common/module.c
1710
struct stat st;
stand/common/module.c
1717
if (stat(path, &st) != 0 ||
stand/common/vdisk.c
106
if (stat(argv[1], &sb) < 0) {
stand/common/vdisk.c
90
struct stat sb;
stand/efi/boot1/zfs_module.c
144
struct stat st;
stand/efi/libefi/efihttp.c
65
static int efihttp_fs_stat(struct open_file *f, struct stat *sb);
stand/efi/libefi/efihttp.c
744
efihttp_fs_stat(struct open_file *f, struct stat *sb)
stand/efi/loader/main.c
1149
struct stat st;
stand/efi/loader/main.c
1157
if (stat(env_fn, &st) != 0)
stand/efi/loader/main.c
1957
struct stat st;
stand/efi/loader/main.c
290
struct stat st;
stand/efi/loader/main.c
292
return (stat(PATH_DEFAULTS_LOADER_CONF, &st) == 0 ||
stand/efi/loader/main.c
294
stat(PATH_BOOTABLE_TOKEN, &st) == 0 || /* non-standard layout */
stand/efi/loader/main.c
296
stat(PATH_KERNEL, &st) == 0);
stand/efi/loader/main.c
457
struct stat st;
stand/efi/loader/main.c
558
if (stat(kernel, &st) != 0) {
stand/ficl/fileaccess.c
151
struct stat statbuf;
stand/ficl/fileaccess.c
160
if (stat(filename, &statbuf) == 0)
stand/ficl/fileaccess.c
190
struct stat statbuf;
stand/ficl/loader.c
478
struct stat sb;
stand/ficl/loader.c
598
struct stat sb;
stand/ficl/testmain.c
140
struct stat buf;
stand/ficl/testmain.c
154
result = stat( pFilename->text, &buf );
stand/i386/loader/chain.c
62
struct stat st;
stand/kboot/kboot/arch/aarch64/load_addr.c
19
struct stat sb;
stand/kboot/kboot/hostdisk.c
482
struct stat st;
stand/kboot/kboot/hostdisk.c
484
return (stat(PATH_DEFAULTS_LOADER_CONF, &st) == 0 ||
stand/kboot/kboot/hostdisk.c
486
stat(PATH_BOOTABLE_TOKEN, &st) == 0 || /* non-standard layout */
stand/kboot/kboot/hostdisk.c
488
stat(PATH_KERNEL, &st) == 0);
stand/kboot/kboot/hostfs.c
153
hostfs_stat(struct open_file *f, struct stat *sb)
stand/kboot/kboot/main.c
363
struct stat st;
stand/kboot/kboot/main.c
367
if (stat(fn, &st) != 0)
stand/kboot/libkboot/efi.c
36
struct stat sb;
stand/kboot/libkboot/efi.c
46
} while (stat(fn, &sb) == 0);
stand/liblua/lstd.c
38
struct stat st;
stand/libsa/bzipfs.c
155
struct stat sb;
stand/libsa/bzipfs.c
351
bzf_stat(struct open_file *f, struct stat *sb)
stand/libsa/bzipfs.c
66
static int bzf_stat(struct open_file *f, struct stat *sb);
stand/libsa/cd9660.c
662
cd9660_stat(struct open_file *f, struct stat *sb)
stand/libsa/cd9660.c
68
static int cd9660_stat(struct open_file *f, struct stat *sb);
stand/libsa/dosfs.c
522
dos_stat(struct open_file *fd, struct stat *sb)
stand/libsa/dosfs.c
57
static int dos_stat(struct open_file *fd, struct stat *sb);
stand/libsa/ext2fs.c
869
ext2fs_stat(struct open_file *f, struct stat *sb)
stand/libsa/ext2fs.c
99
static int ext2fs_stat(struct open_file *f, struct stat *sb);
stand/libsa/fstat.c
35
fstat(int fd, struct stat *sb)
stand/libsa/gzipfs.c
164
struct stat sb;
stand/libsa/gzipfs.c
327
zf_stat(struct open_file *f, struct stat *sb)
stand/libsa/gzipfs.c
49
static int zf_stat(struct open_file *f, struct stat *sb);
stand/libsa/nfs.c
127
static int nfs_stat(struct open_file *f, struct stat *sb);
stand/libsa/nfs.c
746
nfs_stat(struct open_file *f, struct stat *sb)
stand/libsa/nullfs.c
92
int null_stat (struct open_file *f, struct stat *sb)
stand/libsa/pkgfs.c
38
static int pkg_stat(struct open_file *, struct stat *);
stand/libsa/pkgfs.c
403
pkg_stat(struct open_file *f, struct stat *sb)
stand/libsa/splitfs.c
107
struct stat sb;
stand/libsa/splitfs.c
302
splitfs_stat(struct open_file *f, struct stat *sb)
stand/libsa/splitfs.c
49
static int splitfs_stat(struct open_file *f, struct stat *sb);
stand/libsa/stand.h
117
int (*fo_stat)(struct open_file *f, struct stat *sb);
stand/libsa/stand.h
433
extern int null_stat(struct open_file *f, struct stat *sb);
stand/libsa/stat.c
35
stat(const char *str, struct stat *sb)
stand/libsa/tftp.c
672
tftp_stat(struct open_file *f, struct stat *sb)
stand/libsa/tftp.c
75
static int tftp_stat(struct open_file *, struct stat *);
stand/libsa/ufs.c
848
ufs_stat(struct open_file *f, struct stat *sb)
stand/libsa/ufs.c
89
static int ufs_stat(struct open_file *f, struct stat *sb);
stand/libsa/xzfs.c
123
struct stat sb;
stand/libsa/xzfs.c
300
xzf_stat(struct open_file *f, struct stat *sb)
stand/libsa/xzfs.c
56
static int xzf_stat(struct open_file *f, struct stat *sb);
stand/libsa/zfs/zfs.c
154
struct stat sb;
stand/libsa/zfs/zfs.c
195
struct stat sb;
stand/libsa/zfs/zfs.c
214
zfs_stat(struct open_file *f, struct stat *sb)
stand/libsa/zfs/zfs.c
230
struct stat sb;
stand/libsa/zfs/zfs.c
54
static int zfs_stat(struct open_file *f, struct stat *sb);
stand/libsa/zfs/zfsimpl.c
3702
zfs_dnode_stat(const spa_t *spa, dnode_phys_t *dn, struct stat *sb)
stand/libsa/zfs/zfsimpl.c
3827
struct stat sb;
stand/libsa/zstdfs.c
126
struct stat sb;
stand/libsa/zstdfs.c
299
zstdf_stat(struct open_file *f, struct stat *sb)
stand/libsa/zstdfs.c
58
static int zstdf_stat(struct open_file *f, struct stat *sb);
stand/userboot/test/test.c
103
struct stat tf_stat;
stand/userboot/test/test.c
347
test_stat(void *arg, void *h, struct stat *stp)
stand/userboot/test/test.c
353
memset(stp, 0, sizeof(struct stat));
stand/userboot/test/test.c
406
struct stat sb;
stand/userboot/test/test.c
541
.stat = test_stat,
stand/userboot/userboot.h
120
int (*stat)(void *arg, void *h, struct stat *stp);
stand/userboot/userboot/host.c
82
host_stat(struct open_file *f, struct stat *sb)
stand/userboot/userboot/host.c
85
CALLBACK(stat, f->f_fsdata, sb);
stand/userboot/userboot/main.c
102
struct stat st;
stand/userboot/userboot/main.c
114
if (stat(LOADER_PATH, &st) != 0)
sys/amd64/vmm/vmm.c
1923
vm_get_rescnt(struct vcpu *vcpu, struct vmm_stat_type *stat)
sys/amd64/vmm/vmm.c
1933
vm_get_wiredcnt(struct vcpu *vcpu, struct vmm_stat_type *stat)
sys/arm/allwinner/aw_cir.c
333
int stat;
sys/arm/allwinner/aw_cir.c
369
stat = aw_ir_validate_code(ir_code);
sys/arm/allwinner/aw_cir.c
370
if (stat == 0) {
sys/arm/allwinner/aw_cir.c
379
stat);
sys/arm/nvidia/tegra_mc.c
141
uint32_t stat, err;
sys/arm/nvidia/tegra_mc.c
146
stat = RD4(sc, MC_INTSTATUS);
sys/arm/nvidia/tegra_mc.c
147
if ((stat & MC_INT_INT_MASK) == 0) {
sys/arm/nvidia/tegra_mc.c
148
WR4(sc, MC_INTSTATUS, stat);
sys/arm/nvidia/tegra_mc.c
153
if (stat & MC_INT_DECERR_MTS)
sys/arm/nvidia/tegra_mc.c
155
if (stat & MC_INT_SECERR_SEC)
sys/arm/nvidia/tegra_mc.c
157
if (stat & MC_INT_DECERR_VPR)
sys/arm/nvidia/tegra_mc.c
159
if (stat & MC_INT_INVALID_APB_ASID_UPDATE)
sys/arm/nvidia/tegra_mc.c
161
if (stat & MC_INT_INVALID_SMMU_PAGE)
sys/arm/nvidia/tegra_mc.c
163
if (stat & MC_INT_ARBITRATION_EMEM)
sys/arm/nvidia/tegra_mc.c
165
if (stat & MC_INT_SECURITY_VIOLATION)
sys/arm/nvidia/tegra_mc.c
167
if (stat & MC_INT_DECERR_EMEM)
sys/arm/nvidia/tegra_mc.c
170
if ((stat & (MC_INT_INVALID_SMMU_PAGE | MC_INT_SECURITY_VIOLATION |
sys/arm/nvidia/tegra_mc.c
177
stat & MC_ERR_SWAP ? "Swap, " : "",
sys/arm/nvidia/tegra_mc.c
178
stat & MC_ERR_SECURITY ? "Sec, " : "",
sys/arm/nvidia/tegra_mc.c
179
stat & MC_ERR_RW ? "Write" : "Read",
sys/arm/nvidia/tegra_mc.c
182
WR4(sc, MC_INTSTATUS, stat);
sys/arm/ti/am335x/am335x_musb.c
139
uint32_t stat;
sys/arm/ti/am335x/am335x_musb.c
144
stat = USBCTRL_READ4(sc, USBCTRL_STAT);
sys/arm/ti/am335x/am335x_musb.c
145
musbotg_vbus_interrupt(&sc->sc_otg, stat & 1);
sys/arm/ti/am335x/am335x_musb.c
207
uint32_t stat, stat0, stat1;
sys/arm/ti/am335x/am335x_musb.c
209
stat = USBCTRL_READ4(ssc, USBCTRL_STAT);
sys/arm/ti/am335x/am335x_musb.c
218
sc->sc_id, stat0, stat1, stat);
sys/arm/ti/am335x/am335x_musb.c
221
musbotg_vbus_interrupt(sc, stat & 1);
sys/arm/ti/cpsw/if_cpsw.c
2172
uint32_t stat = cpsw_read_4(sc, CPSW_WR_C_MISC_STAT(0));
sys/arm/ti/cpsw/if_cpsw.c
2174
if (stat & CPSW_WR_C_MISC_EVNT_PEND)
sys/arm/ti/cpsw/if_cpsw.c
2176
if (stat & CPSW_WR_C_MISC_STAT_PEND)
sys/arm/ti/cpsw/if_cpsw.c
2178
if (stat & CPSW_WR_C_MISC_HOST_PEND)
sys/arm/ti/cpsw/if_cpsw.c
2180
if (stat & CPSW_WR_C_MISC_MDIOLINK) {
sys/arm/ti/cpsw/if_cpsw.c
2184
if (stat & CPSW_WR_C_MISC_MDIOUSER) {
sys/arm/ti/cpsw/if_cpsw.c
2580
struct cpsw_stat *stat;
sys/arm/ti/cpsw/if_cpsw.c
2584
stat = &cpsw_stat_sysctls[oidp->oid_number];
sys/arm/ti/cpsw/if_cpsw.c
2586
result += cpsw_read_4(sc, CPSW_STATS_OFFSET + stat->reg);
sys/cddl/dev/dtrace/dtrace_ioctl.c
765
dtrace_status_t *stat = (dtrace_status_t *) addr;
sys/cddl/dev/dtrace/dtrace_ioctl.c
781
bzero(stat, sizeof (*stat));
sys/cddl/dev/dtrace/dtrace_ioctl.c
791
stat->dtst_exiting = 1;
sys/cddl/dev/dtrace/dtrace_ioctl.c
799
stat->dtst_dyndrops += dcpu->dtdsc_drops;
sys/cddl/dev/dtrace/dtrace_ioctl.c
800
stat->dtst_dyndrops_dirty += dcpu->dtdsc_dirty_drops;
sys/cddl/dev/dtrace/dtrace_ioctl.c
801
stat->dtst_dyndrops_rinsing += dcpu->dtdsc_rinsing_drops;
sys/cddl/dev/dtrace/dtrace_ioctl.c
804
stat->dtst_filled++;
sys/cddl/dev/dtrace/dtrace_ioctl.c
814
stat->dtst_specdrops += buf->dtb_xamot_drops;
sys/cddl/dev/dtrace/dtrace_ioctl.c
818
stat->dtst_specdrops_busy = state->dts_speculations_busy;
sys/cddl/dev/dtrace/dtrace_ioctl.c
819
stat->dtst_specdrops_unavail = state->dts_speculations_unavail;
sys/cddl/dev/dtrace/dtrace_ioctl.c
820
stat->dtst_stkstroverflows = state->dts_stkstroverflows;
sys/cddl/dev/dtrace/dtrace_ioctl.c
821
stat->dtst_dblerrors = state->dts_dblerrors;
sys/cddl/dev/dtrace/dtrace_ioctl.c
822
stat->dtst_killed =
sys/cddl/dev/dtrace/dtrace_ioctl.c
824
stat->dtst_errors = nerrs;
sys/compat/freebsd32/freebsd32_misc.c
2296
copy_stat(struct stat *in, struct stat32 *out)
sys/compat/freebsd32/freebsd32_misc.c
2340
copy_ostat(struct stat *in, struct ostat32 *out)
sys/compat/freebsd32/freebsd32_misc.c
2366
struct stat sb;
sys/compat/freebsd32/freebsd32_misc.c
2382
struct stat ub;
sys/compat/freebsd32/freebsd32_misc.c
2398
struct stat ub;
sys/compat/freebsd32/freebsd32_misc.c
2414
struct stat ub;
sys/compat/freebsd32/freebsd32_misc.c
2431
struct stat sb;
sys/compat/freebsd32/freebsd32_misc.c
2448
struct stat sb;
sys/compat/freebsd32/freebsd32_misc.c
2468
freebsd11_cvtstat32(struct stat *in, struct freebsd11_stat32 *out)
sys/compat/freebsd32/freebsd32_misc.c
2550
struct stat sb;
sys/compat/freebsd32/freebsd32_misc.c
2567
struct stat sb;
sys/compat/freebsd32/freebsd32_misc.c
2584
struct stat sb;
sys/compat/freebsd32/freebsd32_misc.c
2602
struct stat sb;
sys/compat/freebsd32/freebsd32_misc.c
2620
struct stat sb;
sys/compat/freebsd32/freebsd32_misc.c
2638
freebsd11_cvtnstat32(struct stat *sb, struct nstat32 *nsb32)
sys/compat/freebsd32/freebsd32_misc.c
2675
struct stat sb;
sys/compat/freebsd32/freebsd32_misc.c
2692
struct stat sb;
sys/compat/freebsd32/freebsd32_misc.c
2711
struct stat ub;
sys/compat/freebsd32/freebsd32_misc.c
3832
struct kld_file_stat *stat;
sys/compat/freebsd32/freebsd32_misc.c
3836
if ((error = copyin(&uap->stat->version, &version, sizeof(version)))
sys/compat/freebsd32/freebsd32_misc.c
3843
stat = malloc(sizeof(*stat), M_TEMP, M_WAITOK | M_ZERO);
sys/compat/freebsd32/freebsd32_misc.c
3845
error = kern_kldstat(td, uap->fileid, stat);
sys/compat/freebsd32/freebsd32_misc.c
3847
bcopy(&stat->name[0], &stat32->name[0], sizeof(stat->name));
sys/compat/freebsd32/freebsd32_misc.c
3848
CP(*stat, *stat32, refs);
sys/compat/freebsd32/freebsd32_misc.c
3849
CP(*stat, *stat32, id);
sys/compat/freebsd32/freebsd32_misc.c
3850
PTROUT_CP(*stat, *stat32, address);
sys/compat/freebsd32/freebsd32_misc.c
3851
CP(*stat, *stat32, size);
sys/compat/freebsd32/freebsd32_misc.c
3852
bcopy(&stat->pathname[0], &stat32->pathname[0],
sys/compat/freebsd32/freebsd32_misc.c
3853
sizeof(stat->pathname));
sys/compat/freebsd32/freebsd32_misc.c
3855
error = copyout(stat32, uap->stat, version);
sys/compat/freebsd32/freebsd32_misc.c
3857
free(stat, M_TEMP);
sys/compat/freebsd32/freebsd32_proto.h
271
char stat_l_[PADL_(struct module_stat32 *)]; struct module_stat32 * stat; char stat_r_[PADR_(struct module_stat32 *)];
sys/compat/freebsd32/freebsd32_proto.h
275
char stat_l_[PADL_(struct kld_file_stat32 *)]; struct kld_file_stat32 * stat; char stat_r_[PADR_(struct kld_file_stat32 *)];
sys/compat/freebsd32/freebsd32_systrace_args.c
1328
uarg[a++] = (intptr_t)p->stat; /* struct module_stat32 * */
sys/compat/freebsd32/freebsd32_systrace_args.c
1378
uarg[a++] = (intptr_t)p->stat; /* struct kld_file_stat32 * */
sys/compat/linux/linux_file.c
706
struct stat st;
sys/compat/linux/linux_file.c
727
struct stat st;
sys/compat/linux/linux_stats.c
109
linux_kern_fstat(struct thread *td, int fd, struct stat *sbp)
sys/compat/linux/linux_stats.c
136
enum uio_seg pathseg, struct stat *sbp)
sys/compat/linux/linux_stats.c
170
struct stat *sbp)
sys/compat/linux/linux_stats.c
178
struct stat *sbp)
sys/compat/linux/linux_stats.c
187
newstat_copyout(struct stat *buf, void *ubuf)
sys/compat/linux/linux_stats.c
217
struct stat buf;
sys/compat/linux/linux_stats.c
229
struct stat sb;
sys/compat/linux/linux_stats.c
242
struct stat buf;
sys/compat/linux/linux_stats.c
262
old_stat_copyout(struct stat *buf, void *ubuf)
sys/compat/linux/linux_stats.c
292
struct stat buf;
sys/compat/linux/linux_stats.c
305
struct stat buf;
sys/compat/linux/linux_stats.c
564
stat64_copyout(struct stat *buf, void *ubuf)
sys/compat/linux/linux_stats.c
600
struct stat buf;
sys/compat/linux/linux_stats.c
612
struct stat sb;
sys/compat/linux/linux_stats.c
624
struct stat buf;
sys/compat/linux/linux_stats.c
638
struct stat buf;
sys/compat/linux/linux_stats.c
660
struct stat buf;
sys/compat/linux/linux_stats.c
718
statx_copyout(struct stat *buf, void *ubuf)
sys/compat/linux/linux_stats.c
754
struct stat buf;
sys/compat/linux/linux_util.c
233
translate_vnhook_major_minor(struct vnode *vp, struct stat *sb)
sys/compat/linux/linux_util.h
87
struct stat;
sys/compat/linux/linux_util.h
96
void translate_vnhook_major_minor(struct vnode *vp, struct stat *sb);
sys/compat/linuxkpi/common/src/linux_compat.c
1771
linux_file_stat(struct file *fp, struct stat *sb, struct ucred *active_cred)
sys/dev/age/if_age.c
1993
struct age_stats *stat;
sys/dev/age/if_age.c
1999
stat = &sc->age_stat;
sys/dev/age/if_age.c
2011
stat->rx_frames += smb->rx_frames;
sys/dev/age/if_age.c
2012
stat->rx_bcast_frames += smb->rx_bcast_frames;
sys/dev/age/if_age.c
2013
stat->rx_mcast_frames += smb->rx_mcast_frames;
sys/dev/age/if_age.c
2014
stat->rx_pause_frames += smb->rx_pause_frames;
sys/dev/age/if_age.c
2015
stat->rx_control_frames += smb->rx_control_frames;
sys/dev/age/if_age.c
2016
stat->rx_crcerrs += smb->rx_crcerrs;
sys/dev/age/if_age.c
2017
stat->rx_lenerrs += smb->rx_lenerrs;
sys/dev/age/if_age.c
2018
stat->rx_bytes += smb->rx_bytes;
sys/dev/age/if_age.c
2019
stat->rx_runts += smb->rx_runts;
sys/dev/age/if_age.c
2020
stat->rx_fragments += smb->rx_fragments;
sys/dev/age/if_age.c
2021
stat->rx_pkts_64 += smb->rx_pkts_64;
sys/dev/age/if_age.c
2022
stat->rx_pkts_65_127 += smb->rx_pkts_65_127;
sys/dev/age/if_age.c
2023
stat->rx_pkts_128_255 += smb->rx_pkts_128_255;
sys/dev/age/if_age.c
2024
stat->rx_pkts_256_511 += smb->rx_pkts_256_511;
sys/dev/age/if_age.c
2025
stat->rx_pkts_512_1023 += smb->rx_pkts_512_1023;
sys/dev/age/if_age.c
2026
stat->rx_pkts_1024_1518 += smb->rx_pkts_1024_1518;
sys/dev/age/if_age.c
2027
stat->rx_pkts_1519_max += smb->rx_pkts_1519_max;
sys/dev/age/if_age.c
2028
stat->rx_pkts_truncated += smb->rx_pkts_truncated;
sys/dev/age/if_age.c
2029
stat->rx_fifo_oflows += smb->rx_fifo_oflows;
sys/dev/age/if_age.c
2030
stat->rx_desc_oflows += smb->rx_desc_oflows;
sys/dev/age/if_age.c
2031
stat->rx_alignerrs += smb->rx_alignerrs;
sys/dev/age/if_age.c
2032
stat->rx_bcast_bytes += smb->rx_bcast_bytes;
sys/dev/age/if_age.c
2033
stat->rx_mcast_bytes += smb->rx_mcast_bytes;
sys/dev/age/if_age.c
2034
stat->rx_pkts_filtered += smb->rx_pkts_filtered;
sys/dev/age/if_age.c
2037
stat->tx_frames += smb->tx_frames;
sys/dev/age/if_age.c
2038
stat->tx_bcast_frames += smb->tx_bcast_frames;
sys/dev/age/if_age.c
2039
stat->tx_mcast_frames += smb->tx_mcast_frames;
sys/dev/age/if_age.c
2040
stat->tx_pause_frames += smb->tx_pause_frames;
sys/dev/age/if_age.c
2041
stat->tx_excess_defer += smb->tx_excess_defer;
sys/dev/age/if_age.c
2042
stat->tx_control_frames += smb->tx_control_frames;
sys/dev/age/if_age.c
2043
stat->tx_deferred += smb->tx_deferred;
sys/dev/age/if_age.c
2044
stat->tx_bytes += smb->tx_bytes;
sys/dev/age/if_age.c
2045
stat->tx_pkts_64 += smb->tx_pkts_64;
sys/dev/age/if_age.c
2046
stat->tx_pkts_65_127 += smb->tx_pkts_65_127;
sys/dev/age/if_age.c
2047
stat->tx_pkts_128_255 += smb->tx_pkts_128_255;
sys/dev/age/if_age.c
2048
stat->tx_pkts_256_511 += smb->tx_pkts_256_511;
sys/dev/age/if_age.c
2049
stat->tx_pkts_512_1023 += smb->tx_pkts_512_1023;
sys/dev/age/if_age.c
2050
stat->tx_pkts_1024_1518 += smb->tx_pkts_1024_1518;
sys/dev/age/if_age.c
2051
stat->tx_pkts_1519_max += smb->tx_pkts_1519_max;
sys/dev/age/if_age.c
2052
stat->tx_single_colls += smb->tx_single_colls;
sys/dev/age/if_age.c
2053
stat->tx_multi_colls += smb->tx_multi_colls;
sys/dev/age/if_age.c
2054
stat->tx_late_colls += smb->tx_late_colls;
sys/dev/age/if_age.c
2055
stat->tx_excess_colls += smb->tx_excess_colls;
sys/dev/age/if_age.c
2056
stat->tx_underrun += smb->tx_underrun;
sys/dev/age/if_age.c
2057
stat->tx_desc_underrun += smb->tx_desc_underrun;
sys/dev/age/if_age.c
2058
stat->tx_lenerrs += smb->tx_lenerrs;
sys/dev/age/if_age.c
2059
stat->tx_pkts_truncated += smb->tx_pkts_truncated;
sys/dev/age/if_age.c
2060
stat->tx_bcast_bytes += smb->tx_bcast_bytes;
sys/dev/age/if_age.c
2061
stat->tx_mcast_bytes += smb->tx_mcast_bytes;
sys/dev/alc/if_alc.c
3202
struct alc_hw_stats *stat;
sys/dev/alc/if_alc.c
3211
stat = &sc->alc_stats;
sys/dev/alc/if_alc.c
3236
stat->rx_frames += smb->rx_frames;
sys/dev/alc/if_alc.c
3237
stat->rx_bcast_frames += smb->rx_bcast_frames;
sys/dev/alc/if_alc.c
3238
stat->rx_mcast_frames += smb->rx_mcast_frames;
sys/dev/alc/if_alc.c
3239
stat->rx_pause_frames += smb->rx_pause_frames;
sys/dev/alc/if_alc.c
3240
stat->rx_control_frames += smb->rx_control_frames;
sys/dev/alc/if_alc.c
3241
stat->rx_crcerrs += smb->rx_crcerrs;
sys/dev/alc/if_alc.c
3242
stat->rx_lenerrs += smb->rx_lenerrs;
sys/dev/alc/if_alc.c
3243
stat->rx_bytes += smb->rx_bytes;
sys/dev/alc/if_alc.c
3244
stat->rx_runts += smb->rx_runts;
sys/dev/alc/if_alc.c
3245
stat->rx_fragments += smb->rx_fragments;
sys/dev/alc/if_alc.c
3246
stat->rx_pkts_64 += smb->rx_pkts_64;
sys/dev/alc/if_alc.c
3247
stat->rx_pkts_65_127 += smb->rx_pkts_65_127;
sys/dev/alc/if_alc.c
3248
stat->rx_pkts_128_255 += smb->rx_pkts_128_255;
sys/dev/alc/if_alc.c
3249
stat->rx_pkts_256_511 += smb->rx_pkts_256_511;
sys/dev/alc/if_alc.c
3250
stat->rx_pkts_512_1023 += smb->rx_pkts_512_1023;
sys/dev/alc/if_alc.c
3251
stat->rx_pkts_1024_1518 += smb->rx_pkts_1024_1518;
sys/dev/alc/if_alc.c
3252
stat->rx_pkts_1519_max += smb->rx_pkts_1519_max;
sys/dev/alc/if_alc.c
3253
stat->rx_pkts_truncated += smb->rx_pkts_truncated;
sys/dev/alc/if_alc.c
3254
stat->rx_fifo_oflows += smb->rx_fifo_oflows;
sys/dev/alc/if_alc.c
3255
stat->rx_rrs_errs += smb->rx_rrs_errs;
sys/dev/alc/if_alc.c
3256
stat->rx_alignerrs += smb->rx_alignerrs;
sys/dev/alc/if_alc.c
3257
stat->rx_bcast_bytes += smb->rx_bcast_bytes;
sys/dev/alc/if_alc.c
3258
stat->rx_mcast_bytes += smb->rx_mcast_bytes;
sys/dev/alc/if_alc.c
3259
stat->rx_pkts_filtered += smb->rx_pkts_filtered;
sys/dev/alc/if_alc.c
3262
stat->tx_frames += smb->tx_frames;
sys/dev/alc/if_alc.c
3263
stat->tx_bcast_frames += smb->tx_bcast_frames;
sys/dev/alc/if_alc.c
3264
stat->tx_mcast_frames += smb->tx_mcast_frames;
sys/dev/alc/if_alc.c
3265
stat->tx_pause_frames += smb->tx_pause_frames;
sys/dev/alc/if_alc.c
3266
stat->tx_excess_defer += smb->tx_excess_defer;
sys/dev/alc/if_alc.c
3267
stat->tx_control_frames += smb->tx_control_frames;
sys/dev/alc/if_alc.c
3268
stat->tx_deferred += smb->tx_deferred;
sys/dev/alc/if_alc.c
3269
stat->tx_bytes += smb->tx_bytes;
sys/dev/alc/if_alc.c
3270
stat->tx_pkts_64 += smb->tx_pkts_64;
sys/dev/alc/if_alc.c
3271
stat->tx_pkts_65_127 += smb->tx_pkts_65_127;
sys/dev/alc/if_alc.c
3272
stat->tx_pkts_128_255 += smb->tx_pkts_128_255;
sys/dev/alc/if_alc.c
3273
stat->tx_pkts_256_511 += smb->tx_pkts_256_511;
sys/dev/alc/if_alc.c
3274
stat->tx_pkts_512_1023 += smb->tx_pkts_512_1023;
sys/dev/alc/if_alc.c
3275
stat->tx_pkts_1024_1518 += smb->tx_pkts_1024_1518;
sys/dev/alc/if_alc.c
3276
stat->tx_pkts_1519_max += smb->tx_pkts_1519_max;
sys/dev/alc/if_alc.c
3277
stat->tx_single_colls += smb->tx_single_colls;
sys/dev/alc/if_alc.c
3278
stat->tx_multi_colls += smb->tx_multi_colls;
sys/dev/alc/if_alc.c
3279
stat->tx_late_colls += smb->tx_late_colls;
sys/dev/alc/if_alc.c
3280
stat->tx_excess_colls += smb->tx_excess_colls;
sys/dev/alc/if_alc.c
3281
stat->tx_underrun += smb->tx_underrun;
sys/dev/alc/if_alc.c
3282
stat->tx_desc_underrun += smb->tx_desc_underrun;
sys/dev/alc/if_alc.c
3283
stat->tx_lenerrs += smb->tx_lenerrs;
sys/dev/alc/if_alc.c
3284
stat->tx_pkts_truncated += smb->tx_pkts_truncated;
sys/dev/alc/if_alc.c
3285
stat->tx_bcast_bytes += smb->tx_bcast_bytes;
sys/dev/alc/if_alc.c
3286
stat->tx_mcast_bytes += smb->tx_mcast_bytes;
sys/dev/ale/if_ale.c
2085
struct ale_hw_stats *stat;
sys/dev/ale/if_ale.c
2094
stat = &sc->ale_stats;
sys/dev/ale/if_ale.c
2109
stat->rx_frames += smb->rx_frames;
sys/dev/ale/if_ale.c
2110
stat->rx_bcast_frames += smb->rx_bcast_frames;
sys/dev/ale/if_ale.c
2111
stat->rx_mcast_frames += smb->rx_mcast_frames;
sys/dev/ale/if_ale.c
2112
stat->rx_pause_frames += smb->rx_pause_frames;
sys/dev/ale/if_ale.c
2113
stat->rx_control_frames += smb->rx_control_frames;
sys/dev/ale/if_ale.c
2114
stat->rx_crcerrs += smb->rx_crcerrs;
sys/dev/ale/if_ale.c
2115
stat->rx_lenerrs += smb->rx_lenerrs;
sys/dev/ale/if_ale.c
2116
stat->rx_bytes += smb->rx_bytes;
sys/dev/ale/if_ale.c
2117
stat->rx_runts += smb->rx_runts;
sys/dev/ale/if_ale.c
2118
stat->rx_fragments += smb->rx_fragments;
sys/dev/ale/if_ale.c
2119
stat->rx_pkts_64 += smb->rx_pkts_64;
sys/dev/ale/if_ale.c
2120
stat->rx_pkts_65_127 += smb->rx_pkts_65_127;
sys/dev/ale/if_ale.c
2121
stat->rx_pkts_128_255 += smb->rx_pkts_128_255;
sys/dev/ale/if_ale.c
2122
stat->rx_pkts_256_511 += smb->rx_pkts_256_511;
sys/dev/ale/if_ale.c
2123
stat->rx_pkts_512_1023 += smb->rx_pkts_512_1023;
sys/dev/ale/if_ale.c
2124
stat->rx_pkts_1024_1518 += smb->rx_pkts_1024_1518;
sys/dev/ale/if_ale.c
2125
stat->rx_pkts_1519_max += smb->rx_pkts_1519_max;
sys/dev/ale/if_ale.c
2126
stat->rx_pkts_truncated += smb->rx_pkts_truncated;
sys/dev/ale/if_ale.c
2127
stat->rx_fifo_oflows += smb->rx_fifo_oflows;
sys/dev/ale/if_ale.c
2128
stat->rx_rrs_errs += smb->rx_rrs_errs;
sys/dev/ale/if_ale.c
2129
stat->rx_alignerrs += smb->rx_alignerrs;
sys/dev/ale/if_ale.c
2130
stat->rx_bcast_bytes += smb->rx_bcast_bytes;
sys/dev/ale/if_ale.c
2131
stat->rx_mcast_bytes += smb->rx_mcast_bytes;
sys/dev/ale/if_ale.c
2132
stat->rx_pkts_filtered += smb->rx_pkts_filtered;
sys/dev/ale/if_ale.c
2135
stat->tx_frames += smb->tx_frames;
sys/dev/ale/if_ale.c
2136
stat->tx_bcast_frames += smb->tx_bcast_frames;
sys/dev/ale/if_ale.c
2137
stat->tx_mcast_frames += smb->tx_mcast_frames;
sys/dev/ale/if_ale.c
2138
stat->tx_pause_frames += smb->tx_pause_frames;
sys/dev/ale/if_ale.c
2139
stat->tx_excess_defer += smb->tx_excess_defer;
sys/dev/ale/if_ale.c
2140
stat->tx_control_frames += smb->tx_control_frames;
sys/dev/ale/if_ale.c
2141
stat->tx_deferred += smb->tx_deferred;
sys/dev/ale/if_ale.c
2142
stat->tx_bytes += smb->tx_bytes;
sys/dev/ale/if_ale.c
2143
stat->tx_pkts_64 += smb->tx_pkts_64;
sys/dev/ale/if_ale.c
2144
stat->tx_pkts_65_127 += smb->tx_pkts_65_127;
sys/dev/ale/if_ale.c
2145
stat->tx_pkts_128_255 += smb->tx_pkts_128_255;
sys/dev/ale/if_ale.c
2146
stat->tx_pkts_256_511 += smb->tx_pkts_256_511;
sys/dev/ale/if_ale.c
2147
stat->tx_pkts_512_1023 += smb->tx_pkts_512_1023;
sys/dev/ale/if_ale.c
2148
stat->tx_pkts_1024_1518 += smb->tx_pkts_1024_1518;
sys/dev/ale/if_ale.c
2149
stat->tx_pkts_1519_max += smb->tx_pkts_1519_max;
sys/dev/ale/if_ale.c
2150
stat->tx_single_colls += smb->tx_single_colls;
sys/dev/ale/if_ale.c
2151
stat->tx_multi_colls += smb->tx_multi_colls;
sys/dev/ale/if_ale.c
2152
stat->tx_late_colls += smb->tx_late_colls;
sys/dev/ale/if_ale.c
2153
stat->tx_excess_colls += smb->tx_excess_colls;
sys/dev/ale/if_ale.c
2154
stat->tx_underrun += smb->tx_underrun;
sys/dev/ale/if_ale.c
2155
stat->tx_desc_underrun += smb->tx_desc_underrun;
sys/dev/ale/if_ale.c
2156
stat->tx_lenerrs += smb->tx_lenerrs;
sys/dev/ale/if_ale.c
2157
stat->tx_pkts_truncated += smb->tx_pkts_truncated;
sys/dev/ale/if_ale.c
2158
stat->tx_bcast_bytes += smb->tx_bcast_bytes;
sys/dev/ale/if_ale.c
2159
stat->tx_mcast_bytes += smb->tx_mcast_bytes;
sys/dev/ata/chipsets/ata-promise.c
945
u_int8_t /* err, */ stat;
sys/dev/ata/chipsets/ata-promise.c
948
stat = ATA_IDX_INB(ch, ATA_STATUS);
sys/dev/ata/chipsets/ata-promise.c
953
if (!(stat & ATA_S_BUSY)) {
sys/dev/ata/chipsets/ata-promise.c
965
if (!(stat & ATA_S_BUSY) || (stat == 0xff && timeout > 10))
sys/dev/atkbdc/psm.c
1054
int stat[3];
sys/dev/atkbdc/psm.c
1127
if (get_mouse_status(kbdc, stat, 0, 3) < 3)
sys/dev/atkbdc/psm.c
1137
int stat[3];
sys/dev/atkbdc/psm.c
1162
get_mouse_status(sc->kbdc, stat, 0, 3);
sys/dev/atkbdc/psm.c
1164
stat[1] == 0x47) &&
sys/dev/atkbdc/psm.c
1165
stat[2] == 0x40) {
sys/dev/atkbdc/psm.c
1218
if (get_mouse_status(sc->kbdc, stat, 0, 3) < 3)
sys/dev/atkbdc/psm.c
1379
int stat[3];
sys/dev/atkbdc/psm.c
1555
if (get_mouse_status(sc->kbdc, stat, 0, 3) >= 3) {
sys/dev/atkbdc/psm.c
1556
sc->dflt_mode.rate = sc->mode.rate = stat[2];
sys/dev/atkbdc/psm.c
1557
sc->dflt_mode.resolution = sc->mode.resolution = stat[1];
sys/dev/atkbdc/psm.c
1656
if (get_mouse_status(sc->kbdc, stat, 0, 3) < 3)
sys/dev/atkbdc/psm.c
1663
sc->dflt_mode.rate = sc->mode.rate = stat[2];
sys/dev/atkbdc/psm.c
1664
sc->dflt_mode.resolution = sc->mode.resolution = stat[1];
sys/dev/atkbdc/psm.c
2301
int stat[3];
sys/dev/atkbdc/psm.c
2353
if (get_mouse_status(sc->kbdc, stat, 0, 3) < 3)
sys/dev/atkbdc/psm.c
2627
int stat[3];
sys/dev/atkbdc/psm.c
2785
get_mouse_status(sc->kbdc, stat, 0, 3);
sys/dev/bge/if_bge.c
4981
#define READ_STAT(sc, stats, stat) \
sys/dev/bge/if_bge.c
4982
CSR_READ_4(sc, stats + offsetof(struct bge_stats, stat))
sys/dev/bnxt/bnxt_re/main.c
1731
struct bnxt_qplib_stats *stat;
sys/dev/bnxt/bnxt_re/main.c
1737
stat = (tid == 0xffff) ? &hctx->stats : &hctx->stats2;
sys/dev/bnxt/bnxt_re/main.c
1738
stat->fw_id = INVALID_STATS_CTX_ID;
sys/dev/bnxt/bnxt_re/main.c
1748
req.stats_dma_addr = cpu_to_le64(stat->dma_map);
sys/dev/bnxt/bnxt_re/main.c
1758
stat->fw_id = le32_to_cpu(resp.stat_ctx_id);
sys/dev/bnxt/bnxt_re/main.c
1760
stat->fw_id);
sys/dev/bwn/if_bwn.c
5409
struct bwn_txstatus stat;
sys/dev/bwn/if_bwn.c
5427
stat.cookie = (stat0 >> 16);
sys/dev/bwn/if_bwn.c
5428
stat.seq = (stat1 & 0x0000ffff);
sys/dev/bwn/if_bwn.c
5429
stat.phy_stat = ((stat1 & 0x00ff0000) >> 16);
sys/dev/bwn/if_bwn.c
5431
stat.framecnt = ((tmp & 0xf000) >> 12);
sys/dev/bwn/if_bwn.c
5432
stat.rtscnt = ((tmp & 0x0f00) >> 8);
sys/dev/bwn/if_bwn.c
5433
stat.sreason = ((tmp & 0x001c) >> 2);
sys/dev/bwn/if_bwn.c
5434
stat.pm = (tmp & 0x0080) ? 1 : 0;
sys/dev/bwn/if_bwn.c
5435
stat.im = (tmp & 0x0040) ? 1 : 0;
sys/dev/bwn/if_bwn.c
5436
stat.ampdu = (tmp & 0x0020) ? 1 : 0;
sys/dev/bwn/if_bwn.c
5437
stat.ack = (tmp & 0x0002) ? 1 : 0;
sys/dev/bwn/if_bwn.c
5443
stat.cookie,
sys/dev/bwn/if_bwn.c
5444
stat.seq,
sys/dev/bwn/if_bwn.c
5445
stat.phy_stat,
sys/dev/bwn/if_bwn.c
5446
stat.framecnt,
sys/dev/bwn/if_bwn.c
5447
stat.rtscnt,
sys/dev/bwn/if_bwn.c
5448
stat.sreason,
sys/dev/bwn/if_bwn.c
5449
stat.pm,
sys/dev/bwn/if_bwn.c
5450
stat.im,
sys/dev/bwn/if_bwn.c
5451
stat.ampdu,
sys/dev/bwn/if_bwn.c
5452
stat.ack);
sys/dev/bwn/if_bwn.c
5454
bwn_handle_txeof(mac, &stat);
sys/dev/cxgb/common/cxgb_ael1002.c
1221
unsigned int stat;
sys/dev/cxgb/common/cxgb_ael1002.c
1223
v = mdio_read(phy, MDIO_DEV_PMA_PMD, AEL2005_GPIO_CTRL, &stat);
sys/dev/cxgb/common/cxgb_ael1002.c
1227
if (stat & (1 << 8)) /* module absent */
sys/dev/cxgb/common/cxgb_ael1002.c
130
unsigned int stat, data;
sys/dev/cxgb/common/cxgb_ael1002.c
1314
unsigned int stat;
sys/dev/cxgb/common/cxgb_ael1002.c
1317
ret = mdio_read(phy, MDIO_DEV_PMA_PMD, AEL2005_GPIO_STAT, &stat);
sys/dev/cxgb/common/cxgb_ael1002.c
1321
if (stat & AEL2005_MODDET_IRQ) {
sys/dev/cxgb/common/cxgb_ael1002.c
139
err = mdio_read(phy, MDIO_DEV_PMA_PMD, AEL_I2C_STAT, &stat);
sys/dev/cxgb/common/cxgb_ael1002.c
142
if ((stat & 3) == 1) {
sys/dev/cxgb/common/cxgb_ael1002.c
161
unsigned int stat;
sys/dev/cxgb/common/cxgb_ael1002.c
174
err = mdio_read(phy, MDIO_DEV_PMA_PMD, AEL_I2C_STAT, &stat);
sys/dev/cxgb/common/cxgb_ael1002.c
177
if ((stat & 3) == 1)
sys/dev/cxgb/common/cxgb_ael1002.c
1920
unsigned int stat;
sys/dev/cxgb/common/cxgb_ael1002.c
1922
v = mdio_read(phy, MDIO_DEV_PMA_PMD, AEL2020_GPIO_STAT, &stat);
sys/dev/cxgb/common/cxgb_ael1002.c
1926
if (stat & (0x1 << (AEL2020_GPIO_MODDET*4))) {
sys/dev/cxgb/common/cxgb_ael1002.c
1996
unsigned int stat;
sys/dev/cxgb/common/cxgb_ael1002.c
1997
int err = mdio_read(phy, MDIO_DEV_PMA_PMD, AEL2020_GPIO_INTR, &stat);
sys/dev/cxgb/common/cxgb_ael1002.c
2071
unsigned int stat;
sys/dev/cxgb/common/cxgb_ael1002.c
2074
ret = mdio_read(phy, MDIO_DEV_PMA_PMD, AEL2020_GPIO_INTR, &stat);
sys/dev/cxgb/common/cxgb_ael1002.c
2078
if (stat & (0x1 << AEL2020_GPIO_MODDET)) {
sys/dev/cxgb/common/cxgb_ael1002.c
2217
unsigned int stat;
sys/dev/cxgb/common/cxgb_ael1002.c
2228
if (!phy_addr && !mdio_read(phy, MDIO_DEV_PMA_PMD, MII_BMSR, &stat) &&
sys/dev/cxgb/common/cxgb_ael1002.c
2229
stat == 0xffff)
sys/dev/cxgbe/common/t4_hw.c
12212
u32 stat, linkattr;
sys/dev/cxgbe/common/t4_hw.c
12219
stat = be32_to_cpu(p->u.info.lstatus_to_modtype);
sys/dev/cxgbe/common/t4_hw.c
12221
pi->port_type = G_FW_PORT_CMD_PTYPE(stat);
sys/dev/cxgbe/common/t4_hw.c
12222
pi->mod_type = G_FW_PORT_CMD_MODTYPE(stat);
sys/dev/cxgbe/common/t4_hw.c
12223
pi->mdio_addr = stat & F_FW_PORT_CMD_MDIOCAP ?
sys/dev/cxgbe/common/t4_hw.c
12224
G_FW_PORT_CMD_MDIOADDR(stat) : -1;
sys/dev/cxgbe/common/t4_hw.c
12229
lc->link_ok = (stat & F_FW_PORT_CMD_LSTATUS) != 0;
sys/dev/cxgbe/common/t4_hw.c
12230
lc->link_down_rc = G_FW_PORT_CMD_LINKDNRC(stat);
sys/dev/cxgbe/common/t4_hw.c
12232
linkattr = lstatus_to_fwcap(stat);
sys/dev/cxgbe/common/t4_hw.c
12234
stat = be32_to_cpu(p->u.info32.lstatus32_to_cbllen32);
sys/dev/cxgbe/common/t4_hw.c
12236
pi->port_type = G_FW_PORT_CMD_PORTTYPE32(stat);
sys/dev/cxgbe/common/t4_hw.c
12237
pi->mod_type = G_FW_PORT_CMD_MODTYPE32(stat);
sys/dev/cxgbe/common/t4_hw.c
12238
pi->mdio_addr = stat & F_FW_PORT_CMD_MDIOCAP32 ?
sys/dev/cxgbe/common/t4_hw.c
12239
G_FW_PORT_CMD_MDIOADDR32(stat) : -1;
sys/dev/cxgbe/common/t4_hw.c
12244
lc->link_ok = (stat & F_FW_PORT_CMD_LSTATUS32) != 0;
sys/dev/cxgbe/common/t4_hw.c
12245
lc->link_down_rc = G_FW_PORT_CMD_LINKDNRC32(stat);
sys/dev/cxgbe/cudbg/cudbg_entity.h
271
u32 stat[4 * (CIM_NUM_IBQ + CIM_NUM_OBQ_T5)];
sys/dev/cxgbe/cudbg/cudbg_lib.c
2406
ARRAY_SIZE(cim_qcfg_data->stat), cim_qcfg_data->stat);
sys/dev/cxgbe/t4_main.c
8571
#define T4_LBSTAT(name, stat, desc) do { \
sys/dev/cxgbe/t4_main.c
8575
A_MPS_PORT_STAT_##stat##_L, \
sys/dev/cxgbe/t4_main.c
8580
t4_port_reg(sc, pi->tx_chan, A_MPS_PORT_STAT_##stat##_L), \
sys/dev/cxgbe/t4_main.c
8646
#define T4_REGSTAT(name, stat, desc) do { \
sys/dev/cxgbe/t4_main.c
8649
A_MPS_STAT_##stat##_L, sysctl_handle_t4_reg64, "QU", desc); \
sys/dev/cxgbe/t4_main.c
9840
uint32_t stat[4 * (CIM_NUM_IBQ + CIM_NUM_OBQ_T5)], *p = stat;
sys/dev/cxgbe/t4_main.c
9864
rc = -t4_cim_read(sc, ibq_rdaddr, 4 * nq, stat);
sys/dev/cxgbe/t4_main.c
9912
uint32_t stat[4 * (CIM_NUM_IBQ_T7 + CIM_NUM_OBQ_T7)], *p = stat;
sys/dev/cxgbe/t4_main.c
9939
A_T7_UP_IBQ_0_SHADOW_RDADDR, 4 * CIM_NUM_IBQ_T7, stat);
sys/dev/cxgbe/t4_main.c
9945
&stat[4 * CIM_NUM_IBQ_T7]);
sys/dev/cyapa/cyapa.c
1306
((regs.stat & CYAPA_STAT_RUNNING) == 0 &&
sys/dev/cyapa/cyapa.c
1379
if ((regs->stat & CYAPA_STAT_RUNNING) == 0) {
sys/dev/cyapa/cyapa.c
1389
regs->stat,
sys/dev/cyapa/cyapa.c
376
while ((boot.stat & CYAPA_STAT_RUNNING) == 0 && retries > 0) {
sys/dev/cyapa/cyapa.c
421
device_printf(dev, "cyapa init status %02x\n", boot.stat);
sys/dev/cyapa/cyapa.c
423
device_printf(dev, "cyapa reset status %02x\n", boot.stat);
sys/dev/cyapa/cyapa.h
46
uint8_t stat; /* CYAPA_STAT_xxx */
sys/dev/cyapa/cyapa.h
64
uint8_t stat;
sys/dev/dpaa/qman.h
114
uint8_t stat;
sys/dev/dpaa/qman_portals.c
298
if ((dqrr->stat & QMAN_DQRR_STAT_HAS_FRAME)) {
sys/dev/dpaa2/dpaa2_channel.c
352
if (msg->fdr.desc.stat & DPAA2_DQ_STAT_EXPIRED) {
sys/dev/dpaa2/dpaa2_channel.c
355
if (!(msg->fdr.desc.stat & DPAA2_DQ_STAT_VALIDFRAME)) {
sys/dev/dpaa2/dpaa2_channel.c
359
if (msg != NULL && (msg->fdr.desc.stat & DPAA2_DQ_STAT_FQEMPTY)) {
sys/dev/dpaa2/dpaa2_ni.c
108
#define IS_NULL_RESPONSE(stat) ((((stat) >> 4) & 1) == 0)
sys/dev/dpaa2/dpaa2_ni.c
3089
if (dq != NULL && !IS_NULL_RESPONSE(dq->fdr.desc.stat)) {
sys/dev/dpaa2/dpaa2_ni.c
3110
if (dq != NULL && !IS_NULL_RESPONSE(dq->fdr.desc.stat)) {
sys/dev/dpaa2/dpaa2_ni.c
3465
struct dpni_stat *stat = &dpni_stat_sysctls[oidp->oid_number];
sys/dev/dpaa2/dpaa2_ni.c
3492
error = DPAA2_CMD_NI_GET_STATISTICS(dev, child, &cmd, stat->page, 0, cnt);
sys/dev/dpaa2/dpaa2_ni.c
3494
result = cnt[stat->cnt];
sys/dev/dpaa2/dpaa2_swp.c
768
if ((msg->fdr.desc.stat & DPAA2_DQ_STAT_VOLATILE) &&
sys/dev/dpaa2/dpaa2_swp.h
260
uint8_t stat;
sys/dev/dpaa2/dpaa2_swp.h
278
uint8_t stat;
sys/dev/ena/ena.h
551
#define ENA_RESET_STATS_ENTRY(reset_reason, stat) \
sys/dev/ena/ena.h
553
.stat_offset = offsetof(struct ena_stats_dev, stat) / sizeof(u64), \
sys/dev/ena/ena_sysctl.c
65
#define ENA_METRIC_ENI_ENTRY(stat, desc) { \
sys/dev/ena/ena_sysctl.c
66
.name = #stat, \
sys/dev/ena/ena_sysctl.c
70
#define ENA_STAT_ENTRY(stat, desc, stat_type) { \
sys/dev/ena/ena_sysctl.c
71
.name = #stat, \
sys/dev/ena/ena_sysctl.c
73
.stat_offset = offsetof(struct ena_admin_##stat_type, stat) / sizeof(u64), \
sys/dev/ena/ena_sysctl.c
76
#define ENA_STAT_ENA_SRD_ENTRY(stat, desc) \
sys/dev/ena/ena_sysctl.c
77
ENA_STAT_ENTRY(stat, desc, ena_srd_stats)
sys/dev/firewire/fwohci.c
1058
u_int stat, status;
sys/dev/firewire/fwohci.c
1096
stat = status & FWOHCIEV_MASK;
sys/dev/firewire/fwohci.c
1097
switch (stat) {
sys/dev/firewire/fwohci.c
1137
} else if (stat != FWOHCIEV_ACKPEND) {
sys/dev/firewire/fwohci.c
1138
if (stat != FWOHCIEV_ACKCOMPL)
sys/dev/firewire/fwohci.c
1487
uint32_t stat;
sys/dev/firewire/fwohci.c
1527
stat = OREAD(sc, OHCI_ITCTL(dmach));
sys/dev/firewire/fwohci.c
1528
if (firewire_debug && (stat & OHCI_CNTL_CYCMATCH_S))
sys/dev/firewire/fwohci.c
1529
printf("stat 0x%x\n", stat);
sys/dev/firewire/fwohci.c
1531
if (stat & (OHCI_CNTL_DMA_ACTIVE | OHCI_CNTL_CYCMATCH_S))
sys/dev/firewire/fwohci.c
1543
printf("fwohci_itxbuf_enable: kick 0x%08x\n", stat);
sys/dev/firewire/fwohci.c
1546
if ((stat & OHCI_CNTL_DMA_RUN) == 0) {
sys/dev/firewire/fwohci.c
1566
} else if ((stat & OHCI_CNTL_CYCMATCH_S) == 0) {
sys/dev/firewire/fwohci.c
1568
"IT DMA underrun (0x%08x)\n", stat);
sys/dev/firewire/fwohci.c
1581
uint32_t stat;
sys/dev/firewire/fwohci.c
1646
stat = OREAD(sc, OHCI_IRCTL(dmach));
sys/dev/firewire/fwohci.c
1647
if (stat & OHCI_CNTL_DMA_ACTIVE)
sys/dev/firewire/fwohci.c
1649
if (stat & OHCI_CNTL_DMA_RUN) {
sys/dev/firewire/fwohci.c
1651
device_printf(sc->fc.dev, "IR DMA overrun (0x%08x)\n", stat);
sys/dev/firewire/fwohci.c
1655
printf("start IR DMA 0x%x\n", stat);
sys/dev/firewire/fwohci.c
1736
fwohci_dump_intr(struct fwohci_softc *sc, uint32_t stat)
sys/dev/firewire/fwohci.c
1738
if (stat & OREAD(sc, FWOHCI_INTMASK))
sys/dev/firewire/fwohci.c
1740
stat & OHCI_INT_EN ? "DMA_EN ":"",
sys/dev/firewire/fwohci.c
1741
stat & OHCI_INT_PHY_REG ? "PHY_REG ":"",
sys/dev/firewire/fwohci.c
1742
stat & OHCI_INT_CYC_LONG ? "CYC_LONG ":"",
sys/dev/firewire/fwohci.c
1743
stat & OHCI_INT_ERR ? "INT_ERR ":"",
sys/dev/firewire/fwohci.c
1744
stat & OHCI_INT_CYC_ERR ? "CYC_ERR ":"",
sys/dev/firewire/fwohci.c
1745
stat & OHCI_INT_CYC_LOST ? "CYC_LOST ":"",
sys/dev/firewire/fwohci.c
1746
stat & OHCI_INT_CYC_64SECOND ? "CYC_64SECOND ":"",
sys/dev/firewire/fwohci.c
1747
stat & OHCI_INT_CYC_START ? "CYC_START ":"",
sys/dev/firewire/fwohci.c
1748
stat & OHCI_INT_PHY_INT ? "PHY_INT ":"",
sys/dev/firewire/fwohci.c
1749
stat & OHCI_INT_PHY_BUS_R ? "BUS_RESET ":"",
sys/dev/firewire/fwohci.c
1750
stat & OHCI_INT_PHY_SID ? "SID ":"",
sys/dev/firewire/fwohci.c
1751
stat & OHCI_INT_LR_ERR ? "DMA_LR_ERR ":"",
sys/dev/firewire/fwohci.c
1752
stat & OHCI_INT_PW_ERR ? "DMA_PW_ERR ":"",
sys/dev/firewire/fwohci.c
1753
stat & OHCI_INT_DMA_IR ? "DMA_IR ":"",
sys/dev/firewire/fwohci.c
1754
stat & OHCI_INT_DMA_IT ? "DMA_IT " :"",
sys/dev/firewire/fwohci.c
1755
stat & OHCI_INT_DMA_PRRS ? "DMA_PRRS " :"",
sys/dev/firewire/fwohci.c
1756
stat & OHCI_INT_DMA_PRRQ ? "DMA_PRRQ " :"",
sys/dev/firewire/fwohci.c
1757
stat & OHCI_INT_DMA_ARRS ? "DMA_ARRS " :"",
sys/dev/firewire/fwohci.c
1758
stat & OHCI_INT_DMA_ARRQ ? "DMA_ARRQ " :"",
sys/dev/firewire/fwohci.c
1759
stat & OHCI_INT_DMA_ATRS ? "DMA_ATRS " :"",
sys/dev/firewire/fwohci.c
1760
stat & OHCI_INT_DMA_ATRQ ? "DMA_ATRQ " :"",
sys/dev/firewire/fwohci.c
1761
stat, OREAD(sc, FWOHCI_INTMASK)
sys/dev/firewire/fwohci.c
1767
fwohci_intr_core(struct fwohci_softc *sc, uint32_t stat, int count)
sys/dev/firewire/fwohci.c
1774
if ((stat & OHCI_INT_PHY_BUS_R) && (fc->status != FWBUSRESET)) {
sys/dev/firewire/fwohci.c
1796
if (stat & OHCI_INT_PHY_SID) {
sys/dev/firewire/fwohci.c
1869
if ((stat & ~(OHCI_INT_PHY_BUS_R | OHCI_INT_PHY_SID)) && (!kdb_active))
sys/dev/firewire/fwohci.c
1874
fwohci_intr_dma(struct fwohci_softc *sc, uint32_t stat, int count)
sys/dev/firewire/fwohci.c
1880
if (stat & OHCI_INT_DMA_IR) {
sys/dev/firewire/fwohci.c
1896
if (stat & OHCI_INT_DMA_IT) {
sys/dev/firewire/fwohci.c
1904
if (stat & OHCI_INT_DMA_PRRS) {
sys/dev/firewire/fwohci.c
1907
if (stat & OHCI_INT_DMA_PRRQ) {
sys/dev/firewire/fwohci.c
1910
if (stat & OHCI_INT_CYC_LOST) {
sys/dev/firewire/fwohci.c
1920
if (stat & OHCI_INT_DMA_ATRQ) {
sys/dev/firewire/fwohci.c
1923
if (stat & OHCI_INT_DMA_ATRS) {
sys/dev/firewire/fwohci.c
1926
if (stat & OHCI_INT_PW_ERR) {
sys/dev/firewire/fwohci.c
1929
if (stat & OHCI_INT_ERR) {
sys/dev/firewire/fwohci.c
1932
if (stat & OHCI_INT_PHY_INT) {
sys/dev/firewire/fwohci.c
2024
uint32_t stat;
sys/dev/firewire/fwohci.c
2027
stat = atomic_readandclear_int(&sc->intstat);
sys/dev/firewire/fwohci.c
2028
if (stat)
sys/dev/firewire/fwohci.c
2029
fwohci_intr_dma(sc, stat, -1);
sys/dev/firewire/fwohci.c
2038
uint32_t stat, irstat, itstat;
sys/dev/firewire/fwohci.c
2041
stat = OREAD(sc, FWOHCI_INTSTAT);
sys/dev/firewire/fwohci.c
2042
if (stat == 0xffffffff) {
sys/dev/firewire/fwohci.c
2048
if (stat)
sys/dev/firewire/fwohci.c
2049
OWRITE(sc, FWOHCI_INTSTATCLR, stat & ~OHCI_INT_PHY_BUS_R);
sys/dev/firewire/fwohci.c
2051
stat &= sc->intmask;
sys/dev/firewire/fwohci.c
2052
if (stat == 0)
sys/dev/firewire/fwohci.c
2055
atomic_set_int(&sc->intstat, stat);
sys/dev/firewire/fwohci.c
2056
if (stat & OHCI_INT_DMA_IR) {
sys/dev/firewire/fwohci.c
2061
if (stat & OHCI_INT_DMA_IT) {
sys/dev/firewire/fwohci.c
2067
fwohci_intr_core(sc, stat, -1);
sys/dev/firewire/fwohci.c
2115
uint32_t stat, count __unused;
sys/dev/firewire/fwohci.c
2126
stat = FWOHCI_DMA_READ(db[ldesc].db.desc.res)
sys/dev/firewire/fwohci.c
2132
if (stat == 0)
sys/dev/firewire/fwohci.c
2135
switch (stat & FWOHCIEV_MASK) {
sys/dev/firewire/fwohci.c
2141
stat, fwohcicode[stat & 0x1f]);
sys/dev/firewire/fwohci.c
2158
uint32_t stat;
sys/dev/firewire/fwohci.c
2169
stat = FWOHCI_DMA_READ(db_tr->db[ldesc].db.desc.res)
sys/dev/firewire/fwohci.c
2171
if (stat == 0)
sys/dev/firewire/fwohci.c
2188
switch (stat & FWOHCIEV_MASK) {
sys/dev/firewire/fwohci.c
2196
stat, fwohcicode[stat & 0x1f]);
sys/dev/firewire/fwohci.c
2214
uint32_t off, cntl, stat, cmd, match;
sys/dev/firewire/fwohci.c
2229
cntl = stat = OREAD(sc, off);
sys/dev/firewire/fwohci.c
2238
stat &= 0xffff;
sys/dev/firewire/fwohci.c
2239
if (stat) {
sys/dev/firewire/fwohci.c
2242
stat & OHCI_CNTL_DMA_RUN ? "RUN," : "",
sys/dev/firewire/fwohci.c
2243
stat & OHCI_CNTL_DMA_WAKE ? "WAKE," : "",
sys/dev/firewire/fwohci.c
2244
stat & OHCI_CNTL_DMA_DEAD ? "DEAD," : "",
sys/dev/firewire/fwohci.c
2245
stat & OHCI_CNTL_DMA_ACTIVE ? "ACTIVE," : "",
sys/dev/firewire/fwohci.c
2246
stat & OHCI_CNTL_DMA_BT ? "BRANCH," : "",
sys/dev/firewire/fwohci.c
2247
stat & OHCI_CNTL_DMA_BAD ? "BADDMA," : "",
sys/dev/firewire/fwohci.c
2248
fwohcicode[stat & 0x1f],
sys/dev/firewire/fwohci.c
2249
stat & 0x1f
sys/dev/firewire/fwohci.c
2323
fwohcireg_t stat;
sys/dev/firewire/fwohci.c
2348
stat = res >> OHCI_STATUS_SHIFT;
sys/dev/firewire/fwohci.c
2358
stat,
sys/dev/firewire/fwohci.c
2360
if (stat & 0xff00) {
sys/dev/firewire/fwohci.c
2362
stat & OHCI_CNTL_DMA_RUN ? "RUN," : "",
sys/dev/firewire/fwohci.c
2363
stat & OHCI_CNTL_DMA_WAKE ? "WAKE," : "",
sys/dev/firewire/fwohci.c
2364
stat & OHCI_CNTL_DMA_DEAD ? "DEAD," : "",
sys/dev/firewire/fwohci.c
2365
stat & OHCI_CNTL_DMA_ACTIVE ? "ACTIVE," : "",
sys/dev/firewire/fwohci.c
2366
stat & OHCI_CNTL_DMA_BT ? "BRANCH," : "",
sys/dev/firewire/fwohci.c
2367
stat & OHCI_CNTL_DMA_BAD ? "BADDMA," : "",
sys/dev/firewire/fwohci.c
2368
fwohcicode[stat & 0x1f],
sys/dev/firewire/fwohci.c
2369
stat & 0x1f
sys/dev/firewire/fwohci.c
2660
uint32_t stat, off, status, event;
sys/dev/firewire/fwohci.c
2794
stat = FWOHCI_DMA_READ(*(uint32_t *)(ld - sizeof(struct fwohci_trailer)));
sys/dev/firewire/fwohci.c
2795
spd = (stat >> 21) & 0x3;
sys/dev/firewire/fwohci.c
2796
event = (stat >> 16) & 0x1f;
sys/dev/firewire/fwohci.c
2827
fp->mode.common.tcode, stat);
sys/dev/firewire/fwohci.c
318
uint32_t fun, stat;
sys/dev/firewire/fwohci.c
342
stat = OREAD(sc, FWOHCI_INTSTAT);
sys/dev/firewire/fwohci.c
343
if ((stat & OHCI_INT_REG_FAIL) != 0 ||
sys/dev/firewire/fwohcireg.h
402
uint32_t stat:16,
sys/dev/firewire/fwohcireg.h
406
stat:16;
sys/dev/gve/gve.h
777
void gve_alloc_counters(counter_u64_t *stat, int num_stats);
sys/dev/gve/gve.h
778
void gve_free_counters(counter_u64_t *stat, int num_stats);
sys/dev/gve/gve_utils.c
59
gve_alloc_counters(counter_u64_t *stat, int num_stats)
sys/dev/gve/gve_utils.c
64
stat[i] = counter_u64_alloc(M_WAITOK);
sys/dev/gve/gve_utils.c
68
gve_free_counters(counter_u64_t *stat, int num_stats)
sys/dev/gve/gve_utils.c
73
counter_u64_free(stat[i]);
sys/dev/hdmi/dwc_hdmi.c
711
uint32_t stat;
sys/dev/hdmi/dwc_hdmi.c
715
stat = RD1(sc, HDMI_IH_PHY_STAT0);
sys/dev/hdmi/dwc_hdmi.c
716
if ((stat & HDMI_IH_PHY_STAT0_HPD) != 0) {
sys/dev/hyperv/netvsc/if_hn.c
4247
uint64_t stat;
sys/dev/hyperv/netvsc/if_hn.c
4249
stat = 0;
sys/dev/hyperv/netvsc/if_hn.c
4252
stat += *((uint64_t *)((uint8_t *)rxr + ofs));
sys/dev/hyperv/netvsc/if_hn.c
4255
error = sysctl_handle_64(oidp, &stat, 0, req);
sys/dev/hyperv/netvsc/if_hn.c
4273
u_long stat;
sys/dev/hyperv/netvsc/if_hn.c
4275
stat = 0;
sys/dev/hyperv/netvsc/if_hn.c
4278
stat += *((u_long *)((uint8_t *)rxr + ofs));
sys/dev/hyperv/netvsc/if_hn.c
4281
error = sysctl_handle_long(oidp, &stat, 0, req);
sys/dev/hyperv/netvsc/if_hn.c
4299
u_long stat;
sys/dev/hyperv/netvsc/if_hn.c
4301
stat = 0;
sys/dev/hyperv/netvsc/if_hn.c
4304
stat += *((u_long *)((uint8_t *)txr + ofs));
sys/dev/hyperv/netvsc/if_hn.c
4307
error = sysctl_handle_long(oidp, &stat, 0, req);
sys/dev/iavf/iavf_lib.c
1030
while (entry->stat != 0)
sys/dev/iavf/iavf_lib.c
1033
CTLFLAG_RD, entry->stat,
sys/dev/iavf/iavf_lib.h
295
u64 *stat;
sys/dev/ice/ice_lib.c
4805
u64 *stat;
sys/dev/ice/ice_lib.c
4846
while (entry->stat != 0) {
sys/dev/ice/ice_lib.c
4848
CTLFLAG_RD | CTLFLAG_STATS, entry->stat, 0,
sys/dev/ice/ice_lib.c
4868
u64 stat = 0;
sys/dev/ice/ice_lib.c
4880
stat += vsi->tx_queues[i].stats.cso[type];
sys/dev/ice/ice_lib.c
4882
return sysctl_handle_64(oidp, NULL, stat, req);
sys/dev/ice/ice_lib.c
4899
u64 stat = 0;
sys/dev/ice/ice_lib.c
4911
stat += vsi->rx_queues[i].stats.cso[type];
sys/dev/ice/ice_lib.c
4913
return sysctl_handle_64(oidp, NULL, stat, req);
sys/dev/ice/ice_lib.c
4931
u64 stat = 0;
sys/dev/ice/ice_lib.c
4939
stat += hs->rx_undersize;
sys/dev/ice/ice_lib.c
4940
stat += hs->rx_fragments;
sys/dev/ice/ice_lib.c
4941
stat += hs->rx_oversize;
sys/dev/ice/ice_lib.c
4942
stat += hs->rx_jabber;
sys/dev/ice/ice_lib.c
4943
stat += hs->crc_errors;
sys/dev/ice/ice_lib.c
4944
stat += hs->illegal_bytes;
sys/dev/ice/ice_lib.c
4951
stat += vsi->rx_queues[i].stats.cso[type];
sys/dev/ice/ice_lib.c
4953
return sysctl_handle_64(oidp, NULL, stat, req);
sys/dev/ice/ice_lib.c
5245
while (entry->stat != 0) {
sys/dev/ice/ice_lib.c
5247
CTLFLAG_RD | CTLFLAG_STATS, entry->stat, 0,
sys/dev/ice/ice_lib.c
7285
while (entry->stat != 0) {
sys/dev/ice/ice_lib.c
7287
CTLFLAG_RD | CTLFLAG_STATS, entry->stat, 0,
sys/dev/ice/ice_lib.c
7331
while (entry->stat != 0) {
sys/dev/ice/ice_lib.c
7333
CTLFLAG_RD | CTLFLAG_STATS, entry->stat, 0,
sys/dev/iwm/if_iwm.c
1053
if (sc->rxq.stat)
sys/dev/iwm/if_iwm.c
1054
memset(sc->rxq.stat, 0, sizeof(*sc->rxq.stat));
sys/dev/iwm/if_iwm.c
5646
hw = le16toh(sc->rxq.stat->closed_rb_num) & 0xfff;
sys/dev/iwm/if_iwm.c
980
sizeof(*ring->stat), 16);
sys/dev/iwm/if_iwm.c
986
ring->stat = ring->stat_dma.vaddr;
sys/dev/iwm/if_iwmvar.h
306
struct iwm_rb_status *stat;
sys/dev/iwn/if_iwn.c
1865
error = iwn_dma_contig_alloc(sc, &ring->stat_dma, (void **)&ring->stat,
sys/dev/iwn/if_iwn.c
3005
struct iwn_rx_stat *stat = (struct iwn_rx_stat *)(desc + 1);
sys/dev/iwn/if_iwn.c
3010
memcpy(&sc->last_rx_stat, stat, sizeof (*stat));
sys/dev/iwn/if_iwn.c
3028
struct iwn_rx_stat *stat;
sys/dev/iwn/if_iwn.c
3043
stat = &sc->last_rx_stat;
sys/dev/iwn/if_iwn.c
3045
stat = (struct iwn_rx_stat *)(desc + 1);
sys/dev/iwn/if_iwn.c
3047
if (stat->cfg_phy_len > IWN_STAT_MAXLEN) {
sys/dev/iwn/if_iwn.c
3050
stat->cfg_phy_len);
sys/dev/iwn/if_iwn.c
3058
head = (caddr_t)(stat + 1) + stat->cfg_phy_len;
sys/dev/iwn/if_iwn.c
3059
len = le16toh(stat->len);
sys/dev/iwn/if_iwn.c
3135
rssi = ops->get_rssi(sc, stat);
sys/dev/iwn/if_iwn.c
3139
uint32_t rate = le32toh(stat->rate);
sys/dev/iwn/if_iwn.c
3142
if (stat->flags & htole16(IWN_STAT_FLAG_SHPREAMBLE))
sys/dev/iwn/if_iwn.c
3146
tap->wr_tsft = stat->tstamp;
sys/dev/iwn/if_iwn.c
3556
struct iwn4965_tx_stat *stat = (struct iwn4965_tx_stat *)(desc + 1);
sys/dev/iwn/if_iwn.c
3562
stat->rtsfailcnt,
sys/dev/iwn/if_iwn.c
3563
stat->ackfailcnt,
sys/dev/iwn/if_iwn.c
3564
stat->btkillcnt,
sys/dev/iwn/if_iwn.c
3565
stat->rate, le16toh(stat->duration),
sys/dev/iwn/if_iwn.c
3566
le32toh(stat->status));
sys/dev/iwn/if_iwn.c
3568
if (qid >= sc->firstaggqueue && stat->nframes != 1) {
sys/dev/iwn/if_iwn.c
3569
iwn_ampdu_tx_done(sc, qid, stat->nframes, stat->rtsfailcnt,
sys/dev/iwn/if_iwn.c
3570
&stat->status);
sys/dev/iwn/if_iwn.c
3572
iwn_tx_done(sc, desc, stat->rtsfailcnt, stat->ackfailcnt,
sys/dev/iwn/if_iwn.c
3573
le32toh(stat->status) & 0xff);
sys/dev/iwn/if_iwn.c
3581
struct iwn5000_tx_stat *stat = (struct iwn5000_tx_stat *)(desc + 1);
sys/dev/iwn/if_iwn.c
3587
stat->rtsfailcnt,
sys/dev/iwn/if_iwn.c
3588
stat->ackfailcnt,
sys/dev/iwn/if_iwn.c
3589
stat->btkillcnt,
sys/dev/iwn/if_iwn.c
3590
stat->rate, le16toh(stat->duration),
sys/dev/iwn/if_iwn.c
3591
le32toh(stat->status));
sys/dev/iwn/if_iwn.c
3598
if (qid >= sc->firstaggqueue && stat->nframes != 1) {
sys/dev/iwn/if_iwn.c
3599
iwn_ampdu_tx_done(sc, qid, stat->nframes, stat->rtsfailcnt,
sys/dev/iwn/if_iwn.c
3600
&stat->status);
sys/dev/iwn/if_iwn.c
3602
iwn_tx_done(sc, desc, stat->rtsfailcnt, stat->ackfailcnt,
sys/dev/iwn/if_iwn.c
3603
le16toh(stat->status) & 0xff);
sys/dev/iwn/if_iwn.c
3866
void *stat)
sys/dev/iwn/if_iwn.c
3873
uint16_t *aggstatus = stat;
sys/dev/iwn/if_iwn.c
3986
hw = le16toh(sc->rxq.stat->closed_count) & 0xfff;
sys/dev/iwn/if_iwn.c
5861
iwn4965_get_rssi(struct iwn_softc *sc, struct iwn_rx_stat *stat)
sys/dev/iwn/if_iwn.c
5863
struct iwn4965_rx_phystat *phy = (void *)stat->phybuf;
sys/dev/iwn/if_iwn.c
5888
iwn5000_get_rssi(struct iwn_softc *sc, struct iwn_rx_stat *stat)
sys/dev/iwn/if_iwn.c
5890
struct iwn5000_rx_phystat *phy = (void *)stat->phybuf;
sys/dev/iwn/if_iwnvar.h
133
struct iwn_rx_status *stat;
sys/dev/iwx/if_iwx.c
2011
size = sizeof(*ring->stat);
sys/dev/iwx/if_iwx.c
2018
ring->stat = ring->stat_dma.vaddr;
sys/dev/iwx/if_iwx.c
2093
memset(ring->stat, 0, sizeof(*ring->stat));
sys/dev/iwx/if_iwx.c
9464
hw = le16toh(sc->rxq.stat->closed_rb_num) & 0xfff;
sys/dev/iwx/if_iwxvar.h
275
struct iwx_rb_status *stat;
sys/dev/ixl/i40e_common.c
6977
struct i40e_hw_port_stats *stat)
sys/dev/ixl/i40e_common.c
6984
stat->rx_lpi_status = 0;
sys/dev/ixl/i40e_common.c
6985
stat->tx_lpi_status = 0;
sys/dev/ixl/i40e_common.c
7007
stat->rx_lpi_status = !!(val & I40E_BCM_PHY_PCS_STATUS1_RX_LPI);
sys/dev/ixl/i40e_common.c
7008
stat->tx_lpi_status = !!(val & I40E_BCM_PHY_PCS_STATUS1_TX_LPI);
sys/dev/ixl/i40e_common.c
7014
stat->rx_lpi_status = (val & I40E_PRTPM_EEE_STAT_RX_LPI_STATUS_MASK) >>
sys/dev/ixl/i40e_common.c
7016
stat->tx_lpi_status = (val & I40E_PRTPM_EEE_STAT_TX_LPI_STATUS_MASK) >>
sys/dev/ixl/i40e_common.c
7075
struct i40e_hw_port_stats *stat,
sys/dev/ixl/i40e_common.c
7099
stat->tx_lpi_status && stat->rx_lpi_status) {
sys/dev/ixl/i40e_prototype.h
115
struct i40e_hw_port_stats *stat,
sys/dev/ixl/ixl.h
509
u64 *stat;
sys/dev/ixl/ixl_pf_main.c
1086
while (entry->stat != 0)
sys/dev/ixl/ixl_pf_main.c
1089
CTLFLAG_RD, entry->stat,
sys/dev/ixl/ixl_pf_main.c
2402
bool offset_loaded, u64 mask, u64 *offset, u64 *stat)
sys/dev/ixl/ixl_pf_main.c
2409
*stat = new_data - *offset;
sys/dev/ixl/ixl_pf_main.c
2411
*stat = (new_data + mask) - *offset + 1;
sys/dev/ixl/ixl_pf_main.c
2412
*stat &= mask;
sys/dev/ixl/ixl_pf_main.c
2420
bool offset_loaded, u64 *offset, u64 *stat)
sys/dev/ixl/ixl_pf_main.c
2427
stat);
sys/dev/ixl/ixl_pf_main.c
2435
bool offset_loaded, u64 *offset, u64 *stat)
sys/dev/ixl/ixl_pf_main.c
2442
stat);
sys/dev/ixl/ixl_pf_main.c
2450
bool offset_loaded, u64 *offset, u64 *stat)
sys/dev/ixl/ixl_pf_main.c
2458
*stat = (u32)(new_data - *offset);
sys/dev/ixl/ixl_pf_main.c
2460
*stat = (u32)((new_data + ((u64)1 << 32)) - *offset);
sys/dev/ixl/ixl_txrx.c
888
while (entry->stat != 0)
sys/dev/ixl/ixl_txrx.c
891
CTLFLAG_RD, entry->stat,
sys/dev/jme/if_jme.c
3296
struct jme_hw_stats *stat, *ostat;
sys/dev/jme/if_jme.c
3303
stat = &sc->jme_stats;
sys/dev/jme/if_jme.c
3305
stat->tx_good_frames = CSR_READ_4(sc, JME_STAT_TXGOOD);
sys/dev/jme/if_jme.c
3306
stat->rx_good_frames = CSR_READ_4(sc, JME_STAT_RXGOOD);
sys/dev/jme/if_jme.c
3308
stat->rx_crc_errs = (reg & STAT_RX_CRC_ERR_MASK) >>
sys/dev/jme/if_jme.c
3310
stat->rx_mii_errs = (reg & STAT_RX_MII_ERR_MASK) >>
sys/dev/jme/if_jme.c
3313
stat->rx_fifo_oflows = (reg & STAT_RXERR_OFLOW_MASK) >>
sys/dev/jme/if_jme.c
3315
stat->rx_desc_empty = (reg & STAT_RXERR_MPTY_MASK) >>
sys/dev/jme/if_jme.c
3318
stat->rx_bad_frames = (reg & STAT_FAIL_RX_MASK) >> STAT_FAIL_RX_SHIFT;
sys/dev/jme/if_jme.c
3319
stat->tx_bad_frames = (reg & STAT_FAIL_TX_MASK) >> STAT_FAIL_TX_SHIFT;
sys/dev/jme/if_jme.c
3322
stat->rx_good_frames += ostat->rx_good_frames;
sys/dev/jme/if_jme.c
3323
stat->rx_crc_errs += ostat->rx_crc_errs;
sys/dev/jme/if_jme.c
3324
stat->rx_mii_errs += ostat->rx_mii_errs;
sys/dev/jme/if_jme.c
3325
stat->rx_fifo_oflows += ostat->rx_fifo_oflows;
sys/dev/jme/if_jme.c
3326
stat->rx_desc_empty += ostat->rx_desc_empty;
sys/dev/jme/if_jme.c
3327
stat->rx_bad_frames += ostat->rx_bad_frames;
sys/dev/jme/if_jme.c
3328
stat->tx_good_frames += ostat->tx_good_frames;
sys/dev/jme/if_jme.c
3329
stat->tx_bad_frames += ostat->tx_bad_frames;
sys/dev/mana/mana_sysctl.c
112
uint64_t stat;
sys/dev/mana/mana_sysctl.c
117
stat = val;
sys/dev/mana/mana_sysctl.c
119
err = sysctl_handle_64(oidp, &stat, 0, req);
sys/dev/mana/mana_sysctl.c
132
uint64_t stat;
sys/dev/mana/mana_sysctl.c
134
stat = 0;
sys/dev/mana/mana_sysctl.c
137
stat += *((uint64_t *)((uint8_t *)txq + offset));
sys/dev/mana/mana_sysctl.c
140
err = sysctl_handle_64(oidp, &stat, 0, req);
sys/dev/mana/mana_sysctl.c
67
uint64_t stat;
sys/dev/mana/mana_sysctl.c
69
stat = 0;
sys/dev/mana/mana_sysctl.c
72
stat += *((uint64_t *)((uint8_t *)rxq + offset));
sys/dev/mana/mana_sysctl.c
75
err = sysctl_handle_64(oidp, &stat, 0, req);
sys/dev/mana/mana_sysctl.c
92
uint64_t stat;
sys/dev/mana/mana_sysctl.c
97
stat = val;
sys/dev/mana/mana_sysctl.c
99
err = sysctl_handle_64(oidp, &stat, 0, req);
sys/dev/md/md.c
1326
devstat_remove_entry(pp->stat);
sys/dev/md/md.c
1327
pp->stat = NULL;
sys/dev/mii/ip1000phy.c
220
uint32_t bmsr, bmcr, stat;
sys/dev/mii/ip1000phy.c
243
stat = PHY_READ(sc, IP1000PHY_LSR);
sys/dev/mii/ip1000phy.c
244
switch (stat & IP1000PHY_LSR_SPEED_MASK) {
sys/dev/mii/ip1000phy.c
258
if ((stat & IP1000PHY_LSR_FULL_DUPLEX) != 0)
sys/dev/mii/ip1000phy.c
263
stat = PHY_READ(sc, STGE_PhyCtrl);
sys/dev/mii/ip1000phy.c
264
switch (PC_LinkSpeed(stat)) {
sys/dev/mii/ip1000phy.c
281
if ((stat & PC_PhyDuplexStatus) != 0)
sys/dev/mii/ip1000phy.c
291
stat = PHY_READ(sc, IP1000PHY_MII_1000SR);
sys/dev/mii/ip1000phy.c
292
if ((stat & IP1000PHY_1000SR_MASTER) != 0)
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
590
u32 stat;
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
647
stat = be32_to_cpu((__force __be32)
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
649
err = mlx4_status_to_errno(stat);
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
652
op, stat);
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
653
if (mlx4_closing_cmd_fatal_error(op, stat))
sys/dev/msk/if_msk.c
4403
uint32_t result, *stat;
sys/dev/msk/if_msk.c
4409
stat = (uint32_t *)((uint8_t *)&sc_if->msk_stats + off);
sys/dev/msk/if_msk.c
4413
result += *stat;
sys/dev/msk/if_msk.c
4424
uint64_t result, *stat;
sys/dev/msk/if_msk.c
4430
stat = (uint64_t *)((uint8_t *)&sc_if->msk_stats + off);
sys/dev/msk/if_msk.c
4434
result += *stat;
sys/dev/ntb/ntb_hw/ntb_hw_amd.c
767
uint32_t fullreg, reg, stat;
sys/dev/ntb/ntb_hw/ntb_hw_amd.c
780
stat = pci_read_config(ntb->device, AMD_LINK_STATUS_OFFSET, 4);
sys/dev/ntb/ntb_hw/ntb_hw_amd.c
783
__func__, stat, ntb->lnk_sta);
sys/dev/ntb/ntb_hw/ntb_hw_amd.c
785
ntb->lnk_sta = stat;
sys/dev/ntsync/ntsync.c
1061
ntsync_event_stat(struct file *fp, struct stat *sbp, struct ucred *cred)
sys/dev/ntsync/ntsync.c
466
ntsync_sem_stat(struct file *fp, struct stat *sbp, struct ucred *cred)
sys/dev/ntsync/ntsync.c
772
ntsync_mutex_stat(struct file *fp, struct stat *sbp, struct ucred *cred)
sys/dev/qat/qat_api/common/crypto/sym/lac_sym_alg_chain.c
928
CpaStatus stat, status = CPA_STATUS_SUCCESS;
sys/dev/qat/qat_api/common/crypto/sym/lac_sym_alg_chain.c
958
stat = LAC_SPINLOCK_INIT(&pSessionDesc->requestQueueLock);
sys/dev/qat/qat_api/common/crypto/sym/lac_sym_alg_chain.c
959
if (CPA_STATUS_SUCCESS != stat) {
sys/dev/qat/qat_common/adf_vf_isr.c
36
int stat;
sys/dev/qat/qat_common/adf_vf_isr.c
38
stat = pci_alloc_msi(accel_to_pci_dev(accel_dev), &count);
sys/dev/qat/qat_common/adf_vf_isr.c
39
if (stat) {
sys/dev/qat/qat_common/adf_vf_isr.c
42
return stat;
sys/dev/qat/qat_common/adf_vf_isr.c
45
return stat;
sys/dev/qat/qat_common/qat_hal.c
1618
int stat = 0;
sys/dev/qat/qat_common/qat_hal.c
1630
stat = qat_hal_exec_micro_inst(
sys/dev/qat/qat_common/qat_hal.c
1632
if (stat != 0)
sys/dev/qat/qat_common/qat_hal.c
1653
int stat = 0;
sys/dev/qat/qat_common/qat_hal.c
1679
stat = qat_hal_exec_micro_init_lm(handle,
sys/dev/qat/qat_common/qat_hal.c
1687
return stat;
sys/dev/qat/qat_common/qat_hal.c
1800
int stat = 0;
sys/dev/qat/qat_common/qat_hal.c
1806
stat = qat_hal_put_rel_wr_xfer(handle, ae, ctx, ICP_NEIGH_REL, nn, val);
sys/dev/qat/qat_common/qat_hal.c
1808
return stat;
sys/dev/qat/qat_common/qat_hal.c
1841
int stat = 0;
sys/dev/qat/qat_common/qat_hal.c
1860
stat = qat_hal_wr_rel_reg(handle, ae, ctx, type, reg, regdata);
sys/dev/qat/qat_common/qat_hal.c
1861
if (stat) {
sys/dev/qat/qat_common/qat_hal.c
1878
int stat = 0;
sys/dev/qat/qat_common/qat_hal.c
1897
stat = qat_hal_put_rel_wr_xfer(
sys/dev/qat/qat_common/qat_hal.c
1899
if (stat) {
sys/dev/qat/qat_common/qat_hal.c
1916
int stat = 0;
sys/dev/qat/qat_common/qat_hal.c
1935
stat = qat_hal_put_rel_rd_xfer(
sys/dev/qat/qat_common/qat_hal.c
1937
if (stat) {
sys/dev/qat/qat_common/qat_hal.c
1953
int stat = 0;
sys/dev/qat/qat_common/qat_hal.c
1966
stat = qat_hal_put_rel_nn(handle, ae, ctx, reg_num, regdata);
sys/dev/qat/qat_common/qat_hal.c
1967
if (stat) {
sys/dev/qlxgbe/ql_hw.c
2123
q80_get_stats_t *stat;
sys/dev/qlxgbe/ql_hw.c
2129
stat = (q80_get_stats_t *)ha->hw.mbox;
sys/dev/qlxgbe/ql_hw.c
2130
bzero(stat, (sizeof (q80_get_stats_t)));
sys/dev/qlxgbe/ql_hw.c
2132
stat->opcode = Q8_MBX_GET_STATS;
sys/dev/qlxgbe/ql_hw.c
2133
stat->count_version = 2;
sys/dev/qlxgbe/ql_hw.c
2134
stat->count_version |= Q8_MBX_CMD_VERSION;
sys/dev/qlxgbe/ql_hw.c
2136
stat->cmd = cmd;
sys/dev/qlxgbe/ql_hw.c
2138
if (qla_mbx_cmd(ha, (uint32_t *)stat, 2,
sys/dev/ral/rt2661.c
471
ring->cur = ring->next = ring->stat = 0;
sys/dev/ral/rt2661.c
558
ring->cur = ring->next = ring->stat = 0;
sys/dev/ral/rt2661.c
871
data = &txq->data[txq->stat];
sys/dev/ral/rt2661.c
911
DPRINTFN(sc, 15, "tx done q=%d idx=%u\n", qid, txq->stat);
sys/dev/ral/rt2661.c
914
if (++txq->stat >= txq->count) /* faster than % count */
sys/dev/ral/rt2661.c
915
txq->stat = 0;
sys/dev/ral/rt2661var.h
70
int stat;
sys/dev/ral/rt2860.c
1085
uint32_t stat;
sys/dev/ral/rt2860.c
1090
while ((stat = RAL_READ(sc, RT2860_TX_STAT_FIFO)) & RT2860_TXQ_VLD) {
sys/dev/ral/rt2860.c
1091
DPRINTFN(4, ("tx stat 0x%08x\n", stat));
sys/dev/ral/rt2860.c
1093
wcid = (stat >> RT2860_TXQ_WCID_SHIFT) & 0xff;
sys/dev/ral/rt2860.c
1099
if (!(stat & RT2860_TXQ_ACKREQ) || ni == NULL)
sys/dev/ral/rt2860.c
1103
if (stat & RT2860_TXQ_OK) {
sys/dev/ral/rt2860.c
1110
mcs = (stat >> RT2860_TXQ_MCS_SHIFT) & 0x7f;
sys/dev/ral/rt2860.c
1111
pid = (stat >> RT2860_TXQ_PID_SHIFT) & 0xf;
sys/dev/rtwn/if_rtwn_rx.c
247
const struct rtwn_rx_stat_common *stat)
sys/dev/rtwn/if_rtwn_rx.c
253
rxdw3 = le32toh(stat->rxdw3);
sys/dev/rtwn/if_rtwn_rx.c
254
tsfl = le32toh(stat->tsf_low);
sys/dev/rtwn/if_rtwn_rx.c
298
struct rtwn_rx_stat_common *stat;
sys/dev/rtwn/if_rtwn_rx.c
304
stat = desc;
sys/dev/rtwn/if_rtwn_rx.c
305
rxdw0 = le32toh(stat->rxdw0);
sys/dev/rtwn/if_rtwn_rx.c
352
rxs.c_rx_tsf = rtwn_extend_rx_tsf(sc, stat);
sys/dev/rtwn/if_rtwn_rx.c
355
rxs.c_rx_tsf = le32toh(stat->tsf_low);
sys/dev/rtwn/rtl8188e/r88e_rx.c
59
struct r92c_rx_stat *stat = buf;
sys/dev/rtwn/rtl8188e/r88e_rx.c
60
int report_sel = MS(le32toh(stat->rxdw3), R88E_RXDW3_RPT);
sys/dev/rtwn/rtl8192c/r92c_rx.c
100
rate = MS(le32toh(stat->rxdw3), R92C_RXDW3_RATE);
sys/dev/rtwn/rtl8192c/r92c_rx.c
112
const struct r92c_rx_stat *stat = desc;
sys/dev/rtwn/rtl8192c/r92c_rx.c
116
rxdw1 = le32toh(stat->rxdw1);
sys/dev/rtwn/rtl8192c/r92c_rx.c
117
rxdw3 = le32toh(stat->rxdw3);
sys/dev/rtwn/rtl8192c/r92c_rx.c
94
const struct r92c_rx_stat *stat = buf;
sys/dev/rtwn/rtl8192c/r92c_rx.c
97
if (!(stat->rxdw3 & htole32(R92C_RXDW3_SPLCP)))
sys/dev/rtwn/rtl8812a/r12a_rx.c
181
struct r92c_rx_stat *stat;
sys/dev/rtwn/rtl8812a/r12a_rx.c
184
stat = mtod(m, struct r92c_rx_stat *);
sys/dev/rtwn/rtl8812a/r12a_rx.c
185
rxdw1 = le32toh(stat->rxdw1);
sys/dev/rtwn/rtl8812a/r12a_rx.c
219
const struct r92c_rx_stat *stat = buf;
sys/dev/rtwn/rtl8812a/r12a_rx.c
222
if (!(stat->rxdw4 & htole32(R12A_RXDW4_SPLCP)))
sys/dev/rtwn/rtl8812a/r12a_rx.c
224
rate = MS(le32toh(stat->rxdw3), R12A_RXDW3_RATE);
sys/dev/rtwn/rtl8812a/r12a_rx.c
236
const struct r92c_rx_stat *stat = desc;
sys/dev/rtwn/rtl8812a/r12a_rx.c
241
rxdw0 = le32toh(stat->rxdw0);
sys/dev/rtwn/rtl8812a/r12a_rx.c
242
rxdw1 = le32toh(stat->rxdw1);
sys/dev/rtwn/rtl8812a/r12a_rx.c
243
rxdw3 = le32toh(stat->rxdw3);
sys/dev/rtwn/rtl8812a/r12a_rx.c
244
rxdw4 = le32toh(stat->rxdw4);
sys/dev/rtwn/rtl8812a/usb/r12au_rx.c
62
struct r92c_rx_stat *stat = buf;
sys/dev/rtwn/rtl8812a/usb/r12au_rx.c
63
uint32_t rxdw2 = le32toh(stat->rxdw2);
sys/dev/rtwn/rtl8821a/r21a_rx.c
60
struct r12a_rx_phystat *stat = (struct r12a_rx_phystat *)physt;
sys/dev/rtwn/rtl8821a/r21a_rx.c
63
lna_idx = (stat->cfosho[0] & 0xe0) >> 5;
sys/dev/rtwn/rtl8821a/r21a_rx.c
64
rssi = -6 - 2*(stat->cfosho[0] & 0x1f); /* Pout - (2 * VGA_idx) */
sys/dev/rtwn/usb/rtwn_usb_rx.c
109
rtwn_rx_copy_to_mbuf(struct rtwn_softc *sc, struct rtwn_rx_stat_common *stat,
sys/dev/rtwn/usb/rtwn_usb_rx.c
120
__func__, le32toh(stat->rxdw0), le32toh(stat->rxdw1),
sys/dev/rtwn/usb/rtwn_usb_rx.c
121
le32toh(stat->rxdw2), le32toh(stat->rxdw3), le32toh(stat->rxdw4),
sys/dev/rtwn/usb/rtwn_usb_rx.c
122
le32toh(stat->tsf_low));
sys/dev/rtwn/usb/rtwn_usb_rx.c
124
if (rtwn_rx_check_pre_alloc(sc, stat) != 0)
sys/dev/rtwn/usb/rtwn_usb_rx.c
140
memcpy(mtod(m, uint8_t *), (uint8_t *)stat, totlen);
sys/dev/rtwn/usb/rtwn_usb_rx.c
160
struct rtwn_rx_stat_common *stat = &uc->uc_rx_stat;
sys/dev/rtwn/usb/rtwn_usb_rx.c
167
if (uc->uc_rx_stat_len < sizeof(*stat)) {
sys/dev/rtwn/usb/rtwn_usb_rx.c
168
min_len = min(sizeof(*stat) - uc->uc_rx_stat_len, len);
sys/dev/rtwn/usb/rtwn_usb_rx.c
169
memcpy((uint8_t *)stat + uc->uc_rx_stat_len, buf, min_len);
sys/dev/rtwn/usb/rtwn_usb_rx.c
175
if (uc->uc_rx_stat_len < sizeof(*stat))
sys/dev/rtwn/usb/rtwn_usb_rx.c
184
"tsfl %08X\n", __func__, le32toh(stat->rxdw0),
sys/dev/rtwn/usb/rtwn_usb_rx.c
185
le32toh(stat->rxdw1), le32toh(stat->rxdw2),
sys/dev/rtwn/usb/rtwn_usb_rx.c
186
le32toh(stat->rxdw3), le32toh(stat->rxdw4),
sys/dev/rtwn/usb/rtwn_usb_rx.c
187
le32toh(stat->tsf_low));
sys/dev/rtwn/usb/rtwn_usb_rx.c
190
rxdw0 = le32toh(stat->rxdw0);
sys/dev/rtwn/usb/rtwn_usb_rx.c
193
totlen = sizeof(*stat) + infosz + pktlen;
sys/dev/rtwn/usb/rtwn_usb_rx.c
195
if (rtwn_rx_check_pre_alloc(sc, stat) == 0) {
sys/dev/rtwn/usb/rtwn_usb_rx.c
199
(caddr_t)stat);
sys/dev/rtwn/usb/rtwn_usb_rx.c
211
uc->uc_rx_off = sizeof(*stat);
sys/dev/rtwn/usb/rtwn_usb_rx.c
246
struct rtwn_rx_stat_common *stat;
sys/dev/rtwn/usb/rtwn_usb_rx.c
258
while (len >= sizeof(*stat)) {
sys/dev/rtwn/usb/rtwn_usb_rx.c
259
stat = (struct rtwn_rx_stat_common *)buf;
sys/dev/rtwn/usb/rtwn_usb_rx.c
260
rxdw0 = le32toh(stat->rxdw0);
sys/dev/rtwn/usb/rtwn_usb_rx.c
269
totlen = sizeof(*stat) + infosz + pktlen;
sys/dev/rtwn/usb/rtwn_usb_rx.c
278
m0 = m = rtwn_rx_copy_to_mbuf(sc, stat, totlen);
sys/dev/rtwn/usb/rtwn_usb_rx.c
280
m->m_nextpkt = rtwn_rx_copy_to_mbuf(sc, stat, totlen);
sys/dev/rtwn/usb/rtwn_usb_rx.c
378
struct rtwn_rx_stat_common stat;
sys/dev/rtwn/usb/rtwn_usb_rx.c
381
m_copydata(m, 0, sizeof(stat), (caddr_t)&stat);
sys/dev/rtwn/usb/rtwn_usb_rx.c
382
m_adj(m, sizeof(stat));
sys/dev/rtwn/usb/rtwn_usb_rx.c
384
return (rtwn_rx_common(sc, m, &stat));
sys/dev/rtwn/usb/rtwn_usb_rx.c
69
struct rtwn_rx_stat_common *stat)
sys/dev/rtwn/usb/rtwn_usb_rx.c
83
rxdw0 = le32toh(stat->rxdw0);
sys/dev/safe/safe.c
527
volatile u_int32_t stat;
sys/dev/safe/safe.c
529
stat = READ_REG(sc, SAFE_HM_STAT);
sys/dev/safe/safe.c
530
if (stat == 0) /* shared irq, not for us */
sys/dev/safe/safe.c
533
WRITE_REG(sc, SAFE_HI_CLR, stat); /* IACK */
sys/dev/safe/safe.c
535
if ((stat & SAFE_INT_PE_DDONE)) {
sys/dev/safe/safe.c
573
if (stat & SAFE_INT_PE_ERROR) {
sys/dev/safexcel/safexcel.c
264
uint32_t status, stat;
sys/dev/safexcel/safexcel.c
276
stat = SAFEXCEL_READ(sc,
sys/dev/safexcel/safexcel.c
280
stat & SAFEXCEL_CDR_INTR_MASK);
sys/dev/safexcel/safexcel.c
285
stat = SAFEXCEL_READ(sc,
sys/dev/safexcel/safexcel.c
287
if ((stat & SAFEXCEL_xDR_ERR) == 0)
sys/dev/safexcel/safexcel.c
291
stat & SAFEXCEL_RDR_INTR_MASK);
sys/dev/sfxge/common/ef10_ev.c
755
__inout_ecount(EV_NQSTATS) efsys_stat_t *stat)
sys/dev/sfxge/common/ef10_ev.c
760
efsys_stat_t *essp = &stat[id];
sys/dev/sfxge/common/ef10_impl.h
123
__inout_ecount(EV_NQSTATS) efsys_stat_t *stat);
sys/dev/sfxge/common/ef10_impl.h
302
__inout_ecount(EFX_MAC_NSTATS) efsys_stat_t *stat,
sys/dev/sfxge/common/ef10_impl.h
660
__inout_ecount(EFX_PHY_NSTATS) uint32_t *stat);
sys/dev/sfxge/common/ef10_impl.h
836
__inout_ecount(TX_NQSTATS) efsys_stat_t *stat);
sys/dev/sfxge/common/ef10_mac.c
1002
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_CTPIO_UNQUALIFIED_FALLBACK]),
sys/dev/sfxge/common/ef10_mac.c
1006
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_CTPIO_RUNT_FALLBACK]), &value);
sys/dev/sfxge/common/ef10_mac.c
1010
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_CTPIO_SUCCESS]), &value);
sys/dev/sfxge/common/ef10_mac.c
1013
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_CTPIO_FALLBACK]), &value);
sys/dev/sfxge/common/ef10_mac.c
1016
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_CTPIO_POISON]), &value);
sys/dev/sfxge/common/ef10_mac.c
1019
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_CTPIO_ERASE]), &value);
sys/dev/sfxge/common/ef10_mac.c
1026
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RXDP_SCATTER_DISABLED_TRUNC]),
sys/dev/sfxge/common/ef10_mac.c
1031
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RXDP_HLB_IDLE]), &value);
sys/dev/sfxge/common/ef10_mac.c
1034
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RXDP_HLB_TIMEOUT]), &value);
sys/dev/sfxge/common/ef10_mac.c
606
__inout_ecount(EFX_MAC_NSTATS) efsys_stat_t *stat,
sys/dev/sfxge/common/ef10_mac.c
652
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
655
EFSYS_STAT_SUBR_QWORD(&(stat[EFX_MAC_TX_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
658
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_PAUSE_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
661
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_UNICST_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
664
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_MULTICST_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
667
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_BRDCST_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
670
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_OCTETS]), &value);
sys/dev/sfxge/common/ef10_mac.c
673
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_LE_64_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
675
EFSYS_STAT_INCR_QWORD(&(stat[EFX_MAC_TX_LE_64_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
678
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_65_TO_127_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
681
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_128_TO_255_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
684
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_256_TO_511_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
687
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_512_TO_1023_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
690
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_1024_TO_15XX_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
693
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_GE_15XX_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
695
EFSYS_STAT_INCR_QWORD(&(stat[EFX_MAC_TX_GE_15XX_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
698
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_ERRORS]), &value);
sys/dev/sfxge/common/ef10_mac.c
701
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_SGL_COL_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
705
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_MULT_COL_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
709
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_EX_COL_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
712
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_LATE_COL_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
715
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_DEF_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
719
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_EX_DEF_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
723
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_OCTETS]), &value);
sys/dev/sfxge/common/ef10_mac.c
726
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
729
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_UNICST_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
732
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_MULTICST_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
735
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_BRDCST_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
738
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_PAUSE_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
741
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_LE_64_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
743
EFSYS_STAT_INCR_QWORD(&(stat[EFX_MAC_RX_LE_64_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
746
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_65_TO_127_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
749
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_128_TO_255_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
752
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_256_TO_511_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
755
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_512_TO_1023_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
758
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_1024_TO_15XX_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
761
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_GE_15XX_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
763
EFSYS_STAT_INCR_QWORD(&(stat[EFX_MAC_RX_GE_15XX_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
766
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_FCS_ERRORS]), &value);
sys/dev/sfxge/common/ef10_mac.c
769
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_DROP_EVENTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
772
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_FALSE_CARRIER_ERRORS]), &value);
sys/dev/sfxge/common/ef10_mac.c
775
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_SYMBOL_ERRORS]), &value);
sys/dev/sfxge/common/ef10_mac.c
778
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_ALIGN_ERRORS]), &value);
sys/dev/sfxge/common/ef10_mac.c
781
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_INTERNAL_ERRORS]), &value);
sys/dev/sfxge/common/ef10_mac.c
784
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_JABBER_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
787
EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE0_CHAR_ERR]),
sys/dev/sfxge/common/ef10_mac.c
789
EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE1_CHAR_ERR]),
sys/dev/sfxge/common/ef10_mac.c
793
EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE2_CHAR_ERR]),
sys/dev/sfxge/common/ef10_mac.c
795
EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE3_CHAR_ERR]),
sys/dev/sfxge/common/ef10_mac.c
799
EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE0_DISP_ERR]),
sys/dev/sfxge/common/ef10_mac.c
801
EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE1_DISP_ERR]),
sys/dev/sfxge/common/ef10_mac.c
805
EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE2_DISP_ERR]),
sys/dev/sfxge/common/ef10_mac.c
807
EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE3_DISP_ERR]),
sys/dev/sfxge/common/ef10_mac.c
811
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_MATCH_FAULT]), &value);
sys/dev/sfxge/common/ef10_mac.c
814
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_NODESC_DROP_CNT]), &value);
sys/dev/sfxge/common/ef10_mac.c
818
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_PM_TRUNC_BB_OVERFLOW]), &value);
sys/dev/sfxge/common/ef10_mac.c
821
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_PM_DISCARD_BB_OVERFLOW]), &value);
sys/dev/sfxge/common/ef10_mac.c
824
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_PM_TRUNC_VFIFO_FULL]), &value);
sys/dev/sfxge/common/ef10_mac.c
827
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_PM_DISCARD_VFIFO_FULL]), &value);
sys/dev/sfxge/common/ef10_mac.c
830
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_PM_TRUNC_QBB]), &value);
sys/dev/sfxge/common/ef10_mac.c
833
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_PM_DISCARD_QBB]), &value);
sys/dev/sfxge/common/ef10_mac.c
836
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_PM_DISCARD_MAPPING]), &value);
sys/dev/sfxge/common/ef10_mac.c
840
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RXDP_Q_DISABLED_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
843
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RXDP_DI_DROPPED_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
846
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RXDP_STREAMING_PKTS]), &value);
sys/dev/sfxge/common/ef10_mac.c
849
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RXDP_HLB_FETCH]), &value);
sys/dev/sfxge/common/ef10_mac.c
852
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RXDP_HLB_WAIT]), &value);
sys/dev/sfxge/common/ef10_mac.c
857
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_VADAPTER_RX_UNICAST_PACKETS]),
sys/dev/sfxge/common/ef10_mac.c
862
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_VADAPTER_RX_UNICAST_BYTES]),
sys/dev/sfxge/common/ef10_mac.c
867
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_VADAPTER_RX_MULTICAST_PACKETS]),
sys/dev/sfxge/common/ef10_mac.c
872
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_VADAPTER_RX_MULTICAST_BYTES]),
sys/dev/sfxge/common/ef10_mac.c
877
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_VADAPTER_RX_BROADCAST_PACKETS]),
sys/dev/sfxge/common/ef10_mac.c
882
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_VADAPTER_RX_BROADCAST_BYTES]),
sys/dev/sfxge/common/ef10_mac.c
887
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_VADAPTER_RX_BAD_PACKETS]),
sys/dev/sfxge/common/ef10_mac.c
891
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_VADAPTER_RX_BAD_BYTES]), &value);
sys/dev/sfxge/common/ef10_mac.c
894
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_VADAPTER_RX_OVERFLOW]), &value);
sys/dev/sfxge/common/ef10_mac.c
899
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_VADAPTER_TX_UNICAST_PACKETS]),
sys/dev/sfxge/common/ef10_mac.c
904
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_VADAPTER_TX_UNICAST_BYTES]),
sys/dev/sfxge/common/ef10_mac.c
909
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_VADAPTER_TX_MULTICAST_PACKETS]),
sys/dev/sfxge/common/ef10_mac.c
914
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_VADAPTER_TX_MULTICAST_BYTES]),
sys/dev/sfxge/common/ef10_mac.c
919
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_VADAPTER_TX_BROADCAST_PACKETS]),
sys/dev/sfxge/common/ef10_mac.c
924
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_VADAPTER_TX_BROADCAST_BYTES]),
sys/dev/sfxge/common/ef10_mac.c
928
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_VADAPTER_TX_BAD_PACKETS]), &value);
sys/dev/sfxge/common/ef10_mac.c
931
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_VADAPTER_TX_BAD_BYTES]), &value);
sys/dev/sfxge/common/ef10_mac.c
934
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_VADAPTER_TX_OVERFLOW]), &value);
sys/dev/sfxge/common/ef10_mac.c
941
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_FEC_UNCORRECTED_ERRORS]), &value);
sys/dev/sfxge/common/ef10_mac.c
944
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_FEC_CORRECTED_ERRORS]), &value);
sys/dev/sfxge/common/ef10_mac.c
948
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_FEC_CORRECTED_SYMBOLS_LANE0]),
sys/dev/sfxge/common/ef10_mac.c
953
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_FEC_CORRECTED_SYMBOLS_LANE1]),
sys/dev/sfxge/common/ef10_mac.c
958
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_FEC_CORRECTED_SYMBOLS_LANE2]),
sys/dev/sfxge/common/ef10_mac.c
963
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_FEC_CORRECTED_SYMBOLS_LANE3]),
sys/dev/sfxge/common/ef10_mac.c
971
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_CTPIO_VI_BUSY_FALLBACK]), &value);
sys/dev/sfxge/common/ef10_mac.c
974
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_CTPIO_LONG_WRITE_SUCCESS]), &value);
sys/dev/sfxge/common/ef10_mac.c
977
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_CTPIO_MISSING_DBELL_FAIL]), &value);
sys/dev/sfxge/common/ef10_mac.c
980
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_CTPIO_OVERFLOW_FAIL]), &value);
sys/dev/sfxge/common/ef10_mac.c
983
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_CTPIO_UNDERFLOW_FAIL]), &value);
sys/dev/sfxge/common/ef10_mac.c
986
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_CTPIO_TIMEOUT_FAIL]), &value);
sys/dev/sfxge/common/ef10_mac.c
989
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_CTPIO_NONCONTIG_WR_FAIL]), &value);
sys/dev/sfxge/common/ef10_mac.c
992
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_CTPIO_FRM_CLOBBER_FAIL]), &value);
sys/dev/sfxge/common/ef10_mac.c
995
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_CTPIO_INVALID_WR_FAIL]), &value);
sys/dev/sfxge/common/ef10_mac.c
998
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_CTPIO_VI_CLOBBER_FALLBACK]),
sys/dev/sfxge/common/ef10_phy.c
604
__inout_ecount(EFX_PHY_NSTATS) uint32_t *stat)
sys/dev/sfxge/common/ef10_phy.c
608
memset(stat, 0, EFX_PHY_NSTATS * sizeof (*stat));
sys/dev/sfxge/common/ef10_tx.c
778
__inout_ecount(TX_NQSTATS) efsys_stat_t *stat)
sys/dev/sfxge/common/ef10_tx.c
783
efsys_stat_t *essp = &stat[id];
sys/dev/sfxge/common/efx.h
1158
__in efx_phy_stat_t stat);
sys/dev/sfxge/common/efx.h
1168
__inout_ecount(EFX_PHY_NSTATS) uint32_t *stat);
sys/dev/sfxge/common/efx.h
2261
__inout_ecount(EV_NQSTATS) efsys_stat_t *stat);
sys/dev/sfxge/common/efx.h
2793
__inout_ecount(TX_NQSTATS) efsys_stat_t *stat);
sys/dev/sfxge/common/efx.h
673
__inout_ecount(EFX_MAC_NSTATS) efsys_stat_t *stat,
sys/dev/sfxge/common/efx.h
855
__in efx_mon_stat_t stat,
sys/dev/sfxge/common/efx.h
860
__in efx_mon_stat_t stat,
sys/dev/sfxge/common/efx_ev.c
1448
__inout_ecount(EV_NQSTATS) efsys_stat_t *stat)
sys/dev/sfxge/common/efx_ev.c
1453
efsys_stat_t *essp = &stat[id];
sys/dev/sfxge/common/efx_ev.c
607
__inout_ecount(EV_NQSTATS) efsys_stat_t *stat)
sys/dev/sfxge/common/efx_ev.c
614
eevop->eevo_qstats_update(eep, stat);
sys/dev/sfxge/common/efx_ev.c
98
__inout_ecount(EV_NQSTATS) efsys_stat_t *stat);
sys/dev/sfxge/common/efx_mon.c
228
efx_mon_stat_t stat;
sys/dev/sfxge/common/efx_mon.c
606
__in efx_mon_stat_t stat,
sys/dev/sfxge/common/efx_mon.c
609
switch (stat) {
sys/dev/sfxge/common/efx_mon.c
722
__in efx_mon_stat_t stat,
sys/dev/sfxge/common/efx_mon.c
726
switch (stat) {
sys/dev/sfxge/common/efx_phy.c
471
__inout_ecount(EFX_PHY_NSTATS) uint32_t *stat)
sys/dev/sfxge/common/efx_phy.c
479
return (epop->epo_stats_update(enp, esmp, stat));
sys/dev/sfxge/common/efx_tx.c
1111
__inout_ecount(TX_NQSTATS) efsys_stat_t *stat)
sys/dev/sfxge/common/efx_tx.c
1116
efsys_stat_t *essp = &stat[id];
sys/dev/sfxge/common/efx_tx.c
121
__inout_ecount(TX_NQSTATS) efsys_stat_t *stat);
sys/dev/sfxge/common/efx_tx.c
694
__inout_ecount(TX_NQSTATS) efsys_stat_t *stat)
sys/dev/sfxge/common/efx_tx.c
701
etxop->etxo_qstats_update(etp, stat);
sys/dev/sfxge/common/mcdi_mon.c
132
if (stat != NULL && esmp != NULL && !EFSYS_MEM_IS_NULL(esmp)) {
sys/dev/sfxge/common/mcdi_mon.c
139
stat[id].emsv_value = (uint16_t)EFX_DWORD_FIELD(dword,
sys/dev/sfxge/common/mcdi_mon.c
142
stat[id].emsv_state = (uint16_t)EFX_DWORD_FIELD(dword,
sys/dev/sfxge/common/mcdi_mon.c
145
stat[id].emsv_unit =
sys/dev/sfxge/common/mcdi_mon.c
509
efx_mon_stat_t stat;
sys/dev/sfxge/common/mcdi_mon.c
54
__inout_ecount_opt(EFX_MON_NSTATS) efx_mon_stat_value_t *stat)
sys/dev/sfxge/common/mcdi_mon.c
541
if (!efx_mon_mcdi_to_efx_stat(mcdi_index, &stat))
sys/dev/sfxge/common/mcdi_mon.c
544
values[stat] = limits[limit_index];
sys/dev/sfxge/common/siena_impl.h
367
__inout_ecount_opt(EFX_PHY_NSTATS) uint32_t *stat);
sys/dev/sfxge/common/siena_impl.h
373
__inout_ecount(EFX_PHY_NSTATS) uint32_t *stat);
sys/dev/sfxge/common/siena_impl.h
443
__inout_ecount(EFX_MAC_NSTATS) efsys_stat_t *stat,
sys/dev/sfxge/common/siena_mac.c
271
__inout_ecount(EFX_MAC_NSTATS) efsys_stat_t *stat,
sys/dev/sfxge/common/siena_mac.c
300
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
302
EFSYS_STAT_SUBR_QWORD(&(stat[EFX_MAC_TX_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
305
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_PAUSE_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
308
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_UNICST_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
311
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_MULTICST_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
314
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_BRDCST_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
317
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_OCTETS]), &value);
sys/dev/sfxge/common/siena_mac.c
320
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_LE_64_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
322
EFSYS_STAT_INCR_QWORD(&(stat[EFX_MAC_TX_LE_64_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
325
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_65_TO_127_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
328
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_128_TO_255_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
331
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_256_TO_511_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
334
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_512_TO_1023_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
337
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_1024_TO_15XX_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
340
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_GE_15XX_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
342
EFSYS_STAT_INCR_QWORD(&(stat[EFX_MAC_TX_GE_15XX_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
345
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_ERRORS]), &value);
sys/dev/sfxge/common/siena_mac.c
348
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_SGL_COL_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
352
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_MULT_COL_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
356
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_EX_COL_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
359
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_LATE_COL_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
362
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_DEF_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
366
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_EX_DEF_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
370
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_OCTETS]), &value);
sys/dev/sfxge/common/siena_mac.c
373
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
376
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_UNICST_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
379
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_MULTICST_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
382
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_BRDCST_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
385
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_PAUSE_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
388
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_LE_64_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
390
EFSYS_STAT_INCR_QWORD(&(stat[EFX_MAC_RX_LE_64_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
393
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_65_TO_127_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
396
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_128_TO_255_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
399
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_256_TO_511_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
402
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_512_TO_1023_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
405
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_1024_TO_15XX_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
408
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_GE_15XX_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
410
EFSYS_STAT_INCR_QWORD(&(stat[EFX_MAC_RX_GE_15XX_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
413
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_FCS_ERRORS]), &value);
sys/dev/sfxge/common/siena_mac.c
416
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_DROP_EVENTS]), &value);
sys/dev/sfxge/common/siena_mac.c
419
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_FALSE_CARRIER_ERRORS]), &value);
sys/dev/sfxge/common/siena_mac.c
422
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_SYMBOL_ERRORS]), &value);
sys/dev/sfxge/common/siena_mac.c
425
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_ALIGN_ERRORS]), &value);
sys/dev/sfxge/common/siena_mac.c
428
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_INTERNAL_ERRORS]), &value);
sys/dev/sfxge/common/siena_mac.c
431
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_JABBER_PKTS]), &value);
sys/dev/sfxge/common/siena_mac.c
434
EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE0_CHAR_ERR]),
sys/dev/sfxge/common/siena_mac.c
436
EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE1_CHAR_ERR]),
sys/dev/sfxge/common/siena_mac.c
440
EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE2_CHAR_ERR]),
sys/dev/sfxge/common/siena_mac.c
442
EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE3_CHAR_ERR]),
sys/dev/sfxge/common/siena_mac.c
446
EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE0_DISP_ERR]),
sys/dev/sfxge/common/siena_mac.c
448
EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE1_DISP_ERR]),
sys/dev/sfxge/common/siena_mac.c
452
EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE2_DISP_ERR]),
sys/dev/sfxge/common/siena_mac.c
454
EFSYS_STAT_SET_DWORD(&(stat[EFX_MAC_RX_LANE3_DISP_ERR]),
sys/dev/sfxge/common/siena_mac.c
458
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_MATCH_FAULT]), &value);
sys/dev/sfxge/common/siena_mac.c
461
EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RX_NODESC_DROP_CNT]), &value);
sys/dev/sfxge/common/siena_phy.c
466
__inout_ecount_opt(EFX_PHY_NSTATS) uint32_t *stat)
sys/dev/sfxge/common/siena_phy.c
472
SIENA_SIMPLE_STAT_SET2(vmask, esmp, smask, stat, OUI);
sys/dev/sfxge/common/siena_phy.c
473
SIENA_SIMPLE_STAT_SET2(vmask, esmp, smask, stat, PMA_PMD_LINK_UP);
sys/dev/sfxge/common/siena_phy.c
474
SIENA_SIMPLE_STAT_SET2(vmask, esmp, smask, stat, PMA_PMD_RX_FAULT);
sys/dev/sfxge/common/siena_phy.c
475
SIENA_SIMPLE_STAT_SET2(vmask, esmp, smask, stat, PMA_PMD_TX_FAULT);
sys/dev/sfxge/common/siena_phy.c
482
if (stat != NULL && esmp != NULL && !EFSYS_MEM_IS_NULL(esmp)) {
sys/dev/sfxge/common/siena_phy.c
488
stat[EFX_PHY_STAT_PMA_PMD_SIGNAL_A] = (sig >> 1) & 1;
sys/dev/sfxge/common/siena_phy.c
489
stat[EFX_PHY_STAT_PMA_PMD_SIGNAL_B] = (sig >> 2) & 1;
sys/dev/sfxge/common/siena_phy.c
490
stat[EFX_PHY_STAT_PMA_PMD_SIGNAL_C] = (sig >> 3) & 1;
sys/dev/sfxge/common/siena_phy.c
491
stat[EFX_PHY_STAT_PMA_PMD_SIGNAL_D] = (sig >> 4) & 1;
sys/dev/sfxge/common/siena_phy.c
495
SIENA_SIMPLE_STAT_SET(vmask, esmp, smask, stat, MC_CMD_PMA_PMD_SNR_A,
sys/dev/sfxge/common/siena_phy.c
497
SIENA_SIMPLE_STAT_SET(vmask, esmp, smask, stat, MC_CMD_PMA_PMD_SNR_B,
sys/dev/sfxge/common/siena_phy.c
499
SIENA_SIMPLE_STAT_SET(vmask, esmp, smask, stat, MC_CMD_PMA_PMD_SNR_C,
sys/dev/sfxge/common/siena_phy.c
501
SIENA_SIMPLE_STAT_SET(vmask, esmp, smask, stat, MC_CMD_PMA_PMD_SNR_D,
sys/dev/sfxge/common/siena_phy.c
504
SIENA_SIMPLE_STAT_SET2(vmask, esmp, smask, stat, PCS_LINK_UP);
sys/dev/sfxge/common/siena_phy.c
505
SIENA_SIMPLE_STAT_SET2(vmask, esmp, smask, stat, PCS_RX_FAULT);
sys/dev/sfxge/common/siena_phy.c
506
SIENA_SIMPLE_STAT_SET2(vmask, esmp, smask, stat, PCS_TX_FAULT);
sys/dev/sfxge/common/siena_phy.c
507
SIENA_SIMPLE_STAT_SET2(vmask, esmp, smask, stat, PCS_BER);
sys/dev/sfxge/common/siena_phy.c
508
SIENA_SIMPLE_STAT_SET2(vmask, esmp, smask, stat, PCS_BLOCK_ERRORS);
sys/dev/sfxge/common/siena_phy.c
510
SIENA_SIMPLE_STAT_SET(vmask, esmp, smask, stat, MC_CMD_PHYXS_LINK_UP,
sys/dev/sfxge/common/siena_phy.c
512
SIENA_SIMPLE_STAT_SET(vmask, esmp, smask, stat, MC_CMD_PHYXS_RX_FAULT,
sys/dev/sfxge/common/siena_phy.c
514
SIENA_SIMPLE_STAT_SET(vmask, esmp, smask, stat, MC_CMD_PHYXS_TX_FAULT,
sys/dev/sfxge/common/siena_phy.c
516
SIENA_SIMPLE_STAT_SET(vmask, esmp, smask, stat, MC_CMD_PHYXS_ALIGN,
sys/dev/sfxge/common/siena_phy.c
524
if (stat != NULL && !EFSYS_MEM_IS_NULL(esmp)) {
sys/dev/sfxge/common/siena_phy.c
529
stat[EFX_PHY_STAT_PHY_XS_SYNC_A] = (sync >> 0) & 1;
sys/dev/sfxge/common/siena_phy.c
530
stat[EFX_PHY_STAT_PHY_XS_SYNC_B] = (sync >> 1) & 1;
sys/dev/sfxge/common/siena_phy.c
531
stat[EFX_PHY_STAT_PHY_XS_SYNC_C] = (sync >> 2) & 1;
sys/dev/sfxge/common/siena_phy.c
532
stat[EFX_PHY_STAT_PHY_XS_SYNC_D] = (sync >> 3) & 1;
sys/dev/sfxge/common/siena_phy.c
536
SIENA_SIMPLE_STAT_SET2(vmask, esmp, smask, stat, AN_LINK_UP);
sys/dev/sfxge/common/siena_phy.c
537
SIENA_SIMPLE_STAT_SET2(vmask, esmp, smask, stat, AN_COMPLETE);
sys/dev/sfxge/common/siena_phy.c
539
SIENA_SIMPLE_STAT_SET(vmask, esmp, smask, stat, MC_CMD_CL22_LINK_UP,
sys/dev/sfxge/common/siena_phy.c
550
__inout_ecount(EFX_PHY_NSTATS) uint32_t *stat)
sys/dev/sfxge/common/siena_phy.c
584
siena_phy_decode_stats(enp, vmask, esmp, &smask, stat);
sys/dev/sk/if_sk.c
2608
sk_rxvalid(struct sk_softc *sc, u_int32_t stat, u_int32_t len)
sys/dev/sk/if_sk.c
2612
if ((stat & XM_RXSTAT_ERRFRAME) == XM_RXSTAT_ERRFRAME ||
sys/dev/sk/if_sk.c
2613
XM_RXSTAT_BYTES(stat) != len)
sys/dev/sk/if_sk.c
2616
if ((stat & (YU_RXSTAT_CRCERR | YU_RXSTAT_LONGERR |
sys/dev/sk/if_sk.c
2619
(stat & YU_RXSTAT_RXOK) != YU_RXSTAT_RXOK ||
sys/dev/sk/if_sk.c
2620
YU_RXSTAT_BYTES(stat) != len)
sys/dev/sound/pci/emu10k1.c
1217
uint32_t stat, ack, i, x;
sys/dev/sound/pci/emu10k1.c
1221
stat = emu_rd(sc, EMU_IPR, 4);
sys/dev/sound/pci/emu10k1.c
1222
if (stat == 0)
sys/dev/sound/pci/emu10k1.c
1227
if (stat & EMU_IPR_INTERVALTIMER)
sys/dev/sound/pci/emu10k1.c
1230
if (stat & (EMU_IPR_ADCBUFFULL | EMU_IPR_ADCBUFHALFFULL))
sys/dev/sound/pci/emu10k1.c
1231
ack |= stat & (EMU_IPR_ADCBUFFULL | EMU_IPR_ADCBUFHALFFULL);
sys/dev/sound/pci/emu10k1.c
1233
if (stat & (EMU_IPR_EFXBUFFULL | EMU_IPR_EFXBUFHALFFULL))
sys/dev/sound/pci/emu10k1.c
1234
ack |= stat & (EMU_IPR_EFXBUFFULL | EMU_IPR_EFXBUFHALFFULL);
sys/dev/sound/pci/emu10k1.c
1236
if (stat & (EMU_IPR_MICBUFFULL | EMU_IPR_MICBUFHALFFULL))
sys/dev/sound/pci/emu10k1.c
1237
ack |= stat & (EMU_IPR_MICBUFFULL | EMU_IPR_MICBUFHALFFULL);
sys/dev/sound/pci/emu10k1.c
1239
if (stat & EMU_PCIERROR) {
sys/dev/sound/pci/emu10k1.c
1244
if (stat & EMU_IPR_RATETRCHANGE) {
sys/dev/sound/pci/emu10k1.c
1252
if (stat & EMU_IPR_MIDIRECVBUFE) {
sys/dev/sound/pci/emu10k1.c
1258
if (stat & ~ack)
sys/dev/sound/pci/emu10k1.c
1260
stat & ~ack);
sys/dev/sound/pci/emu10k1.c
1262
emu_wr(sc, EMU_IPR, stat, 4);
sys/dev/sound/pci/emu10kx-pcm.c
1229
emu_pcm_intr(void *pcm, uint32_t stat)
sys/dev/sound/pci/emu10kx-pcm.c
1239
if (stat & EMU_IPR_INTERVALTIMER) {
sys/dev/sound/pci/emu10kx-pcm.c
1262
if (stat & (EMU_IPR_ADCBUFFULL | EMU_IPR_ADCBUFHALFFULL)) {
sys/dev/sound/pci/emu10kx-pcm.c
1263
ack |= stat & (EMU_IPR_ADCBUFFULL | EMU_IPR_ADCBUFHALFFULL);
sys/dev/sound/pci/emu10kx-pcm.c
1271
if (stat & (EMU_IPR_EFXBUFFULL | EMU_IPR_EFXBUFHALFFULL)) {
sys/dev/sound/pci/emu10kx-pcm.c
1272
ack |= stat & (EMU_IPR_EFXBUFFULL | EMU_IPR_EFXBUFHALFFULL);
sys/dev/sound/pci/emu10kx-pcm.c
166
static uint32_t emu_pcm_intr(void *pcm, uint32_t stat);
sys/dev/sound/pci/emu10kx.c
1001
stat = emu_rd(sc, EMU_IPR2, 4);
sys/dev/sound/pci/emu10kx.c
1003
if (stat == 0)
sys/dev/sound/pci/emu10kx.c
1005
emu_wr(sc, EMU_IPR2, stat, 4);
sys/dev/sound/pci/emu10kx.c
1007
device_printf(sc->dev, "EMU_IPR2: %08x\n", stat);
sys/dev/sound/pci/emu10kx.c
1015
stat = emu_rd(sc, EMU_IPR3, 4);
sys/dev/sound/pci/emu10kx.c
1017
if (stat == 0)
sys/dev/sound/pci/emu10kx.c
1019
emu_wr(sc, EMU_IPR3, stat, 4);
sys/dev/sound/pci/emu10kx.c
1021
device_printf(sc->dev, "EMU_IPR3: %08x\n", stat);
sys/dev/sound/pci/emu10kx.c
978
uint32_t stat, ack;
sys/dev/sound/pci/emu10kx.c
982
stat = emu_rd(sc, EMU_IPR, 4);
sys/dev/sound/pci/emu10kx.c
984
if (stat == 0)
sys/dev/sound/pci/emu10kx.c
986
emu_wr(sc, EMU_IPR, stat, 4);
sys/dev/sound/pci/emu10kx.c
988
if ((((sc->ihandler[i].intr_mask) & stat) != 0) &&
sys/dev/sound/pci/emu10kx.c
991
(sc->ihandler[i].intr_mask) & stat);
sys/dev/sound/pci/emu10kx.c
995
if (stat & (~ack))
sys/dev/sound/pci/emu10kx.c
996
device_printf(sc->dev, "Unhandled interrupt: %08x\n", stat & (~ack));
sys/dev/sound/pci/envy24.c
1263
uint32_t mask, stat, intr, rtn;
sys/dev/sound/pci/envy24.c
1272
stat = ENVY24_MT_INT_PSTAT | ENVY24_MT_INT_PMASK;
sys/dev/sound/pci/envy24.c
1273
envy24_wrmt(sc, ENVY24_MT_INT, (intr & mask) | stat, 1);
sys/dev/sound/pci/envy24.c
1279
stat = ENVY24_MT_INT_RSTAT | ENVY24_MT_INT_RMASK;
sys/dev/sound/pci/envy24.c
1280
envy24_wrmt(sc, ENVY24_MT_INT, (intr & mask) | stat, 1);
sys/dev/sound/pci/envy24.c
1290
uint32_t stat, sw;
sys/dev/sound/pci/envy24.c
1300
stat = envy24_rdmt(sc, ENVY24_MT_PCTL, 1);
sys/dev/sound/pci/envy24.c
1301
envy24_wrmt(sc, ENVY24_MT_PCTL, stat | sw, 1);
sys/dev/sound/pci/envy24.c
1314
uint32_t stat, sw;
sys/dev/sound/pci/envy24.c
1324
stat = envy24_rdmt(sc, ENVY24_MT_PCTL, 1);
sys/dev/sound/pci/envy24.c
1325
envy24_wrmt(sc, ENVY24_MT_PCTL, stat & sw, 1);
sys/dev/sound/pci/envy24ht.c
1217
uint32_t mask, stat, intr, rtn;
sys/dev/sound/pci/envy24ht.c
1228
stat = envy24ht_rdmt(sc, ENVY24HT_MT_INT_MASK, 1);
sys/dev/sound/pci/envy24ht.c
1229
envy24ht_wrmt(sc, ENVY24HT_MT_INT_MASK, stat | ENVY24HT_MT_INT_PMASK, 1);
sys/dev/sound/pci/envy24ht.c
1236
stat = ENVY24HT_MT_INT_RSTAT | ENVY24HT_MT_INT_RMASK;
sys/dev/sound/pci/envy24ht.c
1239
stat = envy24ht_rdmt(sc, ENVY24HT_MT_INT_MASK, 1);
sys/dev/sound/pci/envy24ht.c
1240
envy24ht_wrmt(sc, ENVY24HT_MT_INT_MASK, stat | ENVY24HT_MT_INT_RMASK, 1);
sys/dev/sound/pci/envy24ht.c
1250
uint32_t stat, sw;
sys/dev/sound/pci/envy24ht.c
1260
stat = envy24ht_rdmt(sc, ENVY24HT_MT_PCTL, 1);
sys/dev/sound/pci/envy24ht.c
1261
envy24ht_wrmt(sc, ENVY24HT_MT_PCTL, stat | sw, 1);
sys/dev/sound/pci/envy24ht.c
1274
uint32_t stat, sw;
sys/dev/sound/pci/envy24ht.c
1284
stat = envy24ht_rdmt(sc, ENVY24HT_MT_PCTL, 1);
sys/dev/sound/pci/envy24ht.c
1285
envy24ht_wrmt(sc, ENVY24HT_MT_PCTL, stat & sw, 1);
sys/dev/sound/pci/ich.c
829
uint32_t stat;
sys/dev/sound/pci/ich.c
833
stat = ich_rd(sc, ICH_REG_GLOB_STA, 4);
sys/dev/sound/pci/ich.c
835
if ((stat & ICH_GLOB_STA_PCR) == 0) {
sys/dev/sound/pci/via8233.c
1010
int i, reg, stat;
sys/dev/sound/pci/via8233.c
1022
stat = via_rd(via, reg, 1);
sys/dev/sound/pci/via8233.c
1023
if (stat & SGD_STATUS_INTR) {
sys/dev/sound/pci/via8233.c
1024
if (via->dma_eol_wake && ((stat & SGD_STATUS_EOL) ||
sys/dev/sound/pci/via8233.c
1025
!(stat & SGD_STATUS_ACTIVE)))
sys/dev/sound/pci/via8233.c
1029
via_wr(via, reg, stat, 1);
sys/dev/sound/pci/via8233.c
1038
stat = via_rd(via, reg, 1);
sys/dev/sound/pci/via8233.c
1039
if (stat & SGD_STATUS_INTR) {
sys/dev/sound/pci/via8233.c
1040
if (via->dma_eol_wake && ((stat & SGD_STATUS_EOL) ||
sys/dev/sound/pci/via8233.c
1041
!(stat & SGD_STATUS_ACTIVE)))
sys/dev/sound/pci/via8233.c
1045
via_wr(via, reg, stat, 1);
sys/dev/uart/uart_dev_mvebu.c
112
volatile uint32_t *stat;
sys/dev/uart/uart_dev_mvebu.c
115
stat = (uint32_t *)(socdev_va + UART_REG_OFFSET + UART_STAT);
sys/dev/uart/uart_dev_mvebu.c
117
while(!(*stat & STAT_TX_RDY))
sys/dev/uart/uart_dev_ns8250.c
100
while ((inb(stat) & LSR_THRE) == 0 && --limit > 0)
sys/dev/uart/uart_dev_ns8250.c
128
volatile T *stat;
sys/dev/uart/uart_dev_ns8250.c
131
stat = (T *)(socdev_va + (REG_LSR << UART_NS8250_EARLY_REG_SHIFT));
sys/dev/uart/uart_dev_ns8250.c
134
while ((*stat & LSR_THRE) == 0)
sys/dev/uart/uart_dev_ns8250.c
96
u_int stat = UART_NS8250_EARLY_PORT + REG_LSR;
sys/dev/uart/uart_dev_snps.c
70
volatile uint32_t *stat;
sys/dev/uart/uart_dev_snps.c
74
stat = (uint32_t *) (socdev_va + 0x1C2807C);
sys/dev/uart/uart_dev_snps.c
78
stat = (uint32_t *) (socdev_va + 0x2807C);
sys/dev/uart/uart_dev_snps.c
82
while ((*stat & (1 << 2)) == 0)
sys/dev/usb/controller/ehci.c
3108
USETW(sc->sc_hub_desc.stat.wStatus, UDS_SELF_POWERED);
sys/dev/usb/controller/ehci.c
3113
USETW(sc->sc_hub_desc.stat.wStatus, 0);
sys/dev/usb/controller/ehci.h
309
struct usb_status stat;
sys/dev/usb/controller/musb_otg.c
2224
uint16_t rxstat, uint16_t txstat, uint8_t stat)
sys/dev/usb/controller/musb_otg.c
2244
usb_status |= stat;
sys/dev/usb/controller/musb_otg.c
2249
stat = 0;
sys/dev/usb/controller/musb_otg.h
439
uint16_t rxstat, uint16_t txstat, uint8_t stat);
sys/dev/usb/controller/ohci.c
2147
USETW(sc->sc_hub_desc.stat.wStatus, UDS_SELF_POWERED);
sys/dev/usb/controller/ohci.c
2152
USETW(sc->sc_hub_desc.stat.wStatus, 0);
sys/dev/usb/controller/ohci.h
218
struct usb_status stat;
sys/dev/usb/controller/uhci.c
2515
USETW(sc->sc_hub_desc.stat.wStatus, UDS_SELF_POWERED);
sys/dev/usb/controller/uhci.c
2520
USETW(sc->sc_hub_desc.stat.wStatus, 0);
sys/dev/usb/controller/uhci.h
178
struct usb_status stat;
sys/dev/usb/controller/xhci.c
3465
USETW(sc->sc_hub_desc.stat.wStatus, UDS_SELF_POWERED);
sys/dev/usb/controller/xhci.c
3470
USETW(sc->sc_hub_desc.stat.wStatus, 0);
sys/dev/usb/controller/xhci.h
481
struct usb_status stat;
sys/dev/usb/net/if_aue.c
784
struct aue_rxpkt stat;
sys/dev/usb/net/if_aue.c
801
if (actlen <= (int)(sizeof(stat) + ETHER_CRC_LEN)) {
sys/dev/usb/net/if_aue.c
805
usbd_copy_out(pc, actlen - sizeof(stat), &stat,
sys/dev/usb/net/if_aue.c
806
sizeof(stat));
sys/dev/usb/net/if_aue.c
812
stat.aue_rxstat &= AUE_RXSTAT_MASK;
sys/dev/usb/net/if_aue.c
813
if (stat.aue_rxstat) {
sys/dev/usb/net/if_aue.c
818
actlen -= (sizeof(stat) + ETHER_CRC_LEN);
sys/dev/usb/net/if_udav.c
662
struct udav_rxpkt stat;
sys/dev/usb/net/if_udav.c
671
if (actlen < (int)(sizeof(stat) + ETHER_CRC_LEN)) {
sys/dev/usb/net/if_udav.c
676
usbd_copy_out(pc, 0, &stat, sizeof(stat));
sys/dev/usb/net/if_udav.c
677
actlen -= sizeof(stat);
sys/dev/usb/net/if_udav.c
678
len = min(actlen, le16toh(stat.pktlen));
sys/dev/usb/net/if_udav.c
681
if (stat.rxstat & UDAV_RSR_LCS) {
sys/dev/usb/net/if_udav.c
685
if (stat.rxstat & UDAV_RSR_ERR) {
sys/dev/usb/net/if_udav.c
689
uether_rxbuf(ue, pc, sizeof(stat), len);
sys/dev/usb/usb_generic.c
2228
struct usb_device_stats *stat;
sys/dev/usb/usb_generic.c
2362
u.stat->uds_requests_fail[n] =
sys/dev/usb/usb_generic.c
2364
u.stat->uds_requests_ok[n] =
sys/dev/usb/wlan/if_mtw.c
2146
uint32_t stat;
sys/dev/usb/wlan/if_mtw.c
2155
mtw_read(sc, MTW_TX_STAT_FIFO, &stat);
sys/dev/usb/wlan/if_mtw.c
2156
MTW_DPRINTF(sc, MTW_DEBUG_XMIT, "tx stat 0x%08x\n", stat);
sys/dev/usb/wlan/if_mtw.c
2157
if (!(stat & MTW_TXQ_VLD))
sys/dev/usb/wlan/if_mtw.c
2160
wcid = (stat >> MTW_TXQ_WCID_SHIFT) & 0xff;
sys/dev/usb/wlan/if_mtw.c
2163
if (!(stat & MTW_TXQ_ACKREQ) || wcid > MTW_WCID_MAX ||
sys/dev/usb/wlan/if_mtw.c
2180
if (stat & MTW_TXQ_OK)
sys/dev/usb/wlan/if_mtw.c
2189
mcs = (stat >> MTW_TXQ_MCS_SHIFT) & 0x7f;
sys/dev/usb/wlan/if_mtw.c
2190
pid = (stat >> MTW_TXQ_PID_SHIFT) & 0xf;
sys/dev/usb/wlan/if_rsu.c
2317
rsu_rx_copy_to_mbuf(struct rsu_softc *sc, struct r92s_rx_stat *stat,
sys/dev/usb/wlan/if_rsu.c
2325
rxdw0 = le32toh(stat->rxdw0);
sys/dev/usb/wlan/if_rsu.c
2349
memcpy(mtod(m, uint8_t *), (uint8_t *)stat, totlen);
sys/dev/usb/wlan/if_rsu.c
2376
struct r92s_rx_stat *stat;
sys/dev/usb/wlan/if_rsu.c
2382
stat = mtod(m, struct r92s_rx_stat *);
sys/dev/usb/wlan/if_rsu.c
2383
rxdw0 = le32toh(stat->rxdw0);
sys/dev/usb/wlan/if_rsu.c
2384
rxdw3 = le32toh(stat->rxdw3);
sys/dev/usb/wlan/if_rsu.c
2392
rssi = rsu_get_rssi(sc, rate, &stat[1]);
sys/dev/usb/wlan/if_rsu.c
2460
if (le32toh(stat->tsf_low) > rsu_get_tsf_low(sc))
sys/dev/usb/wlan/if_rsu.c
2463
tap->wr_tsft += stat->tsf_low;
sys/dev/usb/wlan/if_rsu.c
2472
m_adj(m, sizeof(*stat) + infosz);
sys/dev/usb/wlan/if_rsu.c
2492
struct r92s_rx_stat *stat;
sys/dev/usb/wlan/if_rsu.c
2505
stat = (struct r92s_rx_stat *)buf;
sys/dev/usb/wlan/if_rsu.c
2506
npkts = MS(le32toh(stat->rxdw2), R92S_RXDW2_PKTCNT);
sys/dev/usb/wlan/if_rsu.c
2512
if (__predict_false(len < sizeof(*stat)))
sys/dev/usb/wlan/if_rsu.c
2514
stat = (struct r92s_rx_stat *)buf;
sys/dev/usb/wlan/if_rsu.c
2515
rxdw0 = le32toh(stat->rxdw0);
sys/dev/usb/wlan/if_rsu.c
2524
totlen = sizeof(*stat) + infosz + pktlen;
sys/dev/usb/wlan/if_rsu.c
2529
m = rsu_rx_copy_to_mbuf(sc, stat, totlen);
sys/dev/usb/wlan/if_rsu.c
2552
struct r92s_rx_stat *stat;
sys/dev/usb/wlan/if_rsu.c
2557
if (__predict_false(len < sizeof(*stat))) {
sys/dev/usb/wlan/if_rsu.c
2563
stat = (struct r92s_rx_stat *)data->buf;
sys/dev/usb/wlan/if_rsu.c
2564
if ((le32toh(stat->rxdw1) & 0x1ff) == 0x1ff) {
sys/dev/usb/wlan/if_run.c
2630
uint32_t stat;
sys/dev/usb/wlan/if_run.c
2639
run_read(sc, RT2860_TX_STAT_FIFO, &stat);
sys/dev/usb/wlan/if_run.c
2640
RUN_DPRINTF(sc, RUN_DEBUG_XMIT, "tx stat 0x%08x\n", stat);
sys/dev/usb/wlan/if_run.c
2641
if (!(stat & RT2860_TXQ_VLD))
sys/dev/usb/wlan/if_run.c
2644
wcid = (stat >> RT2860_TXQ_WCID_SHIFT) & 0xff;
sys/dev/usb/wlan/if_run.c
2647
if (!(stat & RT2860_TXQ_ACKREQ) || wcid > RT2870_WCID_MAX ||
sys/dev/usb/wlan/if_run.c
2663
if (stat & RT2860_TXQ_OK)
sys/dev/usb/wlan/if_run.c
2672
mcs = (stat >> RT2860_TXQ_MCS_SHIFT) & 0x7f;
sys/dev/usb/wlan/if_run.c
2673
pid = (stat >> RT2860_TXQ_PID_SHIFT) & 0xf;
sys/dev/usb/wlan/if_zyd.c
2149
struct zyd_rx_stat stat;
sys/dev/usb/wlan/if_zyd.c
2162
usbd_copy_out(pc, offset + len - sizeof(stat), &stat, sizeof(stat));
sys/dev/usb/wlan/if_zyd.c
2164
if (stat.flags & ZYD_RX_ERROR) {
sys/dev/usb/wlan/if_zyd.c
2167
device_get_nameunit(sc->sc_dev), stat.flags);
sys/dev/usb/wlan/if_zyd.c
2199
if (stat.flags & (ZYD_RX_BADCRC16 | ZYD_RX_BADCRC32))
sys/dev/usb/wlan/if_zyd.c
2202
if (stat.flags & ZYD_RX_DECRYPTERR)
sys/dev/usb/wlan/if_zyd.c
2205
(stat.flags & ZYD_RX_OFDM) ?
sys/dev/usb/wlan/if_zyd.c
2207
tap->wr_antsignal = stat.rssi + -95;
sys/dev/usb/wlan/if_zyd.c
2210
rssi = (stat.rssi > 63) ? 127 : 2 * stat.rssi;
sys/dev/usb/wlan/if_zyd.c
2799
uint8_t stat;
sys/dev/usb/wlan/if_zyd.c
2844
USETW(req.wLength, sizeof(stat));
sys/dev/usb/wlan/if_zyd.c
2845
if (zyd_do_request(sc, &req, &stat) != 0)
sys/dev/usb/wlan/if_zyd.c
2850
return (stat & 0x80) ? (EIO) : (0);
sys/dev/vmm/vmm_stat.h
43
struct vmm_stat_type *stat);
sys/dev/vr/if_vr.c
2609
struct vr_statistics *stat;
sys/dev/vr/if_vr.c
2621
stat = &sc->vr_stat;
sys/dev/vr/if_vr.c
2625
(uintmax_t)stat->tx_ok);
sys/dev/vr/if_vr.c
2627
(uintmax_t)stat->rx_ok);
sys/dev/vr/if_vr.c
2628
printf("Outbound errors : %u\n", stat->tx_errors);
sys/dev/vr/if_vr.c
2629
printf("Inbound errors : %u\n", stat->rx_errors);
sys/dev/vr/if_vr.c
2630
printf("Inbound no buffers : %u\n", stat->rx_no_buffers);
sys/dev/vr/if_vr.c
2631
printf("Inbound no mbuf clusters: %d\n", stat->rx_no_mbufs);
sys/dev/vr/if_vr.c
2633
stat->rx_fifo_overflows);
sys/dev/vr/if_vr.c
2634
printf("Inbound CRC errors : %u\n", stat->rx_crc_errors);
sys/dev/vr/if_vr.c
2636
stat->rx_alignment);
sys/dev/vr/if_vr.c
2637
printf("Inbound giant frames : %u\n", stat->rx_giants);
sys/dev/vr/if_vr.c
2638
printf("Inbound runt frames : %u\n", stat->rx_runts);
sys/dev/vr/if_vr.c
2640
stat->tx_abort);
sys/dev/vr/if_vr.c
2641
printf("Outbound collisions : %u\n", stat->tx_collisions);
sys/dev/vr/if_vr.c
2643
stat->tx_late_collisions);
sys/dev/vr/if_vr.c
2644
printf("Outbound underrun : %u\n", stat->tx_underrun);
sys/dev/vr/if_vr.c
2645
printf("PCI bus errors : %u\n", stat->bus_errors);
sys/dev/vr/if_vr.c
2647
stat->num_restart);
sys/dev/vte/if_vte.c
1264
struct vte_hw_stats *stat;
sys/dev/vte/if_vte.c
1269
stat = &sc->vte_stats;
sys/dev/vte/if_vte.c
1273
stat->rx_frames += CSR_READ_2(sc, VTE_CNT_RX_DONE);
sys/dev/vte/if_vte.c
1275
stat->rx_bcast_frames += (value >> 8);
sys/dev/vte/if_vte.c
1276
stat->rx_mcast_frames += (value & 0xFF);
sys/dev/vte/if_vte.c
1278
stat->rx_runts += (value >> 8);
sys/dev/vte/if_vte.c
1279
stat->rx_crcerrs += (value & 0xFF);
sys/dev/vte/if_vte.c
1281
stat->rx_long_frames += (value & 0xFF);
sys/dev/vte/if_vte.c
1283
stat->rx_fifo_full += (value >> 8);
sys/dev/vte/if_vte.c
1284
stat->rx_desc_unavail += (value & 0xFF);
sys/dev/vte/if_vte.c
1287
stat->tx_frames += CSR_READ_2(sc, VTE_CNT_TX_DONE);
sys/dev/vte/if_vte.c
1289
stat->tx_underruns += (value >> 8);
sys/dev/vte/if_vte.c
1290
stat->tx_late_colls += (value & 0xFF);
sys/dev/vte/if_vte.c
1293
stat->tx_pause_frames += (value >> 8);
sys/dev/vte/if_vte.c
1294
stat->rx_pause_frames += (value & 0xFF);
sys/dev/vte/if_vte.c
1301
struct vte_hw_stats *stat;
sys/dev/vte/if_vte.c
1304
stat = &sc->vte_stats;
sys/dev/vte/if_vte.c
1308
return (stat->tx_frames);
sys/dev/vte/if_vte.c
1310
return (stat->tx_late_colls);
sys/dev/vte/if_vte.c
1312
return (stat->tx_late_colls + stat->tx_underruns);
sys/dev/vte/if_vte.c
1314
return (stat->rx_frames);
sys/dev/vte/if_vte.c
1316
return (stat->rx_crcerrs + stat->rx_runts +
sys/dev/vte/if_vte.c
1317
stat->rx_long_frames + stat->rx_fifo_full);
sys/dev/wpi/if_wpi.c
1911
struct wpi_rx_stat *stat;
sys/dev/wpi/if_wpi.c
1922
stat = (struct wpi_rx_stat *)(desc + 1);
sys/dev/wpi/if_wpi.c
1924
if (__predict_false(stat->len > WPI_STAT_MAXLEN)) {
sys/dev/wpi/if_wpi.c
1930
head = (struct wpi_rx_head *)((caddr_t)(stat + 1) + stat->len);
sys/dev/wpi/if_wpi.c
1937
le32toh(desc->len), len, (int8_t)stat->rssi,
sys/dev/wpi/if_wpi.c
2020
tap->wr_dbm_antsignal = (int8_t)(stat->rssi + WPI_RSSI_OFFSET);
sys/dev/wpi/if_wpi.c
2031
(void)ieee80211_input(ni, m, stat->rssi, WPI_RSSI_OFFSET);
sys/dev/wpi/if_wpi.c
2035
(void)ieee80211_input_all(ic, m, stat->rssi, WPI_RSSI_OFFSET);
sys/dev/wpi/if_wpi.c
2059
struct wpi_tx_stat *stat = (struct wpi_tx_stat *)(desc + 1);
sys/dev/wpi/if_wpi.c
2062
uint32_t status = le32toh(stat->status);
sys/dev/wpi/if_wpi.c
2071
"status %x\n", __func__, desc->qid, desc->idx, stat->ackfailcnt,
sys/dev/wpi/if_wpi.c
2072
stat->btkillcnt, stat->rate, le32toh(stat->duration), status);
sys/dev/wpi/if_wpi.c
2089
txs->short_retries = stat->rtsfailcnt;
sys/dev/wpi/if_wpi.c
2090
txs->long_retries = stat->ackfailcnt / WPI_NTRIES_DEFAULT;
sys/dev/wpi/if_wpi.c
2268
struct wpi_tx_stat *stat =
sys/dev/wpi/if_wpi.c
2270
uint64_t *tsf = (uint64_t *)(stat + 1);
sys/dev/wpi/if_wpi.c
2279
stat->rtsfailcnt, stat->ackfailcnt,
sys/dev/wpi/if_wpi.c
2280
stat->btkillcnt, stat->rate, le32toh(stat->duration),
sys/dev/wpi/if_wpi.c
2281
le32toh(stat->status), le64toh(*tsf),
sys/fs/devfs/devfs_vnops.c
1889
devfs_stat_f(struct file *fp, struct stat *sb, struct ucred *cred)
sys/fs/nfs/nfs_commonkrpc.c
1000
stat = CLNT_CALL_MBUF(nmp->nm_aconn[nextconn],
sys/fs/nfs/nfs_commonkrpc.c
1003
stat = CLNT_CALL_MBUF(nrp->nr_client, &ext, procnum,
sys/fs/nfs/nfs_commonkrpc.c
1005
NFSCL_DEBUG(2, "clnt call=%d\n", stat);
sys/fs/nfs/nfs_commonkrpc.c
1021
if (stat == RPC_SUCCESS) {
sys/fs/nfs/nfs_commonkrpc.c
1023
} else if (stat == RPC_TIMEDOUT) {
sys/fs/nfs/nfs_commonkrpc.c
1026
} else if (stat == RPC_VERSMISMATCH) {
sys/fs/nfs/nfs_commonkrpc.c
1029
} else if (stat == RPC_PROGVERSMISMATCH) {
sys/fs/nfs/nfs_commonkrpc.c
1032
} else if (stat == RPC_CANTSEND || stat == RPC_CANTRECV ||
sys/fs/nfs/nfs_commonkrpc.c
1033
stat == RPC_SYSTEMERROR || stat == RPC_INTR) {
sys/fs/nfs/nfs_commonkrpc.c
1061
if (stat == RPC_INTR)
sys/fs/nfs/nfs_commonkrpc.c
1067
} else if (stat == RPC_AUTHERROR) {
sys/fs/nfs/nfs_commonkrpc.c
686
enum clnt_stat stat;
sys/fs/nfs/nfs_commonkrpc.c
987
stat = clnt_bck_call(nrp->nr_client, &ext, procnum,
sys/fs/nfsclient/nfs_clrpcops.c
6074
uint32_t stat, uint32_t op, char *devid)
sys/fs/nfsclient/nfs_clrpcops.c
6106
if (stat != 0) {
sys/fs/nfsclient/nfs_clrpcops.c
6123
*tl++ = txdr_unsigned(stat);
sys/fs/nfsclient/nfs_clrpcops.c
6161
uint32_t stat, uint32_t op, char *devid)
sys/fs/nfsclient/nfs_clrpcops.c
6180
*tl++ = txdr_unsigned(stat);
sys/fs/nfsclient/nfs_clrpcops.c
9942
enum clnt_stat stat;
sys/fs/nfsclient/nfs_clrpcops.c
9958
stat = CLNT_CALL_MBUF(cl, &ext, NFSV4PROC_COMPOUND, nd->nd_mreq,
sys/fs/nfsclient/nfs_clrpcops.c
9961
if (stat != RPC_SUCCESS) {
sys/fs/nfsclient/nfs_clrpcops.c
9962
printf("nfsrpc_bindconnsess: call failed stat=%d\n", stat);
sys/fs/nfsclient/nfs_clstate.c
5526
nfscl_dserr(uint32_t op, uint32_t stat, struct nfscldevinfo *dp,
sys/fs/nfsclient/nfs_clstate.c
5532
printf("DS being disabled, error=%d\n", stat);
sys/fs/nfsclient/nfs_clstate.c
5543
0, UINT64_MAX, lyp->nfsly_stateid.seqid, stat, op,
sys/fs/nfsclient/nfs_clstate.c
5827
uint64_t off, uint64_t len, uint32_t stateseqid, uint32_t stat, uint32_t op,
sys/fs/nfsclient/nfs_clstate.c
5837
recallp->nfsrecly_stat = stat;
sys/fs/nfsclient/nfs_clstate.c
5866
stat != 0 && rp->nfsrecly_stat == 0) {
sys/fs/nfsclient/nfs_clstate.c
5867
rp->nfsrecly_stat = stat;
sys/fs/nfsserver/nfs_nfsdserv.c
5379
int cnt, error = 0, i, stat;
sys/fs/nfsserver/nfs_nfsdserv.c
5417
stat = fxdr_unsigned(int, *tl++);
sys/fs/nfsserver/nfs_nfsdserv.c
5419
NFSD_DEBUG(4, "nfsrvd_layouterr op=%d stat=%d\n", opnum, stat);
sys/fs/nfsserver/nfs_nfsdserv.c
5424
if (stat != NFSERR_ACCES && stat != NFSERR_STALE &&
sys/fs/nfsserver/nfs_nfsdserv.c
5425
stat != NFSERR_NOSPC)
sys/fs/nfsserver/nfs_nfsdserv.c
5429
if (stat == NFSERR_NOSPC)
sys/fs/nfsserver/nfs_nfsdstate.c
6878
int cnt, errcnt, i, j, opnum, stat;
sys/fs/nfsserver/nfs_nfsdstate.c
6903
stat = fxdr_unsigned(int, *tl++);
sys/fs/nfsserver/nfs_nfsdstate.c
6906
stat);
sys/fs/nfsserver/nfs_nfsdstate.c
6911
if (stat != NFSERR_ACCES && stat != NFSERR_STALE &&
sys/fs/nfsserver/nfs_nfsdstate.c
6912
stat != NFSERR_NOSPC)
sys/fs/nfsserver/nfs_nfsdstate.c
6916
if (stat == NFSERR_NOSPC)
sys/fs/p9fs/p9_client.c
1084
p9_client_statfs(struct p9_fid *fid, struct p9_statfs *stat)
sys/fs/p9fs/p9_client.c
1101
&stat->type, &stat->bsize, &stat->blocks, &stat->bfree,
sys/fs/p9fs/p9_client.c
1102
&stat->bavail, &stat->files, &stat->ffree, &stat->fsid,
sys/fs/p9fs/p9_client.c
1103
&stat->namelen);
sys/fs/p9fs/p9_client.c
1111
fid->fid, (uintmax_t)stat->type,
sys/fs/p9fs/p9_client.c
1112
(uintmax_t)stat->bsize, (uintmax_t)stat->blocks,
sys/fs/p9fs/p9_client.c
1113
(uintmax_t)stat->bfree, (uintmax_t)stat->bavail,
sys/fs/p9fs/p9_client.c
1114
(uintmax_t)stat->files, (uintmax_t)stat->ffree,
sys/fs/p9fs/p9_client.c
1115
(uintmax_t)stat->fsid, (uintmax_t)stat->namelen);
sys/fs/p9fs/p9_client.h
149
int p9_client_statfs(struct p9_fid *fid, struct p9_statfs *stat);
sys/fs/p9fs/p9fs_vnops.c
1002
if (inode->i_size != stat->st_size) {
sys/fs/p9fs/p9fs_vnops.c
1003
inode->i_size = stat->st_size;
sys/fs/p9fs/p9fs_vnops.c
1012
inode->i_mtime = stat->st_mtime_sec;
sys/fs/p9fs/p9fs_vnops.c
1013
inode->i_atime = stat->st_atime_sec;
sys/fs/p9fs/p9fs_vnops.c
1014
inode->i_ctime = stat->st_ctime_sec;
sys/fs/p9fs/p9fs_vnops.c
1015
inode->i_mtime_nsec = stat->st_mtime_nsec;
sys/fs/p9fs/p9fs_vnops.c
1016
inode->i_atime_nsec = stat->st_atime_nsec;
sys/fs/p9fs/p9fs_vnops.c
1017
inode->i_ctime_nsec = stat->st_ctime_nsec;
sys/fs/p9fs/p9fs_vnops.c
1018
inode->n_uid = stat->st_uid;
sys/fs/p9fs/p9fs_vnops.c
1019
inode->n_gid = stat->st_gid;
sys/fs/p9fs/p9fs_vnops.c
1020
inode->i_mode = stat->st_mode;
sys/fs/p9fs/p9fs_vnops.c
1022
inode->i_links_count = stat->st_nlink;
sys/fs/p9fs/p9fs_vnops.c
1023
inode->blksize = stat->st_blksize;
sys/fs/p9fs/p9fs_vnops.c
1024
inode->blocks = stat->st_blocks;
sys/fs/p9fs/p9fs_vnops.c
1025
inode->gen = stat->st_gen;
sys/fs/p9fs/p9fs_vnops.c
1026
inode->data_version = stat->st_data_version;
sys/fs/p9fs/p9fs_vnops.c
1029
if (np->vqid.qid_version != stat->qid.version)
sys/fs/p9fs/p9fs_vnops.c
1031
memcpy(&np->vqid, &stat->qid, sizeof(stat->qid));
sys/fs/p9fs/p9fs_vnops.c
854
struct p9_stat_dotl *stat;
sys/fs/p9fs/p9fs_vnops.c
871
stat = uma_zalloc(p9fs_getattr_zone, M_WAITOK | M_ZERO);
sys/fs/p9fs/p9fs_vnops.c
873
error = p9_client_getattr(vfid, stat, P9PROTO_STATS_ALL);
sys/fs/p9fs/p9fs_vnops.c
880
p9fs_stat_vnode_dotl(stat, vp);
sys/fs/p9fs/p9fs_vnops.c
882
if (stat != NULL) {
sys/fs/p9fs/p9fs_vnops.c
883
uma_zfree(p9fs_getattr_zone, stat);
sys/fs/p9fs/p9fs_vnops.c
976
p9fs_stat_vnode_dotl(struct p9_stat_dotl *stat, struct vnode *vp)
sys/fs/tmpfs/tmpfs_vnops.c
446
struct stat *sb = v->a_sb;
sys/geom/geom.h
185
struct devstat *stat;
sys/geom/geom.h
217
struct devstat *stat;
sys/geom/geom_disk.c
740
devstat_remove_entry(pp->stat);
sys/geom/geom_disk.c
741
pp->stat = NULL;
sys/geom/geom_io.c
554
((g_collectstats & G_STATS_PROVIDERS) != 0 && pp->stat != NULL))
sys/geom/geom_io.c
559
devstat_start_transaction_bio_t0(cp->stat, bp);
sys/geom/geom_io.c
561
devstat_start_transaction_bio_t0(pp->stat, bp);
sys/geom/geom_io.c
675
((g_collectstats & G_STATS_PROVIDERS) != 0 && pp->stat != NULL))
sys/geom/geom_io.c
680
devstat_end_transaction_bio_bt(pp->stat, bp, &now);
sys/geom/geom_io.c
682
devstat_end_transaction_bio_bt(cp->stat, bp, &now);
sys/geom/geom_subr.c
545
cp->stat = devstat_new_entry(cp, -1, 0, DEVSTAT_ALL_SUPPORTED,
sys/geom/geom_subr.c
566
devstat_remove_entry(cp->stat);
sys/geom/geom_subr.c
640
pp->stat = devstat_new_entry(pp, -1, 0, DEVSTAT_ALL_SUPPORTED,
sys/geom/geom_subr.c
814
devstat_remove_entry(pp->stat);
sys/geom/raid3/g_raid3.c
88
static SYSCTL_NODE(_kern_geom_raid3, OID_AUTO, stat,
sys/kern/init_sysent.c
107
{ compat(AS(ostat_args),stat), .sy_auevent = AUE_STAT, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 38 = old stat */
sys/kern/init_sysent.c
257
{ compat11(AS(freebsd11_stat_args),stat), .sy_auevent = AUE_STAT, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 188 = freebsd11 stat */
sys/kern/kern_clock.c
76
PMC_SOFT_DEFINE( , , clock, stat);
sys/kern/kern_clock.c
764
PMC_SOFT_CALL_TF( , , clock, stat, td->td_intr_frame);
sys/kern/kern_descrip.c
1664
struct stat ub;
sys/kern/kern_descrip.c
1680
struct stat sb;
sys/kern/kern_descrip.c
1700
struct stat *sb;
sys/kern/kern_descrip.c
1707
struct stat ub;
sys/kern/kern_descrip.c
1717
kern_fstat(struct thread *td, int fd, struct stat *sbp)
sys/kern/kern_descrip.c
1762
struct stat ub;
sys/kern/kern_descrip.c
5511
badfo_stat(struct file *fp, struct stat *sb, struct ucred *active_cred)
sys/kern/kern_event.c
2395
kqueue_stat(struct file *fp, struct stat *st, struct ucred *active_cred)
sys/kern/kern_jaildesc.c
397
jaildesc_stat(struct file *fp, struct stat *sb, struct ucred *active_cred)
sys/kern/kern_jaildesc.c
401
bzero(sb, sizeof(struct stat));
sys/kern/kern_linker.c
1406
struct kld_file_stat *stat;
sys/kern/kern_linker.c
1412
if ((error = copyin(&uap->stat->version, &version, sizeof(version)))
sys/kern/kern_linker.c
1419
stat = malloc(sizeof(*stat), M_TEMP, M_WAITOK | M_ZERO);
sys/kern/kern_linker.c
1420
error = kern_kldstat(td, uap->fileid, stat);
sys/kern/kern_linker.c
1422
error = copyout(stat, uap->stat, version);
sys/kern/kern_linker.c
1423
free(stat, M_TEMP);
sys/kern/kern_linker.c
1428
kern_kldstat(struct thread *td, int fileid, struct kld_file_stat *stat)
sys/kern/kern_linker.c
1449
if (namelen > sizeof(stat->name))
sys/kern/kern_linker.c
1450
namelen = sizeof(stat->name);
sys/kern/kern_linker.c
1451
bcopy(lf->filename, &stat->name[0], namelen);
sys/kern/kern_linker.c
1452
stat->refs = lf->refs;
sys/kern/kern_linker.c
1453
stat->id = lf->id;
sys/kern/kern_linker.c
1454
stat->address = lf->address;
sys/kern/kern_linker.c
1455
stat->size = lf->size;
sys/kern/kern_linker.c
1458
if (namelen > sizeof(stat->pathname))
sys/kern/kern_linker.c
1459
namelen = sizeof(stat->pathname);
sys/kern/kern_linker.c
1460
bcopy(lf->pathname, &stat->pathname[0], namelen);
sys/kern/kern_lockf.c
2476
struct stat stt;
sys/kern/kern_module.c
381
struct module_stat *stat;
sys/kern/kern_module.c
397
stat = uap->stat;
sys/kern/kern_module.c
402
if ((error = copyin(&stat->version, &version, sizeof(version))) != 0)
sys/kern/kern_module.c
413
if ((error = copyout(name, &stat->name[0], namelen)) != 0)
sys/kern/kern_module.c
418
stat_v2 = (struct module_stat_v2 *)stat;
sys/kern/kern_module.c
424
if ((error = copyout(&refs, &stat->refs, sizeof(int))) != 0)
sys/kern/kern_module.c
426
if ((error = copyout(&id, &stat->id, sizeof(int))) != 0)
sys/kern/kern_module.c
438
if ((error = copyout(&data, &stat->data,
sys/kern/kern_module.c
524
stat32 = uap->stat;
sys/kern/sched_4bsd.c
1640
struct pcpuidlestat *stat;
sys/kern/sched_4bsd.c
1643
stat = DPCPU_PTR(idlestat);
sys/kern/sched_4bsd.c
1648
cpu_idle(stat->idlecalls + stat->oldidlecalls > 64);
sys/kern/sched_4bsd.c
1649
stat->idlecalls++;
sys/kern/sched_4bsd.c
721
struct pcpuidlestat *stat;
sys/kern/sched_4bsd.c
758
stat = DPCPU_PTR(idlestat);
sys/kern/sched_4bsd.c
759
stat->oldidlecalls = stat->idlecalls;
sys/kern/sched_4bsd.c
760
stat->idlecalls = 0;
sys/kern/subr_devstat.c
518
struct devstat *stat;
sys/kern/subr_devstat.c
553
*paddr = vtophys(spp->stat);
sys/kern/subr_devstat.c
589
spp2->stat = malloc(PAGE_SIZE, M_DEVSTAT, M_ZERO | M_WAITOK);
sys/kern/subr_devstat.c
613
dsp = spp->stat;
sys/kern/subr_devstat.c
623
free(spp2->stat, M_DEVSTAT);
sys/kern/subr_devstat.c
637
if (dsp >= spp->stat && dsp < (spp->stat + statsperpage)) {
sys/kern/sys_eventfd.c
372
eventfd_stat(struct file *fp, struct stat *st, struct ucred *active_cred)
sys/kern/sys_pipe.c
1576
pipe_stat(struct file *fp, struct stat *ub, struct ucred *active_cred)
sys/kern/sys_procdesc.c
554
procdesc_stat(struct file *fp, struct stat *sb, struct ucred *active_cred)
sys/kern/sys_socket.c
305
soo_stat(struct file *fp, struct stat *ub, struct ucred *active_cred)
sys/kern/sys_timerfd.c
318
timerfd_stat(struct file *fp, struct stat *sb, struct ucred *active_cred)
sys/kern/systrace_args.c
1349
uarg[a++] = (intptr_t)p->stat; /* struct module_stat * */
sys/kern/systrace_args.c
1399
uarg[a++] = (intptr_t)p->stat; /* struct kld_file_stat * */
sys/kern/tty_pts.c
531
ptsdev_stat(struct file *fp, struct stat *sb, struct ucred *active_cred)
sys/kern/uipc_mqueue.c
2566
mqf_stat(struct file *fp, struct stat *st, struct ucred *active_cred)
sys/kern/uipc_sem.c
163
ksem_stat(struct file *fp, struct stat *sb, struct ucred *active_cred)
sys/kern/uipc_shm.c
627
shm_stat(struct file *fp, struct stat *sb, struct ucred *active_cred)
sys/kern/uipc_usrreq.c
2650
uipc_sense(struct socket *so, struct stat *sb)
sys/kern/vfs_bio.c
4539
biofinish(struct bio *bp, struct devstat *stat, int error)
sys/kern/vfs_bio.c
4546
if (stat != NULL)
sys/kern/vfs_bio.c
4547
devstat_end_transaction_bio(stat, bp);
sys/kern/vfs_default.c
1512
struct stat *sb;
sys/kern/vfs_inotify.c
346
inotify_stat(struct file *fp, struct stat *sb, struct ucred *cred)
sys/kern/vfs_mountroot.c
573
struct stat sb;
sys/kern/vfs_syscalls.c
2029
struct stat sb;
sys/kern/vfs_syscalls.c
2316
struct stat sb;
sys/kern/vfs_syscalls.c
2339
struct stat sb;
sys/kern/vfs_syscalls.c
2356
cvtstat(struct stat *st, struct ostat *ost)
sys/kern/vfs_syscalls.c
2385
freebsd11_cvtstat(struct stat *st, struct freebsd11_stat *ost)
sys/kern/vfs_syscalls.c
2458
struct stat sb;
sys/kern/vfs_syscalls.c
2474
struct stat sb;
sys/kern/vfs_syscalls.c
2492
struct stat sb;
sys/kern/vfs_syscalls.c
2511
struct stat sb;
sys/kern/vfs_syscalls.c
2533
struct stat *buf;
sys/kern/vfs_syscalls.c
2540
struct stat sb;
sys/kern/vfs_syscalls.c
2552
enum uio_seg pathseg, struct stat *sbp)
sys/kern/vfs_syscalls.c
2592
freebsd11_cvtnstat(struct stat *sb, struct nstat *nsb)
sys/kern/vfs_syscalls.c
2630
struct stat sb;
sys/kern/vfs_syscalls.c
2655
struct stat sb;
sys/kern/vfs_syscalls.c
4897
struct stat *sb;
sys/kern/vfs_syscalls.c
4903
struct stat sb;
sys/kern/vfs_syscalls.c
4917
kern_fhstat(struct thread *td, struct fhandle fh, struct stat *sb)
sys/kern/vfs_vnops.c
1834
vn_statfile(struct file *fp, struct stat *sb, struct ucred *active_cred)
sys/kgssapi/gss_accept_sec_context.c
181
enum clnt_stat stat;
sys/kgssapi/gss_accept_sec_context.c
205
stat = gssd_accept_sec_context_lucid_v1_1(&args, &res, cl);
sys/kgssapi/gss_accept_sec_context.c
207
if (stat != RPC_SUCCESS) {
sys/kgssapi/gss_accept_sec_context.c
208
*minor_status = stat;
sys/kgssapi/gss_accept_sec_context.c
63
enum clnt_stat stat;
sys/kgssapi/gss_accept_sec_context.c
87
stat = gssd_accept_sec_context_1(&args, &res, cl);
sys/kgssapi/gss_accept_sec_context.c
89
if (stat != RPC_SUCCESS) {
sys/kgssapi/gss_accept_sec_context.c
90
*minor_status = stat;
sys/kgssapi/gss_acquire_cred.c
56
enum clnt_stat stat;
sys/kgssapi/gss_acquire_cred.c
76
stat = gssd_acquire_cred_1(&args, &res, cl);
sys/kgssapi/gss_acquire_cred.c
78
if (stat != RPC_SUCCESS) {
sys/kgssapi/gss_acquire_cred.c
79
*minor_status = stat;
sys/kgssapi/gss_canonicalize_name.c
50
enum clnt_stat stat;
sys/kgssapi/gss_canonicalize_name.c
63
stat = gssd_canonicalize_name_1(&args, &res, cl);
sys/kgssapi/gss_canonicalize_name.c
65
if (stat != RPC_SUCCESS) {
sys/kgssapi/gss_canonicalize_name.c
66
*minor_status = stat;
sys/kgssapi/gss_delete_sec_context.c
48
enum clnt_stat stat;
sys/kgssapi/gss_delete_sec_context.c
69
stat = gssd_delete_sec_context_1(&args, &res, cl);
sys/kgssapi/gss_delete_sec_context.c
71
if (stat != RPC_SUCCESS) {
sys/kgssapi/gss_delete_sec_context.c
72
*minor_status = stat;
sys/kgssapi/gss_display_status.c
52
enum clnt_stat stat;
sys/kgssapi/gss_display_status.c
66
stat = gssd_display_status_1(&args, &res, cl);
sys/kgssapi/gss_display_status.c
68
if (stat != RPC_SUCCESS) {
sys/kgssapi/gss_display_status.c
69
*minor_status = stat;
sys/kgssapi/gss_export_name.c
48
enum clnt_stat stat;
sys/kgssapi/gss_export_name.c
59
stat = gssd_export_name_1(&args, &res, cl);
sys/kgssapi/gss_export_name.c
61
if (stat != RPC_SUCCESS) {
sys/kgssapi/gss_export_name.c
62
*minor_status = stat;
sys/kgssapi/gss_impl.c
200
enum clnt_stat stat;
sys/kgssapi/gss_impl.c
211
stat = gssd_export_sec_context_1(&args, &res, kgss_gssd_handle);
sys/kgssapi/gss_impl.c
212
if (stat != RPC_SUCCESS) {
sys/kgssapi/gss_impl.c
245
enum clnt_stat stat;
sys/kgssapi/gss_impl.c
269
stat = clnt_call_private(cl, &ext, NULLPROC,
sys/kgssapi/gss_impl.c
273
if (stat != RPC_SUCCESS) {
sys/kgssapi/gss_import_name.c
50
enum clnt_stat stat;
sys/kgssapi/gss_import_name.c
65
stat = gssd_import_name_1(&args, &res, cl);
sys/kgssapi/gss_import_name.c
67
if (stat != RPC_SUCCESS) {
sys/kgssapi/gss_import_name.c
68
*minor_status = stat;
sys/kgssapi/gss_init_sec_context.c
101
if (stat != RPC_SUCCESS) {
sys/kgssapi/gss_init_sec_context.c
102
*minor_status = stat;
sys/kgssapi/gss_init_sec_context.c
150
enum clnt_stat stat;
sys/kgssapi/gss_init_sec_context.c
160
stat = gssd_supports_lucid_1(NULL, &res, cl);
sys/kgssapi/gss_init_sec_context.c
162
if (stat != RPC_SUCCESS) {
sys/kgssapi/gss_init_sec_context.c
163
*minor_status = stat;
sys/kgssapi/gss_init_sec_context.c
201
enum clnt_stat stat;
sys/kgssapi/gss_init_sec_context.c
233
stat = gssd_init_sec_context_lucid_v1_1(&args, &res, cl);
sys/kgssapi/gss_init_sec_context.c
235
if (stat != RPC_SUCCESS) {
sys/kgssapi/gss_init_sec_context.c
236
*minor_status = stat;
sys/kgssapi/gss_init_sec_context.c
67
enum clnt_stat stat;
sys/kgssapi/gss_init_sec_context.c
99
stat = gssd_init_sec_context_1(&args, &res, cl);
sys/kgssapi/gss_ip_to_dns.c
49
enum clnt_stat stat;
sys/kgssapi/gss_ip_to_dns.c
62
stat = gssd_ip_to_dns_1(&args, &res, cl);
sys/kgssapi/gss_ip_to_dns.c
64
if (stat != RPC_SUCCESS) {
sys/kgssapi/gss_ip_to_dns.c
65
*minor_status = stat;
sys/kgssapi/gss_pname_to_uid.c
105
stat = gssd_pname_to_uid_1(&args, &res, cl);
sys/kgssapi/gss_pname_to_uid.c
107
if (stat != RPC_SUCCESS) {
sys/kgssapi/gss_pname_to_uid.c
108
*minor_status = stat;
sys/kgssapi/gss_pname_to_uid.c
48
enum clnt_stat stat;
sys/kgssapi/gss_pname_to_uid.c
64
stat = gssd_pname_to_uid_1(&args, &res, cl);
sys/kgssapi/gss_pname_to_uid.c
66
if (stat != RPC_SUCCESS) {
sys/kgssapi/gss_pname_to_uid.c
67
*minor_status = stat;
sys/kgssapi/gss_pname_to_uid.c
88
enum clnt_stat stat;
sys/kgssapi/gss_release_cred.c
47
enum clnt_stat stat;
sys/kgssapi/gss_release_cred.c
58
stat = gssd_release_cred_1(&args, &res, cl);
sys/kgssapi/gss_release_cred.c
60
if (stat != RPC_SUCCESS) {
sys/kgssapi/gss_release_cred.c
61
*minor_status = stat;
sys/kgssapi/gss_release_name.c
47
enum clnt_stat stat;
sys/kgssapi/gss_release_name.c
60
stat = gssd_release_name_1(&args, &res, cl);
sys/kgssapi/gss_release_name.c
62
if (stat != RPC_SUCCESS) {
sys/kgssapi/gss_release_name.c
63
*minor_status = stat;
sys/kgssapi/gss_set_cred_option.c
50
enum clnt_stat stat;
sys/kgssapi/gss_set_cred_option.c
67
stat = gssd_set_cred_option_1(&args, &res, cl);
sys/kgssapi/gss_set_cred_option.c
70
if (stat != RPC_SUCCESS) {
sys/kgssapi/gss_set_cred_option.c
71
*minor_status = stat;
sys/net80211/ieee80211_node.h
349
#define IEEE80211_NODE_STAT(ni,stat) (ni->ni_stats.ns_##stat++)
sys/net80211/ieee80211_node.h
350
#define IEEE80211_NODE_STAT_ADD(ni,stat,v) (ni->ni_stats.ns_##stat += v)
sys/net80211/ieee80211_node.h
351
#define IEEE80211_NODE_STAT_SET(ni,stat,v) (ni->ni_stats.ns_##stat = v)
sys/netgraph/bluetooth/hci/ng_hci_cmds.c
143
NG_HCI_STAT_CMD_SENT(unit->stat);
sys/netgraph/bluetooth/hci/ng_hci_cmds.c
144
NG_HCI_STAT_BYTES_SENT(unit->stat, m0->m_pkthdr.len);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
231
NG_HCI_STAT_ACL_SENT(unit->stat, count);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
244
NG_HCI_STAT_SCO_SENT(unit->stat, count);
sys/netgraph/bluetooth/hci/ng_hci_evnt.c
335
NG_HCI_STAT_BYTES_SENT(unit->stat, v);
sys/netgraph/bluetooth/hci/ng_hci_main.c
514
NG_MKRESPONSE(rsp, msg, sizeof(unit->stat), M_NOWAIT);
sys/netgraph/bluetooth/hci/ng_hci_main.c
520
bcopy(&unit->stat, rsp->data, sizeof(unit->stat));
sys/netgraph/bluetooth/hci/ng_hci_main.c
525
NG_HCI_STAT_RESET(unit->stat);
sys/netgraph/bluetooth/hci/ng_hci_main.c
787
NG_HCI_STAT_BYTES_RECV(unit->stat, m->m_pkthdr.len);
sys/netgraph/bluetooth/hci/ng_hci_main.c
800
NG_HCI_STAT_ACL_RECV(unit->stat);
sys/netgraph/bluetooth/hci/ng_hci_main.c
815
NG_HCI_STAT_SCO_RECV(unit->stat);
sys/netgraph/bluetooth/hci/ng_hci_main.c
830
NG_HCI_STAT_EVNT_RECV(unit->stat);
sys/netgraph/bluetooth/hci/ng_hci_var.h
141
ng_hci_node_stat_ep stat; /* statistic */
sys/netgraph/bluetooth/include/ng_btsocket.h
129
ng_hci_node_stat_ep stat;
sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
1133
&p->stat, sizeof(p->stat));
sys/netgraph/ng_cisco.c
308
struct ng_cisco_stats *stat;
sys/netgraph/ng_cisco.c
310
NG_MKRESPONSE(resp, msg, sizeof(*stat), M_NOWAIT);
sys/netgraph/ng_cisco.c
315
stat = (struct ng_cisco_stats *)resp->data;
sys/netgraph/ng_cisco.c
316
stat->seqRetries = sc->seqRetries;
sys/netgraph/ng_cisco.c
317
stat->keepAlivePeriod = KEEPALIVE_SECS;
sys/netgraph/ng_lmi.c
498
struct nglmistat *stat;
sys/netgraph/ng_lmi.c
501
NG_MKRESPONSE(resp, msg, sizeof(*stat), M_NOWAIT);
sys/netgraph/ng_lmi.c
506
stat = (struct nglmistat *) resp->data;
sys/netgraph/ng_lmi.c
507
strncpy(stat->proto,
sys/netgraph/ng_lmi.c
508
sc->protoname, sizeof(stat->proto) - 1);
sys/netgraph/ng_lmi.c
509
strncpy(stat->hook,
sys/netgraph/ng_lmi.c
510
sc->protoname, sizeof(stat->hook) - 1);
sys/netgraph/ng_lmi.c
511
stat->autod = !!(sc->flags & SCF_AUTO);
sys/netgraph/ng_lmi.c
512
stat->fixed = !!(sc->flags & SCF_FIXED);
sys/netgraph/ng_lmi.c
516
stat->up[k / 8] |= (1 << (k % 8));
sys/netgraph/ng_lmi.c
519
stat->seen[k / 8] |= (1 << (k % 8));
sys/netinet/tcp_stacks/bbr.c
1113
uint32_t stat;
sys/netinet/tcp_stacks/bbr.c
1120
error = SYSCTL_IN(req, &stat, sizeof(uint32_t));
sys/netinet/tcp_stacks/bbr.c
1123
if (stat == 1) {
sys/netinet/tcp_stacks/bbr.c
1130
} else if (stat == 2) {
sys/netinet/tcp_stacks/bbr.c
1135
} else if (stat == 3) {
sys/netinet/tcp_stacks/bbr.c
1140
} else if (stat == 4) {
sys/netinet/tcp_stacks/rack.c
771
uint32_t stat;
sys/netinet/tcp_stacks/rack.c
778
error = SYSCTL_IN(req, &stat, sizeof(uint32_t));
sys/netinet/tcp_stacks/rack.c
781
if (stat == 1) {
sys/netinet/tcp_stacks/rack.c
826
} else if (stat == 2) {
sys/netinet/tcp_stacks/rack.c
831
} else if (stat == 3) {
sys/netinet/tcp_stacks/rack.c
833
} else if (stat == 4) {
sys/nlm/nlm_advlock.c
1003
if (res.stat.stat == nlm4_denied_grace_period) {
sys/nlm/nlm_advlock.c
1041
enum clnt_stat stat;
sys/nlm/nlm_advlock.c
1067
stat = nlm_test_rpc(vers, &args, &res, client, ext, *timo);
sys/nlm/nlm_advlock.c
1071
if (stat != RPC_SUCCESS) {
sys/nlm/nlm_advlock.c
1079
if (res.stat.stat == nlm4_denied_grace_period) {
sys/nlm/nlm_advlock.c
1093
if (res.stat.stat == nlm4_denied) {
sys/nlm/nlm_advlock.c
1095
&res.stat.nlm4_testrply_u.holder;
sys/nlm/nlm_advlock.c
1116
nlm_map_status(nlm4_stats stat)
sys/nlm/nlm_advlock.c
1118
switch (stat) {
sys/nlm/nlm_advlock.c
562
dst->stat.stat = (enum nlm4_stats) src->stat.stat;
sys/nlm/nlm_advlock.c
574
enum clnt_stat stat;
sys/nlm/nlm_advlock.c
581
stat = nlm_test_1(&args1, &res1, client, ext, timo);
sys/nlm/nlm_advlock.c
583
if (stat == RPC_SUCCESS) {
sys/nlm/nlm_advlock.c
585
res->stat.stat = (enum nlm4_stats) res1.stat.stat;
sys/nlm/nlm_advlock.c
586
if (res1.stat.stat == nlm_denied)
sys/nlm/nlm_advlock.c
588
&res->stat.nlm4_testrply_u.holder,
sys/nlm/nlm_advlock.c
589
&res1.stat.nlm_testrply_u.holder);
sys/nlm/nlm_advlock.c
592
return (stat);
sys/nlm/nlm_advlock.c
605
enum clnt_stat stat;
sys/nlm/nlm_advlock.c
615
stat = nlm_lock_1(&args1, &res1, client, ext, timo);
sys/nlm/nlm_advlock.c
617
if (stat == RPC_SUCCESS) {
sys/nlm/nlm_advlock.c
621
return (stat);
sys/nlm/nlm_advlock.c
634
enum clnt_stat stat;
sys/nlm/nlm_advlock.c
642
stat = nlm_cancel_1(&args1, &res1, client, ext, timo);
sys/nlm/nlm_advlock.c
644
if (stat == RPC_SUCCESS) {
sys/nlm/nlm_advlock.c
648
return (stat);
sys/nlm/nlm_advlock.c
661
enum clnt_stat stat;
sys/nlm/nlm_advlock.c
667
stat = nlm_unlock_1(&args1, &res1, client, ext, timo);
sys/nlm/nlm_advlock.c
669
if (stat == RPC_SUCCESS) {
sys/nlm/nlm_advlock.c
673
return (stat);
sys/nlm/nlm_advlock.c
768
enum clnt_stat stat;
sys/nlm/nlm_advlock.c
801
stat = nlm_lock_rpc(vers, &args, &res, client, ext, *timo);
sys/nlm/nlm_advlock.c
805
if (stat != RPC_SUCCESS) {
sys/nlm/nlm_advlock.c
820
if (block && res.stat.stat != nlm4_blocked)
sys/nlm/nlm_advlock.c
823
if (res.stat.stat == nlm4_denied_grace_period) {
sys/nlm/nlm_advlock.c
839
if (block && res.stat.stat == nlm4_blocked) {
sys/nlm/nlm_advlock.c
87
static int nlm_map_status(nlm4_stats stat);
sys/nlm/nlm_advlock.c
876
stat = nlm_cancel_rpc(vers, &cancel,
sys/nlm/nlm_advlock.c
881
if (stat != RPC_SUCCESS) {
sys/nlm/nlm_advlock.c
895
} while (stat != RPC_SUCCESS);
sys/nlm/nlm_advlock.c
902
switch (res.stat.stat) {
sys/nlm/nlm_advlock.c
942
error = nlm_map_status(res.stat.stat);
sys/nlm/nlm_advlock.c
966
enum clnt_stat stat;
sys/nlm/nlm_advlock.c
986
stat = nlm_unlock_rpc(vers, &args, &res, client, ext, *timo);
sys/nlm/nlm_advlock.c
990
if (stat != RPC_SUCCESS) {
sys/nlm/nlm_prot.h
141
nlm_stats stat;
sys/nlm/nlm_prot.h
168
nlm4_stats stat;
sys/nlm/nlm_prot.h
201
nlm4_stats stat;
sys/nlm/nlm_prot.h
210
nlm4_testrply stat;
sys/nlm/nlm_prot.h
223
nlm4_stat stat;
sys/nlm/nlm_prot.h
260
nlm4_stats stat;
sys/nlm/nlm_prot.h
38
nlm_stats stat;
sys/nlm/nlm_prot.h
46
nlm_stats stat;
sys/nlm/nlm_prot.h
52
nlm_stat stat;
sys/nlm/nlm_prot.h
58
nlm_testrply stat;
sys/nlm/nlm_prot_impl.c
1153
enum clnt_stat stat;
sys/nlm/nlm_prot_impl.c
1171
stat = CLNT_CALL(nlm_nsm, SM_UNMON,
sys/nlm/nlm_prot_impl.c
1175
if (stat != RPC_SUCCESS) {
sys/nlm/nlm_prot_impl.c
1176
NLM_ERR("Failed to contact local NSM - rpc error %d\n", stat);
sys/nlm/nlm_prot_impl.c
1198
enum clnt_stat stat;
sys/nlm/nlm_prot_impl.c
1236
stat = CLNT_CALL(nlm_nsm, SM_MON,
sys/nlm/nlm_prot_impl.c
1240
if (stat != RPC_SUCCESS) {
sys/nlm/nlm_prot_impl.c
1241
NLM_ERR("Failed to contact local NSM - rpc error %d\n", stat);
sys/nlm/nlm_prot_impl.c
1541
enum clnt_stat stat;
sys/nlm/nlm_prot_impl.c
1629
stat = CLNT_CALL(nlm_nsm, SM_UNMON_ALL,
sys/nlm/nlm_prot_impl.c
1633
if (stat != RPC_SUCCESS) {
sys/nlm/nlm_prot_impl.c
1638
"stat=%d, errno=%d\n", stat, err.re_errno);
sys/nlm/nlm_prot_impl.c
1871
result->stat.stat = nlm4_denied_nolocks;
sys/nlm/nlm_prot_impl.c
1885
result->stat.stat = nlm4_denied_grace_period;
sys/nlm/nlm_prot_impl.c
1892
result->stat.stat = nlm_convert_error(error);
sys/nlm/nlm_prot_impl.c
1907
result->stat.stat = nlm4_failed;
sys/nlm/nlm_prot_impl.c
1912
result->stat.stat = nlm4_granted;
sys/nlm/nlm_prot_impl.c
1914
result->stat.stat = nlm4_denied;
sys/nlm/nlm_prot_impl.c
1915
result->stat.nlm4_testrply_u.holder.exclusive =
sys/nlm/nlm_prot_impl.c
1917
result->stat.nlm4_testrply_u.holder.svid = fl.l_pid;
sys/nlm/nlm_prot_impl.c
1940
result->stat.nlm4_testrply_u.holder.l_offset = fl.l_start;
sys/nlm/nlm_prot_impl.c
1941
result->stat.nlm4_testrply_u.holder.l_len = fl.l_len;
sys/nlm/nlm_prot_impl.c
1969
result->stat.stat = nlm4_denied_nolocks;
sys/nlm/nlm_prot_impl.c
1992
result->stat.stat = nlm4_denied_grace_period;
sys/nlm/nlm_prot_impl.c
1999
result->stat.stat = nlm_convert_error(error);
sys/nlm/nlm_prot_impl.c
2022
result->stat.stat = nlm4_failed;
sys/nlm/nlm_prot_impl.c
2048
result->stat.stat = nlm4_blocked;
sys/nlm/nlm_prot_impl.c
2119
result->stat.stat = nlm4_blocked;
sys/nlm/nlm_prot_impl.c
2121
result->stat.stat = nlm4_deadlck;
sys/nlm/nlm_prot_impl.c
2123
result->stat.stat = nlm4_denied;
sys/nlm/nlm_prot_impl.c
2125
result->stat.stat = nlm4_failed;
sys/nlm/nlm_prot_impl.c
2130
result->stat.stat = nlm4_granted;
sys/nlm/nlm_prot_impl.c
2158
result->stat.stat = nlm4_denied_nolocks;
sys/nlm/nlm_prot_impl.c
2172
result->stat.stat = nlm4_denied_grace_period;
sys/nlm/nlm_prot_impl.c
2178
result->stat.stat = nlm_convert_error(error);
sys/nlm/nlm_prot_impl.c
2209
result->stat.stat = nlm4_denied;
sys/nlm/nlm_prot_impl.c
2216
result->stat.stat = nlm4_denied;
sys/nlm/nlm_prot_impl.c
2218
result->stat.stat = nlm4_granted;
sys/nlm/nlm_prot_impl.c
2247
result->stat.stat = nlm4_denied_nolocks;
sys/nlm/nlm_prot_impl.c
2261
result->stat.stat = nlm4_denied_grace_period;
sys/nlm/nlm_prot_impl.c
2267
result->stat.stat = nlm_convert_error(error);
sys/nlm/nlm_prot_impl.c
2283
result->stat.stat = nlm4_granted;
sys/nlm/nlm_prot_impl.c
2305
result->stat.stat = nlm4_denied_nolocks;
sys/nlm/nlm_prot_impl.c
2310
result->stat.stat = nlm4_denied;
sys/nlm/nlm_prot_impl.c
2325
result->stat.stat = nlm4_granted;
sys/nlm/nlm_prot_impl.c
2373
if (argp->stat.stat != nlm4_granted) {
sys/nlm/nlm_prot_impl.c
340
enum clnt_stat stat = RPC_SUCCESS;
sys/nlm/nlm_prot_impl.c
405
stat = CLNT_CALL(rpcb, (rpcprog_t) RPCBPROC_GETADDR,
sys/nlm/nlm_prot_impl.c
408
if (stat == RPC_SUCCESS) {
sys/nlm/nlm_prot_impl.c
428
if (tryagain || stat == RPC_PROGVERSMISMATCH) {
sys/nlm/nlm_prot_impl.c
446
stat = CLNT_CALL(rpcb, (rpcprog_t) PMAPPROC_GETPORT,
sys/nlm/nlm_prot_impl.c
450
if (stat == RPC_SUCCESS) {
sys/nlm/nlm_prot_impl.c
483
if (stat != RPC_SUCCESS || !port) {
sys/nlm/nlm_prot_impl.c
492
if (stat == RPC_SUCCESS && !do_tcp) {
sys/nlm/nlm_prot_impl.c
505
(int) stat, namebuf, htons(port));
sys/nlm/nlm_prot_impl.c
514
(int) stat, namebuf6, htons(port));
sys/nlm/nlm_prot_server.c
104
dst->stat.stat = nlm_convert_to_nlm_stats(src->stat.stat);
sys/nlm/nlm_prot_server.c
111
dst->stat.stat = (enum nlm4_stats) src->stat.stat;
sys/nlm/nlm_prot_server.c
142
result->stat.stat = nlm_convert_to_nlm_stats(res4.stat.stat);
sys/nlm/nlm_prot_server.c
143
if (result->stat.stat == nlm_denied)
sys/nlm/nlm_prot_server.c
145
&result->stat.nlm_testrply_u.holder,
sys/nlm/nlm_prot_server.c
146
&res4.stat.nlm4_testrply_u.holder);
sys/nlm/nlm_prot_server.c
244
res.stat.stat = nlm_convert_to_nlm_stats(res4.stat.stat);
sys/nlm/nlm_prot_server.c
245
if (res.stat.stat == nlm_denied)
sys/nlm/nlm_prot_server.c
247
&res.stat.nlm_testrply_u.holder,
sys/nlm/nlm_prot_server.c
248
&res4.stat.nlm4_testrply_u.holder);
sys/nlm/nlm_prot_server.c
376
if (argp->stat.stat == nlm_denied)
sys/nlm/nlm_prot_server.c
378
&args4.stat.nlm4_testrply_u.holder,
sys/nlm/nlm_prot_server.c
379
&argp->stat.nlm_testrply_u.holder);
sys/nlm/nlm_prot_server.c
442
result->stat = nlm_convert_to_nlm_stats(res4.stat);
sys/nlm/nlm_prot_server.c
463
result->stat = nlm_convert_to_nlm_stats(res4.stat);
sys/nlm/nlm_prot_server.c
681
result->stat = nlm4_denied;
sys/nlm/nlm_prot_server.c
690
result->stat = nlm4_denied;
sys/nlm/nlm_prot_xdr.c
216
if (!xdr_nlm_stats(xdrs, &objp->stat))
sys/nlm/nlm_prot_xdr.c
247
if (!xdr_nlm4_stats(xdrs, &objp->stat))
sys/nlm/nlm_prot_xdr.c
309
if (!xdr_nlm4_stats(xdrs, &objp->stat))
sys/nlm/nlm_prot_xdr.c
311
switch (objp->stat) {
sys/nlm/nlm_prot_xdr.c
328
if (!xdr_nlm4_testrply(xdrs, &objp->stat))
sys/nlm/nlm_prot_xdr.c
352
if (!xdr_nlm4_stat(xdrs, &objp->stat))
sys/nlm/nlm_prot_xdr.c
41
if (!xdr_nlm_stats(xdrs, &objp->stat))
sys/nlm/nlm_prot_xdr.c
421
if (!xdr_nlm4_stats(xdrs, &objp->stat))
sys/nlm/nlm_prot_xdr.c
43
switch (objp->stat) {
sys/nlm/nlm_prot_xdr.c
58
if (!xdr_nlm_stats(xdrs, &objp->stat))
sys/nlm/nlm_prot_xdr.c
69
if (!xdr_nlm_stat(xdrs, &objp->stat))
sys/nlm/nlm_prot_xdr.c
80
if (!xdr_nlm_testrply(xdrs, &objp->stat))
sys/ofed/drivers/infiniband/ulp/sdp/sdp.h
617
#define SDPSTATS_COUNTER_INC(stat)
sys/ofed/drivers/infiniband/ulp/sdp/sdp.h
618
#define SDPSTATS_COUNTER_ADD(stat, val)
sys/ofed/drivers/infiniband/ulp/sdp/sdp.h
619
#define SDPSTATS_COUNTER_MID_INC(stat, mid)
sys/ofed/drivers/infiniband/ulp/sdp/sdp.h
620
#define SDPSTATS_HIST_LINEAR(stat, size)
sys/ofed/drivers/infiniband/ulp/sdp/sdp.h
621
#define SDPSTATS_HIST(stat, size)
sys/opencrypto/crypto.c
228
#define CRYPTOSTAT_INC(stat) do { \
sys/opencrypto/crypto.c
230
cryptostats[offsetof(struct cryptostats, stat) / sizeof(uint64_t)],\
sys/powerpc/ps3/ps3-hvcall.h
74
int lv1_clear_spe_interrupt_status(uint64_t spe_id, uint64_t class, uint64_t stat, uint64_t zero);
sys/powerpc/ps3/ps3-hvcall.h
75
int lv1_get_spe_interrupt_status(uint64_t spe_id, uint64_t class, uint64_t *stat);
sys/rpc/auth_unix.c
299
int stat;
sys/rpc/auth_unix.c
310
stat = xdr_authunix_parms(&xdrs, &time, &xcr);
sys/rpc/auth_unix.c
311
if (! stat)
sys/rpc/auth_unix.c
320
stat = xdr_authunix_parms(&xdrs, &time, &xcr);
sys/rpc/auth_unix.c
321
if (! stat)
sys/rpc/auth_unix.c
327
return (stat);
sys/rpc/clnt_bck.c
195
enum clnt_stat stat;
sys/rpc/clnt_bck.c
261
errp->re_status = stat = RPC_SUCCESS;
sys/rpc/clnt_bck.c
266
errp->re_status = stat = RPC_CANTENCODEARGS;
sys/rpc/clnt_bck.c
294
stat = RPC_CANTRECV;
sys/rpc/clnt_bck.c
341
errp->re_status = stat = RPC_CANTSEND;
sys/rpc/clnt_bck.c
353
errp->re_status = stat = RPC_CANTRECV;
sys/rpc/clnt_bck.c
366
errp->re_status = stat = RPC_TIMEDOUT;
sys/rpc/clnt_bck.c
384
stat = RPC_INTR;
sys/rpc/clnt_bck.c
387
stat = RPC_TIMEDOUT;
sys/rpc/clnt_bck.c
390
stat = RPC_CANTRECV;
sys/rpc/clnt_bck.c
392
errp->re_status = stat;
sys/rpc/clnt_bck.c
402
errp->re_status = stat = RPC_CANTRECV;
sys/rpc/clnt_bck.c
424
errp->re_status = stat = RPC_SUCCESS;
sys/rpc/clnt_bck.c
426
stat = _seterr_reply(&reply_msg, errp);
sys/rpc/clnt_bck.c
428
if (stat == RPC_SUCCESS) {
sys/rpc/clnt_bck.c
432
errp->re_status = stat = RPC_AUTHERROR;
sys/rpc/clnt_bck.c
444
else if (stat == RPC_AUTHERROR) {
sys/rpc/clnt_bck.c
459
errp->re_status = stat = RPC_CANTDECODERES;
sys/rpc/clnt_bck.c
465
KASSERT(stat != RPC_SUCCESS || *resultsp,
sys/rpc/clnt_bck.c
479
if (auth && stat != RPC_SUCCESS)
sys/rpc/clnt_bck.c
484
return (stat);
sys/rpc/clnt_dg.c
337
enum clnt_stat stat;
sys/rpc/clnt_dg.c
394
errp->re_status = stat = RPC_CANTSEND;
sys/rpc/clnt_dg.c
443
errp->re_status = stat = RPC_CANTENCODEARGS;
sys/rpc/clnt_dg.c
462
errp->re_status = stat = RPC_INTR;
sys/rpc/clnt_dg.c
464
errp->re_status = stat = RPC_CANTSEND;
sys/rpc/clnt_dg.c
494
errp->re_status = stat = RPC_CANTSEND;
sys/rpc/clnt_dg.c
510
errp->re_status = stat = RPC_CANTRECV;
sys/rpc/clnt_dg.c
533
errp->re_status = stat = RPC_TIMEDOUT;
sys/rpc/clnt_dg.c
578
errp->re_status = stat = RPC_CANTRECV;
sys/rpc/clnt_dg.c
634
errp->re_status = stat = RPC_INTR;
sys/rpc/clnt_dg.c
636
errp->re_status = stat = RPC_CANTRECV;
sys/rpc/clnt_dg.c
645
errp->re_status = stat = RPC_TIMEDOUT;
sys/rpc/clnt_dg.c
666
errp->re_status = stat = RPC_CANTRECV;
sys/rpc/clnt_dg.c
697
errp->re_status = stat = RPC_SUCCESS;
sys/rpc/clnt_dg.c
699
stat = _seterr_reply(&reply_msg, &(cu->cu_error));
sys/rpc/clnt_dg.c
706
errp->re_status = stat = RPC_AUTHERROR;
sys/rpc/clnt_dg.c
742
else if (stat == RPC_AUTHERROR) {
sys/rpc/clnt_dg.c
758
errp->re_status = stat = RPC_CANTDECODERES;
sys/rpc/clnt_dg.c
777
if (auth && stat != RPC_SUCCESS)
sys/rpc/clnt_dg.c
782
return (stat);
sys/rpc/clnt_nl.c
263
enum clnt_stat stat;
sys/rpc/clnt_nl.c
301
stat = errp->re_status = RPC_CANTENCODEARGS;
sys/rpc/clnt_nl.c
304
stat = errp->re_status = RPC_SUCCESS;
sys/rpc/clnt_nl.c
354
stat = errp->re_status = RPC_CANTDECODERES;
sys/rpc/clnt_nl.c
361
stat = errp->re_status = RPC_SUCCESS;
sys/rpc/clnt_nl.c
369
stat = errp->re_status = RPC_AUTHERROR;
sys/rpc/clnt_nl.c
373
stat = _seterr_reply(&reply_msg, errp);
sys/rpc/clnt_nl.c
379
stat = errp->re_status = RPC_CANTRECV;
sys/rpc/clnt_nl.c
389
return (stat);
sys/rpc/clnt_rc.c
131
enum clnt_stat stat;
sys/rpc/clnt_rc.c
169
stat = rpc_createerr.cf_stat = RPC_TLIERROR;
sys/rpc/clnt_rc.c
192
stat = rpc_createerr.cf_stat = RPC_CANTSEND;
sys/rpc/clnt_rc.c
209
stat = rpctls_connect(newclient, rc->rc_tlscertname, so,
sys/rpc/clnt_rc.c
212
if (stat != RPC_SUCCESS || reterr != RPCTLSERR_OK) {
sys/rpc/clnt_rc.c
213
if (stat == RPC_SUCCESS)
sys/rpc/clnt_rc.c
214
stat = RPC_FAILED;
sys/rpc/clnt_rc.c
215
stat = rpc_createerr.cf_stat = stat;
sys/rpc/clnt_rc.c
241
stat = rpc_createerr.cf_stat;
sys/rpc/clnt_rc.c
252
stat = RPC_SUCCESS;
sys/rpc/clnt_rc.c
276
return (stat);
sys/rpc/clnt_rc.c
290
enum clnt_stat stat;
sys/rpc/clnt_rc.c
303
stat = clnt_reconnect_connect(cl);
sys/rpc/clnt_rc.c
304
if (stat == RPC_SYSTEMERROR) {
sys/rpc/clnt_rc.c
311
return (stat);
sys/rpc/clnt_rc.c
314
if (stat != RPC_SUCCESS)
sys/rpc/clnt_rc.c
315
return (stat);
sys/rpc/clnt_rc.c
321
stat = RPC_FAILED;
sys/rpc/clnt_rc.c
327
stat = CLNT_CALL_MBUF(client, ext, proc, args,
sys/rpc/clnt_rc.c
330
if (stat != RPC_SUCCESS) {
sys/rpc/clnt_rc.c
335
if (stat == RPC_TIMEDOUT) {
sys/rpc/clnt_rc.c
350
if (stat == RPC_TIMEDOUT || stat == RPC_CANTSEND
sys/rpc/clnt_rc.c
351
|| stat == RPC_CANTRECV) {
sys/rpc/clnt_rc.c
383
} while (stat != RPC_SUCCESS);
sys/rpc/clnt_rc.c
385
KASSERT(stat != RPC_SUCCESS || *resultsp,
sys/rpc/clnt_rc.c
388
return (stat);
sys/rpc/clnt_vc.c
293
enum clnt_stat stat;
sys/rpc/clnt_vc.c
372
errp->re_status = stat = RPC_SUCCESS;
sys/rpc/clnt_vc.c
377
errp->re_status = stat = RPC_CANTENCODEARGS;
sys/rpc/clnt_vc.c
405
stat = RPC_CANTRECV;
sys/rpc/clnt_vc.c
459
errp->re_status = stat = RPC_CANTSEND;
sys/rpc/clnt_vc.c
471
errp->re_status = stat = RPC_CANTRECV;
sys/rpc/clnt_vc.c
484
errp->re_status = stat = RPC_TIMEDOUT;
sys/rpc/clnt_vc.c
502
stat = RPC_INTR;
sys/rpc/clnt_vc.c
505
stat = RPC_TIMEDOUT;
sys/rpc/clnt_vc.c
508
stat = RPC_CANTRECV;
sys/rpc/clnt_vc.c
510
errp->re_status = stat;
sys/rpc/clnt_vc.c
520
errp->re_status = stat = RPC_CANTRECV;
sys/rpc/clnt_vc.c
542
errp->re_status = stat = RPC_SUCCESS;
sys/rpc/clnt_vc.c
544
stat = _seterr_reply(&reply_msg, errp);
sys/rpc/clnt_vc.c
546
if (stat == RPC_SUCCESS) {
sys/rpc/clnt_vc.c
551
errp->re_status = stat = RPC_AUTHERROR;
sys/rpc/clnt_vc.c
563
else if (stat == RPC_AUTHERROR) {
sys/rpc/clnt_vc.c
579
errp->re_status = stat = RPC_CANTDECODERES;
sys/rpc/clnt_vc.c
586
KASSERT(stat != RPC_SUCCESS || *resultsp,
sys/rpc/clnt_vc.c
600
if (auth && stat != RPC_SUCCESS)
sys/rpc/clnt_vc.c
605
return (stat);
sys/rpc/rpc_generic.c
743
enum clnt_stat stat;
sys/rpc/rpc_generic.c
754
stat = CLNT_CALL_MBUF(cl, ext, proc, mreq, &mrep, utimeout);
sys/rpc/rpc_generic.c
757
if (stat == RPC_SUCCESS) {
sys/rpc/rpc_generic.c
766
return (stat);
sys/rpc/rpc_prot.c
303
enum clnt_stat stat;
sys/rpc/rpc_prot.c
313
stat = RPC_SUCCESS;
sys/rpc/rpc_prot.c
314
return (stat);
sys/rpc/rpc_prot.c
316
stat = accepted(msg->acpted_rply.ar_stat, error);
sys/rpc/rpc_prot.c
320
stat = rejected(msg->rjcted_rply.rj_stat, error);
sys/rpc/rpc_prot.c
324
stat = RPC_FAILED;
sys/rpc/rpc_prot.c
328
error->re_status = stat;
sys/rpc/rpc_prot.c
330
switch (stat) {
sys/rpc/rpc_prot.c
365
return (stat);
sys/rpc/rpcsec_tls/rpctls_impl.c
261
enum clnt_stat stat;
sys/rpc/rpcsec_tls/rpctls_impl.c
271
stat = clnt_call_private(newclient, &ext, NULLPROC, (xdrproc_t)xdr_void,
sys/rpc/rpcsec_tls/rpctls_impl.c
274
if (stat == RPC_AUTHERROR)
sys/rpc/rpcsec_tls/rpctls_impl.c
275
return (stat);
sys/rpc/rpcsec_tls/rpctls_impl.c
276
if (stat != RPC_SUCCESS)
sys/rpc/rpcsec_tls/rpctls_impl.c
294
stat = rpctlscd_connect_2(&arg, &res, rpctls_connect_handle);
sys/rpc/rpcsec_tls/rpctls_impl.c
295
if (stat == RPC_SUCCESS)
sys/rpc/rpcsec_tls/rpctls_impl.c
316
return (stat);
sys/rpc/rpcsec_tls/rpctls_impl.c
325
enum clnt_stat stat;
sys/rpc/rpcsec_tls/rpctls_impl.c
329
stat = rpctlscd_handlerecord_2(&arg, &res, rpctls_connect_handle);
sys/rpc/rpcsec_tls/rpctls_impl.c
330
if (stat == RPC_SUCCESS)
sys/rpc/rpcsec_tls/rpctls_impl.c
332
return (stat);
sys/rpc/rpcsec_tls/rpctls_impl.c
340
enum clnt_stat stat;
sys/rpc/rpcsec_tls/rpctls_impl.c
344
stat = rpctlssd_handlerecord_2(&arg, &res, rpctls_server_handle);
sys/rpc/rpcsec_tls/rpctls_impl.c
345
if (stat == RPC_SUCCESS)
sys/rpc/rpcsec_tls/rpctls_impl.c
347
return (stat);
sys/rpc/rpcsec_tls/rpctls_impl.c
356
enum clnt_stat stat;
sys/rpc/rpcsec_tls/rpctls_impl.c
360
stat = rpctlscd_disconnect_2(&arg, &res, rpctls_connect_handle);
sys/rpc/rpcsec_tls/rpctls_impl.c
361
if (stat == RPC_SUCCESS)
sys/rpc/rpcsec_tls/rpctls_impl.c
363
return (stat);
sys/rpc/rpcsec_tls/rpctls_impl.c
371
enum clnt_stat stat;
sys/rpc/rpcsec_tls/rpctls_impl.c
375
stat = rpctlssd_disconnect_2(&arg, &res, rpctls_server_handle);
sys/rpc/rpcsec_tls/rpctls_impl.c
376
if (stat == RPC_SUCCESS)
sys/rpc/rpcsec_tls/rpctls_impl.c
378
return (stat);
sys/rpc/rpcsec_tls/rpctls_impl.c
386
enum clnt_stat stat;
sys/rpc/rpcsec_tls/rpctls_impl.c
406
stat = rpctlssd_connect_2(&arg, &res, rpctls_server_handle);
sys/rpc/rpcsec_tls/rpctls_impl.c
407
if (stat == RPC_SUCCESS) {
sys/rpc/rpcsec_tls/rpctls_impl.c
438
return (stat);
sys/rpc/rpcsec_tls/rpctls_impl.c
451
enum clnt_stat stat;
sys/rpc/rpcsec_tls/rpctls_impl.c
513
stat = rpctls_server(xprt, &flags, &uid, &ngrps, &gidp);
sys/rpc/rpcsec_tls/rpctls_impl.c
518
if (stat == RPC_SUCCESS) {
sys/rpc/svc.c
1022
if ((stat = SVC_STAT(xprt)) == XPRT_DIED) {
sys/rpc/svc.c
1028
return (stat);
sys/rpc/svc.c
1163
enum xprt_stat stat;
sys/rpc/svc.c
1279
stat = svc_getreq(xprt, &rqstp);
sys/rpc/svc.c
1300
} while (rqstp == NULL && stat == XPRT_MOREREQS
sys/rpc/svc.c
1445
bool_t stat;
sys/rpc/svc.c
1451
stat = xargs(&xdrs, args);
sys/rpc/svc.c
1454
return (stat);
sys/rpc/svc.c
927
enum xprt_stat stat;
sys/rpc/svc_auth_unix.c
122
stat = AUTH_OK;
sys/rpc/svc_auth_unix.c
126
return (stat);
sys/rpc/svc_auth_unix.c
129
stat = AUTH_BADCRED;
sys/rpc/svc_auth_unix.c
56
enum auth_stat stat;
sys/rpc/svc_dg.c
231
bool_t stat = TRUE;
sys/rpc/svc_dg.c
241
stat = FALSE;
sys/rpc/svc_dg.c
245
stat = xdr_replymsg(&xdrs, msg);
sys/rpc/svc_dg.c
248
if (stat) {
sys/rpc/svc_dg.c
253
stat = TRUE;
sys/rpc/svc_dg.c
262
return (stat);
sys/rpc/svc_vc.c
1001
stat = FALSE;
sys/rpc/svc_vc.c
1005
stat = xdr_replymsg(&xdrs, msg);
sys/rpc/svc_vc.c
1008
if (stat) {
sys/rpc/svc_vc.c
1049
stat = TRUE;
sys/rpc/svc_vc.c
1058
return (stat);
sys/rpc/svc_vc.c
1068
bool_t stat = TRUE;
sys/rpc/svc_vc.c
1085
stat = FALSE;
sys/rpc/svc_vc.c
1089
stat = xdr_replymsg(&xdrs, msg);
sys/rpc/svc_vc.c
1092
if (stat) {
sys/rpc/svc_vc.c
1125
stat = TRUE;
sys/rpc/svc_vc.c
1133
return (stat);
sys/rpc/svc_vc.c
984
bool_t stat = TRUE;
sys/sys/bio.h
155
void biofinish(struct bio *bp, struct devstat *stat, int error);
sys/sys/file.h
117
typedef int fo_stat_t(struct file *fp, struct stat *sb,
sys/sys/file.h
403
fo_stat(struct file *fp, struct stat *sb, struct ucred *active_cred)
sys/sys/file.h
50
struct stat;
sys/sys/ktrace.h
184
struct stat;
sys/sys/ktrace.h
368
ktrstruct("stat", (s), sizeof(struct stat))
sys/sys/ktrace.h
370
ktrstruct_error("stat", (s), sizeof(struct stat), error)
sys/sys/mount.h
1238
struct stat;
sys/sys/mount.h
1245
int fhstat(const struct fhandle *, struct stat *);
sys/sys/protosw.h
50
struct stat;
sys/sys/protosw.h
86
typedef int pr_sense_t(struct socket *, struct stat *);
sys/sys/stat.h
382
int fstat(int, struct stat *);
sys/sys/stat.h
388
int lstat(const char * __restrict, struct stat * __restrict);
sys/sys/stat.h
396
int stat(const char * __restrict, struct stat * __restrict);
sys/sys/stat.h
399
int fstatat(int, const char *, struct stat *, int);
sys/sys/syscallsubr.h
178
int kern_fhstat(struct thread *td, fhandle_t fh, struct stat *buf);
sys/sys/syscallsubr.h
187
int kern_fstat(struct thread *td, int fd, struct stat *sbp);
sys/sys/syscallsubr.h
229
int kern_kldstat(struct thread *td, int fileid, struct kld_file_stat *stat);
sys/sys/syscallsubr.h
374
enum uio_seg pathseg, struct stat *sbp);
sys/sys/syscallsubr.h
66
struct stat;
sys/sys/sysproto.h
1671
char sb_l_[PADL_(struct stat *)]; struct stat * sb; char sb_r_[PADR_(struct stat *)];
sys/sys/sysproto.h
1676
char buf_l_[PADL_(struct stat *)]; struct stat * buf; char buf_r_[PADR_(struct stat *)];
sys/sys/sysproto.h
1681
char sb_l_[PADL_(struct stat *)]; struct stat * sb; char sb_r_[PADR_(struct stat *)];
sys/sys/sysproto.h
728
char stat_l_[PADL_(struct module_stat *)]; struct module_stat * stat; char stat_r_[PADR_(struct module_stat *)];
sys/sys/sysproto.h
750
char stat_l_[PADL_(struct kld_file_stat *)]; struct kld_file_stat * stat; char stat_r_[PADR_(struct kld_file_stat *)];
sys/sys/vnode.h
644
struct stat;
sys/sys/vnode.h
708
void cvtstat(struct stat *st, struct ostat *ost);
sys/sys/vnode.h
709
int freebsd11_cvtnstat(struct stat *sb, struct nstat *nsb);
sys/sys/vnode.h
710
int freebsd11_cvtstat(struct stat *st, struct freebsd11_stat *ost);
sys/ufs/ufs/ufs_vnops.c
523
struct stat *sb = ap->a_sb;
sys/xdr/xdr_array.c
109
for (i = 0; (i < c) && stat; i++) {
sys/xdr/xdr_array.c
110
stat = (*elproc)(xdrs, target);
sys/xdr/xdr_array.c
121
return (stat);
sys/xdr/xdr_array.c
68
bool_t stat = TRUE;
sys/xdr/xdr_reference.c
65
bool_t stat;
sys/xdr/xdr_reference.c
85
stat = (*proc)(xdrs, loc);
sys/xdr/xdr_reference.c
91
return (stat);
sys/xdr/xdr_sizeof.c
130
bool_t stat;
sys/xdr/xdr_sizeof.c
152
stat = func(&x, data);
sys/xdr/xdr_sizeof.c
155
return (stat == TRUE ? (unsigned) x.x_handy: 0);
tests/sys/aio/aio_test.c
1507
struct stat sb;
tests/sys/audit/file-attribute-access.c
294
ATF_REQUIRE_EQ(0, stat(path, &statbuff));
tests/sys/audit/file-attribute-access.c
48
static struct stat statbuff;
tests/sys/audit/file-attribute-access.c
70
ATF_REQUIRE_EQ(0, stat(path, &statbuff));
tests/sys/audit/file-attribute-access.c
92
ATF_REQUIRE_ERRNO(ENOENT, stat(errpath, &statbuff) == -1);
tests/sys/audit/file-close.c
108
ATF_REQUIRE_EQ(0, stat(path, &statbuff));
tests/sys/audit/file-close.c
43
static struct stat statbuff;
tests/sys/capsicum/capability-fd.cc
1279
struct stat info;
tests/sys/capsicum/capability-fd.cc
538
struct stat sb;
tests/sys/capsicum/capability-fd.cc
795
struct stat sb;
tests/sys/capsicum/capmode.cc
120
struct stat sb;
tests/sys/capsicum/capmode.cc
411
struct stat fs;
tests/sys/capsicum/capmode.cc
475
struct stat fs;
tests/sys/capsicum/capmode.cc
79
struct stat sb;
tests/sys/capsicum/capmode.cc
87
EXPECT_CAPMODE(stat(TmpFile("cap_capmode_stat"), &sb));
tests/sys/capsicum/capsicum-test-main.cc
108
struct stat info;
tests/sys/capsicum/capsicum-test-main.cc
109
stat(tmpdir.c_str(), &info);
tests/sys/capsicum/capsicum-test-main.cc
133
struct stat info;
tests/sys/capsicum/capsicum-test-main.cc
134
if (stat(argv[0], &info) == 0) {
tests/sys/capsicum/fexecve.cc
120
struct stat data;
tests/sys/capsicum/fexecve.cc
137
struct stat data;
tests/sys/capsicum/linux.cc
1100
struct stat buf;
tests/sys/capsicum/linux.cc
343
struct stat info;
tests/sys/capsicum/procdesc.cc
180
struct stat stat;
tests/sys/capsicum/procdesc.cc
181
memset(&stat, 0, sizeof(stat));
tests/sys/capsicum/procdesc.cc
182
EXPECT_OK(fstat(pd, &stat));
tests/sys/capsicum/procdesc.cc
183
if (verbose) print_stat(stderr, &stat);
tests/sys/capsicum/procdesc.cc
185
EXPECT_GE(now, stat.st_birthtime);
tests/sys/capsicum/procdesc.cc
186
EXPECT_EQ(stat.st_birthtime, stat.st_atime);
tests/sys/capsicum/procdesc.cc
187
EXPECT_LT((now - stat.st_atime), 2);
tests/sys/capsicum/procdesc.cc
188
EXPECT_EQ(stat.st_atime, stat.st_ctime);
tests/sys/capsicum/procdesc.cc
189
EXPECT_EQ(stat.st_ctime, stat.st_mtime);
tests/sys/capsicum/procdesc.cc
46
static void print_stat(FILE *f, const struct stat *stat) {
tests/sys/capsicum/procdesc.cc
52
(long)stat->st_dev, (long)stat->st_ino, stat->st_mode,
tests/sys/capsicum/procdesc.cc
53
(long)stat->st_nlink, stat->st_uid, stat->st_gid,
tests/sys/capsicum/procdesc.cc
54
(long)stat->st_rdev, (long)stat->st_size, (long)stat->st_blksize,
tests/sys/capsicum/procdesc.cc
55
(long)stat->st_blocks,
tests/sys/capsicum/procdesc.cc
56
(long)stat->st_birthtime,
tests/sys/capsicum/procdesc.cc
57
(long)stat->st_atime, (long)stat->st_mtime, (long)stat->st_ctime);
tests/sys/capsicum/procdesc.cc
809
struct stat stat;
tests/sys/capsicum/procdesc.cc
810
memset(&stat, 0, sizeof(stat));
tests/sys/capsicum/procdesc.cc
811
EXPECT_OK(fstat(pd_, &stat));
tests/sys/capsicum/procdesc.cc
812
if (verbose) print_stat(stderr, &stat);
tests/sys/capsicum/procdesc.cc
813
EXPECT_EQ(S_IRWXU, (long)(stat.st_mode & S_IRWXU));
tests/sys/capsicum/procdesc.cc
818
memset(&stat, 0, sizeof(stat));
tests/sys/capsicum/procdesc.cc
819
EXPECT_OK(fstat(pd_, &stat));
tests/sys/capsicum/procdesc.cc
820
if (verbose) print_stat(stderr, &stat);
tests/sys/capsicum/procdesc.cc
821
EXPECT_EQ(0, (int)(stat.st_mode & S_IRWXU));
tests/sys/capsicum/smoketest.c
47
struct stat buf;
tests/sys/cddl/zfs/bin/rm_lnkcnt_zero_file.c
134
struct stat st;
tests/sys/cddl/zfs/bin/rm_lnkcnt_zero_file.c
136
ret = stat(filebase, &st);
tests/sys/cddl/zfs/tests/ctime/ctime_001_pos.c
184
struct stat stat_buf;
tests/sys/cddl/zfs/tests/ctime/ctime_001_pos.c
190
if (stat(pfile, &stat_buf) == -1) {
tests/sys/cddl/zfs/tests/exec/mmap_exec.c
41
struct stat statbuf;
tests/sys/fifo/fifo_create.c
107
if (stat(".", &old_dirsb) < 0)
tests/sys/fifo/fifo_create.c
121
if (stat(path, &fifosb) < 0) {
tests/sys/fifo/fifo_create.c
148
if (stat(".", &dirsb) < 0) {
tests/sys/fifo/fifo_create.c
171
if (stat(path, &fifosb) == 0)
tests/sys/fifo/fifo_create.c
206
struct stat sb;
tests/sys/fifo/fifo_create.c
231
if (stat(path, &sb) < 0) {
tests/sys/fifo/fifo_create.c
93
struct stat old_dirsb, dirsb, fifosb;
tests/sys/fifo/fifo_misc.c
231
struct stat sb;
tests/sys/fifo/fifo_misc.c
250
if (stat("testfifo", &sb) != 0) {
tests/sys/fifo/fifo_misc.c
289
if (stat("testfifo", &sb) != 0) {
tests/sys/file/closefrom_test.c
247
struct stat sb;
tests/sys/file/flock_helper.c
72
struct stat st;
tests/sys/file/flock_helper.c
78
if (stat(pathname, &st) == 0) {
tests/sys/file/fspacectl_test.c
49
struct stat statbuf;
tests/sys/file/fspacectl_test.c
91
struct stat statbuf;
tests/sys/file/ftruncate_test.c
62
struct stat sb;
tests/sys/file/path_test.c
109
struct stat sb;
tests/sys/file/path_test.c
331
struct stat sb;
tests/sys/file/path_test.c
398
struct stat sb;
tests/sys/file/path_test.c
463
struct stat sb, sb2;
tests/sys/file/path_test.c
662
struct stat sb;
tests/sys/file/path_test.c
672
ATF_REQUIRE_ERRNO(ENOENT, stat(path, &sb) == -1);
tests/sys/file/path_test.c
850
struct stat sb;
tests/sys/file/path_test.c
938
struct stat sb;
tests/sys/file/path_test.c
988
struct stat sb;
tests/sys/fs/fusefs/copy_file_range.cc
583
struct stat sb1a, sb1b, sb2a, sb2b;
tests/sys/fs/fusefs/copy_file_range.cc
648
struct stat sb;
tests/sys/fs/fusefs/copy_file_range.cc
746
struct stat sb1a, sb1b, sb2a, sb2b;
tests/sys/fs/fusefs/create.cc
156
struct stat sb;
tests/sys/fs/fusefs/create.cc
183
EXPECT_EQ(0, stat("mountpoint", &sb)) << strerror(errno);
tests/sys/fs/fusefs/create.cc
186
EXPECT_EQ(0, stat("mountpoint", &sb)) << strerror(errno);
tests/sys/fs/fusefs/default_permissions.cc
1014
struct stat sb;
tests/sys/fs/fusefs/default_permissions.cc
1623
struct stat sb;
tests/sys/fs/fusefs/default_permissions.cc
1649
struct stat sb;
tests/sys/fs/fusefs/default_permissions.cc
508
struct stat sb;
tests/sys/fs/fusefs/default_permissions.cc
552
struct stat sb;
tests/sys/fs/fusefs/default_permissions.cc
843
struct stat sb;
tests/sys/fs/fusefs/default_permissions.cc
877
struct stat sb;
tests/sys/fs/fusefs/default_permissions.cc
984
struct stat sb;
tests/sys/fs/fusefs/dev_fuse_poll.cc
104
struct stat sb;
tests/sys/fs/fusefs/dev_fuse_poll.cc
107
return ((void*)(intptr_t)stat(name, &sb));
tests/sys/fs/fusefs/fallocate.cc
368
struct stat sb0, sb1;
tests/sys/fs/fusefs/fallocate.cc
698
struct stat sb0, sb1;
tests/sys/fs/fusefs/fallocate.cc
723
EXPECT_EQ(0, stat(FULLPATH, &sb1));
tests/sys/fs/fusefs/getattr.cc
100
EXPECT_EQ(0, stat(FULLPATH, &sb));
tests/sys/fs/fusefs/getattr.cc
102
EXPECT_EQ(0, stat(FULLPATH, &sb));
tests/sys/fs/fusefs/getattr.cc
115
struct stat sb;
tests/sys/fs/fusefs/getattr.cc
133
EXPECT_EQ(0, stat(FULLPATH, &sb));
tests/sys/fs/fusefs/getattr.cc
136
EXPECT_EQ(0, stat(FULLPATH, &sb));
tests/sys/fs/fusefs/getattr.cc
148
struct stat sb;
tests/sys/fs/fusefs/getattr.cc
165
ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno);
tests/sys/fs/fusefs/getattr.cc
173
struct stat sb;
tests/sys/fs/fusefs/getattr.cc
191
EXPECT_NE(0, stat(FULLPATH, &sb));
tests/sys/fs/fusefs/getattr.cc
203
struct stat sb;
tests/sys/fs/fusefs/getattr.cc
232
ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno);
tests/sys/fs/fusefs/getattr.cc
272
struct stat sb;
tests/sys/fs/fusefs/getattr.cc
303
ASSERT_NE(0, stat(FULLPATH, &sb));
tests/sys/fs/fusefs/getattr.cc
315
struct stat sb;
tests/sys/fs/fusefs/getattr.cc
349
ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno);
tests/sys/fs/fusefs/getattr.cc
79
struct stat sb;
tests/sys/fs/fusefs/last_local_modify.cc
226
struct stat sb;
tests/sys/fs/fusefs/last_local_modify.cc
344
ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno);
tests/sys/fs/fusefs/last_local_modify.cc
380
struct stat sb;
tests/sys/fs/fusefs/link.cc
115
struct stat sb;
tests/sys/fs/fusefs/link.cc
145
EXPECT_EQ(0, stat("mountpoint", &sb)) << strerror(errno);
tests/sys/fs/fusefs/link.cc
147
EXPECT_EQ(0, stat("mountpoint", &sb)) << strerror(errno);
tests/sys/fs/fusefs/link.cc
232
struct stat sb;
tests/sys/fs/fusefs/link.cc
249
ASSERT_EQ(0, stat(FULLDST, &sb)) << strerror(errno);
tests/sys/fs/fusefs/link.cc
261
struct stat sb;
tests/sys/fs/fusefs/link.cc
278
ASSERT_EQ(0, stat(FULLDST, &sb)) << strerror(errno);
tests/sys/fs/fusefs/lookup.cc
135
struct stat sb;
tests/sys/fs/fusefs/lookup.cc
152
ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno);
tests/sys/fs/fusefs/lookup.cc
72
struct stat sb;
tests/sys/fs/fusefs/lookup.cc
96
ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno);
tests/sys/fs/fusefs/nfs.cc
116
struct stat sb;
tests/sys/fs/fusefs/nfs.cc
157
struct stat sb;
tests/sys/fs/fusefs/nfs.cc
188
struct stat sb;
tests/sys/fs/fusefs/nfs.cc
215
struct stat sb;
tests/sys/fs/fusefs/nfs.cc
263
struct stat sb;
tests/sys/fs/fusefs/nfs.cc
308
struct stat sb;
tests/sys/fs/fusefs/nfs.cc
76
struct stat sb;
tests/sys/fs/fusefs/notify.cc
188
struct stat sb;
tests/sys/fs/fusefs/notify.cc
199
ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno);
tests/sys/fs/fusefs/notify.cc
213
ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno);
tests/sys/fs/fusefs/notify.cc
227
struct stat sb;
tests/sys/fs/fusefs/notify.cc
249
ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno);
tests/sys/fs/fusefs/notify.cc
263
ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno);
tests/sys/fs/fusefs/notify.cc
273
struct stat sb;
tests/sys/fs/fusefs/notify.cc
294
ASSERT_EQ(0, stat("mountpoint", &sb)) << strerror(errno);
tests/sys/fs/fusefs/notify.cc
295
ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno);
tests/sys/fs/fusefs/notify.cc
308
ASSERT_EQ(0, stat("mountpoint", &sb)) << strerror(errno);
tests/sys/fs/fusefs/notify.cc
337
struct stat sb;
tests/sys/fs/fusefs/notify.cc
383
ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno);
tests/sys/fs/fusefs/notify.cc
522
struct stat sb;
tests/sys/fs/fusefs/notify.cc
569
ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno);
tests/sys/fs/fusefs/pre-init.cc
194
struct stat sb;
tests/sys/fs/fusefs/pre-init.cc
228
EXPECT_EQ(0, stat("mountpoint", &sb));
tests/sys/fs/fusefs/read.cc
1097
struct stat sb1, sb2;
tests/sys/fs/fusefs/read.cc
1133
struct stat sb1, sb2;
tests/sys/fs/fusefs/read.cc
1225
struct stat sb;
tests/sys/fs/fusefs/read.cc
387
struct stat sb;
tests/sys/fs/fusefs/read.cc
552
struct stat sb1, sb2;
tests/sys/fs/fusefs/read.cc
586
struct stat sb1, sb2;
tests/sys/fs/fusefs/read.cc
622
struct stat sb;
tests/sys/fs/fusefs/read.cc
711
struct stat sb;
tests/sys/fs/fusefs/read.cc
878
struct stat sb;
tests/sys/fs/fusefs/read.cc
907
struct stat sb;
tests/sys/fs/fusefs/rename.cc
317
struct stat sb;
tests/sys/fs/fusefs/rename.cc
382
ASSERT_EQ(0, stat("mountpoint", &sb)) << strerror(errno);
tests/sys/fs/fusefs/rename.cc
385
ASSERT_EQ(0, stat(FULLDSTPARENT, &sb)) << strerror(errno);
tests/sys/fs/fusefs/rename.cc
388
ASSERT_EQ(0, stat(FULLDSTDOTDOT, &sb)) << strerror(errno);
tests/sys/fs/fusefs/rmdir.cc
110
EXPECT_EQ(0, stat("mountpoint", &sb)) << strerror(errno);
tests/sys/fs/fusefs/rmdir.cc
77
struct stat sb;
tests/sys/fs/fusefs/setattr.cc
119
ASSERT_EQ(0, stat(FULLPATH, &sb));
tests/sys/fs/fusefs/setattr.cc
166
struct stat sb;
tests/sys/fs/fusefs/setattr.cc
209
ASSERT_EQ(0, stat(FULLPATH1, &sb)) << strerror(errno);
tests/sys/fs/fusefs/setattr.cc
213
ASSERT_EQ(0, stat(FULLPATH0, &sb)) << strerror(errno);
tests/sys/fs/fusefs/setattr.cc
215
ASSERT_EQ(0, stat(FULLPATH1, &sb)) << strerror(errno);
tests/sys/fs/fusefs/setattr.cc
721
struct stat sb;
tests/sys/fs/fusefs/setattr.cc
757
ASSERT_EQ(0, stat(FULLPATH, &sb)) << strerror(errno);
tests/sys/fs/fusefs/setattr.cc
85
struct stat sb;
tests/sys/fs/fusefs/symlink.cc
105
struct stat sb;
tests/sys/fs/fusefs/symlink.cc
124
EXPECT_EQ(0, stat("mountpoint", &sb)) << strerror(errno);
tests/sys/fs/fusefs/symlink.cc
126
EXPECT_EQ(0, stat("mountpoint", &sb)) << strerror(errno);
tests/sys/fs/fusefs/unlink.cc
128
EXPECT_EQ(0, stat("mountpoint", &sb)) << strerror(errno);
tests/sys/fs/fusefs/unlink.cc
70
struct stat sb_old, sb_new;
tests/sys/fs/fusefs/unlink.cc
98
struct stat sb;
tests/sys/fs/fusefs/write.cc
1375
struct stat sb;
tests/sys/fs/fusefs/write.cc
1492
struct stat sb;
tests/sys/fs/fusefs/write.cc
1645
struct stat sb;
tests/sys/fs/fusefs/write.cc
439
struct stat sb;
tests/sys/fs/fusefs/write.cc
811
struct stat sb0, sb1;
tests/sys/kern/aslr.c
115
struct stat sb;
tests/sys/kern/aslr.c
124
error = stat("/sbin/ping", &sb);
tests/sys/kern/copy_file_range.c
121
struct stat sb;
tests/sys/kern/copy_file_range.c
167
struct stat sb, sb1, sb2;
tests/sys/kern/copy_file_range.c
61
struct stat st1, st2;
tests/sys/kern/jail_thread.c
122
ATF_REQUIRE_MSG(stat(jinfo[ji].path, &st) == 0,
tests/sys/kern/jail_thread.c
169
ATF_REQUIRE_MSG(stat("/", &st) == 0,
tests/sys/kern/jail_thread.c
93
struct stat st;
tests/sys/kern/kern_descrip_test.c
58
struct stat sb1, sb2;
tests/sys/kern/pipe/pipe_fstat_bug_test.c
55
struct stat status;
tests/sys/kern/pipe/pipe_ino_test.c
45
struct stat st1, st2;
tests/sys/kern/unix_dgram.c
399
struct stat sb;
tests/sys/kern/unix_dgram.c
421
error = stat(sun.sun_path, &sb);
tests/sys/kern/unix_passfd_test.c
105
dofstat(int fd, struct stat *sb)
tests/sys/kern/unix_passfd_test.c
155
samefile(struct stat *sb1, struct stat *sb2)
tests/sys/kern/unix_passfd_test.c
364
struct stat getfd_stat, putfd_stat;
tests/sys/kern/unix_passfd_test.c
386
struct stat getfd_stat, putfd_stat;
tests/sys/kern/unix_passfd_test.c
410
struct stat getfd_stat, putfd_stat;
tests/sys/kern/unix_passfd_test.c
434
struct stat getfd_stat, putfd_stat;
tests/sys/kern/unix_passfd_test.c
783
struct stat getfd_1_stat, getfd_2_stat, putfd_1_stat, putfd_2_stat;
tests/sys/kqueue/libkqueue/proc.c
42
struct stat s;
tests/sys/netinet/ip_reass_test.c
176
get_ipstat(struct ipstat *stat)
tests/sys/netinet/ip_reass_test.c
181
memset(stat, 0, sizeof(*stat));
tests/sys/netinet/ip_reass_test.c
182
len = sizeof(*stat);
tests/sys/netinet/ip_reass_test.c
183
error = sysctlbyname("net.inet.ip.stats", stat, &len, NULL, 0);
tests/sys/netinet/ip_reass_test.c
186
ATF_REQUIRE(len == sizeof(*stat));
tests/sys/posixshm/memfd_test.c
42
struct stat sb;
tests/sys/posixshm/posixshm_test.c
1028
struct stat st;
tests/sys/posixshm/posixshm_test.c
1063
struct stat st;
tests/sys/posixshm/posixshm_test.c
1177
struct stat st;
tests/sys/posixshm/posixshm_test.c
227
struct stat statbuf;
tests/sys/posixshm/posixshm_test.c
707
struct stat sb;
tests/sys/posixshm/posixshm_test.c
757
struct stat sb;
tools/build/futimens.c
43
struct stat sb;
tools/build/utimensat.c
43
struct stat sb;
tools/diag/prtblknos/main.c
44
struct stat sb;
tools/regression/aio/aiop/aiop.c
124
struct stat sb;
tools/regression/doat/doat.c
103
struct stat sb;
tools/regression/doat/doat.c
156
error = stat("tmp/foo", &sb);
tools/regression/doat/doat.c
94
struct stat buf;
tools/regression/fsx/fsx.c
399
struct stat statbuf;
tools/regression/fsx/fsx.c
420
struct stat statbuf;
tools/regression/geom/ConfCmp/ConfCmp.c
173
struct stat st;
tools/regression/geom/MdLoad/MdLoad.c
203
struct stat st;
tools/regression/kgssapi/gsstest.c
82
struct module_stat stat;
tools/regression/kgssapi/gsstest.c
86
stat.version = sizeof(stat);
tools/regression/kgssapi/gsstest.c
92
modstat(mod, &stat);
tools/regression/kgssapi/gsstest.c
93
syscall_num = stat.data.intval;
tools/regression/posixsem/posixsem.c
1023
int stat;
tools/regression/posixsem/posixsem.c
1036
if (child_worker(wait_twoproc_child, NULL, &stat) < 0) {
tools/regression/posixsem/posixsem.c
1043
errno = CSTAT_ERROR(stat);
tools/regression/posixsem/posixsem.c
1044
switch (CSTAT_CLASS(stat)) {
tools/regression/posixsem/posixsem.c
1058
fail_err("bad child state %#x", stat);
tools/regression/posixsem/posixsem.c
1203
int nsems_max, stat;
tools/regression/posixsem/posixsem.c
1213
&stat))
tools/regression/posixsem/posixsem.c
1215
errno = CSTAT_ERROR(stat);
tools/regression/posixsem/posixsem.c
1216
switch (CSTAT_CLASS(stat)) {
tools/regression/posixsem/posixsem.c
1227
fail_err("bad child state %#x", stat);
tools/regression/posixsem/posixsem.c
1258
int i, nsems_max, stat;
tools/regression/posixsem/posixsem.c
1268
&stat) < 0)
tools/regression/posixsem/posixsem.c
1270
errno = CSTAT_ERROR(stat);
tools/regression/posixsem/posixsem.c
1271
switch (CSTAT_CLASS(stat)) {
tools/regression/posixsem/posixsem.c
1282
fail_err("bad child state %#x", stat);
tools/regression/posixsem/posixsem.c
1312
int stat;
tools/regression/posixsem/posixsem.c
1314
stat = fdlimit_set(arg);
tools/regression/posixsem/posixsem.c
1315
if (stat == 0)
tools/regression/posixsem/posixsem.c
1316
stat = exhaust_unnamed_child(arg);
tools/regression/posixsem/posixsem.c
1317
return (stat);
tools/regression/posixsem/posixsem.c
1323
int nsems_max, stat;
tools/regression/posixsem/posixsem.c
1327
&stat))
tools/regression/posixsem/posixsem.c
1329
errno = CSTAT_ERROR(stat);
tools/regression/posixsem/posixsem.c
1330
switch (CSTAT_CLASS(stat)) {
tools/regression/posixsem/posixsem.c
1347
fail_err("bad child state %#x", stat);
tools/regression/posixsem/posixsem.c
1356
int stat;
tools/regression/posixsem/posixsem.c
1358
stat = fdlimit_set(arg);
tools/regression/posixsem/posixsem.c
1359
if (stat == 0)
tools/regression/posixsem/posixsem.c
1360
stat = exhaust_named_child(arg);
tools/regression/posixsem/posixsem.c
1361
return (stat);
tools/regression/posixsem/posixsem.c
1368
int i, nsems_max, stat;
tools/regression/posixsem/posixsem.c
1372
&stat) < 0)
tools/regression/posixsem/posixsem.c
1374
errno = CSTAT_ERROR(stat);
tools/regression/posixsem/posixsem.c
1375
switch (CSTAT_CLASS(stat)) {
tools/regression/posixsem/posixsem.c
1392
fail_err("bad child state %#x", stat);
tools/regression/posixsem/posixsem.c
61
#define CSTAT_CLASS(stat) ((stat) >> 16)
tools/regression/posixsem/posixsem.c
62
#define CSTAT_ERROR(stat) ((stat) & 0xffff)
tools/regression/posixsem/posixsem.c
73
child_worker(int (*func)(void *arg), void *arg, int *stat)
tools/regression/posixsem/posixsem.c
98
if (read(pfd[0], stat, sizeof(*stat)) < 0) {
tools/regression/priv/priv_io.c
58
struct stat sb;
tools/regression/priv/priv_io.c
60
if (stat(DEV_IO, &sb) < 0) {
tools/regression/priv/priv_vfs_chflags.c
59
struct stat sb;
tools/regression/priv/priv_vfs_chflags.c
61
if (stat(fpathp, &sb) < 0)
tools/regression/priv/priv_vfs_clearsugid.c
72
struct stat sb;
tools/regression/priv/priv_vfs_clearsugid.c
74
if (stat(fpath, &sb) < 0) {
tools/regression/priv/priv_vfs_fhstat.c
67
struct stat sb;
tools/regression/priv/priv_vfs_generation.c
56
struct stat sb;
tools/regression/priv/priv_vfs_generation.c
68
if (stat(fpath, &sb) < 0) {
tools/regression/priv/priv_vfs_generation.c
85
struct stat sb;
tools/regression/priv/priv_vfs_generation.c
88
error = stat(fpath, &sb);
tools/regression/rpcsec_gss/rpctest.c
151
stat = CLNT_CALL(client, 1,
tools/regression/rpcsec_gss/rpctest.c
154
if (stat == RPC_SUCCESS) {
tools/regression/rpcsec_gss/rpctest.c
93
enum clnt_stat stat;
tools/regression/security/cap_test/cap_test_capabilities.c
113
struct stat sb;
tools/regression/security/cap_test/cap_test_capmode.c
102
CHECK_CAPMODE(stat, "/tmp/cap_capmode_stat", &sb);
tools/regression/security/cap_test/cap_test_capmode.c
64
struct stat sb;
tools/regression/security/cap_test/cap_test_pdfork.c
56
struct stat stat;
tools/regression/security/cap_test/cap_test_pdfork.c
84
REQUIRE(fstat(pd, &stat));
tools/regression/security/cap_test/cap_test_pdfork.c
89
CHECK(now >= stat.st_birthtime);
tools/regression/security/cap_test/cap_test_pdfork.c
90
CHECK((now - stat.st_birthtime) < 2);
tools/regression/security/cap_test/cap_test_pdfork.c
91
CHECK(stat.st_birthtime == stat.st_atime);
tools/regression/security/cap_test/cap_test_pdfork.c
92
CHECK(stat.st_atime == stat.st_ctime);
tools/regression/security/cap_test/cap_test_pdfork.c
93
CHECK(stat.st_ctime == stat.st_mtime);
tools/regression/security/open_to_operation/open_to_operation.c
401
struct stat sb;
tools/regression/security/open_to_operation/open_to_operation.c
475
struct stat sb;
tools/regression/sockets/fstat/fstat.c
43
struct stat sb;
tools/regression/sockets/sendfile/sendfile.c
281
struct stat st;
tools/regression/sockets/sendfile/sendfile.c
321
struct stat sb;
tools/test/stress2/lib/main.c
185
struct stat sb;
tools/test/stress2/lib/main.c
191
if (stat(op->wd, &sb) == -1) {
tools/test/stress2/lib/main.c
197
if (stat(op->cd, &sb) == -1) {
tools/test/stress2/testcases/mmap/mmap.c
98
struct stat statbuf;
tools/test/stress2/testcases/openat/doat.c
153
error = stat("tmp/foo", &sb);
tools/test/stress2/testcases/openat/doat.c
91
struct stat buf;
tools/test/stress2/testcases/openat/doat.c
99
struct stat sb;
tools/test/stress2/tools/flip.c
85
struct stat st;
tools/test/stress2/tools/lsholes.c
41
struct stat st;
tools/tools/ath/athdecode/main.c
61
struct stat sb;
tools/tools/bootparttest/bootparttest.c
102
if (stat(argv[1], &sb) == 0 && S_ISREG(sb.st_mode)) {
tools/tools/bootparttest/bootparttest.c
91
struct stat sb;
tools/tools/ipw/ipwstats.c
244
const struct statistic *stat;
tools/tools/ipw/ipwstats.c
256
for (stat = tbl; stat->index != 0; stat++) {
tools/tools/ipw/ipwstats.c
257
printf("%-60s[", stat->desc);
tools/tools/ipw/ipwstats.c
258
switch (stat->unit) {
tools/tools/ipw/ipwstats.c
260
printf("%u", stats[stat->index]);
tools/tools/ipw/ipwstats.c
263
printf(stats[stat->index] ? "true" : "false");
tools/tools/ipw/ipwstats.c
266
printf("%u%%", stats[stat->index]);
tools/tools/ipw/ipwstats.c
270
printf("0x%08X", stats[stat->index]);
tools/tools/iwi/iwistats.c
110
const struct statistic *stat;
tools/tools/iwi/iwistats.c
123
for (stat = tbl; stat->index != -1; stat++)
tools/tools/iwi/iwistats.c
124
(void)printf("%-60s[%u]\n", stat->desc, stats[stat->index]);
tools/tools/net80211/wesside/wesside/wesside.c
2159
struct stat st;
tools/tools/nvmf/nvmfd/devices.c
102
struct stat sb;
tools/tools/nvmf/nvmfd/devices.c
70
init_filedevice(const char *config, int fd, struct stat *sb,
tools/tools/syscall_timing/syscall_timing.c
338
struct stat sb;
tools/tools/syscall_timing/syscall_timing.c
739
struct stat sb;
tools/tools/zfsboottest/zfsboottest.c
108
struct stat sb;
tools/tools/zfsboottest/zfsboottest.c
58
struct stat sb;
usr.bin/ar/acpyacc.y
327
struct stat sb;
usr.bin/ar/read.c
155
if (stat(name, &sb) != 0) {
usr.bin/ar/read.c
52
struct stat sb;
usr.bin/ar/write.c
339
struct stat sb;
usr.bin/ar/write.c
357
if (stat(bsdar->filename, &sb) != 0) {
usr.bin/ar/write.c
82
struct stat sb;
usr.bin/at/at.c
213
struct stat statbuf;
usr.bin/at/at.c
273
if (stat(atfile, &statbuf) != 0)
usr.bin/at/at.c
463
struct stat buf;
usr.bin/at/at.c
487
if (stat(dirent->d_name, &buf) != 0)
usr.bin/at/at.c
538
struct stat buf;
usr.bin/at/at.c
563
rc = stat(dirent->d_name, &buf);
usr.bin/biff/biff.c
44
struct stat sb;
usr.bin/biff/biff.c
63
if (stat(name, &sb))
usr.bin/bintrans/uudecode.c
192
struct stat st;
usr.bin/bintrans/uuencode.c
85
struct stat sb;
usr.bin/calendar/io.c
111
struct stat sb;
usr.bin/calendar/io.c
172
if (stat(path, &sb) != 0) {
usr.bin/calendar/io.c
643
struct stat sbuf;
usr.bin/calendar/io.c
652
if (stat(calendarNoMail, &sbuf) == 0)
usr.bin/calendar/io.c
682
struct stat sbuf;
usr.bin/chpass/edit.c
197
struct stat sb;
usr.bin/chpass/field.c
212
struct stat sbuf;
usr.bin/chpass/field.c
236
if (stat(pw->pw_shell, &sbuf) < 0) {
usr.bin/cmp/cmp.c
98
struct stat sb1, sb2;
usr.bin/compress/compress.c
186
struct stat isb, sb;
usr.bin/compress/compress.c
191
exists = !stat(out, &sb);
usr.bin/compress/compress.c
201
if (stat(in, &isb)) { /* DON'T FSTAT! */
usr.bin/compress/compress.c
231
if (stat(out, &sb)) {
usr.bin/compress/compress.c
276
struct stat sb;
usr.bin/compress/compress.c
281
exists = !stat(out, &sb);
usr.bin/compress/compress.c
291
if (stat(in, &sb)) {
usr.bin/compress/compress.c
351
setfile(const char *name, struct stat *fs)
usr.bin/compress/compress.c
52
static void setfile(const char *, struct stat *);
usr.bin/ctags/ctags.c
155
struct stat sb;
usr.bin/diff/diff.c
432
} else if (stat(argv[0], &stb1) != 0) {
usr.bin/diff/diff.c
436
memset(&stb1, 0, sizeof(struct stat));
usr.bin/diff/diff.c
442
} else if (stat(argv[1], &stb2) != 0) {
usr.bin/diff/diff.c
469
if (stat(argv[0], &stb1) == -1)
usr.bin/diff/diff.c
474
if (stat(argv[1], &stb2) == -1)
usr.bin/diff/diff.c
50
struct stat stb1, stb2;
usr.bin/diff/diff.h
123
extern struct stat stb1, stb2;
usr.bin/diff/diffdir.c
323
if (stat(path1, &stb1) != 0) {
usr.bin/diff/diffdir.c
331
if (stat(path2, &stb2) != 0) {
usr.bin/diff/diffdir.c
68
struct stat sb;
usr.bin/diff/diffreg_new.c
118
format_label(const char *oldlabel, struct stat *stb)
usr.bin/diff/diffreg_new.c
152
struct stat st1, st2;
usr.bin/diff/diffreg_new.c
303
openfile(const char *path, char **p, struct stat *st)
usr.bin/diff/diffreg_new.c
42
const char *format_label(const char *, struct stat *);
usr.bin/diff/diffreg_new.c
52
FILE * openfile(const char *, char **, struct stat *);
usr.bin/dtc/input_buffer.cc
108
struct stat sb;
usr.bin/dtc/input_buffer.cc
1306
struct stat st;
usr.bin/du/du.c
355
struct stat *st;
usr.bin/elfdump/elfdump.c
517
struct stat sb;
usr.bin/env/envopts.c
67
struct stat fin;
usr.bin/env/envopts.c
71
stat(candidate, &fin) == 0 &&
usr.bin/fetch/fetch.c
1123
} else if (stat(o_filename, &sb) == -1) {
usr.bin/fetch/fetch.c
425
struct stat sb, nsb;
usr.bin/fetch/fetch.c
505
if (stat(i_filename, &sb)) {
usr.bin/fetch/fetch.c
549
r = stat(path, &sb);
usr.bin/fetch/fetch.c
786
(stat(path, &sb) != -1) && sb.st_mode & S_IFREG) {
usr.bin/fetch/fetch.c
853
if (stat(path, &sb) != -1 && (sb.st_mode & S_IFREG))
usr.bin/fetch/fetch.c
897
struct stat sb;
usr.bin/find/extern.h
42
struct stat;
usr.bin/find/extern.h
43
void printlong(char *, char *, struct stat *);
usr.bin/find/function.c
1118
struct stat sb;
usr.bin/find/function.c
1128
error = stat(fn, &sb);
usr.bin/find/function.c
1260
struct stat sb;
usr.bin/find/function.c
1278
error = stat(fn_or_tspec, &sb);
usr.bin/find/ls.c
55
printlong(char *name, char *accpath, struct stat *sb)
usr.bin/find/printf.c
162
struct stat sb;
usr.bin/find/printf.c
163
struct stat *sp;
usr.bin/find/printf.c
261
if (stat(entry->fts_accpath, &sb) != 0) {
usr.bin/finger/lprint.c
288
struct stat sb;
usr.bin/finger/util.c
284
struct stat sb;
usr.bin/finger/util.c
290
error = stat(tbuf, &sb);
usr.bin/finger/util.c
321
struct stat sb;
usr.bin/finger/util.c
366
if (stat(tbuf, &sb) < 0) {
usr.bin/finger/util.c
386
struct stat st;
usr.bin/finger/util.c
394
if (stat(buf, &st) == 0)
usr.bin/fortune/fortune/fortune.c
727
struct stat sbuf;
usr.bin/fortune/fortune/fortune.c
729
if (stat(file, &sbuf) < 0)
usr.bin/fstat/fstat.c
631
struct stat statbuf;
usr.bin/fstat/fstat.c
634
if (stat(filename, &statbuf)) {
usr.bin/fstat/fuser.c
144
struct stat sb;
usr.bin/fstat/fuser.c
147
if (stat(path, &sb) != 0) {
usr.bin/gprof/elf.c
58
struct stat s;
usr.bin/grep/file.c
185
struct stat st;
usr.bin/grep/grep.c
273
struct stat st;
usr.bin/grep/util.c
317
struct stat sb;
usr.bin/grep/util.c
326
if (stat(fn, &sb) == 0) {
usr.bin/gzip/gzip.c
1062
copymodes(int fd, const struct stat *sbp, const char *file)
usr.bin/gzip/gzip.c
1065
struct stat sb;
usr.bin/gzip/gzip.c
1143
struct stat sb;
usr.bin/gzip/gzip.c
1146
if (lflag == 0 && stat(outfile, &sb) == 0) {
usr.bin/gzip/gzip.c
1169
unlink_input(const char *file, const struct stat *sb)
usr.bin/gzip/gzip.c
1171
struct stat nsb;
usr.bin/gzip/gzip.c
1175
if (stat(file, &nsb) != 0)
usr.bin/gzip/gzip.c
1263
struct stat isb, osb;
usr.bin/gzip/gzip.c
1373
struct stat isb, osb;
usr.bin/gzip/gzip.c
1747
struct stat isb;
usr.bin/gzip/gzip.c
1857
struct stat sb;
usr.bin/gzip/gzip.c
1901
struct stat sb;
usr.bin/gzip/gzip.c
1913
if (stat(path, &sb) != 0 || (fflag == 0 && cflag == 0 &&
usr.bin/gzip/gzip.c
1951
handle_file(char *file, struct stat *sbp)
usr.bin/gzip/gzip.c
240
static void handle_file(char *, struct stat *);
usr.bin/gzip/gzip.c
264
static void copymodes(int fd, const struct stat *, const char *file);
usr.bin/gzip/unxz.c
259
struct stat st;
usr.bin/hexdump/display.c
389
struct stat sb;
usr.bin/iscsictl/parse.y
417
struct stat sb;
usr.bin/iscsictl/parse.y
420
error = stat(path, &sb);
usr.bin/kdump/kdump.c
114
static void ktrstat(struct stat *);
usr.bin/kdump/kdump.c
1981
ktrstat(struct stat *statp)
usr.bin/kdump/kdump.c
2117
struct stat sb;
usr.bin/kdump/kdump.c
2159
if (datalen != sizeof(struct stat))
usr.bin/killall/killall.c
260
if (stat(buf, &sb) < 0)
usr.bin/killall/killall.c
95
struct stat sb;
usr.bin/ktrace/ktrace.c
63
struct stat sb;
usr.bin/ktrdump/ktrdump.c
95
struct stat sb;
usr.bin/limits/limits.c
725
struct stat st;
usr.bin/limits/limits.c
735
if (shell != NULL && stat(shell, &st) != -1) {
usr.bin/limits/limits.c
736
struct stat st1;
usr.bin/limits/limits.c
742
if (stat(path, &st1) != -1 && memcmp(&st, &st1, sizeof st) == 0)
usr.bin/locate/locate/locate.c
266
struct stat sb;
usr.bin/locate/locate/locate.c
274
if (stat(db, &sb) == -1)
usr.bin/locate/locate/util.c
280
struct stat sb;
usr.bin/locate/locate/util.c
283
if (stat(db, &sb) == -1) {
usr.bin/login/login.c
158
struct stat st;
usr.bin/login/login.c
628
if (cx && stat(cx, &st) == 0 && st.st_size != 0)
usr.bin/look/look.c
91
struct stat sb;
usr.bin/mail/collect.c
501
struct stat junk;
usr.bin/mail/collect.c
507
if (stat(name, &junk) >= 0 && S_ISREG(junk.st_mode)) {
usr.bin/mail/edit.c
136
struct stat statb;
usr.bin/mail/edit.c
189
if (stat(tempname, &statb) < 0) {
usr.bin/mail/fio.c
255
struct stat sb;
usr.bin/mail/fio.c
257
if (stat(name, &sb) < 0)
usr.bin/mail/fio.c
302
struct stat sbuf;
usr.bin/mail/fio.c
328
struct stat sbuf;
usr.bin/mail/fio.c
402
if (strchr(xname, ' ') && stat(xname, &sbuf) < 0) {
usr.bin/mail/lex.c
63
struct stat stb;
usr.bin/mail/quit.c
388
struct stat statb;
usr.bin/mail/quit.c
417
if (stat(mailname, &statb) >= 0 && statb.st_size > mailsize) {
usr.bin/mail/quit.c
69
struct stat minfo;
usr.bin/mail/util.c
102
struct stat sbuf;
usr.bin/mail/util.c
104
if (stat(name, &sbuf) < 0)
usr.bin/mesg/mesg.c
51
struct stat sb;
usr.bin/mesg/mesg.c
68
if (stat(tty, &sb) < 0)
usr.bin/mkimg/image.c
495
struct stat sb;
usr.bin/mkimg/mkimg.c
449
struct stat sb;
usr.bin/mkimg/mkimg.c
480
if (stat(part->contents, &sb) == 0) {
usr.bin/mkimg/scheme.c
125
struct stat sb;
usr.bin/mkuzip/mkuz_insize.c
45
struct stat sb;
usr.bin/msgs/msgs.c
152
struct stat buf; /* stat to check access of bounds */
usr.bin/msgs/msgs.c
238
if (stat(fname, &buf) < 0) {
usr.bin/msgs/msgs.c
259
struct stat stbuf;
usr.bin/msgs/msgs.c
288
if (stat(inbuf, &stbuf) != 0)
usr.bin/patch/inp.c
141
struct stat filestat;
usr.bin/patch/inp.c
154
statfailed = stat(filename, &filestat);
usr.bin/patch/inp.c
168
statfailed = stat(filename, &filestat);
usr.bin/patch/mkpath.c
50
struct stat sb;
usr.bin/patch/mkpath.c
63
if (stat(path, &sb)) {
usr.bin/patch/patch.c
151
struct stat statbuf;
usr.bin/patch/patch.c
249
out_existed = stat(outname, &statbuf) == 0;
usr.bin/patch/patch.c
438
stat(realout, &statbuf) == 0 &&
usr.bin/patch/pch.c
105
struct stat filestat;
usr.bin/patch/util.c
102
if (backup_type == none || stat(orig, &filestat) != 0)
usr.bin/patch/util.c
138
while (stat(bakname, &filestat) == 0 &&
usr.bin/patch/util.c
357
struct stat filestat;
usr.bin/patch/util.c
391
if (stat(fullname, &filestat) == 0 && S_ISDIR(filestat.st_mode)) {
usr.bin/patch/util.c
399
*exists = stat(name, &filestat) == 0;
usr.bin/patch/util.c
97
struct stat filestat;
usr.bin/pathchk/pathchk.c
138
if (!pflag && stat(pathd, &sb) == -1 && errno != ENOENT) {
usr.bin/pathchk/pathchk.c
98
struct stat sb;
usr.bin/posixmqcontrol/posixmqcontrol.c
477
struct stat status = {0};
usr.bin/posixmqcontrol/posixmqcontrol.c
587
struct stat status;
usr.bin/posixshmcontrol/posixshmcontrol.c
225
struct stat st;
usr.bin/posixshmcontrol/posixshmcontrol.c
404
struct stat st;
usr.bin/pr/pr.c
1288
struct stat statbuf;
usr.bin/rpcgen/rpc_main.c
1060
struct stat buf;
usr.bin/rpcgen/rpc_main.c
1063
if (stat(infile, &buf) < 0)
usr.bin/rpcgen/rpc_main.c
1069
if (stat(outfile, &buf) < 0)
usr.bin/rpcgen/rpc_scan.c
144
int stat = 0;
usr.bin/rpcgen/rpc_scan.c
159
waitpid(childpid, &stat, WUNTRACED);
usr.bin/rpcgen/rpc_scan.c
160
if (stat > 0) {
usr.bin/rpcgen/rpc_scan.c
162
nonfatalerrors = stat >> 8;
usr.bin/rwall/rwall.c
118
struct stat sbuf;
usr.bin/script/script.c
555
struct stat pst;
usr.bin/sdiff/sdiff.c
149
struct stat sb;
usr.bin/sdiotool/sdiotool.c
426
struct stat sb;
usr.bin/sed/main.c
317
struct stat sb;
usr.bin/sort/file.c
607
struct stat stat_buf;
usr.bin/sort/sort.c
913
struct stat fsb, rsb;
usr.bin/sort/sort.c
959
if (stat("/dev/random", &rsb) < 0)
usr.bin/split/split.c
326
struct stat sb;
usr.bin/stat/stat.c
1073
struct stat sb;
usr.bin/stat/stat.c
142
static void output(const struct stat *, const char *, const char *, int);
usr.bin/stat/stat.c
143
static int format1(const struct stat *, /* stat info */
usr.bin/stat/stat.c
167
struct stat st;
usr.bin/stat/stat.c
347
if ((rc = stat(file, &st)) == -1 &&
usr.bin/stat/stat.c
399
output(const struct stat *st, const char *file, const char *statfmt, int fn)
usr.bin/stat/stat.c
591
format1(const struct stat *st,
usr.bin/systat/icmp.c
149
#define DO(stat) ret->stat = (icmpstat.stat - sub->stat) / divisor
usr.bin/systat/icmp.c
187
#define DO(stat, row, col) \
usr.bin/systat/icmp.c
188
mvwprintw(wnd, row, col, "%9lu", stats.stat)
usr.bin/systat/icmp6.c
149
#define DO(stat) ret->stat = (icmp6stat.stat - sub->stat) / divisor
usr.bin/systat/icmp6.c
185
#define DO(stat, row, col) \
usr.bin/systat/icmp6.c
186
mvwprintw(wnd, row, col, "%9"PRIu64, stats.stat)
usr.bin/systat/ip.c
140
domode(struct stat *ret)
usr.bin/systat/ip.c
142
const struct stat *sub;
usr.bin/systat/ip.c
160
#define DO(stat) ret->stat = (curstat.stat - sub->stat) / divisor
usr.bin/systat/ip.c
203
struct stat stats;
usr.bin/systat/ip.c
209
#define DO(stat, row, col) \
usr.bin/systat/ip.c
210
mvwprintw(wnd, row, col, "%9"PRIu64, stats.stat)
usr.bin/systat/ip.c
64
static struct stat curstat, initstat, oldstat;
usr.bin/systat/ip6.c
154
#define DO(stat) ret->stat = (curstat.stat - sub->stat) / divisor
usr.bin/systat/ip6.c
194
#define DO(stat, row, col) \
usr.bin/systat/ip6.c
195
mvwprintw(wnd, row, col, "%9"PRIu64, stats.stat)
usr.bin/systat/sctp.c
141
#define DO(stat) ret->stat = (curstat.stat - sub->stat) / divisor
usr.bin/systat/sctp.c
278
#define DO(stat, row, col) \
usr.bin/systat/sctp.c
279
mvwprintw(wnd, row, col, "%12u", stats.stat)
usr.bin/systat/sctp.c
280
#define L(row, stat) DO(stat, row, 0)
usr.bin/systat/sctp.c
281
#define R(row, stat) DO(stat, row, 38)
usr.bin/systat/tcp.c
153
#define DO(stat) ret->stat = (curstat.stat - sub->stat) / divisor
usr.bin/systat/tcp.c
228
#define DO(stat, row, col) \
usr.bin/systat/tcp.c
229
mvwprintw(wnd, row, col, "%12"PRIu64, stats.stat)
usr.bin/systat/tcp.c
230
#define L(row, stat) DO(stat, row, 0)
usr.bin/systat/tcp.c
231
#define R(row, stat) DO(stat, row, 38)
usr.bin/systat/zarc.c
114
#define DO(stat) \
usr.bin/systat/zarc.c
115
delta->hits.stat = (curstat.hits.stat - oldstat.hits.stat); \
usr.bin/systat/zarc.c
116
delta->misses.stat = (curstat.misses.stat - oldstat.misses.stat); \
usr.bin/systat/zarc.c
117
rate->current.stat = calc_rate(delta->hits.stat, delta->misses.stat); \
usr.bin/systat/zarc.c
118
rate->total.stat = calc_rate(curstat.hits.stat, curstat.misses.stat)
usr.bin/systat/zarc.c
145
#define DO(stat, col, width) \
usr.bin/systat/zarc.c
146
sysputuint64(wnd, row, col, width, stat, HN_DIVISOR_1000)
usr.bin/systat/zarc.c
147
#define RATES(stat) mvwprintw(wnd, row, 31+1, "%3"PRIu64, rate.current.stat);\
usr.bin/systat/zarc.c
148
mvwprintw(wnd, row, 31+1+5+7+7+8, "%3"PRIu64, rate.total.stat)
usr.bin/systat/zarc.c
149
#define HITS(stat) DO(delta.hits.stat, 31+1+5, 6); \
usr.bin/systat/zarc.c
150
DO(curstat.hits.stat, 31+1+5+7+7+8+5, 6)
usr.bin/systat/zarc.c
151
#define MISSES(stat) DO(delta.misses.stat, 31+1+5+7, 6); \
usr.bin/systat/zarc.c
152
DO(curstat.misses.stat, 31+1+5+7+7+8+5+7, 6)
usr.bin/systat/zarc.c
153
#define E(stat) RATES(stat); HITS(stat); MISSES(stat); ++row
usr.bin/tail/extern.h
56
struct stat st;
usr.bin/tail/extern.h
64
void forward(FILE *, const char *, enum STYLE, off_t, struct stat *);
usr.bin/tail/extern.h
65
void reverse(FILE *, const char *, enum STYLE, off_t, struct stat *);
usr.bin/tail/forward.c
190
rlines(FILE *fp, const char *fn, off_t off, struct stat *sbp)
usr.bin/tail/forward.c
308
struct stat sb2;
usr.bin/tail/forward.c
386
sizeof(struct stat));
usr.bin/tail/forward.c
59
static void rlines(FILE *, const char *fn, off_t, struct stat *);
usr.bin/tail/forward.c
97
forward(FILE *fp, const char *fn, enum STYLE style, off_t off, struct stat *sbp)
usr.bin/tail/reverse.c
105
r_reg(FILE *fp, const char *fn, enum STYLE style, off_t off, struct stat *sbp)
usr.bin/tail/reverse.c
55
static void r_reg(FILE *, const char *, enum STYLE, off_t, struct stat *);
usr.bin/tail/reverse.c
76
reverse(FILE *fp, const char *fn, enum STYLE style, off_t off, struct stat *sbp)
usr.bin/tail/tail.c
76
struct stat sb;
usr.bin/talk/init_disp.c
56
struct stat sb;
usr.bin/talk/init_disp.c
60
if (stat(tty, &sb) < 0)
usr.bin/tftp/main.c
422
struct stat sb;
usr.bin/tip/tip/remote.c
66
int stat;
usr.bin/tip/tip/remote.c
79
if ((stat = cgetent(&bp, db_array, host)) < 0) {
usr.bin/tip/tip/remote.c
91
switch (stat) {
usr.bin/touch/touch.c
386
struct stat sb;
usr.bin/touch/touch.c
388
if (stat(fname, &sb))
usr.bin/touch/touch.c
57
struct stat sb;
usr.bin/truncate/truncate.c
138
if (stat(rname, &sb) == -1)
usr.bin/truncate/truncate.c
52
struct stat sb;
usr.bin/truss/syscalls.c
2244
struct stat st;
usr.bin/w/w.c
118
static struct stat *ttystat(char *);
usr.bin/w/w.c
128
struct stat *stp;
usr.bin/w/w.c
578
static struct stat *
usr.bin/w/w.c
581
static struct stat sb;
usr.bin/w/w.c
585
if (stat(ttybuf, &sb) == 0 && S_ISCHR(sb.st_mode))
usr.bin/wall/ttymsg.c
61
struct stat sb;
usr.bin/wall/wall.c
181
struct stat sbuf;
usr.bin/wall/wall.c
74
struct stat sb;
usr.bin/wall/wall.c
78
if (stat(ttybuf, &sb) == 0) {
usr.bin/wc/wc.c
206
struct stat sb;
usr.bin/whereis/whereis.c
259
struct stat sb;
usr.bin/whereis/whereis.c
316
if (stat(PATH_PORTS, &sb) == -1) {
usr.bin/whereis/whereis.c
359
if (stat(b, &sb) == -1 ||
usr.bin/whereis/whereis.c
383
struct stat sb;
usr.bin/whereis/whereis.c
451
if (stat(cp, &sb) == 0 &&
usr.bin/whereis/whereis.c
564
if (stat(cp, &sb) == 0 &&
usr.bin/which/which.c
105
struct stat fin;
usr.bin/which/which.c
109
stat(candidate, &fin) == 0 &&
usr.bin/who/who.c
165
struct stat sb;
usr.bin/who/who.c
178
if (stat(tty, &sb) == 0) {
usr.bin/who/who.c
213
struct stat sb;
usr.bin/who/who.c
219
if (stat(ttybuf, &sb) == 0) {
usr.bin/write/write.c
264
struct stat s;
usr.bin/xinstall/xinstall.c
1367
struct stat sb;
usr.bin/xinstall/xinstall.c
1377
if (stat(path, &sb) != 0) {
usr.bin/xinstall/xinstall.c
158
static int do_link(const char *, const char *, const struct stat *);
usr.bin/xinstall/xinstall.c
159
static void do_symlink(const char *, const char *, const struct stat *);
usr.bin/xinstall/xinstall.c
160
static void makelink(const char *, const char *, const struct stat *);
usr.bin/xinstall/xinstall.c
172
struct stat from_sb, to_sb;
usr.bin/xinstall/xinstall.c
381
no_target = stat(to_name, &to_sb);
usr.bin/xinstall/xinstall.c
413
if (stat(*argv, &from_sb))
usr.bin/xinstall/xinstall.c
575
const struct stat *target_sb)
usr.bin/xinstall/xinstall.c
623
const struct stat *target_sb)
usr.bin/xinstall/xinstall.c
668
const struct stat *target_sb)
usr.bin/xinstall/xinstall.c
673
struct stat to_sb;
usr.bin/xinstall/xinstall.c
681
if (stat(to_name, &to_sb))
usr.bin/xinstall/xinstall.c
820
struct stat from_sb, temp_sb, to_sb;
usr.bin/xinstall/xinstall.c
843
if (stat(from_name, &from_sb))
usr.sbin/acpi/acpidb/acpidb.c
387
struct stat sb;
usr.sbin/acpi/acpidump/acpi_user.c
202
struct stat sb;
usr.sbin/autofs/common.c
940
struct stat sb;
usr.sbin/autofs/common.c
943
error = stat(path, &sb);
usr.sbin/bhyve/aarch64/bhyverun_machdep.c
213
struct stat sb;
usr.sbin/bhyve/acpi.c
367
struct stat sb;
usr.sbin/bhyve/amd64/pci_gvt-d-opregion.h
127
uint32_t stat; ///< Offset 0x3B6 State Indicator
usr.sbin/bhyve/amd64/ps2kbd.c
444
struct stat sb;
usr.sbin/bhyve/amd64/ps2kbd.c
451
err = stat(path, &sb);
usr.sbin/bhyve/block_if.c
483
struct stat sbuf;
usr.sbin/bhyve/block_if.c
708
struct stat sb;
usr.sbin/bhyve/block_if.c
736
struct stat sb;
usr.sbin/bhyve/bootrom.c
198
struct stat sbuf;
usr.sbin/bhyve/gdb.c
1789
struct stat sb;
usr.sbin/bhyve/pci_passthru.c
845
struct stat sbuf;
usr.sbin/bhyve/qemu_fwcfg.c
544
struct stat sb;
usr.sbin/bhyve/riscv/bhyverun_machdep.c
211
struct stat sb;
usr.sbin/bhyve/snapshot.c
200
struct stat sb;
usr.sbin/bhyve/snapshot.c
233
struct stat sb;
usr.sbin/bhyveload/bhyveload.c
160
struct stat cf_stat;
usr.sbin/bhyveload/bhyveload.c
171
struct stat sb;
usr.sbin/bhyveload/bhyveload.c
303
cb_stat(void *arg __unused, void *h, struct stat *sbp)
usr.sbin/bhyveload/bhyveload.c
307
memset(sbp, 0, sizeof(struct stat));
usr.sbin/bhyveload/bhyveload.c
356
struct stat sb;
usr.sbin/bhyveload/bhyveload.c
655
.stat = cb_stat,
usr.sbin/bhyveload/bhyveload.c
686
struct stat sb;
usr.sbin/bhyveload/bhyveload.c
698
err = stat(path, &sb);
usr.sbin/bluetooth/ath3kfw/ath3k_fw.c
47
struct stat sb;
usr.sbin/bluetooth/hccontrol/node.c
182
fprintf(stdout, "Commands sent: %d\n", r.stat.cmd_sent);
usr.sbin/bluetooth/hccontrol/node.c
183
fprintf(stdout, "Events received: %d\n", r.stat.evnt_recv);
usr.sbin/bluetooth/hccontrol/node.c
184
fprintf(stdout, "ACL packets received: %d\n", r.stat.acl_recv);
usr.sbin/bluetooth/hccontrol/node.c
185
fprintf(stdout, "ACL packets sent: %d\n", r.stat.acl_sent);
usr.sbin/bluetooth/hccontrol/node.c
186
fprintf(stdout, "SCO packets received: %d\n", r.stat.sco_recv);
usr.sbin/bluetooth/hccontrol/node.c
187
fprintf(stdout, "SCO packets sent: %d\n", r.stat.sco_sent);
usr.sbin/bluetooth/hccontrol/node.c
188
fprintf(stdout, "Bytes received: %d\n", r.stat.bytes_recv);
usr.sbin/bluetooth/hccontrol/node.c
189
fprintf(stdout, "Bytes sent: %d\n", r.stat.bytes_sent);
usr.sbin/bluetooth/iwmbtfw/iwmbt_fw.c
117
struct stat sb;
usr.sbin/bluetooth/iwmbtfw/iwmbt_fw.c
139
if (stat(fwname, &sb) != 0 && errno == ENOENT) {
usr.sbin/bluetooth/iwmbtfw/iwmbt_fw.c
50
struct stat sb;
usr.sbin/bluetooth/rtlbtfw/rtlbt_fw.c
169
struct stat sb;
usr.sbin/boot0cfg/boot0cfg.c
118
struct stat sb;
usr.sbin/boot0cfg/boot0cfg.c
187
if (stat(*argv, &sb) == 0 && S_ISREG(sb.st_mode)) {
usr.sbin/boot0cfg/boot0cfg.c
383
struct stat sb;
usr.sbin/bootparamd/bootparamd/main.c
47
struct stat buf;
usr.sbin/bootparamd/bootparamd/main.c
84
if ( stat(bootpfile, &buf ) )
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_printer_tbl.c
211
struct stat sb;
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_printer_tbl.c
228
if (stat(pp->lp, &sb) < 0) {
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swinstalled_tbl.c
258
struct stat sb;
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swinstalled_tbl.c
279
strlen(boot) > 0 && stat(boot, &sb) == 0 &&
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swinstalled_tbl.c
290
struct stat sb;
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swinstalled_tbl.c
302
if (stat(pkg_dir, &sb) != 0) {
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swinstalled_tbl.c
336
if (stat(pkg_file, &sb) != 0 ) {
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swinstalled_tbl.c
353
if (stat(pkg_file, &sb) == -1 ||
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c
362
struct kld_file_stat stat;
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c
365
stat.version = sizeof(struct kld_file_stat);
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c
366
if (kldstat(fileid, &stat) < 0) {
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c
376
entry = swrun_entry_find_by_index(NO_PID + 1 + stat.id);
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c
379
entry = swrun_entry_create(NO_PID + 1 + stat.id);
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c
385
kld_file_stat_to_swrun(&stat, entry);
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c
430
struct kld_file_stat stat;
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c
441
stat.version = sizeof(stat);
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c
442
if (kldstat(entry->index - NO_PID - 1, &stat) == -1) {
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c
451
kld_file_stat_to_swrun(&stat, entry);
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c
474
struct kld_file_stat stat;
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c
488
stat.version = sizeof(stat);
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c
489
if (kldstat(entry->index - NO_PID - 1, &stat) == -1) {
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c
507
if (stat.refs > 1)
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c
511
if (kldunload(stat.id) == -1) {
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c
513
stat.id, stat.name);
usr.sbin/btxld/btxld.c
322
struct stat sb;
usr.sbin/camdd/camdd.c
279
struct stat sb;
usr.sbin/certctl/certctl.c
110
struct stat sb;
usr.sbin/certctl/certctl.c
114
if (stat(dir, &sb) == 0)
usr.sbin/certctl/certctl.c
382
struct stat sb;
usr.sbin/certctl/certctl.c
389
if (stat(path, &sb) != 0) {
usr.sbin/ckdist/ckdist.c
132
if (stat(opt_dir, &sb))
usr.sbin/ckdist/ckdist.c
141
else if (stat(*argv, &sb))
usr.sbin/ckdist/ckdist.c
267
struct stat sb;
usr.sbin/ckdist/ckdist.c
90
struct stat sb;
usr.sbin/clear_locks/clear_locks.c
41
enum clnt_stat stat;
usr.sbin/clear_locks/clear_locks.c
58
stat = rpc_call("localhost", NLM_PROG, NLM_VERS4, NLM4_FREE_ALL,
usr.sbin/clear_locks/clear_locks.c
62
if (stat != RPC_SUCCESS) {
usr.sbin/clear_locks/clear_locks.c
63
clnt_perrno(stat);
usr.sbin/config/main.cc
113
struct stat buf;
usr.sbin/config/main.cc
192
if (stat(PREFIX, &buf) != 0 || !S_ISREG(buf.st_mode))
usr.sbin/config/main.cc
242
if (!cust_dest && stat(CDIR, &buf))
usr.sbin/config/main.cc
247
if (stat(p, &buf)) {
usr.sbin/config/main.cc
273
struct stat lg, phy;
usr.sbin/config/main.cc
289
if (stat(pwd, &lg) != -1 && stat(srcdir, &phy) != -1 &&
usr.sbin/config/main.cc
588
struct stat from_sb, to_sb;
usr.sbin/config/main.cc
727
struct stat st;
usr.sbin/cpucontrol/cpucontrol.c
361
struct stat st;
usr.sbin/cron/cron/database.c
240
struct stat *statbuf, cron_db *new_db, cron_db *old_db)
usr.sbin/cron/cron/database.c
35
const char *, struct stat *,
usr.sbin/cron/cron/database.c
41
struct stat statbuf, syscron_stat, st;
usr.sbin/cron/cron/database.c
49
struct stat st;
usr.sbin/cron/cron/database.c
62
if (stat(SPOOL_DIR, &statbuf) < OK) {
usr.sbin/cron/cron/database.c
69
if (stat(SYSCRONTAB, &syscron_stat) < OK)
usr.sbin/cron/cron/database.c
75
if (stat(syscrontabs[i].name, &syscrontabs[i].st) != -1) {
usr.sbin/cron/crontab/crontab.c
309
struct stat statbuf, fsbuf;
usr.sbin/cron/crontab/crontab.c
360
if (stat(Filename, &statbuf) < 0) {
usr.sbin/cron/crontab/crontab.c
434
if (stat(Filename, &statbuf) < 0) {
usr.sbin/cron/lib/misc.c
184
struct stat sb;
usr.sbin/cron/lib/misc.c
188
if (stat(CRONDIR, &sb) < OK && errno == ENOENT) {
usr.sbin/cron/lib/misc.c
192
stat(CRONDIR, &sb);
usr.sbin/cron/lib/misc.c
204
if (stat(SPOOL_DIR, &sb) < OK && errno == ENOENT) {
usr.sbin/cron/lib/misc.c
208
stat(SPOOL_DIR, &sb);
usr.sbin/crunch/crunchgen/crunchgen.c
1235
struct stat buf;
usr.sbin/crunch/crunchgen/crunchgen.c
1237
if (stat(pathname, &buf) == -1)
usr.sbin/crunch/crunchgen/crunchgen.c
1246
struct stat buf;
usr.sbin/crunch/crunchgen/crunchgen.c
1248
if (stat(pathname, &buf) == -1)
usr.sbin/crunch/crunchide/exec_elf32.c
159
struct stat sb;
usr.sbin/ctld/ctld.cc
2564
struct stat sb;
usr.sbin/ctld/ctld.cc
2567
error = stat(path, &sb);
usr.sbin/cxgbetool/cxgbetool.c
2177
struct stat st = {0};
usr.sbin/diskinfo/diskinfo.c
84
struct stat sb;
usr.sbin/fdformat/fdformat.c
143
struct stat sb;
usr.sbin/fdformat/fdformat.c
205
if (stat(argv[optind], &sb) == -1 && errno == ENOENT) {
usr.sbin/fdformat/fdformat.c
212
if (stat(device, &sb) == -1) {
usr.sbin/fifolog/lib/fifolog_create.c
50
struct stat st;
usr.sbin/fifolog/lib/fifolog_int.c
58
struct stat st;
usr.sbin/fstyp/fstyp.c
182
struct stat sb;
usr.sbin/gssd/gssd.c
1436
struct stat sb;
usr.sbin/inetd/builtins.c
344
struct stat sb;
usr.sbin/jail/command.c
1011
struct stat st, mpst;
usr.sbin/jail/command.c
1054
if (stat(path, &st) < 0 || statfs(path, &stfs) < 0) {
usr.sbin/jail/command.c
1059
if (stat(stfs.f_mntonname, &mpst) < 0) {
usr.sbin/jail/jail.c
166
struct stat st;
usr.sbin/jail/jail.c
338
(!strcmp(cfname, "-") || stat(cfname, &st) == 0)))
usr.sbin/jail/jail.c
670
struct stat st;
usr.sbin/jail/jail.c
685
if (stat(path, &st) < 0) {
usr.sbin/kldxref/kldxref.c
769
struct stat sb;
usr.sbin/kldxref/kldxref.c
808
if (stat(argv[0], &sb) != 0)
usr.sbin/lpr/chkprintcap/chkprintcap.c
131
struct stat stab;
usr.sbin/lpr/chkprintcap/chkprintcap.c
135
if (stat(pp->spool_dir, &stab) < 0) {
usr.sbin/lpr/chkprintcap/chkprintcap.c
203
struct stat stab;
usr.sbin/lpr/chkprintcap/chkprintcap.c
226
note_spool_dir(const struct printer *pp, const struct stat *st)
usr.sbin/lpr/chkprintcap/chkprintcap.c
290
struct stat stab;
usr.sbin/lpr/chkprintcap/chkprintcap.c
313
if (stat(sd, &stab) < 0)
usr.sbin/lpr/chkprintcap/chkprintcap.c
56
static void note_spool_dir(const struct printer *pp, const struct stat *st);
usr.sbin/lpr/common_source/common.c
117
struct stat stbuf;
usr.sbin/lpr/common_source/common.c
146
statres = stat(d->d_name, &stbuf);
usr.sbin/lpr/common_source/common.c
328
struct stat stbuf;
usr.sbin/lpr/common_source/common.c
339
statres = stat(lfname, &stbuf);
usr.sbin/lpr/common_source/ctlinfo.c
265
static struct stat ctl_dbgstat;
usr.sbin/lpr/common_source/ctlinfo.c
313
id = stat(DEBUGREADCF_FNAME, &ctl_dbgstat);
usr.sbin/lpr/common_source/ctlinfo.c
440
struct stat tstat;
usr.sbin/lpr/common_source/ctlinfo.c
441
res = stat(TRIGGERTEST_FNAME, &tstat);
usr.sbin/lpr/common_source/ctlinfo.c
705
struct stat tfstat;
usr.sbin/lpr/common_source/ctlinfo.c
708
res = stat(tfname, &tfstat);
usr.sbin/lpr/common_source/ctlinfo.c
711
res = stat(tfname2, &tfstat);
usr.sbin/lpr/common_source/displayq.c
123
ret = stat(pp->lock_file, &statb);
usr.sbin/lpr/common_source/displayq.c
526
struct stat lbuf;
usr.sbin/lpr/common_source/displayq.c
575
if (*datafile && !stat(datafile, &lbuf))
usr.sbin/lpr/common_source/displayq.c
586
struct stat lbuf;
usr.sbin/lpr/common_source/displayq.c
593
if (*datafile && !stat(datafile, &lbuf))
usr.sbin/lpr/common_source/displayq.c
98
struct stat statb;
usr.sbin/lpr/lpc/cmds.c
1012
if (stat(lf, &stbuf) >= 0) {
usr.sbin/lpr/lpc/cmds.c
1053
struct stat stbuf;
usr.sbin/lpr/lpc/cmds.c
1061
if (stat(file, &stbuf) >= 0) {
usr.sbin/lpr/lpc/cmds.c
1139
struct stat stbuf;
usr.sbin/lpr/lpc/cmds.c
1196
if (changed && stat(pp->lock_file, &stbuf) >= 0)
usr.sbin/lpr/lpc/cmds.c
772
struct stat stbuf;
usr.sbin/lpr/lpc/cmds.c
997
struct stat stbuf;
usr.sbin/lpr/lpd/printjob.c
1258
struct stat statdf;
usr.sbin/lpr/lpd/printjob.c
1279
statres = stat(dfile, &statdf);
usr.sbin/lpr/lpd/printjob.c
1284
statres = stat(dfile, &statdf);
usr.sbin/lpr/lpd/printjob.c
1311
statres = stat(dfile, &statdf);
usr.sbin/lpr/lpd/printjob.c
1319
statres = stat(dfile, &statdf);
usr.sbin/lpr/lpd/printjob.c
152
struct stat stb;
usr.sbin/lpr/lpd/printjob.c
1556
struct stat stb;
usr.sbin/lpr/lpd/printjob.c
1599
if (stat(tempstderr, &stb) < 0 || stb.st_size == 0 ||
usr.sbin/lpr/lpd/printjob.c
266
if (stat(q->job_cfname, &stb) < 0)
usr.sbin/lpr/lpd/printjob.c
610
struct stat stb;
usr.sbin/lpr/lpd/printjob.c
996
struct stat stb;
usr.sbin/lpr/lpd/recvjob.c
116
if (stat(pp->lock_file, &stb) == 0) {
usr.sbin/lpr/lpd/recvjob.c
122
} else if (stat(pp->spool_dir, &stb) < 0)
usr.sbin/lpr/lpd/recvjob.c
85
struct stat stb;
usr.sbin/lpr/lpr/lpr.c
128
struct stat stb;
usr.sbin/lpr/lpr/lpr.c
129
struct stat statb1, statb2;
usr.sbin/lpr/lpr/lpr.c
309
if (userid && stat(buf, &stb) == 0 && (stb.st_mode & LFM_QUEUE_DIS))
usr.sbin/lpr/lpr/lpr.c
699
if (stat(file, &statb) < 0) {
usr.sbin/lpr/lpr/lpr.c
747
struct stat stats;
usr.sbin/lpr/lpr/lpr.c
749
stat(directory, &stats);
usr.sbin/lpr/lpr/lpr.c
751
stat(file, &stats);
usr.sbin/lpr/lpr/lpr.c
99
static struct stat statb;
usr.sbin/lpr/pac/pac.c
413
int stat;
usr.sbin/lpr/pac/pac.c
417
stat = getprintcap(ptrname, pp);
usr.sbin/lpr/pac/pac.c
418
switch(stat) {
usr.sbin/lpr/pac/pac.c
420
printf("pac: getprintcap: %s\n", pcaperr(stat));
usr.sbin/lpr/pac/pac.c
425
fatal(pp, "%s", pcaperr(stat));
usr.sbin/makefs/cd9660.c
2052
struct stat stbuf;
usr.sbin/makefs/cd9660/cd9660_eltorito.c
72
struct stat stbuf;
usr.sbin/makefs/ffs.c
740
struct stat *st;
usr.sbin/makefs/ffs.c
787
struct stat *st;
usr.sbin/makefs/makefs.c
307
if (stat(argv[1], &sb) == -1)
usr.sbin/makefs/makefs.c
331
if (stat(argv[i], &sb) == -1)
usr.sbin/makefs/makefs.c
479
get_tstamp(const char *b, struct stat *st)
usr.sbin/makefs/makefs.c
485
if (stat(b, st) != -1)
usr.sbin/makefs/makefs.c
87
struct stat stampst;
usr.sbin/makefs/makefs.c
90
static int get_tstamp(const char *, struct stat *);
usr.sbin/makefs/makefs.c
96
struct stat sb;
usr.sbin/makefs/makefs.h
212
extern struct stat stampst;
usr.sbin/makefs/makefs.h
93
struct stat st; /* stat entry */
usr.sbin/makefs/msdos/msdosfs_vnops.c
361
struct stat *st = &node->inode->st;
usr.sbin/makefs/msdos/msdosfs_vnops.c
434
struct stat *st = &node->inode->st;
usr.sbin/makefs/msdos/msdosfs_vnops.c
95
msdosfs_times(struct denode *dep, const struct stat *st)
usr.sbin/makefs/mtree.c
483
struct stat *st, sb;
usr.sbin/makefs/mtree.c
773
if (stat(name, &sb) != 0) {
usr.sbin/makefs/walk.c
122
struct stat stbuf;
usr.sbin/makefs/walk.c
239
struct stat *stbuf)
usr.sbin/makefs/walk.c
411
struct stat stbuf;
usr.sbin/makefs/walk.c
60
struct stat *);
usr.sbin/makefs/zfs/fs.c
362
struct stat *sb;
usr.sbin/makefs/zfs/fs.c
979
struct stat *stp;
usr.sbin/mfiutil/mfi_flash.c
93
struct stat sb;
usr.sbin/mfiutil/mfi_show.c
146
struct mfi_bbu_status stat;
usr.sbin/mfiutil/mfi_show.c
185
if (mfi_dcmd_command(fd, MFI_DCMD_BBU_GET_STATUS, &stat, sizeof(stat),
usr.sbin/mfiutil/mfi_show.c
218
printf(" Current Voltage: %d mV\n", stat.voltage);
usr.sbin/mfiutil/mfi_show.c
219
printf(" Temperature: %d C\n", stat.temperature);
usr.sbin/mfiutil/mfi_show.c
241
if (stat.fw_status & MFI_BBU_STATE_PACK_MISSING) {
usr.sbin/mfiutil/mfi_show.c
245
if (stat.fw_status & MFI_BBU_STATE_VOLTAGE_LOW) {
usr.sbin/mfiutil/mfi_show.c
249
if (stat.fw_status & MFI_BBU_STATE_TEMPERATURE_HIGH) {
usr.sbin/mfiutil/mfi_show.c
253
if (stat.fw_status & MFI_BBU_STATE_CHARGE_ACTIVE) {
usr.sbin/mfiutil/mfi_show.c
257
if (stat.fw_status & MFI_BBU_STATE_DISCHARGE_ACTIVE) {
usr.sbin/mfiutil/mfi_show.c
261
if (stat.fw_status & MFI_BBU_STATE_LEARN_CYC_REQ) {
usr.sbin/mfiutil/mfi_show.c
265
if (stat.fw_status & MFI_BBU_STATE_LEARN_CYC_ACTIVE) {
usr.sbin/mfiutil/mfi_show.c
269
if (stat.fw_status & MFI_BBU_STATE_LEARN_CYC_FAIL) {
usr.sbin/mfiutil/mfi_show.c
273
if (stat.fw_status & MFI_BBU_STATE_LEARN_CYC_TIMEOUT) {
usr.sbin/mfiutil/mfi_show.c
277
if (stat.fw_status & MFI_BBU_STATE_I2C_ERR_DETECT) {
usr.sbin/mfiutil/mfi_show.c
285
switch (stat.battery_type) {
usr.sbin/mfiutil/mfi_show.c
288
stat.detail.bbu.is_SOH_good ? "good" : "bad");
usr.sbin/mlx5tool/mlx5tool.c
150
struct stat st;
usr.sbin/mountd/mountd.c
1165
struct stat stb;
usr.sbin/mountd/mountd.c
1226
stat(dirpath, &stb) < 0 ||
usr.sbin/mountd/mountd.c
3906
struct stat sb;
usr.sbin/mpsutil/mps_flash.c
123
struct stat st;
usr.sbin/mpsutil/mps_flash.c
150
if (stat(argv[2], &st) == -1) {
usr.sbin/newsyslog/newsyslog.c
1039
struct stat st_fm;
usr.sbin/newsyslog/newsyslog.c
1591
struct stat sb;
usr.sbin/newsyslog/newsyslog.c
1838
struct stat st;
usr.sbin/newsyslog/newsyslog.c
1862
struct stat st;
usr.sbin/newsyslog/newsyslog.c
2490
struct stat sb;
usr.sbin/newsyslog/newsyslog.c
2492
if (stat(file, &sb) < 0)
usr.sbin/newsyslog/newsyslog.c
2504
struct stat sb;
usr.sbin/newsyslog/newsyslog.c
2559
struct stat sb;
usr.sbin/newsyslog/newsyslog.c
2613
if (stat(tmp, &sb) < 0)
usr.sbin/newsyslog/newsyslog.c
2704
struct stat st;
usr.sbin/newsyslog/newsyslog.c
2747
struct stat st;
usr.sbin/newsyslog/newsyslog.c
2763
failed = stat(tempfile, &st);
usr.sbin/nfsd/nfsd.c
1128
struct stat st, backup_st;
usr.sbin/pmc/cmd_pmc_record.cc
558
struct stat sb;
usr.sbin/pmcstat/pmcpl_gprof.c
384
struct stat st;
usr.sbin/pmcstat/pmcpl_gprof.c
397
if (stat(fullpath, &st) == 0 && S_ISDIR(st.st_mode))
usr.sbin/pmcstat/pmcstat.c
463
struct stat sb;
usr.sbin/pmcstat/pmcstat.c
550
if (stat(optarg, &sb) < 0)
usr.sbin/pnfsdscopymr/pnfsdscopymr.c
161
if (stat(pnfsdarg.dspath, &sb) < 0)
usr.sbin/pnfsdscopymr/pnfsdscopymr.c
223
if (stat(pnfsdarg.curdspath, &sb) < 0)
usr.sbin/pnfsdscopymr/pnfsdscopymr.c
72
struct stat sb;
usr.sbin/ppp/chat.c
718
int stat, nb, argc, i;
usr.sbin/ppp/chat.c
771
waitpid(pid, &stat, WNOHANG);
usr.sbin/ppp/chat.c
772
if (WIFSIGNALED(stat)) {
usr.sbin/ppp/chat.c
773
log_Printf(LogWARN, "%s: signal %d\n", name, WTERMSIG(stat));
usr.sbin/ppp/chat.c
777
} else if (WIFEXITED(stat)) {
usr.sbin/ppp/chat.c
778
switch (WEXITSTATUS(stat)) {
usr.sbin/ppp/chat.c
789
log_Printf(LogWARN, "%s: exit %d\n", name, WEXITSTATUS(stat));
usr.sbin/ppp/ether.c
681
struct stat st;
usr.sbin/ppp/exec.c
267
int stat, argc, i, ret, wret, pidpipe[2];
usr.sbin/ppp/exec.c
271
stat = fcntl(fids[0], F_GETFL, 0);
usr.sbin/ppp/exec.c
272
if (stat > 0) {
usr.sbin/ppp/exec.c
273
stat |= O_NONBLOCK;
usr.sbin/ppp/exec.c
274
fcntl(fids[0], F_SETFL, stat);
usr.sbin/ppp/exec.c
351
while ((wret = waitpid(pid, &stat, 0)) == -1 && errno == EINTR)
usr.sbin/ppp/exec.c
359
} else if (WIFSIGNALED(stat)) {
usr.sbin/ppp/exec.c
361
WTERMSIG(stat));
usr.sbin/ppp/exec.c
365
} else if (WIFSTOPPED(stat)) {
usr.sbin/ppp/exec.c
367
WSTOPSIG(stat));
usr.sbin/ppp/exec.c
369
} else if ((ret = WEXITSTATUS(stat))) {
usr.sbin/ppp/exec.c
382
struct stat st;
usr.sbin/ppp/ipcp.c
192
struct stat st;
usr.sbin/ppp/main.c
362
struct stat sb;
usr.sbin/ppp/main.c
364
if (stat(conf, &sb) == 0 && sb.st_mode & S_IWOTH) {
usr.sbin/ppp/prompt.c
420
int stat, fd = p ? p->fd_in : STDIN_FILENO;
usr.sbin/ppp/prompt.c
423
stat = fcntl(fd, F_GETFL, 0);
usr.sbin/ppp/prompt.c
424
if (stat > 0) {
usr.sbin/ppp/prompt.c
425
stat |= O_NONBLOCK;
usr.sbin/ppp/prompt.c
426
fcntl(fd, F_SETFL, stat);
usr.sbin/ppp/prompt.c
454
int stat;
usr.sbin/ppp/prompt.c
462
stat = fcntl(p->fd_in, F_GETFL, 0);
usr.sbin/ppp/prompt.c
463
if (stat > 0) {
usr.sbin/ppp/prompt.c
464
stat |= O_NONBLOCK;
usr.sbin/ppp/prompt.c
465
fcntl(p->fd_in, F_SETFL, stat);
usr.sbin/ppp/prompt.c
477
int stat;
usr.sbin/ppp/prompt.c
482
stat = fcntl(p->fd_in, F_GETFL, 0);
usr.sbin/ppp/prompt.c
483
if (stat > 0) {
usr.sbin/ppp/prompt.c
484
stat &= ~O_NONBLOCK;
usr.sbin/ppp/prompt.c
485
fcntl(p->fd_in, F_SETFL, stat);
usr.sbin/ppp/prompt.c
493
int stat;
usr.sbin/ppp/prompt.c
495
stat = fcntl(p->fd_in, F_GETFL, 0);
usr.sbin/ppp/prompt.c
496
if (stat > 0) {
usr.sbin/ppp/prompt.c
497
stat &= ~O_NONBLOCK;
usr.sbin/ppp/prompt.c
498
fcntl(p->fd_in, F_SETFL, stat);
usr.sbin/ppp/server.c
219
struct stat st;
usr.sbin/ppp/server.c
228
if (server.cfg.sockname[0] != '\0' && stat(server.cfg.sockname, &st) == 0)
usr.sbin/ppp/tcp.c
171
struct stat st;
usr.sbin/ppp/udp.c
283
struct stat st;
usr.sbin/pw/cpdir.c
45
struct stat st;
usr.sbin/pw/pw.c
114
struct stat st;
usr.sbin/pw/pw.c
149
if (stat(argv[2], &st) != 0)
usr.sbin/pw/pw_user.c
1199
struct stat st;
usr.sbin/pw/pw_user.c
1540
struct stat st;
usr.sbin/pw/pw_user.c
689
struct stat st;
usr.sbin/pw/pw_user.c
693
stat(e->d_name, &st) == 0 &&
usr.sbin/pw/pw_user.c
848
struct stat st;
usr.sbin/pw/pw_user.c
87
struct stat st;
usr.sbin/pw/rm_r.c
124
struct statfs stat;
usr.sbin/pw/rm_r.c
146
if (statfs(path, &stat) != 0) {
usr.sbin/pw/rm_r.c
154
if (strcmp(stat.f_mntonname, path) != 0)
usr.sbin/pw/rm_r.c
156
argv[2] = stat.f_mntfromname;
usr.sbin/pw/rm_r.c
64
struct stat st;
usr.sbin/pwd_mkdb/pwd_mkdb.c
174
struct stat st;
usr.sbin/rpc.lockd/lock_proc.c
1001
res.stat.stat = (enum nlm4_stats)getlock(arg, rqstp, LOCK_MON | LOCK_V4);
usr.sbin/rpc.lockd/lock_proc.c
1014
res.stat.stat = (enum nlm4_stats)getlock(arg, rqstp, LOCK_MON | LOCK_ASYNC | LOCK_V4);
usr.sbin/rpc.lockd/lock_proc.c
1041
res.stat.stat = (enum nlm4_stats)unlock(&arg->alock, LOCK_CANCEL);
usr.sbin/rpc.lockd/lock_proc.c
1058
res.stat.stat = (enum nlm4_stats)unlock(&arg->alock, LOCK_CANCEL | LOCK_V4);
usr.sbin/rpc.lockd/lock_proc.c
1079
res.stat.stat = (enum nlm4_stats)unlock(&arg->alock, LOCK_V4);
usr.sbin/rpc.lockd/lock_proc.c
1093
res.stat.stat = (enum nlm4_stats)unlock(&arg->alock, LOCK_V4);
usr.sbin/rpc.lockd/lock_proc.c
1126
res.stat.stat = lock_answer(arg->alock.svid, &arg->cookie,
usr.sbin/rpc.lockd/lock_proc.c
1145
res.stat.stat = lock_answer(arg->alock.svid, &arg->cookie,
usr.sbin/rpc.lockd/lock_proc.c
1163
(void)lock_answer(-1, &arg->cookie, arg->stat.stat,
usr.sbin/rpc.lockd/lock_proc.c
1164
(int *)&arg->stat.nlm4_testrply_u.holder.svid,
usr.sbin/rpc.lockd/lock_proc.c
1180
(void)lock_answer(-1, &arg->cookie, arg->stat.stat, NULL, NLM_VERS4);
usr.sbin/rpc.lockd/lock_proc.c
1248
res.stat = nlm4_granted;
usr.sbin/rpc.lockd/lock_proc.c
1268
res.stat = nlm4_granted;
usr.sbin/rpc.lockd/lock_proc.c
1293
res.stat.stat = nlm4_granted;
usr.sbin/rpc.lockd/lock_proc.c
446
res.stat.stat = nlm_granted;
usr.sbin/rpc.lockd/lock_proc.c
448
res.stat.stat = nlm_denied;
usr.sbin/rpc.lockd/lock_proc.c
449
memcpy(&res.stat.nlm_testrply_u.holder, holder,
usr.sbin/rpc.lockd/lock_proc.c
451
res.stat.nlm_testrply_u.holder.l_offset = holder->l_offset;
usr.sbin/rpc.lockd/lock_proc.c
452
res.stat.nlm_testrply_u.holder.l_len = holder->l_len;
usr.sbin/rpc.lockd/lock_proc.c
478
res.stat.stat = nlm_granted;
usr.sbin/rpc.lockd/lock_proc.c
480
res.stat.stat = nlm_denied;
usr.sbin/rpc.lockd/lock_proc.c
481
memcpy(&res.stat.nlm_testrply_u.holder, holder,
usr.sbin/rpc.lockd/lock_proc.c
483
res.stat.nlm_testrply_u.holder.l_offset = holder->l_offset;
usr.sbin/rpc.lockd/lock_proc.c
484
res.stat.nlm_testrply_u.holder.l_len = holder->l_len;
usr.sbin/rpc.lockd/lock_proc.c
530
res.stat.stat = getlock(&arg4, rqstp, LOCK_MON);
usr.sbin/rpc.lockd/lock_proc.c
551
res.stat.stat = getlock(&arg4, rqstp, LOCK_ASYNC | LOCK_MON);
usr.sbin/rpc.lockd/lock_proc.c
581
res.stat.stat = unlock(&arg4, LOCK_CANCEL);
usr.sbin/rpc.lockd/lock_proc.c
601
res.stat.stat = unlock(&arg4, LOCK_CANCEL);
usr.sbin/rpc.lockd/lock_proc.c
625
res.stat.stat = unlock(&arg4, 0);
usr.sbin/rpc.lockd/lock_proc.c
642
res.stat.stat = unlock(&arg4, 0);
usr.sbin/rpc.lockd/lock_proc.c
675
res.stat.stat = lock_answer(arg->alock.svid, &arg->cookie,
usr.sbin/rpc.lockd/lock_proc.c
694
res.stat.stat = lock_answer(arg->alock.svid, &arg->cookie,
usr.sbin/rpc.lockd/lock_proc.c
712
(void)lock_answer(-1, &arg->cookie, arg->stat.stat,
usr.sbin/rpc.lockd/lock_proc.c
713
&arg->stat.nlm_testrply_u.holder.svid, NLM_VERS);
usr.sbin/rpc.lockd/lock_proc.c
728
(void)lock_answer(-1, &arg->cookie, arg->stat.stat, NULL, NLM_VERS);
usr.sbin/rpc.lockd/lock_proc.c
757
lock_answer(-1, &arg->cookie, arg->stat.stat, NULL, NLM_VERS);
usr.sbin/rpc.lockd/lock_proc.c
799
res.stat = nlm_granted;
usr.sbin/rpc.lockd/lock_proc.c
819
res.stat = nlm_granted;
usr.sbin/rpc.lockd/lock_proc.c
844
res.stat.stat = nlm_granted;
usr.sbin/rpc.lockd/lock_proc.c
912
res.stat.stat = nlm4_granted;
usr.sbin/rpc.lockd/lock_proc.c
914
res.stat.stat = nlm4_denied;
usr.sbin/rpc.lockd/lock_proc.c
915
memcpy(&res.stat.nlm4_testrply_u.holder, holder,
usr.sbin/rpc.lockd/lock_proc.c
939
res.stat.stat = nlm4_granted;
usr.sbin/rpc.lockd/lock_proc.c
941
res.stat.stat = nlm4_denied;
usr.sbin/rpc.lockd/lock_proc.c
942
memcpy(&res.stat.nlm4_testrply_u.holder, holder,
usr.sbin/rpc.lockd/lockd.c
863
sm_stat stat;
usr.sbin/rpc.lockd/lockd.c
880
(xdrproc_t)xdr_my_id, &id, (xdrproc_t)xdr_sm_stat, &stat);
usr.sbin/rpc.lockd/lockd.c
895
nsm_state = stat.state;
usr.sbin/rpc.lockd/test.c
337
res_block.stat.stat = nlm_granted;
usr.sbin/rpc.lockd/test.c
349
printf("out->stat = %d", out->stat);
usr.sbin/rpc.yppasswdd/yppasswdd_server.c
249
struct stat statbuf;
usr.sbin/rpc.yppasswdd/yppasswdd_server.c
268
if (stat(yp_mapdir, &statbuf) < 0) {
usr.sbin/rpcbind/warmstart.c
108
struct stat sbuf;
usr.sbin/rpcbind/warmstart.c
110
if (stat(filename, &sbuf) != 0) {
usr.sbin/rtadvd/config.c
342
int stat, i;
usr.sbin/rtadvd/config.c
363
if ((stat = agetent(tbuf, ifi->ifi_ifname)) <= 0) {
usr.sbin/rwhod/rwhod.c
340
struct stat st;
usr.sbin/rwhod/rwhod.c
445
struct stat stb;
usr.sbin/rwhod/rwhod.c
477
if (stat(we->we_utmp.out_line, &stb) >= 0)
usr.sbin/snapinfo/snapinfo.c
144
compare_function(const char *path, const struct stat *st, int flags,
usr.sbin/snapinfo/snapinfo.c
45
static int compare_function(const char *, const struct stat *,
usr.sbin/snapinfo/snapinfo.c
57
struct stat st;
usr.sbin/snapinfo/snapinfo.c
94
stat(resolved, &st) == -1 || /* is it stat'able */
usr.sbin/trim/trim.c
177
struct stat sb;
usr.sbin/tzsetup/tzsetup.c
924
struct stat sb;
usr.sbin/tzsetup/tzsetup.c
926
if (stat(argv[optind], &sb) != 0) {
usr.sbin/uathload/uathload.c
128
struct stat sb;
usr.sbin/uefisign/child.c
55
struct stat sb;
usr.sbin/uhsoctl/uhsoctl.c
449
struct stat sb;
usr.sbin/vidcontrol/vidcontrol.c
364
struct stat sb;
usr.sbin/watch/watch.c
230
struct stat sb;
usr.sbin/watch/watch.c
241
if (*name == '\0' || stat(buf, &sb) < 0)
usr.sbin/watchdogd/watchdogd.c
325
struct stat sb;
usr.sbin/watchdogd/watchdogd.c
341
failed = stat("/etc", &sb);
usr.sbin/yp_mkdb/yp_mkdb.c
329
int stat;
usr.sbin/yp_mkdb/yp_mkdb.c
330
if ((stat = callrpc("localhost", YPPROG,YPVERS, YPPROC_CLEAR,
usr.sbin/yp_mkdb/yp_mkdb.c
334
clnt_sperrno((enum clnt_stat) stat));
usr.sbin/ypbind/ypbind.c
662
enum clnt_stat stat;
usr.sbin/ypbind/ypbind.c
748
stat = clnt_broadcast(YPPROG, YPVERS, YPPROC_DOMAIN_NONACK,
usr.sbin/ypbind/ypbind.c
754
if (stat != RPC_SUCCESS) {
usr.sbin/ypbind/ypbind.c
781
enum clnt_stat stat;
usr.sbin/ypbind/ypbind.c
808
stat = clnt_call(client_handle, YPPROC_DOMAIN,
usr.sbin/ypbind/ypbind.c
811
if (stat != RPC_SUCCESS || out == FALSE) {
usr.sbin/ypldap/parse.y
660
struct stat st;
usr.sbin/ypldap/yp.c
284
res->stat = YP_NODOM;
usr.sbin/ypldap/yp.c
351
res.stat = YP_NOKEY;
usr.sbin/ypldap/yp.c
361
res.stat = YP_BADARGS;
usr.sbin/ypldap/yp.c
367
res.stat = YP_NOKEY;
usr.sbin/ypldap/yp.c
376
res.stat = YP_BADARGS;
usr.sbin/ypldap/yp.c
381
res.stat = YP_NOKEY;
usr.sbin/ypldap/yp.c
391
res.stat = YP_NOKEY;
usr.sbin/ypldap/yp.c
401
res.stat = YP_BADARGS;
usr.sbin/ypldap/yp.c
408
res.stat = YP_BADARGS;
usr.sbin/ypldap/yp.c
413
res.stat = YP_BADARGS;
usr.sbin/ypldap/yp.c
418
res.stat = YP_BADARGS;
usr.sbin/ypldap/yp.c
424
res.stat = YP_BADARGS;
usr.sbin/ypldap/yp.c
430
res.stat = YP_NOKEY;
usr.sbin/ypldap/yp.c
439
res.stat = YP_NOMAP;
usr.sbin/ypldap/yp.c
468
res.stat = YP_NOMAP;
usr.sbin/ypldap/yp.c
493
res.stat = YP_YPERR;
usr.sbin/ypldap/yp.c
514
res.stat = YP_NOKEY;
usr.sbin/ypldap/yp.c
530
res.stat = YP_YPERR;
usr.sbin/ypldap/yp.c
547
res.stat = YP_NOKEY;
usr.sbin/ypldap/yp.c
561
res.stat = YP_NOMAP;
usr.sbin/ypldap/yp.c
590
res.stat = YP_TRUE;
usr.sbin/ypldap/yp.c
592
res.stat = YP_NOKEY;
usr.sbin/ypldap/yp.c
619
res.stat = YP_TRUE;
usr.sbin/ypldap/yp.c
646
res->stat = YP_TRUE;
usr.sbin/ypldap/yp.c
665
res->stat = YP_NOMORE;
usr.sbin/ypldap/yp.c
668
res->stat = YP_TRUE;
usr.sbin/yppush/yppush_main.c
324
job->stat = YPPUSH_NOHOST;
usr.sbin/yppush/yppush_main.c
327
job->stat = YPPUSH_PMAP;
usr.sbin/yppush/yppush_main.c
330
job->stat = YPPUSH_RPC;
usr.sbin/yppush/yppush_main.c
350
job->stat = YPPUSH_YPSERV;
usr.sbin/yppush/yppush_main.c
398
job->stat = 0;
usr.sbin/yppush/yppush_main.c
420
yppush_show_status(job->stat ? job->stat :
usr.sbin/yppush/yppush_main.c
75
ypxfrstat stat;
usr.sbin/ypserv/common/yplib_host.c
164
if ( !(r = ypprot_err(yprv.stat)) ) {
usr.sbin/ypserv/common/yplib_host.c
199
if ( !(r = ypprot_err(yprkv.stat)) ) {
usr.sbin/ypserv/common/yplib_host.c
240
if ( !(r = ypprot_err(yprkv.stat)) ) {
usr.sbin/ypserv/common/yplib_host.c
304
return ypprot_err(ypro.stat);
usr.sbin/ypserv/common/yplib_host.c
327
if (!(r = ypprot_err(yprm.stat)))
usr.sbin/ypserv/common/yplib_host.c
354
return ypprot_err(ypml.stat);
usr.sbin/ypserv/yp_access.c
317
struct stat statbuf;
usr.sbin/ypserv/yp_access.c
327
if (stat(dompath, &statbuf) < 0 || !S_ISDIR(statbuf.st_mode))
usr.sbin/ypserv/yp_dnslookup.c
240
result_v2.stat = YP_NOKEY;
usr.sbin/ypserv/yp_dnslookup.c
244
result_v2.stat = YP_TRUE;
usr.sbin/ypserv/yp_dnslookup.c
260
result_v1.YPVAL.stat = YP_NOKEY;
usr.sbin/ypserv/yp_dnslookup.c
264
result_v1.YPVAL.stat = YP_TRUE;
usr.sbin/ypserv/yp_server.c
146
result.stat = YP_YPERR;
usr.sbin/ypserv/yp_server.c
151
result.stat = YP_BADARGS;
usr.sbin/ypserv/yp_server.c
156
result.stat = yp_errno;
usr.sbin/ypserv/yp_server.c
160
result.stat = yp_getbykey(&argp->key, &result.val);
usr.sbin/ypserv/yp_server.c
167
if (do_dns && result.stat != YP_TRUE &&
usr.sbin/ypserv/yp_server.c
171
if (do_dns && result.stat != YP_TRUE &&
usr.sbin/ypserv/yp_server.c
185
result.stat = yp_async_lookup_name(rqstp, nbuf,
usr.sbin/ypserv/yp_server.c
188
result.stat = yp_async_lookup_addr(rqstp, nbuf,
usr.sbin/ypserv/yp_server.c
191
result.stat = yp_async_lookup_name(rqstp, nbuf,
usr.sbin/ypserv/yp_server.c
194
result.stat = yp_async_lookup_addr(rqstp, nbuf,
usr.sbin/ypserv/yp_server.c
197
if (result.stat == YP_TRUE)
usr.sbin/ypserv/yp_server.c
217
result.stat = YP_YPERR;
usr.sbin/ypserv/yp_server.c
222
result.stat = YP_BADARGS;
usr.sbin/ypserv/yp_server.c
227
result.stat = yp_errno;
usr.sbin/ypserv/yp_server.c
231
result.stat = yp_firstbykey(&result.key, &result.val);
usr.sbin/ypserv/yp_server.c
249
result.stat = YP_YPERR;
usr.sbin/ypserv/yp_server.c
254
result.stat = YP_BADARGS;
usr.sbin/ypserv/yp_server.c
259
result.stat = yp_errno;
usr.sbin/ypserv/yp_server.c
266
result.stat = yp_nextbykey(&result.key, &result.val);
usr.sbin/ypserv/yp_server.c
358
if (mres->stat != YP_TRUE) {
usr.sbin/ypserv/yp_server.c
469
if ((objp->ypresp_all_u.val.stat =
usr.sbin/ypserv/yp_server.c
504
result.ypresp_all_u.val.stat = YP_YPERR;
usr.sbin/ypserv/yp_server.c
509
result.ypresp_all_u.val.stat = YP_BADARGS;
usr.sbin/ypserv/yp_server.c
519
result.ypresp_all_u.val.stat = YP_YPERR;
usr.sbin/ypserv/yp_server.c
535
result.ypresp_all_u.val.stat = YP_YPERR;
usr.sbin/ypserv/yp_server.c
555
result.ypresp_all_u.val.stat = yp_errno;
usr.sbin/ypserv/yp_server.c
587
result.stat = YP_YPERR;
usr.sbin/ypserv/yp_server.c
592
result.stat = YP_BADARGS;
usr.sbin/ypserv/yp_server.c
597
result.stat = yp_errno;
usr.sbin/ypserv/yp_server.c
609
result.stat = yp_getbykey(&key, &val);
usr.sbin/ypserv/yp_server.c
610
if (result.stat == YP_TRUE) {
usr.sbin/ypserv/yp_server.c
634
result.stat = YP_YPERR;
usr.sbin/ypserv/yp_server.c
639
result.stat = YP_BADARGS;
usr.sbin/ypserv/yp_server.c
651
result.stat = yp_errno;
usr.sbin/ypserv/yp_server.c
655
result.stat = yp_getbykey(&key, &val);
usr.sbin/ypserv/yp_server.c
657
if (result.stat == YP_TRUE)
usr.sbin/ypserv/yp_server.c
686
struct stat statbuf;
usr.sbin/ypserv/yp_server.c
699
if (stat(yp_mapname, &statbuf) < 0 ||
usr.sbin/ypserv/yp_server.c
737
result.stat = YP_YPERR;
usr.sbin/ypserv/yp_server.c
742
result.stat = YP_BADARGS;
usr.sbin/ypserv/yp_server.c
747
result.stat = YP_NODOM;
usr.sbin/ypserv/yp_server.c
765
result.stat = YP_YPERR;
usr.sbin/ypserv/yp_server.c
768
result.stat = YP_TRUE;
usr.sbin/ypserv/yp_server.c
822
result.ypresponse_u.yp_resp_valtype.stat = YP_BADARGS;
usr.sbin/ypserv/yp_server.c
852
result.ypresponse_u.yp_resp_key_valtype.stat = YP_BADARGS;
usr.sbin/ypserv/yp_server.c
883
result.ypresponse_u.yp_resp_key_valtype.stat = YP_BADARGS;
usr.sbin/ypserv/yp_server.c
930
if (v2_result1->stat != YP_TRUE) {
usr.sbin/ypserv/yp_server.c
939
if (v2_result2->stat != YP_TRUE) {