bin/csh/func.c
437
int status;
bin/csh/func.c
448
status = !exp0(&v, 1);
bin/csh/func.c
450
status = !expr(&v);
bin/csh/func.c
471
if (status)
bin/csh/proc.c
655
int jobflags, pstatus, reason, status;
bin/csh/proc.c
668
status = reason = -1;
bin/csh/proc.c
674
((pstatus == status && pp->p_reason == reason) ||
bin/csh/proc.c
703
if (pstatus == status) {
bin/csh/proc.c
712
status = pstatus;
bin/csh/proc.c
715
switch (status) {
bin/csh/proc.c
750
(void)fprintf(csherr, "BUG: status=%-9o", status);
bin/csh/proc.c
780
if (pp->p_flags & PPTIME && !(status & (PSTOPPED | PRUNNING))) {
bin/ed/glbl.c
137
if ((status = extract_addr_range()) < 0 ||
bin/ed/glbl.c
138
(status = exec_command()) < 0 ||
bin/ed/glbl.c
139
(status > 0 && (status = display_lines(
bin/ed/glbl.c
140
current_addr, current_addr, status)) < 0))
bin/ed/glbl.c
141
return status;
bin/ed/glbl.c
87
int status;
bin/ed/main.c
116
long status = 0;
bin/ed/main.c
169
if ((status = sigsetjmp(env, 1)) != 0)
bin/ed/main.c
171
if ((status = setjmp(env)) != 0)
bin/ed/main.c
194
if (status < 0 && garrulous)
bin/ed/main.c
201
status = ERR;
bin/ed/main.c
217
status = EMOD;
bin/ed/main.c
225
status = ERR;
bin/ed/main.c
229
if ((status = extract_addr_range()) >= 0 &&
bin/ed/main.c
230
(status = exec_command()) >= 0) {
bin/ed/main.c
231
if (status == 0)
bin/ed/main.c
233
status = display_lines(current_addr, current_addr,
bin/ed/main.c
234
status);
bin/ed/main.c
235
if (status >= 0)
bin/ed/main.c
238
switch (status) {
bin/ksh/jobs.c
101
int status; /* wait status */
bin/ksh/jobs.c
1147
int status;
bin/ksh/jobs.c
1187
if (j->state == PEXITED && j->status == 0
bin/ksh/jobs.c
1215
status = j->last_proc->status;
bin/ksh/jobs.c
1217
&& WIFSIGNALED(status)
bin/ksh/jobs.c
1218
&& (sigtraps[WTERMSIG(status)].flags & TF_TTY_INTR))
bin/ksh/jobs.c
1219
trapsig(WTERMSIG(status));
bin/ksh/jobs.c
1225
rv = j->status;
bin/ksh/jobs.c
1252
int status;
bin/ksh/jobs.c
1268
pid = waitpid(-1, &status, (WNOHANG|WUNTRACED));
bin/ksh/jobs.c
1293
p->status = status;
bin/ksh/jobs.c
1295
if (WIFSTOPPED(status))
bin/ksh/jobs.c
1299
if (WIFSIGNALED(status))
bin/ksh/jobs.c
1346
j->status = WEXITSTATUS(j->last_proc->status);
bin/ksh/jobs.c
1349
j->status = 128 + WTERMSIG(j->last_proc->status);
bin/ksh/jobs.c
1352
j->status = 0;
bin/ksh/jobs.c
137
int status; /* exit status of last process */
bin/ksh/jobs.c
1438
int status;
bin/ksh/jobs.c
1468
strlcpy(buf, sigtraps[WSTOPSIG(p->status)].mess,
bin/ksh/jobs.c
1474
else if (WEXITSTATUS(p->status) == 0)
bin/ksh/jobs.c
1478
WEXITSTATUS(p->status));
bin/ksh/jobs.c
1481
if (WCOREDUMP(p->status))
bin/ksh/jobs.c
1487
&& (WTERMSIG(p->status) == SIGINT
bin/ksh/jobs.c
1488
|| WTERMSIG(p->status) == SIGPIPE)) {
bin/ksh/jobs.c
1491
strlcpy(buf, sigtraps[WTERMSIG(p->status)].mess,
bin/ksh/jobs.c
1520
status = p->status;
bin/ksh/jobs.c
1522
while (p && p->state == state && p->status == status)
bin/ksh/jobs.c
456
p->status = 0;
bin/ksh/jobs.c
846
p->status = 0;
bin/mt/mt.c
110
static void status(struct mtget *);
bin/mt/mt.c
205
status(&mt_status);
bin/mv/mv.c
381
int status;
bin/mv/mv.c
388
if (waitpid(pid, &status, 0) == -1) {
bin/mv/mv.c
392
if (!WIFEXITED(status)) {
bin/mv/mv.c
396
if (WEXITSTATUS(status)) {
bin/mv/mv.c
398
_PATH_CP, WEXITSTATUS(status));
bin/mv/mv.c
406
if (waitpid(pid, &status, 0) == -1) {
bin/mv/mv.c
410
if (!WIFEXITED(status)) {
bin/mv/mv.c
414
if (WEXITSTATUS(status)) {
bin/mv/mv.c
416
_PATH_RM, WEXITSTATUS(status));
bin/pax/ar_io.c
373
int status;
bin/pax/ar_io.c
422
waitpid(zpid, &status, 0);
bin/rcp/util.c
126
int status;
bin/rcp/util.c
141
if (waitpid(pid, &status, 0) < 0)
bin/rcp/util.c
142
status = -1;
bin/rcp/util.c
145
return (status);
bin/sh/cd.c
511
int status;
bin/sh/cd.c
536
status = waitforjob(jp);
bin/sh/cd.c
537
if (status != 0)
bin/sh/error.c
230
sh_err(int status, const char *fmt, ...)
bin/sh/error.c
237
sh_exit(status);
bin/sh/error.c
241
sh_verr(int status, const char *fmt, va_list ap)
bin/sh/error.c
244
sh_exit(status);
bin/sh/error.c
248
sh_errx(int status, const char *fmt, ...)
bin/sh/error.c
255
sh_exit(status);
bin/sh/error.c
259
sh_verrx(int status, const char *fmt, va_list ap)
bin/sh/error.c
262
sh_exit(status);
bin/sh/eval.c
406
int status;
bin/sh/eval.c
409
status = 0;
bin/sh/eval.c
429
status = exitstatus;
bin/sh/eval.c
440
status = exitstatus;
bin/sh/eval.c
445
exitstatus = status;
bin/sh/eval.c
457
int status;
bin/sh/eval.c
459
status = nflag ? exitstatus : 0;
bin/sh/eval.c
485
status = exitstatus;
bin/sh/eval.c
499
exitstatus = status;
bin/sh/eval.c
513
int status = 0;
bin/sh/eval.c
531
status = exitstatus;
bin/sh/eval.c
539
exitstatus = status;
bin/sh/exec.c
408
int status = 0;
bin/sh/exec.c
494
status = 1;
bin/sh/exec.c
504
return status;
bin/sh/jobs.c
1051
int status = 0;
bin/sh/jobs.c
1084
status = 1;
bin/sh/jobs.c
1089
status = 1;
bin/sh/jobs.c
1094
status |= stop_me(sig, force, pgrp, pid);
bin/sh/jobs.c
1100
status = 1;
bin/sh/jobs.c
1109
status = 1;
bin/sh/jobs.c
1113
return status;
bin/sh/jobs.c
1401
ps->status = -1;
bin/sh/jobs.c
1527
int status;
bin/sh/jobs.c
1544
status = jobstatus(jp, 1);
bin/sh/jobs.c
1547
if (WIFEXITED(status))
bin/sh/jobs.c
1548
st = WEXITSTATUS(status);
bin/sh/jobs.c
1550
else if (WIFSTOPPED(status))
bin/sh/jobs.c
1551
st = WSTOPSIG(status) + 128;
bin/sh/jobs.c
1554
st = WTERMSIG(status) + 128;
bin/sh/jobs.c
1557
JNUM(jp), jp->nprocs, status, st));
bin/sh/jobs.c
1568
if (WIFSIGNALED(status) && WTERMSIG(status) == SIGINT)
bin/sh/jobs.c
1598
int status;
bin/sh/jobs.c
1619
pid = waitproc(flags & WBLOCK, job, &status);
bin/sh/jobs.c
1624
pid, err, status, pendingsigs));
bin/sh/jobs.c
1661
(sp->status==-1 || WIFSTOPPED(sp->status))) {
bin/sh/jobs.c
1664
JNUM(jp), pid, sp->status));
bin/sh/jobs.c
1675
if (WIFCONTINUED(status)) {
bin/sh/jobs.c
1676
if (sp->status != -1)
bin/sh/jobs.c
1678
sp->status = -1;
bin/sh/jobs.c
1684
sp->status = status;
bin/sh/jobs.c
1686
("%#x\n", status));
bin/sh/jobs.c
1703
if (sp->status == -1)
bin/sh/jobs.c
1705
else if (WIFSTOPPED(sp->status))
bin/sh/jobs.c
1819
waitproc(int block, struct job *jp, int *status)
bin/sh/jobs.c
1831
return waitpid(-1, status, flags);
bin/sh/jobs.c
1843
return wait(status);
bin/sh/jobs.c
1847
return wait(status);
bin/sh/jobs.c
258
int status;
bin/sh/jobs.c
277
status = waitforjob(jp);
bin/sh/jobs.c
279
return status;
bin/sh/jobs.c
386
if (jp->ps[i].status != -1 && !WIFSTOPPED(jp->ps[i].status))
bin/sh/jobs.c
409
if (WIFSTOPPED(ps->status)) {
bin/sh/jobs.c
413
JNUM(jp), ps->pid, ps->status));
bin/sh/jobs.c
414
ps->status = -1;
bin/sh/jobs.c
460
st = ps->status;
bin/sh/jobs.c
462
int st1 = ps->status;
bin/sh/jobs.c
504
if (ps->status == -1) {
bin/sh/jobs.c
506
} else if (WIFEXITED(ps->status)) {
bin/sh/jobs.c
507
st = WEXITSTATUS(ps->status);
bin/sh/jobs.c
514
if (WIFSTOPPED(ps->status))
bin/sh/jobs.c
515
st = WSTOPSIG(ps->status);
bin/sh/jobs.c
518
st = WTERMSIG(ps->status);
bin/sh/jobs.c
520
if (WCOREDUMP(ps->status)) {
bin/sh/jobs.c
684
int status = 0;
bin/sh/jobs.c
691
if (jp->ps[i].status != 0)
bin/sh/jobs.c
692
status = jp->ps[i].status;
bin/sh/jobs.c
694
status = jp->ps[jp->nprocs ? jp->nprocs - 1 : 0].status;
bin/sh/jobs.c
697
return status;
bin/sh/jobs.c
699
if (WIFEXITED(status))
bin/sh/jobs.c
700
retval = WEXITSTATUS(status);
bin/sh/jobs.c
702
else if (WIFSTOPPED(status))
bin/sh/jobs.c
703
retval = WSTOPSIG(status) + 128;
bin/sh/jobs.c
707
retval = WTERMSIG(status) + 128;
bin/sh/jobs.h
65
int status; /* last process status from wait() */
bin/sh/miscbltin.c
228
int status;
bin/sh/miscbltin.c
313
status = 0;
bin/sh/miscbltin.c
327
status = 1;
bin/sh/miscbltin.c
340
status = 1;
bin/sh/miscbltin.c
452
return status;
bin/sh/trap.c
894
exitshell(int status)
bin/sh/trap.c
897
("pid %d: exitshell(%d)\n", getpid(), status));
bin/sh/trap.c
900
exiting_status = status;
common/dist/zlib/deflate.c
1026
if (s->status == FINISH_STATE && strm->avail_in != 0) {
common/dist/zlib/deflate.c
1031
if (s->status == INIT_STATE && s->wrap == 0)
common/dist/zlib/deflate.c
1032
s->status = BUSY_STATE;
common/dist/zlib/deflate.c
1033
if (s->status == INIT_STATE) {
common/dist/zlib/deflate.c
1058
s->status = BUSY_STATE;
common/dist/zlib/deflate.c
1068
if (s->status == GZIP_STATE) {
common/dist/zlib/deflate.c
1084
s->status = BUSY_STATE;
common/dist/zlib/deflate.c
1116
s->status = EXTRA_STATE;
common/dist/zlib/deflate.c
1119
if (s->status == EXTRA_STATE) {
common/dist/zlib/deflate.c
1144
s->status = NAME_STATE;
common/dist/zlib/deflate.c
1146
if (s->status == NAME_STATE) {
common/dist/zlib/deflate.c
1166
s->status = COMMENT_STATE;
common/dist/zlib/deflate.c
1168
if (s->status == COMMENT_STATE) {
common/dist/zlib/deflate.c
1187
s->status = HCRC_STATE;
common/dist/zlib/deflate.c
1189
if (s->status == HCRC_STATE) {
common/dist/zlib/deflate.c
1202
s->status = BUSY_STATE;
common/dist/zlib/deflate.c
1216
(flush != Z_NO_FLUSH && s->status != FINISH_STATE)) {
common/dist/zlib/deflate.c
1225
s->status = FINISH_STATE;
common/dist/zlib/deflate.c
1296
int status;
common/dist/zlib/deflate.c
1300
status = strm->state->status;
common/dist/zlib/deflate.c
1311
return status == BUSY_STATE ? Z_DATA_ERROR : Z_OK;
common/dist/zlib/deflate.c
447
s->status = INIT_STATE; /* to pass state test in deflateReset() */
common/dist/zlib/deflate.c
512
s->status = FINISH_STATE;
common/dist/zlib/deflate.c
546
if (s == Z_NULL || s->strm != strm || (s->status != INIT_STATE &&
common/dist/zlib/deflate.c
548
s->status != GZIP_STATE &&
common/dist/zlib/deflate.c
550
s->status != EXTRA_STATE &&
common/dist/zlib/deflate.c
551
s->status != NAME_STATE &&
common/dist/zlib/deflate.c
552
s->status != COMMENT_STATE &&
common/dist/zlib/deflate.c
553
s->status != HCRC_STATE &&
common/dist/zlib/deflate.c
554
s->status != BUSY_STATE &&
common/dist/zlib/deflate.c
555
s->status != FINISH_STATE))
common/dist/zlib/deflate.c
573
if (wrap == 2 || (wrap == 1 && s->status != INIT_STATE) || s->lookahead)
common/dist/zlib/deflate.c
664
s->status =
common/dist/zlib/deflate.c
994
(s->status == FINISH_STATE && flush != Z_FINISH)) {
common/dist/zlib/deflate.h
108
int status; /* as the name implies */
crypto/dist/ipsec-tools/src/racoon/admin.c
174
if (iph1->status >= PHASE1ST_ESTABLISHED)
crypto/dist/ipsec-tools/src/racoon/admin.c
368
if (iph1->status >= PHASE1ST_ESTABLISHED)
crypto/dist/ipsec-tools/src/racoon/admin.c
433
if (ph1->status == PHASE1ST_ESTABLISHED)
crypto/dist/ipsec-tools/src/racoon/admin.c
519
if (iph2->status == PHASE2ST_ESTABLISHED)
crypto/dist/ipsec-tools/src/racoon/admin.c
559
iph2->status = PHASE2ST_STATUS2;
crypto/dist/ipsec-tools/src/racoon/grabmyaddr.c
564
int len, status;
crypto/dist/ipsec-tools/src/racoon/grabmyaddr.c
570
status = recvmsg(fd, &msg, MSG_DONTWAIT);
crypto/dist/ipsec-tools/src/racoon/grabmyaddr.c
571
if (status < 0) {
crypto/dist/ipsec-tools/src/racoon/grabmyaddr.c
578
if (status == 0)
crypto/dist/ipsec-tools/src/racoon/grabmyaddr.c
582
while (NLMSG_OK(h, status)) {
crypto/dist/ipsec-tools/src/racoon/grabmyaddr.c
584
h = NLMSG_NEXT(h, status);
crypto/dist/ipsec-tools/src/racoon/handler.c
1402
if (iph2->status == PHASE2ST_ESTABLISHED)
crypto/dist/ipsec-tools/src/racoon/handler.c
141
if (p->status >= PHASE1ST_EXPIRED)
crypto/dist/ipsec-tools/src/racoon/handler.c
1431
if (iph1->status == PHASE1ST_ESTABLISHED ||
crypto/dist/ipsec-tools/src/racoon/handler.c
1432
iph1->status == PHASE1ST_DYING) {
crypto/dist/ipsec-tools/src/racoon/handler.c
1439
iph1->status = PHASE1ST_EXPIRED;
crypto/dist/ipsec-tools/src/racoon/handler.c
1456
if (p->status >= PHASE1ST_EXPIRED)
crypto/dist/ipsec-tools/src/racoon/handler.c
1477
if (p->status == PHASE2ST_EXPIRED)
crypto/dist/ipsec-tools/src/racoon/handler.c
1528
if (p->status >= PHASE1ST_EXPIRED)
crypto/dist/ipsec-tools/src/racoon/handler.c
1531
if (p->status >= PHASE1ST_ESTABLISHED)
crypto/dist/ipsec-tools/src/racoon/handler.c
160
if (p->status >= PHASE1ST_EXPIRED)
crypto/dist/ipsec-tools/src/racoon/handler.c
185
if (p->status >= PHASE1ST_DYING)
crypto/dist/ipsec-tools/src/racoon/handler.c
192
(p->status != PHASE1ST_ESTABLISHED)) {
crypto/dist/ipsec-tools/src/racoon/handler.c
194
"status %d, skipping\n", p->status);
crypto/dist/ipsec-tools/src/racoon/handler.c
272
if (p->status != PHASE2ST_ESTABLISHED)
crypto/dist/ipsec-tools/src/racoon/handler.c
290
if (p->status < PHASE1ST_DYING)
crypto/dist/ipsec-tools/src/racoon/handler.c
325
pd->status = iph1->status;
crypto/dist/ipsec-tools/src/racoon/handler.c
352
iph1->status = PHASE1ST_SPAWN;
crypto/dist/ipsec-tools/src/racoon/handler.c
490
if (p->status >= PHASE1ST_ESTABLISHED)
crypto/dist/ipsec-tools/src/racoon/handler.c
606
if(p->status < PHASE2ST_ESTABLISHED &&
crypto/dist/ipsec-tools/src/racoon/handler.c
683
iph2->status = PHASE1ST_SPAWN;
crypto/dist/ipsec-tools/src/racoon/handler.c
838
if (p->status == PHASE2ST_ESTABLISHED){
crypto/dist/ipsec-tools/src/racoon/handler.c
844
"skipping ph2 handler (state %d)\n", p->status);
crypto/dist/ipsec-tools/src/racoon/handler.h
118
int status; /* status of this SA */
crypto/dist/ipsec-tools/src/racoon/handler.h
292
int status; /* ipsec sa status */
crypto/dist/ipsec-tools/src/racoon/handler.h
449
int status;
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1015
[iph2->status])(iph2, msg) != 0) {
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1018
iph2->side, iph2->status);
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1026
s_isakmp_state(ISAKMP_ETYPE_QUICK, iph2->side, iph2->status),
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1048
iph1->status = PHASE1ST_START;
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1109
[iph1->status])(iph1, NULL) != 0) {
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1121
s_isakmp_state(iph1->etype, iph1->side, iph1->status),
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1156
iph1->status = PHASE1ST_START;
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1220
[iph1->status])(iph1, msg) < 0
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1223
[iph1->status])(iph1, msg) < 0) {
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1226
iph1->side, iph1->status);
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1236
s_isakmp_state(iph1->etype, iph1->side, iph1->status),
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1289
if (iph2->status != PHASE2ST_EXPIRED) /* Phase 1 is already bound (ongoing rekeying) */
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1291
iph2->status = PHASE2ST_STATUS2;
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1295
[iph2->status])(iph2, NULL) < 0) {
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1329
iph2->status = PHASE2ST_START;
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1372
[iph2->status])(iph2, msg);
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1376
iph2->side, iph2->status);
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1392
[iph2->status])(iph2, msg) < 0) {
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1395
iph2->side, iph2->status);
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1403
s_isakmp_state(ISAKMP_ETYPE_QUICK, iph2->side, iph2->status),
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1878
if (iph2->ph1->status >= PHASE1ST_EXPIRED) {
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1935
if (iph1->status >= PHASE1ST_DYING)
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1939
iph1->status = PHASE1ST_DYING;
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1945
if (p->status != PHASE2ST_ESTABLISHED)
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1981
if (iph1->status < PHASE1ST_EXPIRED) {
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1993
iph1->status = PHASE1ST_EXPIRED;
crypto/dist/ipsec-tools/src/racoon/isakmp.c
2022
if (p->status == PHASE2ST_ESTABLISHED)
crypto/dist/ipsec-tools/src/racoon/isakmp.c
2080
iph2->status = PHASE2ST_EXPIRED;
crypto/dist/ipsec-tools/src/racoon/isakmp.c
2186
if (iph1->status < PHASE1ST_ESTABLISHED) {
crypto/dist/ipsec-tools/src/racoon/isakmp.c
2282
if (iph2->ph1->status >= PHASE1ST_EXPIRED) {
crypto/dist/ipsec-tools/src/racoon/isakmp.c
2294
[iph2->status])(iph2, NULL) != 0)
crypto/dist/ipsec-tools/src/racoon/isakmp.c
2300
s_isakmp_state(ISAKMP_ETYPE_QUICK, iph2->side, iph2->status),
crypto/dist/ipsec-tools/src/racoon/isakmp.c
2344
&& iph1->status == PHASE1ST_ESTABLISHED) {
crypto/dist/ipsec-tools/src/racoon/isakmp.c
2889
iph1->status);
crypto/dist/ipsec-tools/src/racoon/isakmp.c
2898
iph2->status);
crypto/dist/ipsec-tools/src/racoon/isakmp.c
3173
iph1->status = PHASE1ST_EXPIRED;
crypto/dist/ipsec-tools/src/racoon/isakmp.c
3262
if (iph2->status == PHASE2ST_ESTABLISHED ||
crypto/dist/ipsec-tools/src/racoon/isakmp.c
3263
iph2->status == PHASE2ST_EXPIRED) {
crypto/dist/ipsec-tools/src/racoon/isakmp.c
678
if (iph1->status != PHASE1ST_ESTABLISHED &&
crypto/dist/ipsec-tools/src/racoon/isakmp.c
679
iph1->status != PHASE1ST_DYING) {
crypto/dist/ipsec-tools/src/racoon/isakmp.c
776
if (iph1->status >= PHASE1ST_ESTABLISHED)
crypto/dist/ipsec-tools/src/racoon/isakmp.c
785
[iph1->status] == NULL) {
crypto/dist/ipsec-tools/src/racoon/isakmp.c
792
[iph1->status])(iph1, msg);
crypto/dist/ipsec-tools/src/racoon/isakmp.c
804
if (iph1->side == RESPONDER && iph1->status == PHASE1ST_START) {
crypto/dist/ipsec-tools/src/racoon/isakmp.c
807
iph1->side, iph1->status);
crypto/dist/ipsec-tools/src/racoon/isakmp.c
833
[iph1->status])(iph1, msg) != 0) {
crypto/dist/ipsec-tools/src/racoon/isakmp.c
836
iph1->side, iph1->status);
crypto/dist/ipsec-tools/src/racoon/isakmp.c
843
"phase1", s_isakmp_state(iph1->etype, iph1->side, iph1->status),
crypto/dist/ipsec-tools/src/racoon/isakmp.c
846
if (iph1->status == PHASE1ST_ESTABLISHED) {
crypto/dist/ipsec-tools/src/racoon/isakmp.c
926
if ((iph1->status == PHASE1ST_ESTABLISHED) &&
crypto/dist/ipsec-tools/src/racoon/isakmp.c
967
if (iph2->status == PHASE2ST_ESTABLISHED
crypto/dist/ipsec-tools/src/racoon/isakmp.c
968
|| iph2->status == PHASE2ST_GETSPISENT)
crypto/dist/ipsec-tools/src/racoon/isakmp.c
978
[iph2->status] == NULL) {
crypto/dist/ipsec-tools/src/racoon/isakmp.c
985
[iph2->status])(iph2, msg);
crypto/dist/ipsec-tools/src/racoon/isakmp.c
989
iph2->side, iph2->status);
crypto/dist/ipsec-tools/src/racoon/isakmp.c
997
if (iph2->status == PHASE2ST_ADDSA)
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
1228
iph1->status = PHASE1ST_MSG1SENT;
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
1279
if (iph1->status != PHASE1ST_MSG1SENT) {
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
1281
"status mismatched %d.\n", iph1->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
1386
iph1->status = PHASE1ST_MSG2RECEIVED;
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
140
if (iph1->status != PHASE1ST_START) {
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
1413
if (iph1->status != PHASE1ST_MSG2RECEIVED) {
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
1415
"status mismatched %d.\n", iph1->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
142
"status mismatched %d.\n", iph1->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
1427
iph1->status = PHASE1ST_ESTABLISHED;
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
281
iph1->status = PHASE1ST_MSG1SENT;
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
344
if (iph1->status != PHASE1ST_MSG1SENT) {
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
346
"status mismatched %d.\n", iph1->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
552
iph1->status = PHASE1ST_MSG2RECEIVED;
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
595
if (iph1->status != PHASE1ST_MSG2RECEIVED) {
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
597
"status mismatched %d.\n", iph1->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
729
iph1->status = PHASE1ST_ESTABLISHED;
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
760
if (iph1->status != PHASE1ST_START) {
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
762
"status mismatched %d.\n", iph1->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
870
iph1->status = PHASE1ST_MSG1RECEIVED;
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
929
if (iph1->status != PHASE1ST_MSG1RECEIVED) {
crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
931
"status mismatched %d.\n", iph1->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
1008
iph1->status = PHASE1ST_MSG1SENT;
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
1056
if (iph1->status != PHASE1ST_MSG1SENT) {
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
1058
"status mismatched %d.\n", iph1->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
1166
iph1->status = PHASE1ST_MSG2RECEIVED;
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
1200
if (iph1->status != PHASE1ST_MSG2RECEIVED) {
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
1202
"status mismatched %d.\n", iph1->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
129
if (iph1->status != PHASE1ST_START) {
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
131
"status mismatched %d.\n", iph1->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
1365
iph1->status = PHASE1ST_ESTABLISHED;
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
255
iph1->status = PHASE1ST_MSG1SENT;
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
298
if (iph1->status != PHASE1ST_MSG1SENT) {
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
300
"status mismatched %d.\n", iph1->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
377
iph1->status = PHASE1ST_MSG2RECEIVED;
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
411
if (iph1->status != PHASE1ST_MSG2RECEIVED) {
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
413
"status mismatched %d.\n", iph1->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
554
iph1->status = PHASE1ST_MSG2SENT;
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
583
if (iph1->status != PHASE1ST_MSG2SENT) {
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
585
"status mismatched %d.\n", iph1->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
719
iph1->status = PHASE1ST_MSG3RECEIVED;
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
747
if (iph1->status != PHASE1ST_MSG3RECEIVED) {
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
749
"status mismatched %d.\n", iph1->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
753
iph1->status = PHASE1ST_ESTABLISHED;
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
777
if (iph1->status != PHASE1ST_START) {
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
779
"status mismatched %d.\n", iph1->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
860
iph1->status = PHASE1ST_MSG1RECEIVED;
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
904
if (iph1->status != PHASE1ST_MSG1RECEIVED) {
crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
906
"status mismatched %d.\n", iph1->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1128
if ((iph1->status < PHASE1ST_ESTABLISHED) ||
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1153
iph2->status = PHASE2ST_START;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
435
if ((iph1->status == PHASE1ST_ESTABLISHED) &&
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
617
if (iph1->status == PHASE1ST_ESTABLISHED) {
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
719
if (iph1->status == PHASE1ST_ESTABLISHED ||
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
720
iph1->status == PHASE1ST_DYING)
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
1053
iph1->status = PHASE1ST_MSG1SENT;
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
1107
if (iph1->status != PHASE1ST_MSG1SENT) {
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
1109
"status mismatched %d.\n", iph1->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
1200
iph1->status = PHASE1ST_MSG2RECEIVED;
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
1235
if (iph1->status != PHASE1ST_MSG2RECEIVED) {
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
1237
"status mismatched %d.\n", iph1->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
1291
iph1->status = PHASE1ST_MSG2SENT;
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
132
if (iph1->status != PHASE1ST_START) {
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
1320
if (iph1->status != PHASE1ST_MSG2SENT) {
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
1322
"status mismatched %d.\n", iph1->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
134
"status mismatched %d.\n", iph1->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
1487
iph1->status = gsstoken != NULL ? PHASE1ST_MSG2RECEIVED :
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
1490
iph1->status = PHASE1ST_MSG3RECEIVED;
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
1534
if (iph1->status != PHASE1ST_MSG3RECEIVED) {
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
1536
"status mismatched %d.\n", iph1->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
1584
iph1->status = PHASE1ST_ESTABLISHED;
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
1653
if (NATT_AVAILABLE(iph1) && iph1->status == PHASE1ST_MSG2RECEIVED)
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
217
iph1->status = PHASE1ST_MSG1SENT;
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
260
if (iph1->status != PHASE1ST_MSG1SENT) {
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
262
"status mismatched %d.\n", iph1->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
327
iph1->status = PHASE1ST_MSG2RECEIVED;
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
354
if (iph1->status != PHASE1ST_MSG2RECEIVED) {
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
356
"status mismatched %d.\n", iph1->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
400
iph1->status = PHASE1ST_MSG2SENT;
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
431
if (iph1->status != PHASE1ST_MSG2SENT) {
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
433
"status mismatched %d.\n", iph1->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
533
iph1->status = PHASE1ST_MSG3RECEIVED;
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
572
if (iph1->status != PHASE1ST_MSG3RECEIVED) {
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
574
"status mismatched %d.\n", iph1->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
638
iph1->status = PHASE1ST_MSG3SENT;
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
667
if (iph1->status != PHASE1ST_MSG3SENT) {
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
669
"status mismatched %d.\n", iph1->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
776
iph1->status = gsstoken != 0 ? PHASE1ST_MSG3RECEIVED :
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
779
iph1->status = PHASE1ST_MSG4RECEIVED;
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
814
if (iph1->status != PHASE1ST_MSG4RECEIVED) {
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
816
"status mismatched %d.\n", iph1->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
823
iph1->status = PHASE1ST_ESTABLISHED;
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
847
if (iph1->status != PHASE1ST_START) {
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
849
"status mismatched %d.\n", iph1->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
918
iph1->status = PHASE1ST_MSG1RECEIVED;
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
963
if (iph1->status != PHASE1ST_MSG1RECEIVED) {
crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
965
"status mismatched %d.\n", iph1->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
1448
if (iph1->status == PHASE1ST_EXPIRED) {
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
183
if (iph1->status != PHASE1ST_ESTABLISHED &&
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
184
iph1->status != PHASE1ST_DYING) {
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
264
if ((iph1->side == INITIATOR && iph1->status < PHASE1ST_MSG3SENT)
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
265
|| (iph1->side == RESPONDER && iph1->status < PHASE1ST_MSG2SENT)) {
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
570
if (iph1->status != PHASE2ST_ESTABLISHED)
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
616
if (iph2->status != PHASE2ST_ESTABLISHED)
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
693
iph1->status = PHASE1ST_START;
crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
878
iph2->status = PHASE2ST_START;
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
1011
iph2->status = PHASE2ST_ADDSA;
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
1067
if (iph2->status != PHASE2ST_START) {
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
1069
"status mismatched %d.\n", iph2->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
1386
iph2->status = PHASE2ST_STATUS2;
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
140
if (iph2->status != PHASE2ST_STATUS2) {
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
142
"status mismatched %d.\n", iph2->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
1429
if (iph2->status != PHASE2ST_STATUS2) {
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
1431
"status mismatched %d.\n", iph2->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
1435
iph2->status = PHASE2ST_GETSPISENT;
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
1479
if (iph2->status != PHASE2ST_GETSPIDONE) {
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
1481
"status mismatched %d.\n", iph2->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
151
iph2->status = PHASE2ST_GETSPISENT;
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
1681
iph2->status = PHASE2ST_MSG1SENT;
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
1715
if (iph2->status != PHASE2ST_MSG1SENT) {
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
1717
"status mismatched %d.\n", iph2->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
1804
iph2->status = PHASE2ST_COMMIT;
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
1806
iph2->status = PHASE2ST_STATUS6;
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
1835
if (iph2->status != PHASE2ST_COMMIT) {
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
1837
"status mismatched %d.\n", iph2->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
1908
iph2->status = PHASE2ST_COMMIT;
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
1944
if (iph2->status != PHASE2ST_STATUS6) {
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
1946
"status mismatched %d.\n", iph2->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
1954
iph2->status = PHASE2ST_ADDSA;
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
202
if (iph2->status != PHASE2ST_GETSPIDONE) {
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
204
"status mismatched %d.\n", iph2->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
369
iph2->status = PHASE2ST_MSG1SENT;
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
408
if (iph2->status != PHASE2ST_MSG1SENT) {
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
410
"status mismatched %d.\n", iph2->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
734
iph2->status = PHASE2ST_STATUS6;
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
786
if (iph2->status != PHASE2ST_STATUS6) {
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
788
"status mismatched %d.\n", iph2->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
864
iph2->status = PHASE2ST_ADDSA;
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
874
iph2->status = PHASE2ST_COMMIT;
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
922
if (iph2->status != PHASE2ST_COMMIT) {
crypto/dist/ipsec-tools/src/racoon/isakmp_quick.c
924
"status mismatched %d.\n", iph2->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
132
if (iph1->status < PHASE1ST_ESTABLISHED) {
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
138
if (xst->status != XAUTHST_NOTYET) {
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1381
if (xst->status != XAUTHST_OK) {
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
140
"Xauth request whith Xauth state %d\n", xst->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
180
xst->status = XAUTHST_REQSENT;
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
200
if (xst->status != XAUTHST_REQSENT) {
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
202
"Xauth reply while Xauth state is %d\n", xst->status);
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
383
xst->status = XAUTHST_NOTYET;
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
386
if (iph1->status >= PHASE1ST_ESTABLISHED)
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
394
xst->status = XAUTHST_OK;
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
404
xauth_sendstatus(struct ph1handle *iph1, int status, int id)
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
428
stattr->lorv = htons(status);
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.h
63
int status; /* authentication status, used only on server side */
crypto/dist/ipsec-tools/src/racoon/pfkey.c
1019
if (iph2->status != PHASE2ST_GETSPISENT) {
crypto/dist/ipsec-tools/src/racoon/pfkey.c
1022
iph2->status, PHASE2ST_GETSPISENT);
crypto/dist/ipsec-tools/src/racoon/pfkey.c
1056
iph2->status = PHASE2ST_GETSPIDONE;
crypto/dist/ipsec-tools/src/racoon/pfkey.c
1278
if (iph2->status != PHASE2ST_ADDSA) {
crypto/dist/ipsec-tools/src/racoon/pfkey.c
1281
iph2->status, PHASE2ST_ADDSA);
crypto/dist/ipsec-tools/src/racoon/pfkey.c
1328
iph2->status = PHASE2ST_ESTABLISHED;
crypto/dist/ipsec-tools/src/racoon/pfkey.c
1626
if (iph2->status > PHASE2ST_ESTABLISHED)
crypto/dist/ipsec-tools/src/racoon/pfkey.c
1630
if (iph2->status < PHASE2ST_ESTABLISHED) {
crypto/dist/ipsec-tools/src/racoon/pfkey.c
1649
if (iph2->status == PHASE2ST_ESTABLISHED &&
crypto/dist/ipsec-tools/src/racoon/pfkey.c
1661
iph2->status = PHASE2ST_STATUS2;
crypto/dist/ipsec-tools/src/racoon/pfkey.c
1680
iph2->status = PHASE2ST_EXPIRED;
crypto/dist/ipsec-tools/src/racoon/pfkey.c
1835
if (iph2->status < PHASE2ST_ESTABLISHED) {
crypto/dist/ipsec-tools/src/racoon/pfkey.c
1840
if (iph2->status == PHASE2ST_EXPIRED)
crypto/dist/ipsec-tools/src/racoon/pfkey.c
1898
iph2->status = PHASE2ST_STATUS2;
crypto/dist/ipsec-tools/src/racoon/pfkey.c
2010
if (iph2->status == PHASE2ST_ESTABLISHED)
crypto/dist/ipsec-tools/src/racoon/pfkey.c
2847
if (iph1->status < PHASE1ST_ESTABLISHED) {
crypto/dist/ipsec-tools/src/racoon/pfkey.c
2861
iph1->status = PHASE1ST_EXPIRED;
crypto/dist/ipsec-tools/src/racoon/pfkey.c
3018
if (iph2->status < PHASE2ST_ESTABLISHED) {
crypto/dist/ipsec-tools/src/racoon/pfkey.c
3041
iph2->status = PHASE2ST_EXPIRED;
crypto/dist/ipsec-tools/src/racoon/pfkey.c
3046
iph2->status = PHASE2ST_STATUS2;
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
1072
pd->status,
crypto/dist/ipsec-tools/src/setkey/parse.y
182
int status;
crypto/dist/ipsec-tools/src/setkey/parse.y
184
status = setkeymsg_add(SADB_ADD, $5, $3, $4);
crypto/dist/ipsec-tools/src/setkey/parse.y
185
if (status < 0)
crypto/dist/ipsec-tools/src/setkey/parse.y
194
int status;
crypto/dist/ipsec-tools/src/setkey/parse.y
196
status = setkeymsg_add(SADB_UPDATE, $5, $3, $4);
crypto/dist/ipsec-tools/src/setkey/parse.y
197
if (status < 0)
crypto/dist/ipsec-tools/src/setkey/parse.y
206
int status;
crypto/dist/ipsec-tools/src/setkey/parse.y
215
status = setkeymsg_addr(SADB_DELETE, $5, $3, $4, 0);
crypto/dist/ipsec-tools/src/setkey/parse.y
216
if (status < 0)
crypto/dist/ipsec-tools/src/setkey/parse.y
253
int status;
crypto/dist/ipsec-tools/src/setkey/parse.y
258
status = setkeymsg_addr(SADB_GET, $5, $3, $4, 0);
crypto/dist/ipsec-tools/src/setkey/parse.y
259
if (status < 0)
crypto/dist/ipsec-tools/src/setkey/parse.y
268
int status;
crypto/dist/ipsec-tools/src/setkey/parse.y
270
status = setkeymsg_add(SADB_GETSPI, $5, $3, $4);
crypto/dist/ipsec-tools/src/setkey/parse.y
271
if (status < 0)
crypto/dist/ipsec-tools/src/setkey/parse.y
614
int status;
crypto/dist/ipsec-tools/src/setkey/parse.y
638
status = setkeymsg_spdaddr(SADB_X_SPDADD, $9, &$12,
crypto/dist/ipsec-tools/src/setkey/parse.y
642
if (status < 0)
crypto/dist/ipsec-tools/src/setkey/parse.y
647
int status;
crypto/dist/ipsec-tools/src/setkey/parse.y
649
status = setkeymsg_spdaddr_tag(SADB_X_SPDADD,
crypto/dist/ipsec-tools/src/setkey/parse.y
651
if (status < 0)
crypto/dist/ipsec-tools/src/setkey/parse.y
660
int status;
crypto/dist/ipsec-tools/src/setkey/parse.y
684
status = setkeymsg_spdaddr(SADB_X_SPDUPDATE, $9, &$12,
crypto/dist/ipsec-tools/src/setkey/parse.y
688
if (status < 0)
crypto/dist/ipsec-tools/src/setkey/parse.y
693
int status;
crypto/dist/ipsec-tools/src/setkey/parse.y
695
status = setkeymsg_spdaddr_tag(SADB_X_SPDUPDATE,
crypto/dist/ipsec-tools/src/setkey/parse.y
697
if (status < 0)
crypto/dist/ipsec-tools/src/setkey/parse.y
705
int status;
crypto/dist/ipsec-tools/src/setkey/parse.y
725
status = setkeymsg_spdaddr(SADB_X_SPDDELETE, $9, &$12,
crypto/dist/ipsec-tools/src/setkey/parse.y
729
if (status < 0)
dist/pf/libexec/tftp-proxy/filter.c
168
struct pf_status status;
dist/pf/libexec/tftp-proxy/filter.c
182
if (ioctl(dev, DIOCGETSTATUS, &status) == -1) {
dist/pf/libexec/tftp-proxy/filter.c
186
if (!status.running) {
dist/pf/sbin/pfctl/pfctl.c
1049
struct pf_status status;
dist/pf/sbin/pfctl/pfctl.c
1051
if (ioctl(dev, DIOCGETSTATUS, &status)) {
dist/pf/sbin/pfctl/pfctl.c
1057
print_status(&status, opts);
dist/pf/usr.sbin/ftp-proxy/filter.c
195
struct pf_status status;
dist/pf/usr.sbin/ftp-proxy/filter.c
208
if (ioctl(dev, DIOCGETSTATUS, &status) == -1)
dist/pf/usr.sbin/ftp-proxy/filter.c
210
if (!status.running)
dist/pf/usr.sbin/ftp-proxy/ipf.c
112
fpe->status = 0;
dist/pf/usr.sbin/ftp-proxy/ipf.c
277
fpe->status = 1;
dist/pf/usr.sbin/ftp-proxy/ipf.c
296
if (fpe->status == 0) {
dist/pf/usr.sbin/ftp-proxy/ipf.c
340
fpe->status = 0;
dist/pf/usr.sbin/ftp-proxy/ipf.c
93
int status;
distrib/utils/libhack/utmp.c
33
logoutx(line, status, type)
distrib/utils/libhack/utmp.c
35
int status, type;
distrib/utils/libhack/utmp.c
47
logwtmpx(line, name, host, status, type)
distrib/utils/libhack/utmp.c
49
int status, type;
games/atc/graphics.c
110
if (pp->status == S_MARKED)
games/atc/graphics.c
115
if (pp->status == S_MARKED)
games/atc/input.c
322
else if (pp->status != p.status)
games/atc/input.c
323
pp->status = p.status;
games/atc/input.c
675
if (p.status == S_MARKED)
games/atc/input.c
677
p.status = S_MARKED;
games/atc/input.c
687
if (p.status == S_UNMARKED)
games/atc/input.c
689
p.status = S_UNMARKED;
games/atc/input.c
699
if (p.status == S_IGNORED)
games/atc/input.c
701
p.status = S_IGNORED;
games/atc/struct.h
84
int status;
games/atc/update.c
136
if (pp->status == S_UNMARKED)
games/atc/update.c
137
pp->status = S_MARKED;
games/atc/update.c
148
pp->status = S_GONE;
games/atc/update.c
159
pp->status = S_GONE;
games/atc/update.c
204
if (pp->status == S_GONE) {
games/atc/update.c
291
(pp->status == S_UNMARKED || pp->status == S_IGNORED))
games/atc/update.c
354
p.status = S_MARKED;
games/canfield/canfield/canfield.c
1137
if (status != BETTINGBOX)
games/canfield/canfield/canfield.c
1451
if (status != BETTINGBOX)
games/canfield/canfield/canfield.c
1491
if (status == BETTINGBOX) {
games/canfield/canfield/canfield.c
1519
status = BETTINGBOX;
games/canfield/canfield/canfield.c
1524
status = NOBOX;
games/canfield/canfield/canfield.c
1529
status = INSTRUCTIONBOX;
games/canfield/canfield/canfield.c
170
static int status = INSTRUCTIONBOX;
games/canfield/canfield/canfield.c
1714
status = NOBOX;
games/canfield/canfield/canfield.c
249
switch (status) {
games/canfield/canfield/canfield.c
264
switch (status) {
games/fish/fish.c
439
int status;
games/fish/fish.c
471
(void)waitpid(pid, &status, 0);
games/hack/hack.pager.c
444
int status;
games/hack/hack.pager.c
464
(void) wait(&status);
games/rogue/machdep.c
422
md_exit(int status)
games/rogue/machdep.c
424
exit(status);
games/rogue/move.c
143
if ((obj = pick_up(row, col, &status)) != NULL) {
games/rogue/move.c
150
} else if (!status) {
games/rogue/move.c
75
short status, d = 0; /* XXX: GCC */
games/rogue/pack.c
106
pick_up(int row, int col, short *status)
games/rogue/pack.c
110
*status = 1;
games/rogue/pack.c
127
*status = 0;
games/sail/pl_1.c
131
int status;
games/sail/pl_1.c
136
pid = wait3(&status, WNOHANG, (struct rusage *)0);
games/sail/pl_1.c
137
if (pid < 0 || (pid > 0 && !WIFSTOPPED(status)))
games/warp/init.c
530
entmode = status = 0;
games/warp/init.c
533
status = 2;
games/warp/init.c
535
status = 3;
games/warp/move.c
331
status = 2;
games/warp/move.c
333
status = 3;
games/warp/move.c
340
status = entmode;
games/warp/move.c
342
status = 3;
games/warp/score.c
254
if (oldstatus != status) {
games/warp/score.c
255
snprintf(spbuf, sizeof(spbuf), "%-4s",status_names[status]);
games/warp/score.c
257
oldstatus = status;
games/warp/score.c
327
if (status < 2) {
games/warp/score.c
329
status = entmode = 1;
games/warp/score.c
331
status = entmode = 0;
games/warp/sig.c
104
exit(status);
games/warp/sig.c
95
finalize(int status)
games/warp/sig.c
99
if (status < 0) {
games/warp/sig.h
11
__dead void finalize(int status);
games/warp/us.c
111
if (status < 2) {
games/warp/us.c
129
else if (status == 2)
games/warp/us.c
136
if (status < 2) {
games/warp/us.c
154
else if (status == 2)
games/warp/us.c
274
status = 0;
games/warp/us.c
280
status = 1;
games/warp/us.c
285
status = 2;
games/warp/us.c
289
if (status < 2) {
games/warp/us.c
291
status = 2;
games/warp/us.c
293
else if (status == 2) {
games/warp/us.c
295
status = entmode;
games/warp/us.c
300
status = entmode;
games/warp/us.c
307
status = entmode;
games/warp/us.c
327
if (status < 2 && (!damage || !damflag[NODESTRUCT])) {
games/warp/us.c
337
else if (status == 2) {
games/warp/us.c
42
if (status < 2) {
games/warp/us.c
450
if (status < 2) {
games/warp/us.c
456
if (status < 2 && ent->energy >= 10) {
games/warp/us.c
84
else if (status == 2) {
games/warp/us.h
15
EXT int status;
games/wump/wump.c
748
int status;
games/wump/wump.c
782
(void)waitpid(pid, &status, 0);
include/rpcsvc/yp_prot.h
124
unsigned int status;
include/rpcsvc/yp_prot.h
129
unsigned int status;
include/rpcsvc/yp_prot.h
135
unsigned int status;
include/rpcsvc/yp_prot.h
140
unsigned int status;
include/rpcsvc/yp_prot.h
150
unsigned int status;
include/rpcsvc/yp_prot.h
285
unsigned int status;
lib/libbluetooth/bt_dev.c
364
if (cs.status != 0)
lib/libbluetooth/bt_dev.c
676
|| sp.status == 0)
lib/libc/compat/sys/compat_wait4.c
61
wait3(int *status, int options, struct rusage50 *ru50)
lib/libc/compat/sys/compat_wait4.c
66
if ((rv = __wait350(status, options, ru50 ? &ru : NULL)) == -1)
lib/libc/compat/sys/compat_wait4.c
74
wait4(pid_t wpid, int *status, int options, struct rusage50 *ru50)
lib/libc/compat/sys/compat_wait4.c
79
if ((rv = __wait450(wpid, status, options, ru50 ? &ru : NULL)) == -1)
lib/libc/db/btree/bt_close.c
123
int status;
lib/libc/db/btree/bt_close.c
146
if ((status = mpool_sync(t->bt_mp)) == RET_SUCCESS)
lib/libc/db/btree/bt_close.c
149
return (status);
lib/libc/db/btree/bt_delete.c
110
status = __bt_dleaf(t, NULL, h, (u_int)c->pg.index);
lib/libc/db/btree/bt_delete.c
112
if (NEXTINDEX(h) == 0 && status == RET_SUCCESS) {
lib/libc/db/btree/bt_delete.c
117
(u_int)(status == RET_SUCCESS ?
lib/libc/db/btree/bt_delete.c
126
if (status == RET_SUCCESS)
lib/libc/db/btree/bt_delete.c
128
return (status);
lib/libc/db/btree/bt_delete.c
534
int curcopy, status;
lib/libc/db/btree/bt_delete.c
553
if ((status = __bt_ret(t, &e,
lib/libc/db/btree/bt_delete.c
555
return (status);
lib/libc/db/btree/bt_delete.c
607
if (curcopy || (status =
lib/libc/db/btree/bt_delete.c
612
return (status);
lib/libc/db/btree/bt_delete.c
70
int status;
lib/libc/db/btree/bt_delete.c
88
status = __bt_bdelete(t, key);
lib/libc/db/btree/bt_get.c
103
return (status);
lib/libc/db/btree/bt_get.c
70
int exact, status;
lib/libc/db/btree/bt_get.c
93
status = __bt_ret(t, e, NULL, NULL, data, &t->bt_rdata, 0);
lib/libc/db/btree/bt_put.c
206
if ((status = __bt_split(t, h, key,
lib/libc/db/btree/bt_put.c
208
return (status);
lib/libc/db/btree/bt_put.c
79
int dflags, exact, status;
lib/libc/db/btree/bt_seq.c
107
status = __bt_seqadv(t, &e, (int)flags);
lib/libc/db/btree/bt_seq.c
114
status = __bt_seqset(t, &e, key, (int)flags);
lib/libc/db/btree/bt_seq.c
121
if (status == RET_SUCCESS) {
lib/libc/db/btree/bt_seq.c
124
status =
lib/libc/db/btree/bt_seq.c
136
return (status);
lib/libc/db/btree/bt_seq.c
86
int status;
lib/libc/db/hash/ndbmdatum.c
112
int status;
lib/libc/db/hash/ndbmdatum.c
116
status = (db->seq)(db, &dbtretkey, &dbtretdata, R_NEXT);
lib/libc/db/hash/ndbmdatum.c
117
if (status)
lib/libc/db/hash/ndbmdatum.c
132
int status;
lib/libc/db/hash/ndbmdatum.c
137
status = (db->del)(db, &dbtkey, 0);
lib/libc/db/hash/ndbmdatum.c
138
if (status)
lib/libc/db/hash/ndbmdatum.c
69
int status;
lib/libc/db/hash/ndbmdatum.c
74
status = (db->get)(db, &dbtkey, &dbtretdata, 0);
lib/libc/db/hash/ndbmdatum.c
75
if (status) {
lib/libc/db/hash/ndbmdatum.c
92
int status;
lib/libc/db/hash/ndbmdatum.c
96
status = (db->seq)(db, &dbtretkey, &dbtretdata, R_FIRST);
lib/libc/db/hash/ndbmdatum.c
97
if (status)
lib/libc/db/recno/rec_close.c
117
int status;
lib/libc/db/recno/rec_close.c
153
status = (dbp->seq)(dbp, &key, &data, R_FIRST);
lib/libc/db/recno/rec_close.c
154
while (status == RET_SUCCESS) {
lib/libc/db/recno/rec_close.c
158
status = (dbp->seq)(dbp, &key, &data, R_NEXT);
lib/libc/db/recno/rec_close.c
164
status = (dbp->seq)(dbp, &key, &data, R_FIRST);
lib/libc/db/recno/rec_close.c
165
while (status == RET_SUCCESS) {
lib/libc/db/recno/rec_close.c
171
status = (dbp->seq)(dbp, &key, &data, R_NEXT);
lib/libc/db/recno/rec_close.c
178
if (status == RET_ERROR)
lib/libc/db/recno/rec_close.c
66
int status;
lib/libc/db/recno/rec_close.c
80
status = RET_SUCCESS;
lib/libc/db/recno/rec_close.c
82
status = RET_ERROR;
lib/libc/db/recno/rec_close.c
87
status = RET_ERROR;
lib/libc/db/recno/rec_close.c
90
status = RET_ERROR;
lib/libc/db/recno/rec_close.c
95
status = RET_ERROR;
lib/libc/db/recno/rec_close.c
97
return (status);
lib/libc/db/recno/rec_delete.c
104
if (status == RET_SUCCESS)
lib/libc/db/recno/rec_delete.c
106
return (status);
lib/libc/db/recno/rec_delete.c
124
int status;
lib/libc/db/recno/rec_delete.c
132
status = __rec_dleaf(t, h, (uint32_t)e->index);
lib/libc/db/recno/rec_delete.c
133
if (status != RET_SUCCESS) {
lib/libc/db/recno/rec_delete.c
135
return (status);
lib/libc/db/recno/rec_delete.c
71
int status;
lib/libc/db/recno/rec_delete.c
88
status = rec_rdelete(t, nrec);
lib/libc/db/recno/rec_delete.c
95
status = rec_rdelete(t, t->bt_cursor.rcursor - 1);
lib/libc/db/recno/rec_delete.c
96
if (status == RET_SUCCESS)
lib/libc/db/recno/rec_get.c
102
status = __rec_ret(t, e, 0, NULL, data);
lib/libc/db/recno/rec_get.c
107
return (status);
lib/libc/db/recno/rec_get.c
71
int status;
lib/libc/db/recno/rec_get.c
94
if ((status = t->bt_irec(t, nrec)) != RET_SUCCESS)
lib/libc/db/recno/rec_get.c
95
return (status);
lib/libc/db/recno/rec_put.c
165
if ((status = __rec_iput(t, nrec - 1, &fdata, flags)) != RET_SUCCESS)
lib/libc/db/recno/rec_put.c
166
return (status);
lib/libc/db/recno/rec_put.c
201
int dflags, status;
lib/libc/db/recno/rec_put.c
261
status = __bt_split(t, h, NULL, data, dflags, nbytes,
lib/libc/db/recno/rec_put.c
263
if (status == RET_SUCCESS)
lib/libc/db/recno/rec_put.c
265
return (status);
lib/libc/db/recno/rec_put.c
70
int status;
lib/libc/db/recno/rec_seq.c
113
(status = t->bt_irec(t, nrec)) != RET_SUCCESS)
lib/libc/db/recno/rec_seq.c
114
return (status);
lib/libc/db/recno/rec_seq.c
125
status = __rec_ret(t, e, nrec, key, data);
lib/libc/db/recno/rec_seq.c
130
return (status);
lib/libc/db/recno/rec_seq.c
69
int status;
lib/libc/gen/arc4random.c
906
int status;
lib/libc/gen/arc4random.c
927
rpid = waitpid(pid, &status, 0);
lib/libc/gen/arc4random.c
935
if (WIFEXITED(status)) {
lib/libc/gen/arc4random.c
936
if (WEXITSTATUS(status) != 0)
lib/libc/gen/arc4random.c
938
WEXITSTATUS(status));
lib/libc/gen/arc4random.c
939
} else if (WIFSIGNALED(status)) {
lib/libc/gen/arc4random.c
941
WTERMSIG(status));
lib/libc/gen/arc4random.c
943
errx(1, "child died mysteriously: %d", status);
lib/libc/gen/getcap.c
781
int status, done;
lib/libc/gen/getcap.c
895
status = getent(bp, &dummy, db_array, -1, buf, 0, NULL);
lib/libc/gen/getcap.c
896
if (status == -2 || status == -3)
lib/libc/gen/getcap.c
899
return status + 1;
lib/libc/gen/utmpx.c
310
int status;
lib/libc/gen/utmpx.c
325
if (waitpid(pid, &status, 0) == -1)
lib/libc/gen/utmpx.c
327
if (WIFEXITED(status) && WEXITSTATUS(status) == 0)
lib/libc/gen/waitid.c
50
int status;
lib/libc/gen/waitid.c
52
switch (wait6(idtype, id, &status, flags, NULL, info)) {
lib/libc/gen/wordexp.c
102
int status; /* Child exit status */
lib/libc/gen/wordexp.c
179
waitpid(pid, &status, 0);
lib/libc/gen/wordexp.c
199
waitpid(pid, &status, 0);
lib/libc/gen/wordexp.c
205
waitpid(pid, &status, 0);
lib/libc/gen/wordexp.c
215
waitpid(pid, &status, 0);
lib/libc/gen/wordexp.c
219
if (waitpid(pid, &status, 0) < 0 || !WIFEXITED(status) ||
lib/libc/gen/wordexp.c
220
WEXITSTATUS(status) != 0) {
lib/libc/rpc/clnt_raw.c
167
enum clnt_stat status;
lib/libc/rpc/clnt_raw.c
226
status = error.re_status;
lib/libc/rpc/clnt_raw.c
228
if (status == RPC_SUCCESS) {
lib/libc/rpc/clnt_raw.c
230
status = RPC_AUTHERROR;
lib/libc/rpc/clnt_raw.c
238
if (status == RPC_SUCCESS) {
lib/libc/rpc/clnt_raw.c
240
status = RPC_AUTHERROR;
lib/libc/rpc/clnt_raw.c
248
return (status);
lib/libc/stdlib/exit.c
54
exit(int status)
lib/libc/stdlib/exit.c
64
_exit(status);
lib/libc/stdlib/quick_exit.c
82
quick_exit(int status)
lib/libc/stdlib/quick_exit.c
92
_Exit(status);
lib/libc/time/zdump.c
385
usage(FILE *const stream, const int status)
lib/libc/time/zdump.c
400
if (status == EXIT_SUCCESS)
lib/libc/time/zdump.c
402
exit(status);
lib/libc/time/zic.c
882
usage(FILE *stream, int status)
lib/libc/time/zic.c
893
if (status == EXIT_SUCCESS)
lib/libc/time/zic.c
895
exit(status);
lib/libc/uuid/uuid_compare.c
51
uuid_compare(const uuid_t *a, const uuid_t *b, uint32_t *status)
lib/libc/uuid/uuid_compare.c
55
if (status != NULL)
lib/libc/uuid/uuid_compare.c
56
*status = uuid_s_ok;
lib/libc/uuid/uuid_create.c
47
uuid_create(uuid_t *u, uint32_t *status)
lib/libc/uuid/uuid_create.c
56
if (status)
lib/libc/uuid/uuid_create.c
57
*status = s;
lib/libc/uuid/uuid_create_nil.c
52
uuid_create_nil(uuid_t *u, uint32_t *status)
lib/libc/uuid/uuid_create_nil.c
57
if (status)
lib/libc/uuid/uuid_create_nil.c
58
*status = uuid_s_ok;
lib/libc/uuid/uuid_equal.c
48
uuid_equal(const uuid_t *a, const uuid_t *b, uint32_t *status)
lib/libc/uuid/uuid_equal.c
51
if (status != NULL)
lib/libc/uuid/uuid_equal.c
52
*status = uuid_s_ok;
lib/libc/uuid/uuid_from_string.c
53
uuid_from_string(const char *s, uuid_t *u, uint32_t *status)
lib/libc/uuid/uuid_from_string.c
59
uuid_create_nil(u, status);
lib/libc/uuid/uuid_from_string.c
64
if (status != NULL)
lib/libc/uuid/uuid_from_string.c
65
*status = uuid_s_invalid_string_uuid;
lib/libc/uuid/uuid_from_string.c
95
if (status != NULL)
lib/libc/uuid/uuid_from_string.c
96
*status = uuid_s_bad_version;
lib/libc/uuid/uuid_from_string.c
98
if (status != NULL)
lib/libc/uuid/uuid_from_string.c
99
*status = uuid_s_ok;
lib/libc/uuid/uuid_hash.c
47
uuid_hash(const uuid_t *u, uint32_t *status)
lib/libc/uuid/uuid_hash.c
50
if (status)
lib/libc/uuid/uuid_hash.c
51
*status = uuid_s_ok;
lib/libc/uuid/uuid_is_nil.c
52
uuid_is_nil(const uuid_t *u, uint32_t *status)
lib/libc/uuid/uuid_is_nil.c
56
if (status)
lib/libc/uuid/uuid_is_nil.c
57
*status = uuid_s_ok;
lib/libc/uuid/uuid_to_string.c
53
uuid_to_string(const uuid_t *u, char **s, uint32_t *status)
lib/libc/uuid/uuid_to_string.c
57
if (status != NULL)
lib/libc/uuid/uuid_to_string.c
58
*status = uuid_s_ok;
lib/libc/uuid/uuid_to_string.c
72
if (*s == NULL && status != NULL)
lib/libc/uuid/uuid_to_string.c
73
*status = uuid_s_no_memory;
lib/libc/yp/xdryp.c
318
if (!xdr_ypstat(xdrs, (enum ypbind_resptype *)(void *)&objp->status))
lib/libc/yp/xdryp.c
356
if (!xdr_ypstat(xdrs, (enum ypbind_resptype *)(void *)&objp->status))
lib/libc/yp/xdryp.c
373
bool_t more, status;
lib/libc/yp/xdryp.c
395
status = xdr_ypresp_key_val(xdrs, &out);
lib/libc/yp/xdryp.c
403
if (status) {
lib/libc/yp/xdryp.c
404
if ((*incallback->foreach)((int)out.status,
lib/libc/yp/xdryp.c
421
if (!xdr_ypstat(xdrs, (enum ypbind_resptype *)(void *)&objp->status))
lib/libc/yp/xdryp.c
464
if (!xdr_ypstat(xdrs, (enum ypbind_resptype *)(void *)&objp->status))
lib/libc/yp/xdryp.c
481
if (!xdr_ypstat(xdrs, (enum ypbind_resptype *)(void *)&objp->status))
lib/libc/yp/xdryp.c
544
if (!xdr_enum(xdrs, (enum_t *)&objp->status))
lib/libc/yp/yp_all.c
53
enum clnt_stat status;
lib/libc/yp/yp_all.c
79
status = clnt_call(clnt, (rpcproc_t)YPPROC_ALL,
lib/libc/yp/yp_all.c
87
if (status != RPC_SUCCESS)
lib/libc/yp/yp_first.c
164
if (!(r = ypprot_err(yprkv.status))) {
lib/libc/yp/yp_first.c
87
if (!(r = ypprot_err(yprkv.status))) {
lib/libc/yp/yp_maplist.c
77
return ypprot_err(ypml.status);
lib/libc/yp/yp_master.c
85
if (!(r = ypprot_err(yprm.status))) {
lib/libc/yp/yp_match.c
224
if (!(r = ypprot_err(yprv.status))) {
lib/libc/yp/yp_order.c
90
r = ypprot_err(ypro.status);
lib/libcurses/putchar.c
61
int status;
lib/libcurses/putchar.c
65
status = putc(ch, outfd);
lib/libcurses/putchar.c
67
return status;
lib/libcurses/putchar.c
87
int status;
lib/libcurses/putchar.c
91
status = putwc(wch, outfd);
lib/libcurses/putchar.c
93
return status;
lib/libdm/libdm_ioctl.c
795
int32_t status;
lib/libdm/libdm_ioctl.c
798
&status);
lib/libdm/libdm_ioctl.c
800
return status;
lib/libedit/vi.c
1006
int status;
lib/libedit/vi.c
1048
while (waitpid(pid, &status, 0) != pid)
lib/libform/driver.c
100
int update_page, update_field, old_field, old_page, status;
lib/libform/driver.c
120
status = E_OK;
lib/libform/driver.c
131
if ((status =
lib/libform/driver.c
148
status = form_driver(form,
lib/libform/driver.c
150
if (status != E_OK)
lib/libform/driver.c
151
return status;
lib/libform/driver.c
164
status = _formi_add_char(fieldp,
lib/libform/driver.c
168
} else if (status == E_INVALID_FIELD)
lib/libform/driver.c
172
return status;
lib/libform/driver.c
173
else if (status == E_NO_ROOM)
lib/libform/driver.c
180
while (status != E_OK);
lib/libform/driver.c
181
update_field = (status == E_OK);
lib/libform/driver.c
213
status = E_REQUEST_DENIED;
lib/libform/driver.c
216
status = E_REQUEST_DENIED;
lib/libform/driver.c
226
status = E_REQUEST_DENIED;
lib/libform/driver.c
229
status = E_REQUEST_DENIED;
lib/libform/driver.c
238
status = E_REQUEST_DENIED;
lib/libform/driver.c
248
status = E_REQUEST_DENIED;
lib/libform/driver.c
253
status = _formi_pos_new_field(form, _FORMI_FORWARD,
lib/libform/driver.c
259
status = _formi_pos_new_field(form, _FORMI_BACKWARD,
lib/libform/driver.c
275
status = _formi_pos_new_field(form, _FORMI_FORWARD,
lib/libform/driver.c
281
status = _formi_pos_new_field(form, _FORMI_BACKWARD,
lib/libform/driver.c
308
status = traverse_form_links(form, c);
lib/libform/driver.c
440
if (status != E_OK)
lib/libform/driver.c
441
return status;
lib/libform/field.c
319
int status;
lib/libform/field.c
346
status = _formi_wrap_field(field, field->cur_line);
lib/libform/field.c
347
if (status != E_OK)
lib/libform/field.c
348
return status;
lib/libform/field.c
415
int status;
lib/libform/field.c
446
status = field_buffer_init(field, buffer, len);
lib/libform/field.c
454
return status;
lib/libform/field.c
521
set_field_status(FIELD *field, int status)
lib/libform/field.c
527
if (status != FALSE)
lib/libform/form.c
304
int num_fields = 0, i, maxpg = 1, status;
lib/libform/form.c
349
if ((status = _formi_find_pages(form)) != E_OK)
lib/libform/form.c
350
return status;
lib/libform/internals.c
1752
int status;
lib/libform/internals.c
1862
status = _formi_wrap_field(field, row);
lib/libform/internals.c
1872
if ((status != E_OK) || (check_field_size(field) == FALSE)) {
lib/libform/internals.c
1898
if (status == E_OK)
lib/libform/internals.c
1899
status = E_REQUEST_DENIED;
lib/libform/internals.c
1905
status = _formi_set_cursor_xpos(field, FALSE);
lib/libform/internals.c
1938
(status == E_OK)? "OK" : "FAILED");
lib/libform/internals.c
1939
return status;
lib/libform/internals.c
2058
unsigned int start, end, pos, status, old_count, size;
lib/libform/internals.c
2474
if ((status = split_line(cur, TRUE, start, &row)) != E_OK)
lib/libform/internals.c
2475
return status;
lib/libform/internals.c
2482
if ((status = _formi_add_char(cur, cur->start_char
lib/libform/internals.c
2485
return status;
lib/libform/internals.c
2489
if ((status = split_line(cur, TRUE, 0, &row)) != E_OK)
lib/libform/internals.c
2490
return status;
lib/libform/post.c
44
int rows, cols, status;
lib/libform/post.c
75
if ((status = _formi_draw_page(form)) != E_OK)
lib/libform/post.c
76
return status;
lib/libisns/isns_thread.c
512
uint32_t status;
lib/libisns/isns_thread.c
524
rval = isns_get_pdu_response_status(ref_p->trans_p, &status);
lib/libm/arch/i387/fenv.c
112
.status = 0, /* Status word register */
lib/libm/arch/i387/fenv.c
172
env.x87.status &= ~ex;
lib/libm/arch/i387/fenv.c
195
uint16_t status;
lib/libm/arch/i387/fenv.c
203
__fnstsw(&status);
lib/libm/arch/i387/fenv.c
209
*flagp = (mxcsr | status) & ex;
lib/libm/arch/i387/fenv.c
258
env.x87.status &= ~ex;
lib/libm/arch/i387/fenv.c
259
env.x87.status |= *flagp & ex;
lib/libm/arch/i387/fenv.c
282
uint16_t status;
lib/libm/arch/i387/fenv.c
289
__fnstsw(&status);
lib/libm/arch/i387/fenv.c
295
return ((status | mxcsr) & ex);
lib/libm/arch/i387/fenv.c
445
uint16_t status;
lib/libm/arch/i387/fenv.c
459
__fnstsw(&status);
lib/libm/arch/i387/fenv.c
465
feraiseexcept((mxcsr | status) & FE_ALL_EXCEPT);
lib/libm/arch/x86_64/fenv.c
151
fenv.x87.status &= ~ex;
lib/libm/arch/x86_64/fenv.c
240
fenv.x87.status |= *flagp & ex;
lib/libm/arch/x86_64/fenv.c
263
uint16_t status;
lib/libm/arch/x86_64/fenv.c
270
__fnstsw(&status);
lib/libm/arch/x86_64/fenv.c
273
return ((status | mxcsr) & ex);
lib/libm/arch/x86_64/fenv.c
429
__fe_dfl_env.x87.status = (fenv.x87.status & 0xffff0000)
lib/libm/arch/x86_64/fenv.c
430
| (__fe_dfl_env.x87.status & 0x0000ffff);
lib/libm/arch/x86_64/fenv.c
467
__fe_dfl_env.x87.status = (fenv.x87.status & 0xffff0000)
lib/libm/arch/x86_64/fenv.c
468
| (__fe_dfl_env.x87.status & 0x0000ffff);
lib/libmenu/driver.c
230
status = _menui_match_pattern(menu, 0,
lib/libmenu/driver.c
239
status = _menui_match_pattern(menu, 0,
lib/libmenu/driver.c
250
status = _menui_match_pattern(menu, (unsigned char) c,
lib/libmenu/driver.c
282
return status;
lib/libmenu/driver.c
48
int drv_top_row, drv_scroll, i, it, status = E_OK;
lib/libpam/modules/pam_exec/pam_exec.c
133
if (waitpid(pid, &status, 0) == -1) {
lib/libpam/modules/pam_exec/pam_exec.c
141
if (WIFSIGNALED(status)) {
lib/libpam/modules/pam_exec/pam_exec.c
143
argv[0], WTERMSIG(status),
lib/libpam/modules/pam_exec/pam_exec.c
144
WCOREDUMP(status) ? " (core dumped)" : "");
lib/libpam/modules/pam_exec/pam_exec.c
147
if (!WIFEXITED(status)) {
lib/libpam/modules/pam_exec/pam_exec.c
148
openpam_log(PAM_LOG_ERROR, "unknown status 0x%x", status);
lib/libpam/modules/pam_exec/pam_exec.c
151
if (WEXITSTATUS(status) != 0) {
lib/libpam/modules/pam_exec/pam_exec.c
153
argv[0], WEXITSTATUS(status));
lib/libpam/modules/pam_exec/pam_exec.c
74
int pam_err, status;
lib/libpam/modules/pam_ssh/pam_ssh.c
463
int status;
lib/libpam/modules/pam_ssh/pam_ssh.c
477
(waitpid(pid, &status, 0) == -1 && errno != ECHILD))
lib/libpam/modules/pam_unix/pam_unix.c
250
int r, rpcport, status;
lib/libpam/modules/pam_unix/pam_unix.c
323
xdr_yppasswd, &yppwd, xdr_int, &status, tv);
lib/libpam/modules/pam_unix/pam_unix.c
326
else if (status)
lib/libperfuse/ops.c
1063
perfuse_fs_suspend(struct puffs_usermount *pu, int status)
lib/libperfuse/perfuse_if.h
70
#define DERRX(status, fmt, ...) do { \
lib/libperfuse/perfuse_if.h
78
errx(status, fmt, ## __VA_ARGS__); \
lib/libperfuse/perfuse_if.h
82
#define DERR(status, fmt, ...) do { \
lib/libperfuse/perfuse_if.h
94
err(status, fmt, ## __VA_ARGS__); \
lib/libpthread/pthread_cancelstub.c
751
__wait450(pid_t wpid, int *status, int options, struct rusage *rusage)
lib/libpthread/pthread_cancelstub.c
758
retval = _sys___wait450(wpid, status, options, rusage);
lib/libquota/quota_nfs.c
213
switch (gq_rslt.status) {
lib/librmt/rmtlib.c
381
if (command(i, buffer) == -1 || status(i) == -1)
lib/librmt/rmtlib.c
397
rc = status(fildes);
lib/librmt/rmtlib.c
422
if (command(fildes, buffer) == -1 || (rv = status(fildes)) == -1)
lib/librmt/rmtlib.c
458
return status(fildes);
lib/librmt/rmtlib.c
482
return status(fildes);
lib/librmt/rmtlib.c
511
return status(fildes);
lib/librmt/rmtlib.c
531
if (command(fildes, "S") == -1 || (rv = status(fildes)) == -1)
lib/librmt/rmtlib.c
73
static int status(int);
lib/libtelnet/auth.c
540
if (authenticated->status)
lib/libtelnet/auth.c
541
validuser = (*authenticated->status)(authenticated,
lib/libtelnet/auth.h
70
int (*status)(struct XauthP *, char *, size_t, int);
lib/libutil/compat/compat_logoutx.c
56
logoutx(const char *line, int status, int type)
lib/libutil/compat/compat_logoutx.c
65
if (WIFEXITED(status))
lib/libutil/compat/compat_logoutx.c
66
utp->ut_exit.e_exit = (uint16_t)WEXITSTATUS(status);
lib/libutil/compat/compat_logoutx.c
67
if (WIFSIGNALED(status))
lib/libutil/compat/compat_logoutx.c
68
utp->ut_exit.e_termination = (uint16_t)WTERMSIG(status);
lib/libutil/login_cap.c
157
int status;
lib/libutil/login_cap.c
166
switch (status = cgetstr(lc->lc_cap, cap, &res)) {
lib/libutil/login_cap.c
178
if (status >= 0)
lib/libutil/login_cap.c
193
int status;
lib/libutil/login_cap.c
202
switch (status = cgetstr(lc->lc_cap, cap, &res)) {
lib/libutil/login_cap.c
215
if (status >= 0)
lib/libutil/login_cap.c
279
int status;
lib/libutil/login_cap.c
288
switch (status = cgetstr(lc->lc_cap, cap, &res)) {
lib/libutil/login_cap.c
301
if (status >= 0)
lib/libutil/login_cap.c
333
int status;
lib/libutil/login_cap.c
343
switch (status = cgetstr(lc->lc_cap, cap, &res)) {
lib/libutil/login_cap.c
356
if (status >= 0)
lib/libutil/logoutx.c
56
logoutx(const char *line, int status, int type)
lib/libutil/logoutx.c
65
if (WIFEXITED(status))
lib/libutil/logoutx.c
66
utp->ut_exit.e_exit = (uint16_t)WEXITSTATUS(status);
lib/libutil/logoutx.c
67
if (WIFSIGNALED(status))
lib/libutil/logoutx.c
68
utp->ut_exit.e_termination = (uint16_t)WTERMSIG(status);
lib/libutil/logwtmpx.c
56
logwtmpx(const char *line, const char *name, const char *host, int status,
lib/libutil/logwtmpx.c
70
if (WIFEXITED(status))
lib/libutil/logwtmpx.c
71
ut.ut_exit.e_exit = (uint16_t)WEXITSTATUS(status);
lib/libutil/logwtmpx.c
72
if (WIFSIGNALED(status))
lib/libutil/logwtmpx.c
73
ut.ut_exit.e_termination = (uint16_t)WTERMSIG(status);
lib/libutil/ttyaction.c
111
status = 0;
lib/libutil/ttyaction.c
146
error = waitpid(pid, &status, 0);
lib/libutil/ttyaction.c
152
if (WTERMSIG(status)) {
lib/libutil/ttyaction.c
154
actfile, linenum, WTERMSIG(status));
lib/libutil/ttyaction.c
159
return status;
lib/libutil/ttyaction.c
77
int error, linenum, status;
libexec/ftpd/ftpd.c
2912
dologout(int status)
libexec/ftpd/ftpd.c
2929
_exit(status);
libexec/ftpd/logutmp.c
168
ftpd_logoutx(const char *line, int status, int mode)
libexec/ftpd/logutmp.c
170
return logoutx(line, status, mode);
libexec/ftpd/logwtmp.c
119
struct sockinet *haddr, int status, int utx_type)
libexec/ftpd/logwtmp.c
134
if (WIFEXITED(status))
libexec/ftpd/logwtmp.c
135
ut.ut_exit.e_exit = (uint16_t)WEXITSTATUS(status);
libexec/ftpd/logwtmp.c
136
if (WIFSIGNALED(status))
libexec/ftpd/logwtmp.c
137
ut.ut_exit.e_termination = (uint16_t)WTERMSIG(status);
libexec/ftpd/popen.c
220
int fdes, status;
libexec/ftpd/popen.c
236
while ((pid = waitpid(pids[fdes], &status, 0)) < 0 && errno == EINTR)
libexec/ftpd/popen.c
242
if (WIFEXITED(status))
libexec/ftpd/popen.c
243
return (WEXITSTATUS(status));
libexec/ld.elf_so/load.c
355
int status = 0;
libexec/ld.elf_so/load.c
384
status = -1; /* FIXME - cleanup */
libexec/ld.elf_so/load.c
386
if (status == -1)
libexec/ld.elf_so/load.c
408
if (status == -1)
libexec/ld.elf_so/load.c
413
return status;
libexec/ld.elf_so/load.c
422
int status = 0;
libexec/ld.elf_so/load.c
426
while ((path = strsep(&cp, " :")) != NULL && status == 0) {
libexec/ld.elf_so/load.c
428
status = -1;
libexec/ld.elf_so/load.c
435
return status;
libexec/mail.local/mail.local.c
363
logerr(int status, const char *fmt, ...)
libexec/mail.local/mail.local.c
371
exit(status);
libexec/makewhatis/makewhatis.c
132
int rv, jobs, status;
libexec/makewhatis/makewhatis.c
234
(void)wait(&status);
libexec/makewhatis/makewhatis.c
235
if (!WIFEXITED(status) || WEXITSTATUS(status) != EXIT_SUCCESS)
libexec/makewhatis/makewhatis.c
776
int tempfd, bytes, pipefd[2], status;
libexec/makewhatis/makewhatis.c
859
while (waitpid(child, &status, 0) != child);
libexec/makewhatis/makewhatis.c
861
!(WIFEXITED(status) && (WEXITSTATUS(status) == 0))) {
libexec/makewhatis/makewhatis.c
864
inname, WEXITSTATUS(status));
libexec/rpc.rquotad/rquotad.c
250
getq_rslt.status = Q_NOQUOTA;
libexec/rpc.rquotad/rquotad.c
255
getq_rslt.status = Q_EPERM;
libexec/rpc.rquotad/rquotad.c
271
getq_rslt.status = Q_EPERM;
libexec/rpc.rquotad/rquotad.c
274
getq_rslt.status = Q_NOQUOTA;
libexec/rpc.rquotad/rquotad.c
284
getq_rslt.status = Q_NOQUOTA;
libexec/rpc.rquotad/rquotad.c
292
getq_rslt.status = Q_NOQUOTA;
libexec/rpc.rquotad/rquotad.c
300
getq_rslt.status = Q_OK;
libexec/rshd/rshd.c
620
int status;
libexec/rshd/rshd.c
621
if ((xpid = waitpid(pid, &status, 0)) != pid) {
libexec/talkd/process.c
185
int status;
libexec/talkd/process.c
194
status = NOT_HERE;
libexec/talkd/process.c
211
if (status != SUCCESS)
libexec/talkd/process.c
212
status = PERMISSION_DENIED;
libexec/talkd/process.c
218
status = SUCCESS;
libexec/talkd/process.c
221
status = SUCCESS;
libexec/talkd/process.c
225
return (status);
regress/sys/kern/getcwd/getcwd.c
274
int pid, status;
regress/sys/kern/getcwd/getcwd.c
315
waitpid(pid, &status, 0);
regress/sys/kern/getcwd/getcwd.c
317
if (WIFEXITED(status) &&
regress/sys/kern/getcwd/getcwd.c
318
(WEXITSTATUS(status) == 0))
regress/sys/kern/unfdpass/unfdpass.c
337
int status;
regress/sys/kern/unfdpass/unfdpass.c
339
(void) wait(&status);
sbin/amrctl/amrctl.c
127
const char *status;
sbin/amrctl/amrctl.c
140
const char *status;
sbin/amrctl/amrctl.c
151
const char *status;
sbin/amrctl/amrctl.c
384
return (statetable[i].status);
sbin/amrctl/amrctl.c
410
printf("%s, ", battable[i].status);
sbin/amrctl/amrctl.c
418
printf("%s", bcstatble[i].status);
sbin/atactl/atactl.c
1028
le->error_data.status,
sbin/atactl/atactl.c
1116
printf("\tStatus: %s\n", selftest_status[le->status >> 4]);
sbin/atactl/atactl.c
1119
if (le->status >> 4 == 15)
sbin/atactl/atactl.c
1120
printf("\tPercent of test remaining: %1d0\n", le->status & 0xf);
sbin/atactl/atactl.c
1121
else if (le->status >> 4 != 0)
sbin/atactl/atactl.c
1199
const char *status;
sbin/atactl/atactl.c
1210
status = "status unknown";
sbin/atactl/atactl.c
1214
status = "enabled";
sbin/atactl/atactl.c
1217
status = "disabled";
sbin/atactl/atactl.c
1221
printf("SMART supported, SMART %s\n", status);
sbin/atactl/atactl.c
141
uint8_t status;
sbin/atactl/atactl.c
81
uint8_t status;
sbin/bioctl/bioctl.c
237
const char *status, *rtypestr, *stripestr;
sbin/bioctl/bioctl.c
263
status = BIOC_SVONLINE_S;
sbin/bioctl/bioctl.c
266
status = BIOC_SVOFFLINE_S;
sbin/bioctl/bioctl.c
269
status = BIOC_SVDEGRADED_S;
sbin/bioctl/bioctl.c
272
status = BIOC_SVBUILDING_S;
sbin/bioctl/bioctl.c
275
status = BIOC_SVREBUILD_S;
sbin/bioctl/bioctl.c
278
status = BIOC_SVMIGRATING_S;
sbin/bioctl/bioctl.c
281
status = BIOC_SVSCRUB_S;
sbin/bioctl/bioctl.c
284
status = BIOC_SVCHECKING_S;
sbin/bioctl/bioctl.c
288
status = BIOC_SVINVALID_S;
sbin/bioctl/bioctl.c
331
bt->volname, status, size, tmp,
sbin/bioctl/bioctl.c
346
const char *status;
sbin/bioctl/bioctl.c
366
status = BIOC_SDONLINE_S;
sbin/bioctl/bioctl.c
369
status = BIOC_SDOFFLINE_S;
sbin/bioctl/bioctl.c
372
status = BIOC_SDFAILED_S;
sbin/bioctl/bioctl.c
375
status = BIOC_SDREBUILD_S;
sbin/bioctl/bioctl.c
378
status = BIOC_SDHOTSPARE_S;
sbin/bioctl/bioctl.c
381
status = BIOC_SDUNUSED_S;
sbin/bioctl/bioctl.c
384
status = BIOC_SDSCRUB_S;
sbin/bioctl/bioctl.c
387
status = BIOC_SDPASSTHRU_S;
sbin/bioctl/bioctl.c
391
status = BIOC_SDINVALID_S;
sbin/bioctl/bioctl.c
417
bt->volname, status, size, scsiname,
sbin/bioctl/bioctl.c
421
bt->diskid, bd.bd_vendor, status, size, scsiname);
sbin/brconfig/brconfig.c
142
static void status(int, const char *);
sbin/brconfig/brconfig.c
214
status(sock, bridge);
sbin/brconfig/brconfig.c
340
status(sock, ifa->ifa_name);
sbin/canconfig/canconfig.c
106
static void status(int, const char *);
sbin/canconfig/canconfig.c
178
status(sock, canifname);
sbin/canconfig/canconfig.c
305
status(sock, ifa->ifa_name);
sbin/cgdconfig/cgdconfig.c
679
int status;
sbin/cgdconfig/cgdconfig.c
685
if ((status = pclose(f)) != 0)
sbin/cgdconfig/cgdconfig.c
686
err(1, "command failed with status %d", status);
sbin/cgdconfig/params.c
588
uint32_t status;
sbin/cgdconfig/params.c
594
uuid_to_string(&id, &idstr, &status);
sbin/cgdconfig/params.c
595
if (status != uuid_s_ok) {
sbin/cgdconfig/params.c
596
warnx("uuid_to_string: %"PRIu32, status);
sbin/devpubd/devpubd.c
115
if (waitpid(pid, &status, 0) == -1) {
sbin/devpubd/devpubd.c
119
if (WIFEXITED(status) && WEXITSTATUS(status)) {
sbin/devpubd/devpubd.c
121
devpubd_script, WEXITSTATUS(status));
sbin/devpubd/devpubd.c
122
} else if (WIFSIGNALED(status)) {
sbin/devpubd/devpubd.c
124
devpubd_script, WTERMSIG(status));
sbin/devpubd/devpubd.c
89
int status;
sbin/disklabel/main.c
1564
int status;
sbin/disklabel/main.c
1602
while ((xpid = wait(&status)) >= 0)
sbin/disklabel/main.c
1606
return (!status);
sbin/dump/tape.c
577
int status;
sbin/dump/tape.c
610
while ((waitforpid = wait(&status)) != childpid)
sbin/dump/tape.c
613
if (status & 0xFF) {
sbin/dump/tape.c
615
childpid, status&0xFF);
sbin/dump/tape.c
617
status = (status >> 8) & 0xFF;
sbin/dump/tape.c
619
switch(status) {
sbin/dump/tape.c
631
childpid, status);
sbin/dump/tape.c
635
switch(status) {
sbin/dump/tape.c
643
msg("Bad return code from dump: %d\n", status);
sbin/dump/tape.c
732
Exit(int status)
sbin/dump/tape.c
736
msg("pid = %d exits with status %d\n", getpid(), status);
sbin/dump/tape.c
738
exit(status);
sbin/efi/gptsubr.c
207
uint32_t status;
sbin/efi/gptsubr.c
223
uuid_to_string(&uuid, &part_guid, &status);
sbin/efi/gptsubr.c
231
uuid_to_string(&uuid, &type_uuid, &status);
sbin/efi/gptsubr.c
234
uuid_to_string(&uuid, &part_guid, &status);
sbin/efi/gptsubr.c
264
uuid_to_string(&(uuid_t)GPT_ENT_TYPE_MBR, &type_uuid, &status);
sbin/fsck/fsck.c
282
int argc, i, status, maxargc;
sbin/fsck/fsck.c
383
if (waitpid(pid, &status, 0) < 0) {
sbin/fsck/fsck.c
388
if (WIFEXITED(status)) {
sbin/fsck/fsck.c
389
if (WEXITSTATUS(status) != 0)
sbin/fsck/fsck.c
390
return WEXITSTATUS(status);
sbin/fsck/fsck.c
392
else if (WIFSIGNALED(status)) {
sbin/fsck/fsck.c
393
warnx("%s: %s", spec, strsignal(WTERMSIG(status)));
sbin/fsck/preen.c
100
int ret, pid, retcode, passno, sumstatus, status;
sbin/fsck/preen.c
180
while ((pid = wait(&status)) != -1) {
sbin/fsck/preen.c
191
if (WIFEXITED(status))
sbin/fsck/preen.c
192
retcode = WEXITSTATUS(status);
sbin/fsck/preen.c
201
status);
sbin/fsck/preen.c
203
if (WIFSIGNALED(status)) {
sbin/fsck/preen.c
207
WTERMSIG(status));
sbin/ifconfig/agr.c
176
static status_func_t status;
sbin/ifconfig/agr.c
189
status_func_init(&status, agr_status);
sbin/ifconfig/agr.c
191
register_status(&status);
sbin/ifconfig/carp.c
297
status_func_init(&status, carp_status);
sbin/ifconfig/carp.c
299
register_status(&status);
sbin/ifconfig/carp.c
55
static status_func_t status;
sbin/ifconfig/ether.c
187
status_func_init(&status, ether_status);
sbin/ifconfig/ether.c
188
register_status(&status);
sbin/ifconfig/ether.c
61
static status_func_t status;
sbin/ifconfig/ieee80211.c
1372
static status_func_t status;
sbin/ifconfig/ieee80211.c
1394
status_func_init(&status, ieee80211_status);
sbin/ifconfig/ieee80211.c
1397
register_status(&status);
sbin/ifconfig/ifconfig.c
140
static void status(prop_dictionary_t, prop_dictionary_t);
sbin/ifconfig/ifconfig.c
902
status(env, oenv);
sbin/ifconfig/l2tp.c
268
status_func_init(&status, l2tp_status);
sbin/ifconfig/l2tp.c
270
register_status(&status);
sbin/ifconfig/l2tp.c
51
static status_func_t status;
sbin/ifconfig/lagg.c
225
status_func_init(&status, lagg_status);
sbin/ifconfig/lagg.c
229
register_status(&status);
sbin/ifconfig/lagg.c
54
static status_func_t status;
sbin/ifconfig/pfsync.c
225
status_func_init(&status, pfsync_status);
sbin/ifconfig/pfsync.c
227
register_status(&status);
sbin/ifconfig/pfsync.c
57
static status_func_t status;
sbin/ifconfig/tunnel.c
200
status_func_init(&status, tunnel_status);
sbin/ifconfig/tunnel.c
202
register_status(&status);
sbin/ifconfig/tunnel.c
61
static status_func_t status;
sbin/ifconfig/vlan.c
186
status_func_init(&status, vlan_status);
sbin/ifconfig/vlan.c
188
register_status(&status);
sbin/ifconfig/vlan.c
56
static status_func_t status;
sbin/init/init.c
1419
collect_child(pid_t pid, int status)
sbin/init/init.c
1430
clear_session_logs(sp, status);
sbin/init/init.c
1490
int status;
sbin/init/init.c
1518
if ((pid = waitpid(-1, &status, 0)) != -1)
sbin/init/init.c
1519
collect_child(pid, status);
sbin/init/init.c
1625
int i, status;
sbin/init/init.c
1647
if ((pid = waitpid(-1, &status, 0)) != -1)
sbin/init/init.c
1648
collect_child(pid, status);
sbin/init/init.c
1670
int status;
sbin/init/init.c
1692
if (waitpid(pid, &status, 0) == -1)
sbin/init/init.c
1694
if (status != 0)
sbin/init/init.c
1734
if (waitpid(pid, &status, 0) == -1)
sbin/init/init.c
1736
if (status != 0)
sbin/init/init.c
1737
warn("MAKEDEV exit status %d", status);
sbin/init/init.c
601
clear_session_logs(session_t *sp, int status)
sbin/init/init.c
608
if (logoutx(line, status, DEAD_PROCESS))
sbin/init/init.c
609
logwtmpx(line, "", "", status, DEAD_PROCESS);
sbin/init/init.c
646
int status;
sbin/init/init.c
775
if ((wpid = waitpid(-1, &status, WUNTRACED)) != -1)
sbin/init/init.c
776
collect_child(wpid, status);
sbin/init/init.c
784
if (wpid == pid && WIFSTOPPED(status)) {
sbin/init/init.c
797
if (WIFSIGNALED(status)) {
sbin/init/init.c
798
if (WTERMSIG(status) == SIGKILL) {
sbin/init/init.c
807
status);
sbin/init/init.c
831
int status;
sbin/init/init.c
880
if ((wpid = waitpid(-1, &status, WUNTRACED)) != -1)
sbin/init/init.c
881
collect_child(wpid, status);
sbin/init/init.c
889
if (wpid == pid && WIFSTOPPED(status)) {
sbin/init/init.c
897
if (WIFSIGNALED(status) && WTERMSIG(status) == SIGTERM &&
sbin/init/init.c
907
if (!WIFEXITED(status)) {
sbin/init/init.c
913
if (WEXITSTATUS(status))
sbin/iscsictl/iscsic_daemonif.c
1015
if (rsp->status) {
sbin/iscsictl/iscsic_daemonif.c
1016
status_error(rsp->status);
sbin/iscsictl/iscsic_daemonif.c
1059
if (lrsp->status) {
sbin/iscsictl/iscsic_daemonif.c
1060
status_error(lrsp->status);
sbin/iscsictl/iscsic_daemonif.c
1068
if (rsp->status) {
sbin/iscsictl/iscsic_daemonif.c
1069
status_error(rsp->status);
sbin/iscsictl/iscsic_daemonif.c
1087
if (rsp->status) {
sbin/iscsictl/iscsic_daemonif.c
1088
status_error(rsp->status);
sbin/iscsictl/iscsic_daemonif.c
109
if (rsp->status) {
sbin/iscsictl/iscsic_daemonif.c
110
status_error(rsp->status);
sbin/iscsictl/iscsic_daemonif.c
1138
if (rsp->status) {
sbin/iscsictl/iscsic_daemonif.c
1139
status_error(rsp->status);
sbin/iscsictl/iscsic_daemonif.c
1165
if (rsp->status) {
sbin/iscsictl/iscsic_daemonif.c
1166
status_error(rsp->status);
sbin/iscsictl/iscsic_daemonif.c
148
if (rsp->status) {
sbin/iscsictl/iscsic_daemonif.c
149
status_error_slist(rsp->status);
sbin/iscsictl/iscsic_daemonif.c
159
if (rsp->status) {
sbin/iscsictl/iscsic_daemonif.c
160
status_error(rsp->status);
sbin/iscsictl/iscsic_daemonif.c
201
if (rsp->status) {
sbin/iscsictl/iscsic_daemonif.c
202
status_error_slist(rsp->status);
sbin/iscsictl/iscsic_daemonif.c
219
if (rsp->status) {
sbin/iscsictl/iscsic_daemonif.c
220
status_error(rsp->status);
sbin/iscsictl/iscsic_daemonif.c
325
if (rsp->status) {
sbin/iscsictl/iscsic_daemonif.c
326
status_error(rsp->status);
sbin/iscsictl/iscsic_daemonif.c
362
if (trsp->status) {
sbin/iscsictl/iscsic_daemonif.c
363
status_error(trsp->status);
sbin/iscsictl/iscsic_daemonif.c
383
if (prsp->status) {
sbin/iscsictl/iscsic_daemonif.c
384
status_error(prsp->status);
sbin/iscsictl/iscsic_daemonif.c
428
if (rsp->status) {
sbin/iscsictl/iscsic_daemonif.c
429
status_error(rsp->status);
sbin/iscsictl/iscsic_daemonif.c
531
if (rsp->status) {
sbin/iscsictl/iscsic_daemonif.c
532
status_error(rsp->status);
sbin/iscsictl/iscsic_daemonif.c
569
if (rsp->status) {
sbin/iscsictl/iscsic_daemonif.c
570
status_error_slist(rsp->status);
sbin/iscsictl/iscsic_daemonif.c
579
if (rsp->status) {
sbin/iscsictl/iscsic_daemonif.c
580
status_error(rsp->status);
sbin/iscsictl/iscsic_daemonif.c
633
if (rsp->status) {
sbin/iscsictl/iscsic_daemonif.c
634
status_error(rsp->status);
sbin/iscsictl/iscsic_daemonif.c
643
if (prsp->status)
sbin/iscsictl/iscsic_daemonif.c
644
status_error(prsp->status);
sbin/iscsictl/iscsic_daemonif.c
696
if (rsp->status) {
sbin/iscsictl/iscsic_daemonif.c
697
status_error(rsp->status);
sbin/iscsictl/iscsic_daemonif.c
73
if (rsp->status) {
sbin/iscsictl/iscsic_daemonif.c
730
if (rsp->status) {
sbin/iscsictl/iscsic_daemonif.c
731
status_error(rsp->status);
sbin/iscsictl/iscsic_daemonif.c
74
status_error(rsp->status);
sbin/iscsictl/iscsic_daemonif.c
765
if (rsp->status) {
sbin/iscsictl/iscsic_daemonif.c
766
status_error(rsp->status);
sbin/iscsictl/iscsic_daemonif.c
775
if (prsp->status) {
sbin/iscsictl/iscsic_daemonif.c
776
status_error(prsp->status);
sbin/iscsictl/iscsic_daemonif.c
835
if (rsp->status) {
sbin/iscsictl/iscsic_daemonif.c
836
status_error(rsp->status);
sbin/iscsictl/iscsic_daemonif.c
850
if (rsp->status) {
sbin/iscsictl/iscsic_daemonif.c
851
status_error_slist(rsp->status);
sbin/iscsictl/iscsic_daemonif.c
866
if (rsp->status) {
sbin/iscsictl/iscsic_daemonif.c
867
status_error(rsp->status);
sbin/iscsictl/iscsic_daemonif.c
877
if (rsp->status) {
sbin/iscsictl/iscsic_daemonif.c
878
status_error(rsp->status);
sbin/iscsictl/iscsic_daemonif.c
910
if (rsp->status) {
sbin/iscsictl/iscsic_daemonif.c
911
status_error(rsp->status);
sbin/iscsictl/iscsic_daemonif.c
944
if (rsp->status) {
sbin/iscsictl/iscsic_daemonif.c
945
status_error(rsp->status);
sbin/iscsictl/iscsic_daemonif.c
979
if (rsp->status) {
sbin/iscsictl/iscsic_daemonif.c
98
if (rsp->status) {
sbin/iscsictl/iscsic_daemonif.c
980
status_error(rsp->status);
sbin/iscsictl/iscsic_daemonif.c
99
status_error(rsp->status);
sbin/iscsictl/iscsic_driverif.c
269
if (rsp->status)
sbin/iscsictl/iscsic_driverif.c
270
status_error_slist(rsp->status);
sbin/iscsictl/iscsic_driverif.c
420
if (io->status) {
sbin/iscsictl/iscsic_driverif.c
421
status_error(io->status);
sbin/iscsid/iscsid.h
185
uint32_t status;
sbin/iscsid/iscsid_discover.c
111
uint32_t status;
sbin/iscsid/iscsid_discover.c
134
retval = isns_send_trans(t, &tout, &status);
sbin/iscsid/iscsid_discover.c
135
DEB(9, ("isns_send_trans called, returns %d, status %d", retval, status));
sbin/iscsid/iscsid_discover.c
215
retval = isns_send_trans(t, &tout, &status);
sbin/iscsid/iscsid_discover.c
216
DEB(9, ("isns_send_trans called, returns %d, status %d", retval, status));
sbin/iscsid/iscsid_discover.c
330
uint32_t status;
sbin/iscsid/iscsid_discover.c
351
retval = isns_send_trans(t, &tout, &status);
sbin/iscsid/iscsid_discover.c
352
DEB(9, ("DevAttrReg request returns %d, status %d", retval, status));
sbin/iscsid/iscsid_discover.c
374
uint32_t status;
sbin/iscsid/iscsid_discover.c
396
retval = isns_send_trans(t, &tout, &status);
sbin/iscsid/iscsid_discover.c
397
DEB(9, ("DevAttrReg request returns %d, status %d", retval, status));
sbin/iscsid/iscsid_discover.c
400
if (retval || status)
sbin/iscsid/iscsid_discover.c
580
uint32_t status;
sbin/iscsid/iscsid_discover.c
587
if ((status = iscsi_isns_serverconn(isns)) != 0) {
sbin/iscsid/iscsid_discover.c
590
return status;
sbin/iscsid/iscsid_discover.c
611
if ((retval = isns_send_trans(t, &tout, &status)) != 0) {
sbin/iscsid/iscsid_discover.c
613
retval, status));
sbin/iscsid/iscsid_discover.c
617
if (status) {
sbin/iscsid/iscsid_discover.c
618
DEB(9, ("DevGetNext Status = %d", status));
sbin/iscsid/iscsid_discover.c
750
rsp->status = ISCSID_STATUS_NO_RESOURCES;
sbin/iscsid/iscsid_discover.c
792
rsp->status = ISCSID_STATUS_INVALID_ISNS_ID;
sbin/iscsid/iscsid_driverif.c
205
res->status = ISCSID_STATUS_INVALID_TARGET_ID;
sbin/iscsid/iscsid_driverif.c
220
res->status = ISCSID_STATUS_INVALID_PORTAL_ID;
sbin/iscsid/iscsid_driverif.c
227
res->status = ISCSID_STATUS_INVALID_PORTAL_ID;
sbin/iscsid/iscsid_driverif.c
243
res->status = ISCSID_STATUS_INVALID_PORTAL_ID;
sbin/iscsid/iscsid_driverif.c
250
res->status = ISCSID_STATUS_INVALID_PORTAL_ID;
sbin/iscsid/iscsid_driverif.c
268
res->status = ISCSID_STATUS_DUPLICATE_NAME;
sbin/iscsid/iscsid_driverif.c
276
res->status = ISCSID_STATUS_INVALID_INITIATOR_ID;
sbin/iscsid/iscsid_driverif.c
295
res->status = ISCSID_STATUS_HOST_NOT_FOUND;
sbin/iscsid/iscsid_driverif.c
298
res->status = ISCSID_STATUS_HOST_TRY_AGAIN;
sbin/iscsid/iscsid_driverif.c
301
res->status = ISCSID_STATUS_HOST_ERROR;
sbin/iscsid/iscsid_driverif.c
309
res->status = ISCSID_STATUS_NO_RESOURCES;
sbin/iscsid/iscsid_driverif.c
313
res->status = ISCSID_STATUS_HOST_ERROR;
sbin/iscsid/iscsid_driverif.c
319
res->status = ISCSID_STATUS_SOCKET_ERROR;
sbin/iscsid/iscsid_driverif.c
326
res->status = ISCSID_STATUS_INITIATOR_BIND_ERROR;
sbin/iscsid/iscsid_driverif.c
334
res->status = ISCSID_STATUS_CONNECT_ERROR;
sbin/iscsid/iscsid_driverif.c
338
res->status = ISCSID_STATUS_SUCCESS;
sbin/iscsid/iscsid_driverif.c
346
errno, res->status));
sbin/iscsid/iscsid_driverif.c
434
res->status = loginp.status;
sbin/iscsid/iscsid_driverif.c
439
if (ret || loginp.status) {
sbin/iscsid/iscsid_driverif.c
441
if (!res->status)
sbin/iscsid/iscsid_driverif.c
442
res->status = ISCSID_STATUS_GENERAL_ERROR;
sbin/iscsid/iscsid_driverif.c
539
conn->loginp.status = ISCSI_STATUS_CONNECTION_FAILED;
sbin/iscsid/iscsid_driverif.c
603
conn->loginp.status = 0;
sbin/iscsid/iscsid_driverif.c
629
res->status = ISCSID_STATUS_NO_RESOURCES;
sbin/iscsid/iscsid_driverif.c
668
res->status = ISCSID_STATUS_INVALID_SESSION_ID;
sbin/iscsid/iscsid_driverif.c
706
DEB(9, ("Logout returns %d, status = %d", ret, logoutp.status));
sbin/iscsid/iscsid_driverif.c
708
return logoutp.status;
sbin/iscsid/iscsid_driverif.c
747
DEB(9, ("Remove Connection returns %d, status=%d", ret, removep.status));
sbin/iscsid/iscsid_driverif.c
749
return removep.status;
sbin/iscsid/iscsid_driverif.c
786
DEB(9, ("Make connection returns, status = %d", res.status));
sbin/iscsid/iscsid_driverif.c
789
return res.status;
sbin/iscsid/iscsid_driverif.c
800
if (!ret && !sendt.status) {
sbin/iscsid/iscsid_driverif.c
813
if (ret || sendt.status) {
sbin/iscsid/iscsid_driverif.c
817
if ((rc = sendt.status) == 0)
sbin/iscsid/iscsid_driverif.c
82
return snp.status;
sbin/iscsid/iscsid_driverif.c
821
} else if ((rc = sendt.status) == 0)
sbin/iscsid/iscsid_driverif.c
940
evtp.event_kind, evtp.status, evtp.session_id,
sbin/iscsid/iscsid_driverif.c
943
if (evtp.status)
sbin/iscsid/iscsid_driverif.c
992
if (req.status) {
sbin/iscsid/iscsid_driverif.c
997
DEB(9, ("Verify connection returns status %d", req.status));
sbin/iscsid/iscsid_driverif.c
998
return req.status;
sbin/iscsid/iscsid_lists.c
329
rsp->status = ISCSID_STATUS_INVALID_PARAMETER;
sbin/iscsid/iscsid_lists.c
339
rsp->status = ISCSID_STATUS_LIST_EMPTY;
sbin/iscsid/iscsid_lists.c
389
rsp->status = ISCSID_STATUS_INVALID_PARAMETER;
sbin/iscsid/iscsid_lists.c
396
rsp->status = ISCSID_STATUS_NOT_FOUND;
sbin/iscsid/iscsid_lists.c
426
rsp->status = ISCSID_STATUS_INVALID_PARAMETER;
sbin/iscsid/iscsid_lists.c
464
rsp->status = ISCSID_STATUS_INVALID_PARAMETER;
sbin/iscsid/iscsid_lists.c
470
rsp->status = ISCSID_STATUS_INVALID_PARAMETER;
sbin/iscsid/iscsid_lists.c
477
rsp->status = ISCSID_STATUS_NOT_FOUND;
sbin/iscsid/iscsid_lists.c
525
rsp->status = ISCSID_STATUS_LIST_EMPTY;
sbin/iscsid/iscsid_lists.c
589
rsp->status = ISCSID_STATUS_INVALID_SESSION_ID;
sbin/iscsid/iscsid_lists.c
644
rsp->status = ISCSID_STATUS_INVALID_SESSION_ID;
sbin/iscsid/iscsid_lists.c
651
rsp->status = ISCSID_STATUS_INVALID_CONNECTION_ID;
sbin/iscsid/iscsid_lists.c
743
rsp->status = ISCSID_STATUS_DUPLICATE_ENTRY;
sbin/iscsid/iscsid_lists.c
748
rsp->status = ISCSID_STATUS_DUPLICATE_NAME;
sbin/iscsid/iscsid_lists.c
753
rsp->status = ISCSID_STATUS_NO_RESOURCES;
sbin/iscsid/iscsid_lists.c
835
rsp->status = ISCSID_STATUS_INVALID_INITIATOR_ID;
sbin/iscsid/iscsid_main.c
121
return snp.status;
sbin/iscsid/iscsid_main.c
216
(*prsp)->status = ISCSID_STATUS_NO_RESOURCES;
sbin/iscsid/iscsid_main.c
250
rsp->status = ISCSID_STATUS_SUCCESS;
sbin/iscsid/iscsid_main.c
255
rsp->status = ISCSID_STATUS_INVALID_PARAMETER;
sbin/iscsid/iscsid_main.c
263
rsp->status = ISCSID_STATUS_INVALID_PARAMETER;
sbin/iscsid/iscsid_main.c
271
rsp->status = ISCSID_STATUS_INVALID_PARAMETER;
sbin/iscsid/iscsid_main.c
274
rsp->status = set_target_options((iscsid_get_set_target_options_t *)p);
sbin/iscsid/iscsid_main.c
279
rsp->status = ISCSID_STATUS_INVALID_PARAMETER;
sbin/iscsid/iscsid_main.c
282
rsp->status = ISCSID_STATUS_NOTIMPL;
sbin/iscsid/iscsid_main.c
288
rsp->status = ISCSID_STATUS_INVALID_PARAMETER;
sbin/iscsid/iscsid_main.c
291
rsp->status = set_target_auth((iscsid_set_target_authentication_req_t *)p);
sbin/iscsid/iscsid_main.c
295
rsp->status = ISCSID_STATUS_NOTIMPL;
sbin/iscsid/iscsid_main.c
300
rsp->status = ISCSID_STATUS_INVALID_PARAMETER;
sbin/iscsid/iscsid_main.c
303
rsp->status = refresh_targets((iscsid_refresh_req_t *)p);
sbin/iscsid/iscsid_main.c
308
rsp->status = ISCSID_STATUS_INVALID_PARAMETER;
sbin/iscsid/iscsid_main.c
311
rsp->status = remove_target((iscsid_list_id_t *)p);
sbin/iscsid/iscsid_main.c
316
rsp->status = ISCSID_STATUS_INVALID_PARAMETER;
sbin/iscsid/iscsid_main.c
324
rsp->status = ISCSID_STATUS_INVALID_PARAMETER;
sbin/iscsid/iscsid_main.c
332
rsp->status = ISCSID_STATUS_INVALID_PARAMETER;
sbin/iscsid/iscsid_main.c
340
rsp->status = ISCSID_STATUS_INVALID_PARAMETER;
sbin/iscsid/iscsid_main.c
349
rsp->status = ISCSID_STATUS_INVALID_PARAMETER;
sbin/iscsid/iscsid_main.c
358
rsp->status = ISCSID_STATUS_INVALID_PARAMETER;
sbin/iscsid/iscsid_main.c
365
rsp->status = ISCSID_STATUS_NOTIMPL;
sbin/iscsid/iscsid_main.c
370
rsp->status = ISCSID_STATUS_INVALID_PARAMETER;
sbin/iscsid/iscsid_main.c
373
rsp->status = remove_isns_server((iscsid_sym_id_t *)p);
sbin/iscsid/iscsid_main.c
379
rsp->status = ISCSID_STATUS_INVALID_PARAMETER;
sbin/iscsid/iscsid_main.c
388
rsp->status = ISCSID_STATUS_INVALID_PARAMETER;
sbin/iscsid/iscsid_main.c
396
rsp->status = ISCSID_STATUS_INVALID_PARAMETER;
sbin/iscsid/iscsid_main.c
399
rsp->status = remove_initiator_portal((iscsid_sym_id_t *)p);
sbin/iscsid/iscsid_main.c
404
rsp->status = ISCSID_STATUS_INVALID_PARAMETER;
sbin/iscsid/iscsid_main.c
412
rsp->status = ISCSID_STATUS_INVALID_PARAMETER;
sbin/iscsid/iscsid_main.c
420
rsp->status = ISCSID_STATUS_INVALID_PARAMETER;
sbin/iscsid/iscsid_main.c
423
rsp->status = log_out((iscsid_sym_id_t *)p);
sbin/iscsid/iscsid_main.c
428
rsp->status = ISCSID_STATUS_INVALID_PARAMETER;
sbin/iscsid/iscsid_main.c
431
rsp->status = remove_connection((iscsid_remove_connection_req_t *)p);
sbin/iscsid/iscsid_main.c
440
rsp->status = ISCSID_STATUS_INVALID_PARAMETER;
sbin/iscsid/iscsid_main.c
448
rsp->status = ISCSID_STATUS_INVALID_PARAMETER;
sbin/iscsid/iscsid_main.c
457
rsp->status = ISCSID_STATUS_INVALID_PARAMETER;
sbin/iscsid/iscsid_main.c
460
rsp->status = set_node_name((iscsid_set_node_name_req_t *)p);
sbin/iscsid/iscsid_main.c
468
rsp->status = ISCSID_STATUS_INVALID_REQUEST;
sbin/iscsid/iscsid_main.c
652
rsp->status, rsp->parameter_length));
sbin/iscsid/iscsid_targets.c
325
rsp->status = ISCSID_STATUS_PARAMETER_INVALID;
sbin/iscsid/iscsid_targets.c
341
rsp->status = ISCSID_STATUS_DUPLICATE_NAME;
sbin/iscsid/iscsid_targets.c
350
rsp->status = ISCSID_STATUS_DUPLICATE_NAME;
sbin/iscsid/iscsid_targets.c
360
rsp->status = ISCSID_STATUS_NO_RESOURCES;
sbin/iscsid/iscsid_targets.c
398
rsp->status = ISCSID_STATUS_NO_RESOURCES;
sbin/iscsid/iscsid_targets.c
536
rsp->status = ISCSID_STATUS_INVALID_TARGET_ID;
sbin/iscsid/iscsid_targets.c
595
rsp->status = ISCSID_STATUS_INVALID_TARGET_ID;
sbin/iscsid/iscsid_targets.c
602
rsp->status = ISCSID_STATUS_DUPLICATE_NAME;
sbin/iscsid/iscsid_targets.c
609
rsp->status = ISCSID_STATUS_NO_RESOURCES;
sbin/iscsid/iscsid_targets.c
661
rsp->status = ISCSID_STATUS_INVALID_PORTAL_ID;
sbin/mount/mount.c
378
int argc, numfs, i, status, maxargc;
sbin/mount/mount.c
559
if (waitpid(pid, &status, 0) == -1) {
sbin/mount/mount.c
564
if (WIFEXITED(status)) {
sbin/mount/mount.c
565
if (WEXITSTATUS(status) != 0)
sbin/mount/mount.c
566
return WEXITSTATUS(status);
sbin/mount/mount.c
567
} else if (WIFSIGNALED(status)) {
sbin/mount/mount.c
568
warnx("%s: %s", name, strsignal(WTERMSIG(status)));
sbin/newfs/newfs.c
260
int status;
sbin/newfs/newfs.c
734
res = waitpid(pid, &status, WNOHANG);
sbin/newfs/newfs.c
739
if (WIFEXITED(status)) {
sbin/newfs/newfs.c
740
if (WEXITSTATUS(status) == 0)
sbin/newfs/newfs.c
743
strerror(WEXITSTATUS(status)));
sbin/nvmectl/logpage.c
139
e->status = le16toh(e->status);
sbin/nvmectl/logpage.c
178
(uint16_t)__SHIFTOUT(entry->status, NVME_CQE_PHASE));
sbin/nvmectl/logpage.c
180
(uint16_t)__SHIFTOUT(entry->status, NVME_CQE_SC_MASK));
sbin/nvmectl/logpage.c
182
(uint16_t)__SHIFTOUT(entry->status, NVME_CQE_SCT_MASK));
sbin/nvmectl/logpage.c
184
(uint16_t)__SHIFTOUT(entry->status, NVME_CQE_M));
sbin/nvmectl/logpage.c
186
(uint16_t)__SHIFTOUT(entry->status, NVME_CQE_DNR));
sbin/nvmectl/logpage.c
306
const char *status;
sbin/nvmectl/logpage.c
324
status = " Active";
sbin/nvmectl/logpage.c
326
status = "Inactive";
sbin/nvmectl/logpage.c
332
printf("[%s] %.8s\n", status,
sbin/nvmectl/logpage.c
335
printf("[%s] %016jx\n", status,
sbin/nvmectl/logpage.c
673
uint8_t status;
sbin/nvmectl/logpage.c
693
status = *walker++;
sbin/nvmectl/logpage.c
700
printf(" %-30s: %x (%s)\n", "BMS Status", status,
sbin/nvmectl/logpage.c
701
status == 0 ? "idle" : (status == 1 ? "active" :
sbin/nvmectl/logpage.c
702
(status == 8 ? "suspended" : "unknown")));
sbin/nvmectl/nvme.h
63
uint16_t status;
sbin/pppoectl/pppoectl.c
213
memset(&status, 0, sizeof status);
sbin/pppoectl/pppoectl.c
214
strncpy(status.ifname, ifname, sizeof status.ifname);
sbin/pppoectl/pppoectl.c
258
if (ioctl(s, SPPPGETSTATUS, &status) == -1)
sbin/pppoectl/pppoectl.c
267
print_vals(ifname, status.phase, &spr, lcp.lcp_timeout,
sbin/pppoectl/pppoectl.c
367
print_vals(ifname, status.phase, &spr, lcp.lcp_timeout,
sbin/pppoectl/pppoectl.c
92
static struct spppstatus status;
sbin/raidctl/raidctl.c
461
device_status(RF_DiskStatus_t status)
sbin/raidctl/raidctl.c
464
switch (status) {
sbin/raidctl/raidctl.c
500
device_status(device_config.devs[i].status));
sbin/raidctl/raidctl.c
511
device_status(device_config.spares[i].status));
sbin/raidctl/raidctl.c
517
if (device_config.devs[i].status == rf_ds_optimal) {
sbin/raidctl/raidctl.c
522
device_status(device_config.devs[i].status));
sbin/raidctl/raidctl.c
528
if ((device_config.spares[i].status ==
sbin/raidctl/raidctl.c
530
(device_config.spares[i].status ==
sbin/raidctl/raidctl.c
538
device_config.spares[i].status));
sbin/raidctl/raidctl.c
703
if (device_config.devs[i].status == rf_ds_optimal)
sbin/raidctl/raidctl.c
833
component_label.status );
sbin/raidctl/raidctl.c
867
component_label.status = 1;
sbin/raidctl/raidctl.c
887
component_label.status = 0;
sbin/veriexecctl/veriexecctl.c
55
#define STATUS_STRING(status) ((status) == FINGERPRINT_NOTEVAL ? \
sbin/veriexecctl/veriexecctl.c
57
(status) == FINGERPRINT_VALID ? \
sbin/veriexecctl/veriexecctl.c
59
(status) == FINGERPRINT_NOMATCH ? \
share/examples/puffs/pgfs/pgfs_db.c
273
ExecStatusType status;
share/examples/puffs/pgfs/pgfs_db.c
282
status = PQresultStatus(res);
share/examples/puffs/pgfs/pgfs_db.c
283
if (status == PGRES_COMMAND_OK) {
share/examples/puffs/pgfs/pgfs_db.c
291
} else if (status == PGRES_FATAL_ERROR) {
share/examples/puffs/pgfs/pgfs_db.c
297
(int)status,
share/examples/puffs/pgfs/pgfs_db.c
528
ExecStatusType status;
share/examples/puffs/pgfs/pgfs_db.c
537
status = PQresultStatus(s->res);
share/examples/puffs/pgfs/pgfs_db.c
538
if (status == PGRES_FATAL_ERROR) {
share/examples/puffs/pgfs/pgfs_db.c
545
if (status != PGRES_TUPLES_OK) {
share/examples/puffs/pgfs/pgfs_db.c
735
PGTransactionStatusType status;
share/examples/puffs/pgfs/pgfs_db.c
741
status = PQtransactionStatus(xc->conn);
share/examples/puffs/pgfs/pgfs_db.c
742
assert(status != PQTRANS_ACTIVE);
share/examples/puffs/pgfs/pgfs_db.c
743
assert(status != PQTRANS_UNKNOWN);
share/examples/puffs/pgfs/pgfs_db.c
744
if (status != PQTRANS_IDLE) {
share/examples/puffs/pgfs/pgfs_db.c
748
assert(status == PQTRANS_INTRANS || status == PQTRANS_INERROR);
sys/arch/acorn32/include/scrio.h
55
int status;
sys/arch/acorn32/include/scrio.h
61
unsigned int status;
sys/arch/acorn32/include/scrio.h
71
unsigned int status; /* driver status */
sys/arch/acorn32/include/scrio.h
75
unsigned int status;
sys/arch/acorn32/mainbus/fd.c
698
u_char status;
sys/arch/acorn32/mainbus/fd.c
702
status = fd->sc_drive;
sys/arch/acorn32/mainbus/fd.c
704
status = 0;
sys/arch/acorn32/mainbus/fd.c
706
status |= FDO_FRST | FDO_FDMAEN;
sys/arch/acorn32/mainbus/fd.c
709
status |= FDO_MOEN(n);
sys/arch/acorn32/mainbus/fd.c
710
bus_space_write_2(fdc->sc_iot, fdc->sc_ioh, fdout, status);
sys/arch/acorn32/podulebus/cosc.c
136
rp->status = (vu_char *)&dummy[2];
sys/arch/acorn32/podulebus/coscreg.h
51
vu_char *status;
sys/arch/acorn32/podulebus/esc.c
1057
u_char status, msg;
sys/arch/acorn32/podulebus/esc.c
1079
nexus->status = -2;
sys/arch/acorn32/podulebus/esc.c
1127
nexus->status = -3;
sys/arch/acorn32/podulebus/esc.c
1151
esc_scsidone(dev, nexus->xs, nexus->status);
sys/arch/acorn32/podulebus/esc.c
1173
nexus->status = 0xFF;
sys/arch/acorn32/podulebus/esc.c
1243
status = *rp->esc_fifo;
sys/arch/acorn32/podulebus/esc.c
1246
nexus->status = status;
sys/arch/acorn32/podulebus/esc.c
1247
if (status != 0)
sys/arch/acorn32/podulebus/esc.c
1248
nexus->status = -1;
sys/arch/acorn32/podulebus/esc.c
382
xs->status = stat;
sys/arch/acorn32/podulebus/escvar.h
112
u_char status; /* Status byte from unit*/
sys/arch/acorn32/podulebus/if_ie.c
1238
int status;
sys/arch/acorn32/podulebus/if_ie.c
1247
status = rfd.ie_fd_status;
sys/arch/acorn32/podulebus/if_ie.c
1269
if ( status & IE_FD_OK ) {
sys/arch/acorn32/podulebus/if_ie.c
1288
int status;
sys/arch/acorn32/podulebus/if_ie.c
1302
sc->rframes[i],status);
sys/arch/acorn32/podulebus/if_ie.c
1304
if ((status&IE_FD_COMPLETE)&&(status&IE_FD_OK)) {
sys/arch/acorn32/podulebus/if_ie.c
1320
if ( ((status&IE_FD_RNR)!=0) && ((scb.ie_status&IE_RU_READY)==0) )
sys/arch/acorn32/podulebus/if_ie.c
1341
u_short status;
sys/arch/acorn32/podulebus/if_ie.c
1352
status = ReadShort ( sc->sc_ram + IE_COFF2POFF(IE_IBASE+IE_SCB_OFF) +
sys/arch/acorn32/podulebus/if_ie.c
1355
status = status & IE_ST_WHENCE;
sys/arch/acorn32/podulebus/if_ie.c
1357
if (status == 0) {
sys/arch/acorn32/podulebus/if_ie.c
1364
ie_ack(sc, status);
sys/arch/acorn32/podulebus/if_ie.c
1366
if (status & (IE_ST_FR | IE_ST_RNR))
sys/arch/acorn32/podulebus/if_ie.c
1369
if (status & IE_ST_CX)
sys/arch/acorn32/podulebus/if_ie.c
1372
if (status & IE_ST_RNR) {
sys/arch/acorn32/podulebus/if_ie.c
1379
status = ReadShort ( sc->sc_ram + IE_COFF2POFF(IE_IBASE+IE_SCB_OFF) +
sys/arch/acorn32/podulebus/if_ie.c
1381
status = status & IE_ST_WHENCE;
sys/arch/acorn32/podulebus/if_ie.c
1385
if (status == 0) {
sys/arch/acorn32/podulebus/if_ie.c
1511
int status;
sys/arch/acorn32/podulebus/if_ie.c
1516
sc->xmit_cmds[sc->xctail], status );
sys/arch/acorn32/podulebus/if_ie.c
1518
if (!(status&IE_STAT_COMPL) || (status & IE_STAT_BUSY) )
sys/arch/acorn32/podulebus/if_ie.c
1521
if ( status & IE_STAT_OK ) {
sys/arch/acorn32/podulebus/if_ie.c
1523
if_statadd(ifp, if_collisions, status & IE_XS_MAXCOLL);
sys/arch/acorn32/podulebus/if_ie.c
1526
if ( status & IE_STAT_ABORT )
sys/arch/acorn32/podulebus/if_ie.c
1528
if ( status & IE_XS_LATECOLL )
sys/arch/acorn32/podulebus/if_ie.c
1530
if ( status & IE_XS_NOCARRIER )
sys/arch/acorn32/podulebus/if_ie.c
1532
if ( status & IE_XS_LOSTCTS )
sys/arch/acorn32/podulebus/if_ie.c
1534
if ( status & IE_XS_UNDERRUN )
sys/arch/acorn32/podulebus/if_ie.c
1536
if ( status & IE_XS_EXCMAX )
sys/arch/acorn32/podulebus/ptsc.c
158
rp->status = &sc->sc_specific.sc_iobase[PTSC_STATUS];
sys/arch/acorn32/podulebus/ptscreg.h
48
vu_char *status;
sys/arch/acorn32/podulebus/sbic.c
550
xs->status = stat;
sys/arch/acorn32/podulebus/sfas.c
1006
nexus->status = -2;
sys/arch/acorn32/podulebus/sfas.c
1054
nexus->status = -3;
sys/arch/acorn32/podulebus/sfas.c
1078
sfas_scsidone(dev, nexus->xs, nexus->status);
sys/arch/acorn32/podulebus/sfas.c
1100
nexus->status = 0xFF;
sys/arch/acorn32/podulebus/sfas.c
1170
status = *rp->sfas_fifo;
sys/arch/acorn32/podulebus/sfas.c
1173
nexus->status = status;
sys/arch/acorn32/podulebus/sfas.c
1174
if (status != 0)
sys/arch/acorn32/podulebus/sfas.c
1175
nexus->status = -1;
sys/arch/acorn32/podulebus/sfas.c
1604
printf("status=%02x\n", nexus->status);
sys/arch/acorn32/podulebus/sfas.c
383
xs->status = stat;
sys/arch/acorn32/podulebus/sfas.c
984
u_char status, msg;
sys/arch/acorn32/podulebus/sfasvar.h
112
u_char status; /* Status byte from unit*/
sys/arch/acorn32/podulebus/simide.c
157
int status;
sys/arch/acorn32/podulebus/simide.c
214
status = bus_space_read_1(sc->sc_ctliot, sc->sc_ctlioh,
sys/arch/acorn32/podulebus/simide.c
219
if ((status & STATUS_FAULT) != STATUS_FAULT)
sys/arch/acorn32/podulebus/simide.c
220
aprint_normal(" card/cable fault (%02x) -", status);
sys/arch/acorn32/podulebus/simide.c
222
if (!(status & STATUS_RESET))
sys/arch/acorn32/podulebus/simide.c
224
if (!(status & STATUS_ADDR_TEST))
sys/arch/acorn32/podulebus/simide.c
226
if (!(status & STATUS_CS_TEST))
sys/arch/acorn32/podulebus/simide.c
228
if (!(status & STATUS_RW_TEST))
sys/arch/algor/algor/algor_intr.c
123
cpu_intr(int ppl, vaddr_t pc, uint32_t status)
sys/arch/algor/algor/algor_intr.c
136
cf.sr = status;
sys/arch/alpha/alpha/prom.c
336
if (ret.u.status == 0 || ret.u.status == 1)
sys/arch/alpha/alpha/prom.c
358
if (ret.u.status == 0 || ret.u.status == 1) {
sys/arch/alpha/alpha/prom.c
377
if (ret.u.status & 0x4)
sys/arch/alpha/include/prom.h
44
status : 3;
sys/arch/alpha/stand/common/blkdev.c
187
if (ret.u.status)
sys/arch/alpha/stand/common/booted_dev.c
61
if (ret.u.status)
sys/arch/alpha/stand/common/prom.c
135
if (ret.u.status & 0x4)
sys/arch/alpha/stand/common/prom.c
72
return ret.u.status == 0 || ret.u.status == 1;
sys/arch/alpha/stand/netboot/if_prom.c
110
if (ret.u.status == 0)
sys/arch/amd64/include/fenv.h
94
uint32_t status; /* Status word register */
sys/arch/amiga/dev/acafh.c
212
uint8_t status;
sys/arch/amiga/dev/acafh.c
215
status = acafh_reg_read(sc, ACAFH_CF_IRQ_BOOT);
sys/arch/amiga/dev/acafh.c
217
status = acafh_reg_read(sc, ACAFH_CF_IRQ_AUX);
sys/arch/amiga/dev/acafh.c
220
return status;
sys/arch/amiga/dev/bzivsc.c
116
uint8_t status;
sys/arch/amiga/dev/bzivsc.c
280
bzivsc_trace[bzivsc_trace_ptr].status = bsc->sc_reg[NCR_STAT * 4];
sys/arch/amiga/dev/bzivsc.c
448
bzivsc_trace[i].status, bzivsc_trace[i].xx, bzivsc_trace[i].yy);
sys/arch/amiga/dev/bzivsc.c
449
if (bzivsc_trace[i].status & NCRSTAT_INT)
sys/arch/amiga/dev/bzivsc.c
451
if (bzivsc_trace[i].status & NCRSTAT_TC)
sys/arch/amiga/dev/bzivsc.c
453
switch(bzivsc_trace[i].status & NCRSTAT_PHASE) {
sys/arch/amiga/dev/bzivsc.c
467
printf("phase%d?", bzivsc_trace[i].status & NCRSTAT_PHASE);
sys/arch/amiga/dev/bzsc.c
126
uint8_t status;
sys/arch/amiga/dev/bzsc.c
288
bzsc_trace[bzsc_trace_ptr].status = bsc->sc_reg[NCR_STAT * 2];
sys/arch/amiga/dev/bzsc.c
455
bzsc_trace[i].status, bzsc_trace[i].xx, bzsc_trace[i].yy);
sys/arch/amiga/dev/bzsc.c
456
if (bzsc_trace[i].status & NCRSTAT_INT)
sys/arch/amiga/dev/bzsc.c
458
if (bzsc_trace[i].status & NCRSTAT_TC)
sys/arch/amiga/dev/bzsc.c
460
switch(bzsc_trace[i].status & NCRSTAT_PHASE) {
sys/arch/amiga/dev/bzsc.c
474
printf("phase%d?", bzsc_trace[i].status & NCRSTAT_PHASE);
sys/arch/amiga/dev/bztzsc.c
122
uint8_t status;
sys/arch/amiga/dev/bztzsc.c
289
bztzsc_trace[bztzsc_trace_ptr].status = bsc->sc_reg[NCR_STAT * 4];
sys/arch/amiga/dev/bztzsc.c
456
bztzsc_trace[i].status, bztzsc_trace[i].xx, bztzsc_trace[i].yy);
sys/arch/amiga/dev/bztzsc.c
457
if (bztzsc_trace[i].status & NCRSTAT_INT)
sys/arch/amiga/dev/bztzsc.c
459
if (bztzsc_trace[i].status & NCRSTAT_TC)
sys/arch/amiga/dev/bztzsc.c
461
switch(bztzsc_trace[i].status & NCRSTAT_PHASE) {
sys/arch/amiga/dev/bztzsc.c
475
printf("phase%d?", bztzsc_trace[i].status & NCRSTAT_PHASE);
sys/arch/amiga/dev/cbiisc.c
116
uint8_t status;
sys/arch/amiga/dev/cbiisc.c
281
cbiisc_trace[cbiisc_trace_ptr].status = csc->sc_reg[NCR_STAT * 4];
sys/arch/amiga/dev/cbiisc.c
449
cbiisc_trace[i].status, cbiisc_trace[i].xx, cbiisc_trace[i].yy);
sys/arch/amiga/dev/cbiisc.c
450
if (cbiisc_trace[i].status & NCRSTAT_INT)
sys/arch/amiga/dev/cbiisc.c
452
if (cbiisc_trace[i].status & NCRSTAT_TC)
sys/arch/amiga/dev/cbiisc.c
454
switch(cbiisc_trace[i].status & NCRSTAT_PHASE) {
sys/arch/amiga/dev/cbiisc.c
468
printf("phase%d?", cbiisc_trace[i].status & NCRSTAT_PHASE);
sys/arch/amiga/dev/cbsc.c
116
uint8_t status;
sys/arch/amiga/dev/cbsc.c
288
cbsc_trace[cbsc_trace_ptr].status = csc->sc_reg[NCR_STAT * 4];
sys/arch/amiga/dev/cbsc.c
461
cbsc_trace[i].status, cbsc_trace[i].xx, cbsc_trace[i].yy);
sys/arch/amiga/dev/cbsc.c
462
if (cbsc_trace[i].status & NCRSTAT_INT)
sys/arch/amiga/dev/cbsc.c
464
if (cbsc_trace[i].status & NCRSTAT_TC)
sys/arch/amiga/dev/cbsc.c
466
switch(cbsc_trace[i].status & NCRSTAT_PHASE) {
sys/arch/amiga/dev/cbsc.c
480
printf("phase%d?", cbsc_trace[i].status & NCRSTAT_PHASE);
sys/arch/amiga/dev/if_qn.c
602
u_short len, status;
sys/arch/amiga/dev/if_qn.c
660
status = *sc->nic_fifo;
sys/arch/amiga/dev/if_qn.c
661
if ((status & 0x7000) != 0x2000) {
sys/arch/amiga/dev/if_qn.c
662
log(LOG_INFO, "qn: ERROR: status=%04x\n", status);
sys/arch/amiga/dev/repulse.c
560
uint16_t status;
sys/arch/amiga/dev/repulse.c
567
status = bp->rhw_status;
sys/arch/amiga/dev/repulse.c
568
if (!(status & REPSTATUS_PLAY))
sys/arch/amiga/dev/repulse.c
569
bp->rhw_status = status |
sys/arch/amiga/dev/repulse.c
601
uint16_t status;
sys/arch/amiga/dev/repulse.c
611
status = bp->rhw_status;
sys/arch/amiga/dev/repulse.c
612
if (!(status & REPSTATUS_RECORD))
sys/arch/amiga/dev/repulse.c
613
bp->rhw_status = status | REPSTATUS_RECORD
sys/arch/amiga/dev/repulse.c
630
uint16_t status;
sys/arch/amiga/dev/repulse.c
639
status = bp->rhw_status;
sys/arch/amiga/dev/repulse.c
641
if (status & REPSTATUS_PLAYIRQACK) {
sys/arch/amiga/dev/repulse.c
643
status &= ~REPSTATUS_PLAYIRQENABLE;
sys/arch/amiga/dev/repulse.c
644
bp->rhw_status = status;
sys/arch/amiga/dev/repulse.c
648
if (status & REPSTATUS_RECIRQACK) {
sys/arch/amiga/dev/repulse.c
650
status &= ~REPSTATUS_RECIRQENABLE;
sys/arch/amiga/dev/repulse.c
651
bp->rhw_status = status;
sys/arch/amiga/dev/sbic.c
587
xs->status = stat;
sys/arch/amiga/dev/sci.c
244
xs->status = stat;
sys/arch/amiga/dev/siop.c
1120
*status = -1;
sys/arch/amiga/dev/siop.c
1130
*status = -1;
sys/arch/amiga/dev/siop.c
1151
*status = STS_BUSY;
sys/arch/amiga/dev/siop.c
1273
acb->status = sc->sc_flags & SIOP_INTSOFF;
sys/arch/amiga/dev/siop.c
1320
sc->sc_flags |= acb->status;
sys/arch/amiga/dev/siop.c
1321
acb->status = 0;
sys/arch/amiga/dev/siop.c
1405
*status = -1;
sys/arch/amiga/dev/siop.c
1437
*status = -1;
sys/arch/amiga/dev/siop.c
1492
int status;
sys/arch/amiga/dev/siop.c
1533
if (siop_checkintr (sc, istat, dstat, sstat0, &status)) {
sys/arch/amiga/dev/siop.c
1535
if (status == 0xff)
sys/arch/amiga/dev/siop.c
304
int status;
sys/arch/amiga/dev/siop.c
341
if (siop_checkintr(sc, istat, dstat, sstat0, &status)) {
sys/arch/amiga/dev/siop.c
350
siop_scsidone(sc->sc_nexus, status);
sys/arch/amiga/dev/siop.c
435
xs->status = stat;
sys/arch/amiga/dev/siop.c
759
acb->status = 0;
sys/arch/amiga/dev/siop.c
906
u_char sstat0, int *status)
sys/arch/amiga/dev/siop.c
970
*status = acb->stat[0];
sys/arch/amiga/dev/siop2.c
1058
*status = acb->stat[0];
sys/arch/amiga/dev/siop2.c
1247
*status = -1;
sys/arch/amiga/dev/siop2.c
1259
*status = -1;
sys/arch/amiga/dev/siop2.c
1284
*status = STS_BUSY;
sys/arch/amiga/dev/siop2.c
1405
acb->status = sc->sc_flags & SIOP_INTSOFF;
sys/arch/amiga/dev/siop2.c
1458
sc->sc_flags |= acb->status;
sys/arch/amiga/dev/siop2.c
1459
acb->status = 0;
sys/arch/amiga/dev/siop2.c
1554
*status = -1;
sys/arch/amiga/dev/siop2.c
1586
*status = -1;
sys/arch/amiga/dev/siop2.c
1642
int status;
sys/arch/amiga/dev/siop2.c
1683
if (siopng_checkintr (sc, istat, dstat, sist, &status)) {
sys/arch/amiga/dev/siop2.c
1685
if (status == 0xff)
sys/arch/amiga/dev/siop2.c
290
int status;
sys/arch/amiga/dev/siop2.c
327
if (siopng_checkintr(sc, istat, dstat, sist, &status)) {
sys/arch/amiga/dev/siop2.c
336
siopng_scsidone(sc->sc_nexus, status);
sys/arch/amiga/dev/siop2.c
420
xs->status = stat;
sys/arch/amiga/dev/siop2.c
788
acb->status = 0;
sys/arch/amiga/dev/siop2.c
971
u_short sist, int *status)
sys/arch/amiga/dev/siopvar.h
95
u_char status;
sys/arch/amiga/dev/toccata.c
296
uint8_t status;
sys/arch/amiga/dev/toccata.c
303
status = *(sc->sc_boardp);
sys/arch/amiga/dev/toccata.c
305
if (status & TOCC_FIFO_INT) { /* active low */
sys/arch/amiga/dev/toccata.c
310
if (status & TOCC_FIFO_PBHE) {
sys/arch/amiga/dev/toccata.c
316
} else if (status & TOCC_FIFO_CPHF) {
sys/arch/amiga/dev/toccata.c
343
device_xname(sc->sc_ad.sc_dev), status);
sys/arch/arc/arc/interrupt.c
106
cf.sr = status;
sys/arch/arc/arc/interrupt.c
95
cpu_intr(int ppl, vaddr_t pc, uint32_t status)
sys/arch/arc/dev/opms.c
327
info.status = sc->sc_status;
sys/arch/arc/dev/opms.c
329
info.status |= MOVEMENT;
sys/arch/arc/include/mouse.h
31
unsigned char status;
sys/arch/arc/jazz/fd.c
564
u_char status;
sys/arch/arc/jazz/fd.c
568
status = fd->sc_drive;
sys/arch/arc/jazz/fd.c
570
status = 0;
sys/arch/arc/jazz/fd.c
572
status |= FDO_FRST | FDO_FDMAEN;
sys/arch/arc/jazz/fd.c
575
status |= FDO_MOEN(n);
sys/arch/arc/jazz/fd.c
576
bus_space_write_1(fdc->sc_iot, fdc->sc_ioh, FDOUT, status);
sys/arch/arm/acpi/acpi_pci_smccc.c
112
status = pci_smccc_get_seg_info(ap->ap_seg, &bus_start, &bus_end,
sys/arch/arm/acpi/acpi_pci_smccc.c
114
if (!PCI_SMCCC_SUCCESS(status)) {
sys/arch/arm/acpi/acpi_pci_smccc.c
117
ap->ap_seg, status);
sys/arch/arm/acpi/acpi_pci_smccc.c
53
int status;
sys/arch/arm/acpi/acpi_pci_smccc.c
62
status = pci_smccc_read(PCI_SMCCC_SBDF(ap->ap_seg, b, d, f), reg,
sys/arch/arm/acpi/acpi_pci_smccc.c
64
if (!PCI_SMCCC_SUCCESS(status)) {
sys/arch/arm/acpi/acpi_pci_smccc.c
78
int status;
sys/arch/arm/acpi/acpi_pci_smccc.c
86
status = pci_smccc_write(PCI_SMCCC_SBDF(ap->ap_seg, b, d, f), reg,
sys/arch/arm/acpi/acpi_pci_smccc.c
88
if (!PCI_SMCCC_SUCCESS(status)) {
sys/arch/arm/acpi/acpi_pci_smccc.c
99
int status, ver;
sys/arch/arm/amlogic/meson_platform.c
281
const char *status = fdt_getprop(fdt_data,
sys/arch/arm/amlogic/meson_platform.c
283
if (status == NULL || strncmp(status, "ok", 2) == 0) {
sys/arch/arm/amlogic/meson_uart.c
255
uint32_t status;
sys/arch/arm/amlogic/meson_uart.c
260
status = bus_space_read_4(bst, bsh, UART_STATUS_REG);
sys/arch/arm/amlogic/meson_uart.c
261
if (status & UART_STATUS_RX_EMPTY) {
sys/arch/arm/amlogic/meson_uart.c
464
uint32_t status, c;
sys/arch/arm/amlogic/meson_uart.c
469
status = bus_space_read_4(sc->sc_bst, sc->sc_bsh,
sys/arch/arm/amlogic/meson_uart.c
471
if (status & UART_STATUS_RX_EMPTY) {
sys/arch/arm/amlogic/meson_uart.c
474
if (status & UART_STATUS_BREAK) {
sys/arch/arm/amlogic/mesongx_mmc.c
610
const uint32_t status = MMC_READ(sc, SD_EMMC_STATUS) & irq_en;
sys/arch/arm/amlogic/mesongx_mmc.c
612
if ((status & STATUS_IRQ_SDIO) != 0) {
sys/arch/arm/amlogic/mesongx_mmc.c
619
device_printf(sc->sc_dev, "WARNING: IRQ with no active command, status %#x\n", status);
sys/arch/arm/amlogic/mesongx_mmc.c
623
if ((status & STATUS_TIMEOUT) != 0) {
sys/arch/arm/amlogic/mesongx_mmc.c
629
if ((status & STATUS_ERROR) != 0) {
sys/arch/arm/amlogic/mesongx_mmc.c
635
if ((status & STATUS_END_OF_CHAIN) != 0 && (cmd->c_flags & SCF_ITSDONE) == 0) {
sys/arch/arm/apple/apple_dart.c
230
uint32_t status;
sys/arch/arm/apple/apple_dart.c
232
status = DART_READ(sc, DART_ERR_STATUS);
sys/arch/arm/apple/apple_dart.c
235
DART_WRITE(sc, DART_ERR_STATUS, status);
sys/arch/arm/apple/apple_dart.c
237
if ((status & DART_ERR_FLAG) == 0)
sys/arch/arm/apple/apple_dart.c
241
printf("%s: status %#"PRIx32"\n", __func__, status);
sys/arch/arm/apple/apple_dart.c
247
int32_t code = __SHIFTOUT(status, DART_ERR_CODE_MASK);
sys/arch/arm/apple/apple_dart.c
268
device_xname(sc->sc_dev), fdt_path, addr, status, reason);
sys/arch/arm/apple/apple_nvme.c
379
uint32_t ctrl, status;
sys/arch/arm/apple/apple_nvme.c
430
status = bus_space_read_4(sc->sc_iot, sc->sc_ioh, ANS_BOOT_STATUS);
sys/arch/arm/apple/apple_nvme.c
431
if (status != ANS_BOOT_STATUS_OK)
sys/arch/arm/apple/apple_nvme.c
434
status = bus_space_read_4(sc->sc_iot, sc->sc_ioh, ANS_BOOT_STATUS);
sys/arch/arm/apple/apple_nvme.c
435
if (status != ANS_BOOT_STATUS_OK) {
sys/arch/arm/arm/efi_runtime.c
122
efi_status status = EFI_DEVICE_ERROR;
sys/arch/arm/arm/efi_runtime.c
130
status = RT->rt_gettime(tm, tmcap);
sys/arch/arm/arm/efi_runtime.c
135
return status;
sys/arch/arm/arm/efi_runtime.c
141
efi_status status = EFI_DEVICE_ERROR;
sys/arch/arm/arm/efi_runtime.c
149
status = RT->rt_settime(tm);
sys/arch/arm/arm/efi_runtime.c
154
return status;
sys/arch/arm/arm/efi_runtime.c
161
efi_status status = EFI_DEVICE_ERROR;
sys/arch/arm/arm/efi_runtime.c
169
status = RT->rt_getvar(name, vendor, attrib, datasize, data);
sys/arch/arm/arm/efi_runtime.c
174
return status;
sys/arch/arm/arm/efi_runtime.c
180
efi_status status = EFI_DEVICE_ERROR;
sys/arch/arm/arm/efi_runtime.c
188
status = RT->rt_scanvar(namesize, name, vendor);
sys/arch/arm/arm/efi_runtime.c
193
return status;
sys/arch/arm/arm/efi_runtime.c
200
efi_status status = EFI_DEVICE_ERROR;
sys/arch/arm/arm/efi_runtime.c
208
status = RT->rt_setvar(name, vendor, attrib, datasize, data);
sys/arch/arm/arm/efi_runtime.c
213
return status;
sys/arch/arm/at91/at91cf.c
265
int status;
sys/arch/arm/at91/at91cf.c
268
status = ph->ph_status;
sys/arch/arm/at91/at91cf.c
273
DPRINTFN(1, ("at91cf_event_thread: old status=%d, new status=%d\n", status, ph->ph_status));
sys/arch/arm/at91/at91cf.c
275
if (!status && ph->ph_status)
sys/arch/arm/at91/at91cf.c
277
else if (status && !ph->ph_status)
sys/arch/arm/broadcom/bcm2835_emmc.c
368
bcmemmc_dma_done(uint32_t status, uint32_t error, void *arg)
sys/arch/arm/broadcom/bcm2835_emmc.c
373
if (status != (DMAC_CS_INT|DMAC_CS_END))
sys/arch/arm/broadcom/bcm2835_emmc.c
375
status,error);
sys/arch/arm/broadcom/bcm2835_emmc.c
379
if (status & DMAC_CS_END)
sys/arch/arm/broadcom/bcm2835_gpio.c
398
uint32_t status, pending, bit;
sys/arch/arm/broadcom/bcm2835_gpio.c
404
status = pending = bus_space_read_4(sc->sc_iot, sc->sc_ioh,
sys/arch/arm/broadcom/bcm2835_gpio.c
406
if (status == 0)
sys/arch/arm/broadcom/bcm2835_gpio.c
417
BCM2835_GPIO_GPEDS(b->sc_bankno), status);
sys/arch/arm/broadcom/bcm2835_rng.c
132
uint32_t status, cnt;
sys/arch/arm/broadcom/bcm2835_rng.c
136
status = bus_space_read_4(sc->sc_iot, sc->sc_ioh, RNG_STATUS);
sys/arch/arm/broadcom/bcm2835_rng.c
137
cnt = __SHIFTOUT(status, RNG_STATUS_CNT);
sys/arch/arm/broadcom/bcm2835_sdhost.c
452
sdhost_dma_done(uint32_t status, uint32_t error, void *arg)
sys/arch/arm/broadcom/bcm2835_sdhost.c
456
if (status != (DMAC_CS_INT|DMAC_CS_END))
sys/arch/arm/broadcom/bcm2835_sdhost.c
458
status, error);
sys/arch/arm/broadcom/bcm2835_sdhost.c
461
sc->sc_dma_status = status;
sys/arch/arm/broadcom/bcm2835_tmr.c
225
uint32_t curr, status;
sys/arch/arm/broadcom/bcm2835_tmr.c
227
status = bus_space_read_4(sc->sc_iot, sc->sc_ioh,
sys/arch/arm/broadcom/bcm2835_tmr.c
230
if (!(status & BCM2835_STIMER_M3))
sys/arch/arm/broadcom/bcm283x_platform.c
935
vb_edid.vbt_edid.status != 0)
sys/arch/arm/fdt/arm_fdt.c
335
efi_status status;
sys/arch/arm/fdt/arm_fdt.c
337
status = arm_efirt_gettime(&tm, NULL);
sys/arch/arm/fdt/arm_fdt.c
338
if (status != 0)
sys/arch/arm/fdt/arm_fdt.c
356
efi_status status;
sys/arch/arm/fdt/arm_fdt.c
366
status = arm_efirt_settime(&tm);
sys/arch/arm/fdt/arm_fdt.c
367
if (status != 0)
sys/arch/arm/footbridge/footbridge_com.c
568
int status;
sys/arch/arm/footbridge/footbridge_com.c
572
status = bus_space_read_4(iot, ioh, UART_FLAGS);
sys/arch/arm/footbridge/footbridge_com.c
573
if ((status & UART_RX_FULL))
sys/arch/arm/footbridge/footbridge_com.c
576
status = bus_space_read_4(iot, ioh, UART_RX_STAT);
sys/arch/arm/gemini/if_gmc.c
584
uint32_t status;
sys/arch/arm/gemini/if_gmc.c
612
status = int0_status & sc->sc_int_mask[0];
sys/arch/arm/gemini/if_gmc.c
613
if (status & (INT0_TXDERR | INT0_TXPERR)) {
sys/arch/arm/gemini/if_gmc.c
616
status & INT0_TXDERR ? " data" : "",
sys/arch/arm/gemini/if_gmc.c
617
status & INT0_TXPERR ? " protocol" : "",
sys/arch/arm/gemini/if_gmc.c
625
status & (INT0_TXDERR | INT0_TXPERR));
sys/arch/arm/gemini/if_gmc.c
628
if (status & (INT0_RXDERR | INT0_RXPERR)) {
sys/arch/arm/gemini/if_gmc.c
631
status & INT0_RXDERR ? " data" : "",
sys/arch/arm/gemini/if_gmc.c
632
status & INT0_RXPERR ? " protocol" : "",
sys/arch/arm/gemini/if_gmc.c
646
status & (INT0_RXDERR | INT0_RXPERR));
sys/arch/arm/gemini/if_gmc.c
649
if (status & INT0_SWTXQ_EOF) {
sys/arch/arm/gemini/if_gmc.c
650
status &= INT0_SWTXQ_EOF;
sys/arch/arm/gemini/if_gmc.c
651
for (int i = 0; status && i < __arraycount(sc->sc_txq); i++) {
sys/arch/arm/gemini/if_gmc.c
652
if (status & INT0_SWTXQn_EOF(i)) {
sys/arch/arm/gemini/if_gmc.c
658
status &= ~INT0_SWTXQn_EOF(i);
sys/arch/arm/gemini/if_gmc.c
670
status & INT4_SW_FREEQ_EMPTY);
sys/arch/arm/gemini/if_gmc.c
674
status = int1_status & sc->sc_int_mask[1];
sys/arch/arm/gemini/if_gmc.c
675
if (status & INT1_DEF_RXQ_EOF) {
sys/arch/arm/gemini/if_gmc.c
680
status & INT1_DEF_RXQ_EOF);
sys/arch/arm/gemini/if_gmc.c
684
status = int4_status & sc->sc_int_enabled[4];
sys/arch/arm/gemini/if_gmc.c
685
if (status & INT4_TX_FAIL) {
sys/arch/arm/gemini/if_gmc.c
687
if (status & INT4_MIB_HEMIWRAP) {
sys/arch/arm/gemini/if_gmc.c
689
if (status & INT4_RX_XON) {
sys/arch/arm/gemini/if_gmc.c
691
if (status & INT4_RX_XOFF) {
sys/arch/arm/gemini/if_gmc.c
693
if (status & INT4_TX_XON) {
sys/arch/arm/gemini/if_gmc.c
695
if (status & INT4_TX_XOFF) {
sys/arch/arm/gemini/if_gmc.c
697
if (status & INT4_RX_FIFO_OVRN) {
sys/arch/arm/gemini/if_gmc.c
706
if (status & INT4_RGMII_STSCHG) {
sys/arch/arm/gemini/if_gmc.c
709
bus_space_write_4(sc->sc_iot, sc->sc_ioh, GMAC_INT4_STATUS, status);
sys/arch/arm/imx/if_enet.c
1055
uint32_t status;
sys/arch/arm/imx/if_enet.c
1069
status = ENET_REG_READ(sc, ENET_EIR);
sys/arch/arm/imx/if_enet.c
1070
if (status & ENET_EIR_MII)
sys/arch/arm/imx/if_enet.c
407
uint32_t status;
sys/arch/arm/imx/if_enet.c
410
status = ENET_REG_READ(sc, ENET_EIR);
sys/arch/arm/imx/if_enet.c
413
if (status & (ENET_EIR_TXF | ENET_EIR_TXF1 | ENET_EIR_TXF2))
sys/arch/arm/imx/if_enet.c
415
if (status & (ENET_EIR_RXF | ENET_EIR_RXF1 | ENET_EIR_RXF2))
sys/arch/arm/imx/if_enet.c
418
if (status & ENET_EIR_TXF)
sys/arch/arm/imx/if_enet.c
420
if (status & ENET_EIR_RXF)
sys/arch/arm/imx/if_enet.c
424
if (status & ENET_EIR_EBERR) {
sys/arch/arm/imx/if_enet.c
430
ENET_REG_WRITE(sc, ENET_EIR, status);
sys/arch/arm/imx/if_enet.c
433
rnd_add_uint32(&sc->sc_rnd_source, status);
sys/arch/arm/imx/imx51_ipuv3.c
697
uint32_t status;
sys/arch/arm/imx/imx51_ipuv3.c
699
status = IPUV3_READ(ioh, V3CR);
sys/arch/arm/imx/imx51_ipuv3.c
701
IPUV3_WRITE(ioh, V3CR, status);
sys/arch/arm/iomd/iomd_dma.c
147
u_char status = (*dp->dc_st) & DMA_ST_MASK;
sys/arch/arm/iomd/iomd_dma.c
153
printf("dma_intr() status = 0x%02x\n", status);
sys/arch/arm/iomd/iomd_dma.c
163
switch (status) {
sys/arch/arm/iomd/iomd_dma.c
167
if (status & DMA_ST_CHAN) {
sys/arch/arm/iomd/iomd_dma.c
181
if (status & DMA_ST_CHAN) {
sys/arch/arm/iomd/iomd_dma.c
195
printf("DMA ch %d bad status [%x]\n", dp->dc_channel, status);
sys/arch/arm/iomd/vidcaudio.c
506
int status;
sys/arch/arm/iomd/vidcaudio.c
512
status = IOMD_READ_BYTE(IOMD_SD0ST);
sys/arch/arm/iomd/vidcaudio.c
513
DPRINTF(("I[%x]", status));
sys/arch/arm/iomd/vidcaudio.c
514
if ((status & IOMD_DMAST_INT) == 0) {
sys/arch/arm/iomd/vidcaudio.c
523
switch (status &
sys/arch/arm/marvell/dove.c
484
uint32_t control, status, psw, pmucr;
sys/arch/arm/marvell/dove.c
488
status = READ_PMUREG(sc, DOVE_PMU_CPUSDFSSR);
sys/arch/arm/marvell/dove.c
489
status &= DOVE_PMU_CPUSDFSSR_CPUSLOWMODESTTS_MASK;
sys/arch/arm/marvell/dove.c
490
if ((slow && status == DOVE_PMU_CPUSDFSSR_CPUSLOWMODESTTS_SLOW) ||
sys/arch/arm/marvell/dove.c
491
(!slow && status == DOVE_PMU_CPUSDFSSR_CPUSLOWMODESTTS_TURBO))
sys/arch/arm/marvell/dove.c
545
status = READ_PMUREG(sc, DOVE_PMU_CPUSDFSSR);
sys/arch/arm/marvell/dove.c
546
status &= DOVE_PMU_CPUSDFSSR_CPUSLOWMODESTTS_MASK;
sys/arch/arm/marvell/dove.c
547
if ((slow && status == DOVE_PMU_CPUSDFSSR_CPUSLOWMODESTTS_SLOW) ||
sys/arch/arm/marvell/dove.c
548
(!slow && status == DOVE_PMU_CPUSDFSSR_CPUSLOWMODESTTS_TURBO)) {
sys/arch/arm/nvidia/tegra_drm_mode.c
1290
const uint32_t status = DC_READ(tegra_crtc, DC_CMD_INT_STATUS_REG);
sys/arch/arm/nvidia/tegra_drm_mode.c
1292
if (status & DC_CMD_INT_V_BLANK) {
sys/arch/arm/nvidia/tegra_mc.c
136
const uint32_t status = MC_READ(sc, MC_INTSTATUS_REG);
sys/arch/arm/nvidia/tegra_mc.c
138
if (status == 0) {
sys/arch/arm/nvidia/tegra_mc.c
146
status, err_status, err_adr);
sys/arch/arm/nvidia/tegra_mc.c
148
MC_WRITE(sc, MC_INTSTATUS_REG, status);
sys/arch/arm/nvidia/tegra_mc.c
150
return status;
sys/arch/arm/nvidia/tegra_pmc.c
141
uint32_t status, toggle;
sys/arch/arm/nvidia/tegra_pmc.c
147
status = bus_space_read_4(bst, bsh, PMC_PWRGATE_STATUS_0_REG);
sys/arch/arm/nvidia/tegra_pmc.c
148
state = !!(status & __BIT(partid));
sys/arch/arm/nvidia/tegra_soctherm.c
375
uint32_t status;
sys/arch/arm/nvidia/tegra_soctherm.c
377
status = SENSOR_READ(sc, s, SOC_THERM_TSENSOR_STATUS1_OFFSET);
sys/arch/arm/nvidia/tegra_soctherm.c
378
if (status & SOC_THERM_TSENSOR_STATUS1_TEMP_VALID) {
sys/arch/arm/nvidia/tegra_soctherm.c
379
const u_int temp = __SHIFTOUT(status,
sys/arch/arm/ofw/openfirm.c
571
int status;
sys/arch/arm/ofw/openfirm.c
583
return args.status;
sys/arch/arm/pci/pci_smccc.c
111
int status;
sys/arch/arm/pci/pci_smccc.c
113
status = pci_smccc_call(PCI_GET_SEG_INFO, seg, 0, 0, 0,
sys/arch/arm/pci/pci_smccc.c
115
if (status == SMCCC_SUCCESS) {
sys/arch/arm/pci/pci_smccc.c
121
return status;
sys/arch/arm/pci/pci_smccc.c
87
int status;
sys/arch/arm/pci/pci_smccc.c
89
status = pci_smccc_call(PCI_READ, sbdf, offset, access_size, 0,
sys/arch/arm/pci/pci_smccc.c
91
if (status == SMCCC_SUCCESS) {
sys/arch/arm/pci/pci_smccc.c
95
return status;
sys/arch/arm/rockchip/rk3399_pcie.c
212
uint32_t status;
sys/arch/arm/rockchip/rk3399_pcie.c
347
status = HREAD4(sc, PCIE_CLIENT_BASIC_STATUS1);
sys/arch/arm/rockchip/rk3399_pcie.c
348
if (PCBS1_LINK_ST(status) == PCBS1_LS_DL_DONE)
sys/arch/arm/rockchip/rk3399_pcie.c
355
PCBS1_LINK_ST(status));
sys/arch/arm/rockchip/rk3399_pcie.c
366
status = HREAD4(sc, PCIE_LM_CORE_CTRL);
sys/arch/arm/rockchip/rk3399_pcie.c
367
if ((status & PCIE_CORE_PL_CONF_SPEED_MASK) == PCIE_CORE_PL_CONF_SPEED_5G)
sys/arch/arm/rockchip/rk3399_pcie.c
396
status = HREAD4(sc, PCIE_RC_CONFIG_THP_CAP);
sys/arch/arm/rockchip/rk3399_pcie.c
397
status &= ~PCIE_RC_CONFIG_THP_CAP_NEXT_MASK;
sys/arch/arm/rockchip/rk3399_pcie.c
398
HWRITE4(sc, PCIE_RC_CONFIG_THP_CAP, status);
sys/arch/arm/rockchip/rk3399_pcie.c
401
status = HREAD4(sc, PCIE_RC_PCIE_LCAP);
sys/arch/arm/rockchip/rk3399_pcie.c
402
status &= ~__SHIFTIN(1, PCIE_LCAP_ASPM);
sys/arch/arm/rockchip/rk3399_pcie.c
403
HWRITE4(sc, PCIE_RC_PCIE_LCAP, status);
sys/arch/arm/rockchip/rk3399_pcie_phy.c
205
uint32_t status;
sys/arch/arm/rockchip/rk3399_pcie_phy.c
223
status = syscon_read_4(rm, RK3399_GRF_SOC_STATUS1);
sys/arch/arm/rockchip/rk3399_pcie_phy.c
224
if (status & RK3399_PCIE_PHY_PLL_LOCKED)
sys/arch/arm/rockchip/rk3399_pcie_phy.c
240
status = syscon_read_4(rm, RK3399_GRF_SOC_STATUS1);
sys/arch/arm/rockchip/rk3399_pcie_phy.c
241
if ((status & RK3399_PCIE_PHY_PLL_OUTPUT) == 0)
sys/arch/arm/rockchip/rk3399_pcie_phy.c
256
status = syscon_read_4(rm, RK3399_GRF_SOC_STATUS1);
sys/arch/arm/rockchip/rk3399_pcie_phy.c
257
if (status & RK3399_PCIE_PHY_PLL_LOCKED)
sys/arch/arm/rockchip/rk_gpio.c
307
uint32_t status, bit;
sys/arch/arm/rockchip/rk_gpio.c
310
status = RD4(sc, GPIO_INT_STATUS_REG);
sys/arch/arm/rockchip/rk_gpio.c
311
if (status == 0)
sys/arch/arm/rockchip/rk_gpio.c
314
WR4(sc, GPIO_PORTA_EOI_REG, status);
sys/arch/arm/rockchip/rk_gpio.c
316
while ((bit = ffs32(status)) != 0) {
sys/arch/arm/rockchip/rk_gpio.c
317
status &= ~__BIT(bit - 1);
sys/arch/arm/rockchip/rk_platform.c
92
const char *status = fdt_getprop(fdt_data,
sys/arch/arm/rockchip/rk_platform.c
94
if (status == NULL || strncmp(status, "ok", 2) == 0) {
sys/arch/arm/s3c2xx0/s3c2440_dma.c
172
uint32_t status;
sys/arch/arm/s3c2xx0/s3c2440_dma.c
184
status = bus_space_read_4(sc->sc_iot, sc->sc_dmach, DMA_STAT(channel));
sys/arch/arm/s3c2xx0/s3c2440_dma.c
185
DPRINTF(("Channel %d status: %d\n", channel, status));
sys/arch/arm/s3c2xx0/s3c2440_dma.c
187
if ( !(status & DMASTAT_BUSY) ) {
sys/arch/arm/s3c2xx0/s3c2440_dma.c
232
if ( !(status & DMASTAT_BUSY) ) {
sys/arch/arm/s3c2xx0/s3c2440_dma.c
257
status = bus_space_read_4(sc->sc_iot, sc->sc_dmach, DMA_CSRC(channel));
sys/arch/arm/s3c2xx0/s3c2440_dma.c
258
printf("Current source for channel %d: 0x%x\n", channel, status);
sys/arch/arm/s3c2xx0/s3c2440_dma.c
260
status = bus_space_read_4(sc->sc_iot, sc->sc_dmach, DMA_CDST(channel));
sys/arch/arm/s3c2xx0/s3c2440_dma.c
261
printf("Current dest for channel %d: 0x%x\n", channel, status);
sys/arch/arm/s3c2xx0/s3c2440_dma.c
609
int status;
sys/arch/arm/s3c2xx0/s3c2440_dma.c
612
if ( (status = cv_timedwait(&sc->sc_intr_cv,
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
387
int status = 0;
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
511
status = sssdi_wait_intr(sc, SDI_CMD_SENT | SDI_CMD_TIMEOUT, mstohz(SDI_CMD_WAIT_TIME));
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
513
if (status & SDI_CMD_TIMEOUT) {
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
517
} else if (status & SDICMDSTA_CMD_SENT) {
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
529
status = sssdi_wait_intr(sc, SDI_RESP_FIN | SDI_DATA_TIMEOUT, 100);
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
530
if (status & SDI_CMD_TIMEOUT || status & SDI_DATA_TIMEOUT) {
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
565
status = bus_space_read_4(sc->iot, sc->ioh, SDI_DAT_CNT);
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
568
SDIDATCNT_BLK_CNT(status)));
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
570
SDIDATCNT_BLK_NUM_CNT(status)));
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
622
status = sssdi_wait_intr(sc, SDI_DATA_FIN | SDI_DATA_TIMEOUT, 1000);
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
623
if (status & SDI_CMD_TIMEOUT || status & SDI_DATA_TIMEOUT) {
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
681
uint32_t status;
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
693
status = sssdi_wait_intr(sc, SDI_FIFO_TX_EMPTY, 1000);
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
699
status = bus_space_read_4(sc->iot, sc->ioh, SDI_DAT_CNT);
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
701
SDIDATCNT_BLK_CNT(status)));
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
703
SDIDATCNT_BLK_NUM_CNT(status)));
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
706
status = bus_space_read_4(sc->iot,sc->ioh, SDI_DAT_STA);
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
707
DPRINTF(("PIO Write Data Status: 0x%X\n", status));
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
709
if (status & SDIDATSTA_DATA_TIMEOUT) {
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
744
uint32_t status;
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
749
status = bus_space_read_4(sc->iot, sc->ioh, SDI_CMD_STA);
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
751
if (status & SDICMDSTA_CMD_TIMEOUT) {
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
756
if (status & SDICMDSTA_CMD_SENT) {
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
761
if (status & SDICMDSTA_RSP_FIN) {
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
770
status = bus_space_read_4(sc->iot, sc->ioh, SDI_DAT_FSTA);
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
771
if (status & SDIDATFSTA_RF_FULL) {
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
776
if (status & SDIDATFSTA_RF_LAST) {
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
781
if (status & SDIDATFSTA_TF_EMPTY) {
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
789
status = bus_space_read_4(sc->iot, sc->ioh, SDI_DAT_STA);
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
790
if (status & SDIDATSTA_DATA_FIN) {
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
796
if (status & SDIDATSTA_DATA_TIMEOUT) {
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
852
uint32_t status;
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
857
status = sc->intr_status & mask;
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
858
while(status == 0) {
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
863
status |= SDI_CMD_TIMEOUT;
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
867
status = sc->intr_status & mask;
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
870
sc->intr_status &= ~status;
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
873
return status;
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
178
static uint32_t status;
sys/arch/arm/sociox/if_scx.c
1531
uint32_t enable, status;
sys/arch/arm/sociox/if_scx.c
1533
status = CSR_READ(sc, xINTSR); /* not W1C */
sys/arch/arm/sociox/if_scx.c
1535
if ((status & enable) == 0)
sys/arch/arm/sociox/if_scx.c
1537
if (status & (IRQ_TX | IRQ_RX)) {
sys/arch/arm/sociox/if_scx.c
1540
status = CSR_READ(sc, RXISR);
sys/arch/arm/sociox/if_scx.c
1541
CSR_WRITE(sc, RXISR, status);
sys/arch/arm/sociox/if_scx.c
1542
if (status & RXI_RC_ERR)
sys/arch/arm/sociox/if_scx.c
1544
if (status & (RXI_PKTCNT | RXI_TMREXP)) {
sys/arch/arm/sociox/if_scx.c
1549
status = CSR_READ(sc, TXISR);
sys/arch/arm/sociox/if_scx.c
1550
CSR_WRITE(sc, TXISR, status);
sys/arch/arm/sociox/if_scx.c
1551
if (status & TXI_TR_ERR)
sys/arch/arm/sociox/if_scx.c
1553
if (status & (TXI_TXDONE | TXI_TMREXP)) {
sys/arch/arm/sunxi/sunxi_emac.c
325
uint32_t status, size;
sys/arch/arm/sunxi/sunxi_emac.c
328
status = 0;
sys/arch/arm/sunxi/sunxi_emac.c
332
status = TX_DESC_CTL;
sys/arch/arm/sunxi/sunxi_emac.c
339
sc->tx.desc_ring[index].status = htole32(status);
sys/arch/arm/sunxi/sunxi_emac.c
393
uint32_t status, size;
sys/arch/arm/sunxi/sunxi_emac.c
395
status = RX_DESC_CTL;
sys/arch/arm/sunxi/sunxi_emac.c
402
sc->rx.desc_ring[index].status = htole32(status);
sys/arch/arm/sunxi/sunxi_emac.c
788
uint32_t status;
sys/arch/arm/sunxi/sunxi_emac.c
797
status = le32toh(sc->rx.desc_ring[index].status);
sys/arch/arm/sunxi/sunxi_emac.c
798
if ((status & RX_DESC_CTL) != 0)
sys/arch/arm/sunxi/sunxi_emac.c
806
len = (status & RX_FRM_LEN) >> RX_FRM_LEN_SHIFT;
sys/arch/arm/sunxi/sunxi_emac.c
816
(status & RX_FRM_TYPE) != 0) {
sys/arch/arm/sunxi/sunxi_emac.c
819
if ((status & RX_HEADER_ERR) != 0)
sys/arch/arm/sunxi/sunxi_emac.c
822
if ((status & RX_PAYLOAD_ERR) != 0)
sys/arch/arm/sunxi/sunxi_emac.c
856
uint32_t status;
sys/arch/arm/sunxi/sunxi_emac.c
867
status = le32toh(desc->status);
sys/arch/arm/sunxi/sunxi_emac.c
868
if ((status & TX_DESC_CTL) != 0)
sys/arch/arm/sunxi/sunxi_emac.h
151
uint32_t status;
sys/arch/arm/sunxi/sunxi_gpio.c
446
uint32_t status, bit;
sys/arch/arm/sunxi/sunxi_gpio.c
451
status = GPIO_READ(sc, SUNXI_GPIO_INT_STATUS(bank));
sys/arch/arm/sunxi/sunxi_gpio.c
452
if (status == 0)
sys/arch/arm/sunxi/sunxi_gpio.c
454
GPIO_WRITE(sc, SUNXI_GPIO_INT_STATUS(bank), status);
sys/arch/arm/sunxi/sunxi_gpio.c
456
while ((bit = ffs32(status)) != 0) {
sys/arch/arm/sunxi/sunxi_gpio.c
457
status &= ~__BIT(bit - 1);
sys/arch/arm/sunxi/sunxi_nand.c
161
const uint32_t status = NAND_READ(sc, NDFC_ST);
sys/arch/arm/sunxi/sunxi_nand.c
162
return __SHIFTOUT(status, NDFC_ST_RB_STATE(chip->chip_rb));
sys/arch/arm/sunxi/sunxi_nand.c
168
uint32_t status;
sys/arch/arm/sunxi/sunxi_nand.c
172
status = NAND_READ(sc, NDFC_ST);
sys/arch/arm/sunxi/sunxi_nand.c
173
if ((status & mask) == val)
sys/arch/arm/sunxi/sunxi_nand.c
181
status, mask, val);
sys/arch/arm/sunxi/sunxi_nand.c
487
uint32_t status;
sys/arch/arm/sunxi/sunxi_nand.c
491
status = NAND_READ(sc, NDFC_ST) & NDFC_ST_INT_MASK;
sys/arch/arm/sunxi/sunxi_nand.c
492
if (status) {
sys/arch/arm/sunxi/sunxi_nand.c
493
sc->sc_intr |= status;
sys/arch/arm/sunxi/sunxi_nand.c
494
NAND_WRITE(sc, NDFC_ST, status);
sys/arch/arm/sunxi/sunxi_platform.c
286
const char *status = fdt_getprop(fdt_data,
sys/arch/arm/sunxi/sunxi_platform.c
288
if (status == NULL || strncmp(status, "ok", 2) == 0) {
sys/arch/arm/ti/omap2_nand.c
168
uint8_t status;
sys/arch/arm/ti/omap2_nand.c
177
status = bus_space_read_1(sc->sc_iot,
sys/arch/arm/ti/omap2_nand.c
180
return !(status & ONFI_STATUS_RDY);
sys/arch/arm/ti/ti_gpio.c
570
uint32_t status;
sys/arch/arm/ti/ti_gpio.c
574
status = RD4(sc, GPIO_IRQSTATUS1);
sys/arch/arm/ti/ti_gpio.c
575
WR4(sc, GPIO_IRQSTATUS1, status);
sys/arch/arm/ti/ti_gpio.c
577
while ((bit = ffs32(status)) != 0) {
sys/arch/arm/ti/ti_gpio.c
581
status &= ~pin_mask;
sys/arch/arm/xilinx/zynq_platform.c
233
const char *status = fdt_getprop(fdt_data,
sys/arch/arm/xilinx/zynq_platform.c
235
if (status == NULL || strncmp(status, "ok", 2) == 0) {
sys/arch/arm/xscale/ixp425_npe.c
1293
uint32_t status;
sys/arch/arm/xscale/ixp425_npe.c
1295
status = npe_reg_read(sc, IX_NPESTAT);
sys/arch/arm/xscale/ixp425_npe.c
1296
if ((status & IX_NPESTAT_OFINT) == 0) {
sys/arch/arm/xscale/ixp425_npe.c
1298
printf("%s: %s: status 0x%x\n", device_xname(sc->sc_dev), __func__, status);
sys/arch/arm/xscale/ixp425_qmgr.c
418
uint32_t status = aqm_reg_read(sc, qi->qUOStatRegAddr);
sys/arch/arm/xscale/ixp425_qmgr.c
425
if ((status & qi->qOflowStatBitMask) ||
sys/arch/arm/xscale/ixp425_qmgr.c
426
((status = aqm_reg_read(sc, qi->qUOStatRegAddr)) & qi->qOflowStatBitMask)) {
sys/arch/arm/xscale/ixp425_qmgr.c
431
status & ~qi->qOflowStatBitMask);
sys/arch/arm/xscale/ixp425_qmgr.c
485
uint32_t status = aqm_reg_read(sc, qi->qUOStatRegAddr);
sys/arch/arm/xscale/ixp425_qmgr.c
487
if (status & qi->qUflowStatBitMask) { /* clear underflow status */
sys/arch/arm/xscale/ixp425_qmgr.c
489
status &~ qi->qUflowStatBitMask);
sys/arch/arm/xscale/ixp425_qmgr.c
524
uint32_t status = aqm_reg_read(sc, qi->qUOStatRegAddr);
sys/arch/arm/xscale/ixp425_qmgr.c
526
if (status & qi->qUflowStatBitMask) { /* clear underflow status */
sys/arch/arm/xscale/ixp425_qmgr.c
528
status &~ qi->qUflowStatBitMask);
sys/arch/arm/xscale/ixp425_qmgr.c
542
uint32_t status;
sys/arch/arm/xscale/ixp425_qmgr.c
546
status = aqm_reg_read(sc, qi->qStatRegAddr);
sys/arch/arm/xscale/ixp425_qmgr.c
549
status = (status >> qi->qStatBitsOffset) & QLOWSTATMASK;
sys/arch/arm/xscale/ixp425_qmgr.c
551
status = 0;
sys/arch/arm/xscale/ixp425_qmgr.c
553
status |= IX_QMGR_Q_STATUS_NE_BIT_MASK; /* nearly empty */
sys/arch/arm/xscale/ixp425_qmgr.c
555
status |= IX_QMGR_Q_STATUS_F_BIT_MASK; /* full */
sys/arch/arm/xscale/ixp425_qmgr.c
557
return status;
sys/arch/arm/xscale/pxa2x0_ac97.c
863
acu_tx_loop_segment(struct dmac_xfer *dx, int status)
sys/arch/arm/xscale/pxa2x0_ac97.c
874
if (status) {
sys/arch/arm/xscale/pxa2x0_ac97.c
877
status);
sys/arch/arm/xscale/pxa2x0_ac97.c
886
acu_rx_loop_segment(struct dmac_xfer *dx, int status)
sys/arch/arm/xscale/pxa2x0_ac97.c
897
if (status) {
sys/arch/arm/xscale/pxa2x0_ac97.c
900
status);
sys/arch/arm/xscale/pxa2x0_i2s.c
408
pxa2x0_i2s_dmac_ointr(struct dmac_xfer *dx, int status)
sys/arch/arm/xscale/pxa2x0_i2s.c
420
if (status) {
sys/arch/arm/xscale/pxa2x0_i2s.c
422
"non-zero completion status %d\n", status);
sys/arch/arm/xscale/pxa2x0_i2s.c
431
pxa2x0_i2s_dmac_iintr(struct dmac_xfer *dx, int status)
sys/arch/arm/xscale/pxa2x0_i2s.c
443
if (status) {
sys/arch/arm/xscale/pxa2x0_i2s.c
445
"non-zero completion status %d\n", status);
sys/arch/arm/xscale/pxa2x0_lcd.c
319
uint32_t status;
sys/arch/arm/xscale/pxa2x0_lcd.c
321
status = bus_space_read_4(iot, ioh, LCDC_LCSR);
sys/arch/arm/xscale/pxa2x0_lcd.c
323
bus_space_write_4(iot, ioh, LCDC_LCSR, status);
sys/arch/arm/xscale/pxa2x0_mci.c
1017
pxamci_dmac_iintr(struct dmac_xfer *dx, int status)
sys/arch/arm/xscale/pxa2x0_mci.c
1022
device_xname(sc->sc_dev), status));
sys/arch/arm/xscale/pxa2x0_mci.c
1024
if (status) {
sys/arch/arm/xscale/pxa2x0_mci.c
1026
"non-zero completion status %d\n", status);
sys/arch/arm/xscale/pxa2x0_mci.c
1031
pxamci_dmac_ointr(struct dmac_xfer *dx, int status)
sys/arch/arm/xscale/pxa2x0_mci.c
1036
device_xname(sc->sc_dev), status));
sys/arch/arm/xscale/pxa2x0_mci.c
1038
if (status == 0) {
sys/arch/arm/xscale/pxa2x0_mci.c
1044
"non-zero completion status %d\n", status);
sys/arch/arm/xscale/pxa2x0_mci.c
751
int status;
sys/arch/arm/xscale/pxa2x0_mci.c
757
status = CSR_READ_4(sc, MMC_I_REG) & ~CSR_READ_4(sc, MMC_I_MASK);
sys/arch/arm/xscale/pxa2x0_mci.c
759
status));
sys/arch/arm/xscale/pxa2x0_mci.c
765
if (ISSET(status, MMC_I_CLK_IS_OFF)) {
sys/arch/arm/xscale/pxa2x0_mci.c
769
CLR(status, MMC_I_CLK_IS_OFF);
sys/arch/arm/xscale/pxa2x0_mci.c
775
if (ISSET(status, MMC_I_RES_ERR)) {
sys/arch/arm/xscale/pxa2x0_mci.c
779
CLR(status, MMC_I_RES_ERR|MMC_I_END_CMD_RES);
sys/arch/arm/xscale/pxa2x0_mci.c
794
if (ISSET(status, MMC_I_END_CMD_RES)) {
sys/arch/arm/xscale/pxa2x0_mci.c
799
CLR(status, MMC_I_END_CMD_RES);
sys/arch/arm/xscale/pxa2x0_mci.c
801
if (ISSET(status, MMC_I_PRG_DONE)) {
sys/arch/arm/xscale/pxa2x0_mci.c
803
CLR(status, MMC_I_PRG_DONE);
sys/arch/arm/xscale/pxa2x0_mci.c
809
if (ISSET(status, MMC_I_DAT_ERR)) {
sys/arch/arm/xscale/pxa2x0_mci.c
823
CLR(status, MMC_I_DAT_ERR);
sys/arch/arm/xscale/pxa2x0_mci.c
825
if (ISSET(status, MMC_I_DATA_TRAN_DONE)) {
sys/arch/arm/xscale/pxa2x0_mci.c
827
CLR(status, MMC_I_DATA_TRAN_DONE);
sys/arch/arm/xscale/pxa2x0_mci.c
832
if (ISSET(status, MMC_I_DATA_TRAN_DONE)) {
sys/arch/arm/xscale/pxa2x0_mci.c
837
CLR(status, MMC_I_DATA_TRAN_DONE);
sys/arch/arm/xscale/pxa2x0_mci.c
840
if (ISSET(status, MMC_I_TXFIFO_WR_REQ|MMC_I_RXFIFO_RD_REQ)) {
sys/arch/arm/xscale/pxa2x0_mci.c
844
CLR(status, MMC_I_TXFIFO_WR_REQ|MMC_I_RXFIFO_RD_REQ);
sys/arch/arm/xscale/pxa2x0_mci.c
847
if (ISSET(status, STAT_SDIO_INT)) {
sys/arch/arm/xscale/pxa2x0_mci.c
851
CLR(status, STAT_SDIO_INT);
sys/arch/arm/xscale/pxa2x0_mci.c
856
if (status != 0) {
sys/arch/arm/xscale/pxa2x0_mci.c
857
pxamci_disable_intr(sc, status);
sys/arch/arm/xscale/pxa2x0_mci.c
860
"unhandled interrupt 0x%x out of 0x%x\n", status, ostatus);
sys/arch/arm/xscale/pxa2x0_mci.c
870
uint32_t status;
sys/arch/arm/xscale/pxa2x0_mci.c
916
status = CSR_READ_4(sc, MMC_STAT);
sys/arch/arm/xscale/pxa2x0_mci.c
919
CLR(status, STAT_TIMEOUT_RESPONSE);
sys/arch/arm/xscale/pxa2x0_mci.c
923
CLR(status, STAT_RES_CRC_ERR);
sys/arch/arm/xscale/pxa2x0_mci.c
925
if (ISSET(status, STAT_TIMEOUT_RESPONSE))
sys/arch/arm/xscale/pxa2x0_mci.c
927
else if (ISSET(status, STAT_RES_CRC_ERR)
sys/arch/arm/xscale/pxa2x0_mci.c
937
} else if (ISSET(status, STAT_ERR))
sys/arch/atari/dev/fd.c
1051
int status;
sys/arch/atari/dev/fd.c
1061
status = read_fdreg(FDC_CS);
sys/arch/atari/dev/fd.c
1070
status = read_dmastat();
sys/arch/atari/dev/fd.c
1071
if ((status & DMAOK) == 0) {
sys/arch/atari/dev/fd.c
1078
status = read_fdreg(FDC_CS);
sys/arch/atari/dev/fd.c
1079
if ((status & (RNF | CRCERR | LD_T00)) != 0) {
sys/arch/atari/dev/fd.c
1081
if ((status & RNF) != 0)
sys/arch/atari/dev/fd.c
1090
status = read_dmastat();
sys/arch/atari/dev/fd.c
1091
if ((status & DMAOK) == 0) {
sys/arch/atari/dev/fd.c
1098
status = read_fdreg(FDC_CS);
sys/arch/atari/dev/fd.c
1099
if ((status & WRI_PRO) != 0) {
sys/arch/atari/dev/fd.c
1103
if ((status & (RNF | CRCERR | LD_T00)) != 0) {
sys/arch/atari/dev/fd.c
1110
status = read_fdreg(FDC_CS);
sys/arch/atari/dev/fd.c
1111
if ((status & (RNF | CRCERR)) != 0) {
sys/arch/atari/dev/fd.c
1121
status = read_fdreg(FDC_CS);
sys/arch/atari/dev/fd.c
1122
if ((status & RNF) != 0) {
sys/arch/atari/dev/fd.c
1131
if ((status & WRI_PRO) != 0)
sys/arch/atari/dev/fd.c
1261
int status;
sys/arch/atari/dev/fd.c
1275
status = read_fdreg(FDC_CS);
sys/arch/atari/dev/fd.c
1276
if ((status & (RNF|BUSY)) != 0) {
sys/arch/atari/dev/fd.c
1281
if ((status & LD_T00) == 0)
sys/arch/atari/dev/hdfd.c
738
u_char status;
sys/arch/atari/dev/hdfd.c
742
status = fd->sc_drive;
sys/arch/atari/dev/hdfd.c
744
status = 0;
sys/arch/atari/dev/hdfd.c
746
status |= FDO_FRST | FDO_FDMAEN;
sys/arch/atari/dev/hdfd.c
749
status |= FDO_MOEN(n);
sys/arch/atari/dev/hdfd.c
750
wrt_fdc_reg(fdout, status);
sys/arch/atari/dev/ncr5380.c
1104
reqp->status = tmp;
sys/arch/atari/dev/ncr5380.c
1620
switch (reqp->status & SCSMASK) {
sys/arch/atari/dev/ncr5380.c
1651
if ((reqp->status & SCSMASK) != SCSGOOD)
sys/arch/atari/dev/ncr5380.c
1655
reqp->status = SCSCHKC;
sys/arch/atari/dev/ncr5380.c
2005
reqp->xcmd.opcode, reqp->status, reqp->message,
sys/arch/atari/dev/ncr5380.c
2008
if (reqp->status == SCSCHKC)
sys/arch/atari/dev/ncr5380.c
310
reqp->status = SCSGOOD;
sys/arch/atari/dev/ncr5380.c
378
tmp->status = SCSGOOD;
sys/arch/atari/dev/ncr5380reg.h
198
uint8_t status; /* returned status byte */
sys/arch/atari/stand/tostools/libtos/xexit.c
52
xexit(int status)
sys/arch/atari/stand/tostools/libtos/xexit.c
55
exit(status);
sys/arch/bebox/stand/boot/fd.c
398
volatile int status;
sys/arch/bebox/stand/boot/fd.c
402
while (((status = inb(FDC_STATUS(ctlr))) & (RQM | DIO))
sys/arch/bebox/stand/boot/fd.c
405
printf("fdc_out: timeout status = 0x%x\n", status);
sys/arch/bebox/stand/boot/fd.c
420
volatile int status;
sys/arch/bebox/stand/boot/fd.c
424
while ((status = inb(FDC_STATUS(ctlr)) & (RQM | DIO))
sys/arch/bebox/stand/boot/fd.c
426
if (status == RQM) {
sys/arch/bebox/stand/boot/sdvar.h
104
uint8_t status; /* SCSI status */
sys/arch/bebox/stand/boot/sdvar.h
61
uint32_t status; /* 32 */
sys/arch/bebox/stand/boot/siop.c
1152
xs.status = SCSI_OK;
sys/arch/bebox/stand/boot/siop.c
117
xfer->siop_tables.status =
sys/arch/bebox/stand/boot/siop.c
479
xs->status = ctoh32(siop_xfer->siop_tables.status);
sys/arch/bebox/stand/boot/siop.c
480
if (xs->status == SCSI_OK)
sys/arch/bebox/stand/boot/siop.c
495
switch(xs->status) {
sys/arch/bebox/stand/boot/siop.c
517
printf("invalid status code %d\n", xs->status);
sys/arch/bebox/stand/boot/siop.c
576
if (xs->error == XS_BUSY || xs->status == SCSI_CHECK)
sys/arch/bebox/stand/boot/siop.c
614
xs->status = SCSI_OK;
sys/arch/bebox/stand/boot/siop.c
703
const int off_status = offsetof(struct siop_common_xfer, status);
sys/arch/bebox/stand/boot/siop.c
811
xs.status = SCSI_OK;
sys/arch/bebox/stand/boot/siop.c
844
sense.status = SCSI_OK;
sys/arch/cobalt/cobalt/interrupt.c
416
cpu_intr(int ppl, vaddr_t pc, uint32_t status)
sys/arch/cobalt/cobalt/interrupt.c
429
cf.sr = status;
sys/arch/emips/emips/interrupt.c
122
(*platform.iointr)(status, pc, ipending);
sys/arch/emips/emips/interrupt.c
131
(*platform.iointr)(status, pc, ipending);
sys/arch/emips/emips/interrupt.c
140
emips_aic_intr(uint32_t status, vaddr_t pc, uint32_t ipending)
sys/arch/emips/emips/interrupt.c
145
cf.sr = status;
sys/arch/emips/emips/interrupt.c
98
cpu_intr(int ppl, vaddr_t pc, uint32_t status)
sys/arch/emips/emips/machdep.c
714
unimpl_iointr(uint32_t status, vaddr_t pc, uint32_t ipending)
sys/arch/epoc32/dev/etna.c
213
int status;
sys/arch/epoc32/dev/etna.c
215
status = bus_space_read_1(sc->sc_iot, sc->sc_ioh, ETNA_INT_STATUS);
sys/arch/epoc32/dev/etna.c
216
bus_space_write_1(sc->sc_iot, sc->sc_ioh, ETNA_INT_CLEAR, status);
sys/arch/epoc32/dev/etna.c
227
int status;
sys/arch/epoc32/dev/etna.c
231
status = bus_space_read_1(sc->sc_iot, sc->sc_ioh, ETNA_SKT_STATUS);
sys/arch/epoc32/dev/etna.c
232
if ((status & SKT_CARD_OUT) != SKT_CARD_OUT)
sys/arch/evbarm/hdl_g/btn_obio.c
130
int status;
sys/arch/evbarm/hdl_g/btn_obio.c
133
status = (int8_t)bus_space_read_1(sc->sc_iot, sc->sc_ioh, 0);
sys/arch/evbarm/hdl_g/btn_obio.c
134
if (status == -1) {
sys/arch/evbarm/hdl_g/btn_obio.c
139
status = ~status;
sys/arch/evbarm/hdl_g/btn_obio.c
140
if (status & BTNSTAT_POWER) {
sys/arch/evbarm/hdl_g/btn_obio.c
152
} else if (status & BTNSTAT_RESET) {
sys/arch/evbarm/iyonix/iyonix_pci.c
198
int status;
sys/arch/evbarm/iyonix/iyonix_pci.c
209
status = pci_conf_read_byte(pc, tag, 0x7e);
sys/arch/evbarm/iyonix/iyonix_pci.c
210
pci_conf_write_byte(pc, tag, 0x7e, status & ~0x80);
sys/arch/evbarm/rpi/vcprop.h
441
uint32_t status;
sys/arch/evbarm/stand/boot2440/dev_sdmmc.c
1358
int function, void *status)
sys/arch/evbarm/stand/boot2440/dev_sdmmc.c
1390
memcpy(status, ptr, statlen);
sys/arch/evbarm/stand/boot2440/dev_sdmmc.c
360
char status[64];
sys/arch/evbarm/stand/boot2440/dev_sdmmc.c
440
error = sdmmc_mem_sd_switch(sc, 0, 1, 0, status);
sys/arch/evbarm/stand/boot2440/s3csdi.c
161
int status = 0;
sys/arch/evbarm/stand/boot2440/s3csdi.c
250
status = SDI_REG(SDI_CMD_STA);
sys/arch/evbarm/stand/boot2440/s3csdi.c
251
if (status & SDICMDSTA_RSP_FIN) {
sys/arch/evbarm/stand/boot2440/s3csdi.c
254
if (status & SDICMDSTA_CMD_TIMEOUT) {
sys/arch/evbarm/stand/boot2440/s3csdi.c
259
DPRINTF(("Status: 0x%X\n", status));
sys/arch/evbarm/stand/boot2440/s3csdi.c
260
if (status & SDICMDSTA_CMD_TIMEOUT) {
sys/arch/evbarm/stand/boot2440/s3csdi.c
294
status = SDI_REG(SDI_DAT_CNT);
sys/arch/evbarm/stand/boot2440/s3csdi.c
297
SDIDATCNT_BLK_CNT(status)));
sys/arch/evbarm/stand/boot2440/s3csdi.c
299
SDIDATCNT_BLK_NUM_CNT(status)));
sys/arch/evbarm/stand/boot2440/s3csdi.c
344
uint32_t status;
sys/arch/evbarm/stand/boot2440/s3csdi.c
359
status = SDI_REG(SDI_DAT_FSTA);
sys/arch/evbarm/stand/boot2440/s3csdi.c
360
} while( !(status & SDIDATFSTA_RF_FULL) && !(status & SDIDATFSTA_RF_LAST));
sys/arch/evbarm/stand/boot2440/s3csdi.c
384
uint32_t status;
sys/arch/evbarm/stand/boot2440/s3csdi.c
396
status = sssdi_wait_intr(sc, SDI_FIFO_TX_EMPTY, 1000);
sys/arch/evbarm/stand/boot2440/s3csdi.c
402
status = bus_space_read_4(sc->iot, sc->ioh, SDI_DAT_CNT);
sys/arch/evbarm/stand/boot2440/s3csdi.c
404
SDIDATCNT_BLK_CNT(status)));
sys/arch/evbarm/stand/boot2440/s3csdi.c
406
SDIDATCNT_BLK_NUM_CNT(status)));
sys/arch/evbarm/stand/boot2440/s3csdi.c
409
status = bus_space_read_4(sc->iot,sc->ioh, SDI_DAT_STA);
sys/arch/evbarm/stand/boot2440/s3csdi.c
410
DPRINTF(("PIO Write Data Status: 0x%X\n", status));
sys/arch/evbarm/stand/boot2440/s3csdi.c
412
if (status & SDIDATSTA_DATA_TIMEOUT) {
sys/arch/evbmips/alchemy/dbau1550.c
257
uint16_t status;
sys/arch/evbmips/alchemy/dbau1550.c
261
status = GET16(DBAU1550_STATUS);
sys/arch/evbmips/alchemy/dbau1550.c
264
status >>= DBAU1550_STATUS_PCMCIA0_VS_SHIFT;
sys/arch/evbmips/alchemy/dbau1550.c
268
status >>= DBAU1550_STATUS_PCMCIA1_VS_SHIFT;
sys/arch/evbmips/alchemy/dbau1550.c
275
status &= DBAU1550_STATUS_PCMCIA_VS_MASK;
sys/arch/evbmips/alchemy/dbau1550.c
276
switch (status) {
sys/arch/evbmips/alchemy/dbau1550.c
291
status = GET16(DBAU1550_PCMCIA);
sys/arch/evbmips/alchemy/dbau1550.c
294
status &= ~(DBAU1550_PCMCIA_MASK << shift);
sys/arch/evbmips/alchemy/dbau1550.c
296
status |= vcc << shift;
sys/arch/evbmips/alchemy/dbau1550.c
297
status |= vpp << shift;
sys/arch/evbmips/alchemy/dbau1550.c
299
PUT16(DBAU1550_PCMCIA, status);
sys/arch/evbmips/alchemy/dbau1550.c
301
tsleep(&status, PWAIT, "pcmcia_reset_0", mstohz(100));
sys/arch/evbmips/alchemy/dbau1550.c
303
status |= (DBAU1550_PCMCIA_DRV_EN << shift);
sys/arch/evbmips/alchemy/dbau1550.c
304
PUT16(DBAU1550_PCMCIA, status);
sys/arch/evbmips/alchemy/dbau1550.c
306
tsleep(&status, PWAIT, "pcmcia_reset_start", mstohz(300));
sys/arch/evbmips/alchemy/dbau1550.c
309
status |= (DBAU1550_PCMCIA_RST << shift);
sys/arch/evbmips/alchemy/dbau1550.c
310
PUT16(DBAU1550_PCMCIA, status);
sys/arch/evbmips/alchemy/dbau1550.c
314
tsleep(&status, PWAIT, "pcmcia_reset_finish", mstohz(1000));
sys/arch/evbmips/alchemy/dbau1550.c
323
uint16_t status;
sys/arch/evbmips/alchemy/dbau1550.c
325
status = GET16(DBAU1550_PCMCIA);
sys/arch/evbmips/alchemy/dbau1550.c
326
status &= ~(DBAU1550_PCMCIA_MASK);
sys/arch/evbmips/alchemy/dbau1550.c
327
PUT16(DBAU1550_PCMCIA, status);
sys/arch/evbmips/alchemy/dbau1550.c
334
uint16_t status, mask;
sys/arch/evbmips/alchemy/dbau1550.c
335
status = GET16(DBAU1550_STATUS);
sys/arch/evbmips/alchemy/dbau1550.c
348
return ((mask & status) ? 0 : 1);
sys/arch/evbmips/alchemy/dbau1550.c
369
uint16_t status;
sys/arch/evbmips/alchemy/dbau1550.c
372
status = GET16(DBAU1550_BOARD_SPECIFIC);
sys/arch/evbmips/alchemy/dbau1550.c
375
status |= DBAU1550_SPI_DEV_SEL;
sys/arch/evbmips/alchemy/dbau1550.c
377
status &= ~DBAU1550_SPI_DEV_SEL;
sys/arch/evbmips/alchemy/dbau1550.c
379
PUT16(DBAU1550_BOARD_SPECIFIC, status);
sys/arch/evbmips/cavium/machdep.c
330
int status;
sys/arch/evbmips/cavium/machdep.c
340
status = octuart_com_cnattach(
sys/arch/evbmips/cavium/machdep.c
344
if (status != 0)
sys/arch/evbmips/evbmips/interrupt.c
51
cpu_intr(int ppl, vaddr_t pc, uint32_t status)
sys/arch/evbmips/evbmips/interrupt.c
76
.sr = status,
sys/arch/evbmips/loongson/dev/kb3310.c
383
sc->sc_sensor[YKBEC_CAP].status = ISSET(bat_status, BAT_STATUS_BAT_LOW) ?
sys/arch/evbmips/loongson/dev/stvii.c
253
int status = 0, st, cnt = 4;
sys/arch/evbmips/loongson/dev/stvii.c
274
if ((status & (STS_LID_CLOSED | STS_POWER_BTN_DOWN) )
sys/arch/evbmips/loongson/dev/stvii.c
276
st = status | STS_POWER_BTN_DOWN;
sys/arch/evbmips/loongson/dev/stvii.c
279
if ((st != -1) && (st != status)) {
sys/arch/evbmips/loongson/dev/stvii.c
280
if ((status ^ st) & STS_LID_CLOSED) {
sys/arch/evbmips/loongson/dev/stvii.c
286
if ((status ^ st) & STS_AC_AVAILABLE) {
sys/arch/evbmips/loongson/dev/stvii.c
292
if ((status ^ st) & STS_POWER_BTN_DOWN) {
sys/arch/evbmips/loongson/dev/stvii.c
298
status = st;
sys/arch/evbmips/loongson/dev/stvii.c
300
sc->sc_flags = status;
sys/arch/evbmips/sbmips/cpu.c
137
int status;
sys/arch/evbmips/sbmips/cpu.c
147
status = cfe_cpu_start(ci->ci_cpuid, cpu_trampoline,
sys/arch/evbmips/sbmips/cpu.c
150
if (status != 0) {
sys/arch/evbmips/sbmips/cpu.c
152
status);
sys/arch/evbmips/sbmips/rtc.c
187
uint8_t status;
sys/arch/evbmips/sbmips/rtc.c
202
status = READRTC(sc, X1241REG_SR);
sys/arch/evbmips/sbmips/rtc.c
204
if (status & X1241REG_SR_RTCF) {
sys/arch/evbmips/sbmips/rtc.c
438
uint64_t status;
sys/arch/evbmips/sbmips/rtc.c
443
status = READ_REG(reg);
sys/arch/evbmips/sbmips/rtc.c
444
if (status & M_SMB_BUSY)
sys/arch/evbmips/sbmips/rtc.c
449
if (status & M_SMB_ERROR) {
sys/arch/evbmips/sbmips/rtc.c
450
WRITE_REG(reg, (status & M_SMB_ERROR));
sys/arch/evbmips/sbmips/sb1250_icu.c
189
sb1250_ipi_intr(void *arg, uint32_t status, vaddr_t pc)
sys/arch/evbmips/sbmips/sb1250_icu.c
290
sb1250_cpu_intr(int ppl, vaddr_t pc, uint32_t status)
sys/arch/evbmips/sbmips/sb1250_icu.c
327
(*ihp->ih_fun)(ihp->ih_arg, status, pc);
sys/arch/evbmips/sbmips/systemsw.c
80
cpu_intr_triv(int ppl, vaddr_t pc, uint32_t status)
sys/arch/evbmips/sbmips/systemsw.c
87
cpu_intr(int ppl, vaddr_t pc, uint32_t status)
sys/arch/evbmips/sbmips/systemsw.c
90
(*systemsw.s_cpu_intr)(ppl, pc, status);
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
206
cfe_exit(int warm, int status)
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
215
xiocb.plist.xiocb_exitstat.status = status;
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
191
int cfe_exit(int warm,int status);
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
128
cfe_xint_t status;
sys/arch/evbsh3/nextvod/stasc.c
188
uint32_t status;
sys/arch/evbsh3/nextvod/stasc.c
192
status = ASC_INT_STA;
sys/arch/evbsh3/nextvod/stasc.c
193
if (!ISSET(status, ASC_INT_STA_RBF)) {
sys/arch/evbsh3/nextvod/stasc.c
209
uint32_t timo, status;
sys/arch/evbsh3/nextvod/stasc.c
214
status = ASC_INT_STA;
sys/arch/evbsh3/nextvod/stasc.c
215
} while (ISSET(status, ASC_INT_STA_TF) && --timo);
sys/arch/ews4800mips/ews4800mips/interrupt.c
66
cpu_intr(int ppl, vaddr_t pc, uint32_t status)
sys/arch/ews4800mips/ews4800mips/interrupt.c
70
(*platform_intr)(ppl, pc, status);
sys/arch/ews4800mips/ews4800mips/tr2_intr.c
146
tr2_intr(int ppl, vaddr_t pc, uint32_t status)
sys/arch/ews4800mips/ews4800mips/tr2_intr.c
156
cf.sr = status;
sys/arch/ews4800mips/ews4800mips/tr2a_intr.c
173
tr2a_intr(int ppl, vaddr_t pc, uint32_t status)
sys/arch/ews4800mips/ews4800mips/tr2a_intr.c
185
cf.sr = status;
sys/arch/ews4800mips/stand/common/cons_zskbd.c
124
zskbd_set_addr(uint32_t status, uint32_t data)
sys/arch/ews4800mips/stand/common/cons_zskbd.c
126
zskbd.status = (volatile uint8_t *)status;
sys/arch/ews4800mips/stand/common/cons_zskbd.c
169
if ((*zskbd.status & 0x01) != 0x01)
sys/arch/ews4800mips/stand/common/cons_zskbd.c
172
while ((*zskbd.status & 0x01) != 0x01)
sys/arch/ews4800mips/stand/common/cons_zskbd.c
243
while ((*zskbd.status & 0x20) != 0x20)
sys/arch/ews4800mips/stand/common/cons_zskbd.c
245
} while ((*zskbd.status & 0x4) != 0x4);
sys/arch/ews4800mips/stand/common/console.h
89
volatile uint8_t *status;
sys/arch/hp300/dev/gboxreg.h
62
while ((((volatile struct gboxfb *)(regaddr))->status & 0x80) == 0) \
sys/arch/hp300/dev/gboxreg.h
76
uint8_t status; /* Status register 0x4001 */
sys/arch/hp300/dev/intiovar.h
80
uint8_t status;
sys/arch/hp300/dev/intiovar.h
88
status = bus_space_read_1(bst, bsh, INTIO_DEV_3xx_STAT);
sys/arch/hp300/dev/intiovar.h
90
} while (((status >> INTIO_DEV_SRSHIFT) & INTIO_DEV_SRMASK)
sys/arch/hp300/stand/common/grf_gbreg.h
58
while ((((struct gboxfb *)(regaddr))->status & 0x80) == 0)
sys/arch/hp300/stand/common/grf_gbreg.h
92
vu_char status; /* Status register 0x4001 */
sys/arch/hp300/stand/common/hil.c
231
int status, c;
sys/arch/hp300/stand/common/hil.c
234
status = hiladdr->hil_stat;
sys/arch/hp300/stand/common/hil.c
235
if ((status & HIL_DATA_RDY) == 0)
sys/arch/hp300/stand/common/hil.c
238
switch ((status>>KBD_SSHIFT) & KBD_SMASK) {
sys/arch/hp300/stand/common/scsireg.h
482
u_int status; /* completion status of last op */
sys/arch/hpc/stand/hpcboot/arm/arm_pxa2x0.cpp
446
uint32_t dir, altfn, redge, fedge, status;
sys/arch/hpc/stand/hpcboot/arm/arm_pxa2x0.cpp
483
status = VOLATILE_REF(gpio + GPIO_OFFSET(i, 0x00));
sys/arch/hpc/stand/hpcboot/arm/arm_pxa2x0.cpp
484
status = (status >> (i % 32)) & 1;
sys/arch/hpc/stand/hpcboot/arm/arm_pxa2x0.cpp
485
DPRINTF((TEXT("%s"), status ? TEXT("high") : TEXT("low")));
sys/arch/hpcarm/dev/j720pwr.c
352
uint32_t status;
sys/arch/hpcarm/dev/j720pwr.c
354
status = bus_space_read_4(ssp->sc_iot, ssp->sc_gpioh, SAGPIO_PLR);
sys/arch/hpcarm/dev/j720pwr.c
356
return status & (1 << 4);
sys/arch/hpcarm/dev/j720pwr.c
363
uint32_t status;
sys/arch/hpcarm/dev/j720pwr.c
365
status = bus_space_read_4(ssp->sc_iot, ssp->sc_gpioh, SAGPIO_PLR);
sys/arch/hpcarm/dev/j720pwr.c
367
return status & (1 << 26);
sys/arch/hpcarm/dev/wzero3_keypad.c
501
uint16_t status;
sys/arch/hpcarm/dev/wzero3_keypad.c
514
status = wzero3ssp_ic_send(WZERO3_SSP_IC_AK4184_KEYPAD,
sys/arch/hpcarm/dev/wzero3_keypad.c
516
} while ((status & 0xc000) == 0 && timo-- > 0);
sys/arch/hpcarm/dev/wzero3_keypad.c
520
if ((status & 0xc000) == 0xc000) {
sys/arch/hpcarm/dev/wzero3_tp.c
607
uint32_t status;
sys/arch/hpcarm/dev/wzero3_tp.c
615
while ((status = (wzero3ssp_ic_send(WZERO3_SSP_IC_MAX1233,
sys/arch/hpcarm/dev/wzero3_tp.c
619
DPRINTF(("%s: status=%#x\n", __func__, status));
sys/arch/hpcarm/dev/wzero3_tp.c
622
DPRINTF(("%s: status=%#x\n", __func__, status));
sys/arch/hpcmips/hpcmips/interrupt.c
65
cpu_intr(int ppl, vaddr_t pc, uint32_t status)
sys/arch/hpcmips/hpcmips/interrupt.c
68
(*platform.cpu_intr)(ppl, pc, status);
sys/arch/hpcmips/stand/lcboot/i28f128.c
106
int status;
sys/arch/hpcmips/stand/lcboot/i28f128.c
112
status = REGREAD_2(addr, 0);
sys/arch/hpcmips/stand/lcboot/i28f128.c
113
} while (!ISSET(status, I28F128_S_READY));
sys/arch/hpcmips/stand/lcboot/i28f128.c
118
return status & (I28F128_S_PROG_ERROR
sys/arch/hpcmips/stand/lcboot/i28f128.c
127
int status;
sys/arch/hpcmips/stand/lcboot/i28f128.c
141
if ((status = block_erase(dst)) != 0)
sys/arch/hpcmips/stand/lcboot/i28f128.c
142
return status;
sys/arch/hpcmips/stand/lcboot/i28f128.c
150
status = REGREAD_2(dst, 0);
sys/arch/hpcmips/stand/lcboot/i28f128.c
151
} while (!ISSET(status, I28F128_XS_BUF_AVAIL));
sys/arch/hpcmips/stand/lcboot/i28f128.c
162
status = REGREAD_2(dst, 0);
sys/arch/hpcmips/stand/lcboot/i28f128.c
163
} while (!(status & I28F128_S_READY));
sys/arch/hpcmips/stand/lcboot/i28f128.c
176
int status;
sys/arch/hpcmips/stand/lcboot/i28f128.c
185
if ((status = block_write(q, p)) != 0)
sys/arch/hpcmips/stand/lcboot/i28f128.c
186
return status;
sys/arch/hpcmips/stand/lcboot/i28f128.c
196
if ((status = block_erase(q)) != 0)
sys/arch/hpcmips/stand/lcboot/i28f128.c
197
return status;
sys/arch/hpcmips/stand/lcboot/i28f128.c
203
if ((status = word_program(q++, *p++)) != 0)
sys/arch/hpcmips/stand/lcboot/i28f128.c
204
return status;
sys/arch/hpcmips/stand/lcboot/i28f128.c
86
int status;
sys/arch/hpcmips/stand/lcboot/i28f128.c
92
status = REGREAD_2(addr, 0);
sys/arch/hpcmips/stand/lcboot/i28f128.c
93
} while (!ISSET(status, I28F128_S_READY));
sys/arch/hpcmips/stand/lcboot/i28f128.c
98
return status & (I28F128_S_ERASE_SUSPEND
sys/arch/hpcmips/stand/lcboot/main.c
679
int status;
sys/arch/hpcmips/stand/lcboot/main.c
693
if ((status = i28f128_region_write((void *) dst, (void *) src, len))
sys/arch/hpcmips/stand/lcboot/main.c
695
printf("write mem to flash failed status = %x\n", status);
sys/arch/hpcmips/tx/tx39icu.c
306
TX_INTR(int ppl, vaddr_t pc, uint32_t status)
sys/arch/hpcmips/tx/tx39icu.c
346
tx39_irqhigh_intr(ipending, pc, status);
sys/arch/hpcmips/tx/tx39icu.c
436
tx39_irqhigh_intr(uint32_t ipending, vaddr_t pc, uint32_t status)
sys/arch/hpcmips/tx/tx39icu.c
453
cf.sr = status;
sys/arch/hpcmips/vr/flash_vrip.c
509
int status;
sys/arch/hpcmips/vr/flash_vrip.c
515
status = 0;
sys/arch/hpcmips/vr/flash_vrip.c
519
if ((status = bus_space_read_2(iot, ioh, offset))
sys/arch/hpcmips/vr/flash_vrip.c
524
status |= FLASH_TIMEOUT;
sys/arch/hpcmips/vr/flash_vrip.c
529
return status & (FLASH_TIMEOUT
sys/arch/hpcmips/vr/flash_vrip.c
543
int status;
sys/arch/hpcmips/vr/flash_vrip.c
554
status = 0;
sys/arch/hpcmips/vr/flash_vrip.c
558
status = bus_space_read_2(iot, ioh, offset);
sys/arch/hpcmips/vr/flash_vrip.c
559
if (status & I28F128_XS_BUF_AVAIL)
sys/arch/hpcmips/vr/flash_vrip.c
564
status |= FLASH_TIMEOUT;
sys/arch/hpcmips/vr/flash_vrip.c
578
status = bus_space_read_2(iot, ioh, offset);
sys/arch/hpcmips/vr/flash_vrip.c
579
} while (!(status & I28F128_S_READY));
sys/arch/hpcmips/vr/flash_vrip.c
592
status &= (FLASH_TIMEOUT
sys/arch/hpcmips/vr/flash_vrip.c
598
return status;
sys/arch/hpcmips/vr/flash_vrip.c
659
int status;
sys/arch/hpcmips/vr/flash_vrip.c
686
if ((status = amd_erase_sector(sc, offset)) != 0)
sys/arch/hpcmips/vr/flash_vrip.c
687
return status;
sys/arch/hpcmips/vr/rtc.c
225
vrrtc_intr(void *arg, vaddr_t pc, uint32_t status)
sys/arch/hpcmips/vr/rtc.c
232
cf.sr = status;
sys/arch/hpcmips/vr/vr.c
538
VR_INTR(int ppl, vaddr_t pc, uint32_t status)
sys/arch/hpcmips/vr/vr.c
551
(*vr_intr_handler[1])(vr_intr_arg[1], pc, status);
sys/arch/hpcmips/vr/vr.c
555
(*vr_intr_handler[0])(vr_intr_arg[0], pc, status);
sys/arch/hpcmips/vr/vr.c
583
vr_null_handler(void *arg, vaddr_t pc, uint32_t status)
sys/arch/hpcmips/vr/vrc4173bcu.c
620
u_int32_t *status /* Level 2 status */)
sys/arch/hpcmips/vr/vrc4173bcu.c
629
*status = reg;
sys/arch/hpcmips/vr/vrip.c
495
vrip_intr(void *arg, vaddr_t pc, u_int32_t status)
sys/arch/hpcmips/vr/vripif.h
108
#define vrip_intr_getstatus2(vc, handle, status) \
sys/arch/hpcmips/vr/vripif.h
109
((*(vc)->vc_intr_getstatus2)((vc), (handle), (status)))
sys/arch/hppa/dev/elroy.c
1293
elroy_read32(&r->status) & htole32(ELROY_STATUS_RC); DELAY(10));
sys/arch/hppa/dev/elroy.c
1298
htole32(r->status));
sys/arch/hppa/dev/elroyreg.h
63
uint32_t status; /* 0x10c */
sys/arch/hppa/dev/power.c
371
const char *status;
sys/arch/hppa/dev/power.c
374
status = "on";
sys/arch/hppa/dev/power.c
376
status = "off";
sys/arch/hppa/dev/power.c
379
node.sysctl_data = __UNCONST(status);
sys/arch/hppa/spmath/dfadd.c
54
dbl_floating_point *dstptr, unsigned int *status)
sys/arch/hppa/spmath/dfcmp.c
55
unsigned int cond, unsigned int *status)
sys/arch/hppa/spmath/dfdiv.c
56
dbl_floating_point *dstptr, unsigned int *status)
sys/arch/hppa/spmath/dfmpy.c
56
dbl_floating_point *dstptr, unsigned int *status)
sys/arch/hppa/spmath/dfrem.c
55
dbl_floating_point *dstptr, unsigned int *status)
sys/arch/hppa/spmath/dfsqrt.c
57
unsigned int *status)
sys/arch/hppa/spmath/dfsub.c
55
dbl_floating_point *dstptr, unsigned int *status)
sys/arch/hppa/spmath/fcnvff.c
142
unsigned int *status)
sys/arch/hppa/spmath/fcnvff.c
58
unsigned int *status)
sys/arch/hppa/spmath/fcnvfx.c
153
unsigned int *status)
sys/arch/hppa/spmath/fcnvfx.c
274
unsigned int *status)
sys/arch/hppa/spmath/fcnvfx.c
393
unsigned int *status)
sys/arch/hppa/spmath/fcnvfx.c
57
unsigned int *status)
sys/arch/hppa/spmath/fcnvfxt.c
120
unsigned int *status)
sys/arch/hppa/spmath/fcnvfxt.c
192
unsigned int *status)
sys/arch/hppa/spmath/fcnvfxt.c
254
unsigned int *status)
sys/arch/hppa/spmath/fcnvfxt.c
59
unsigned int *status)
sys/arch/hppa/spmath/fcnvxf.c
124
unsigned int *status)
sys/arch/hppa/spmath/fcnvxf.c
171
unsigned int *status)
sys/arch/hppa/spmath/fcnvxf.c
272
unsigned int *status)
sys/arch/hppa/spmath/fcnvxf.c
57
unsigned int *status)
sys/arch/hppa/spmath/float.h
437
#define Fpustatus_register (*status)
sys/arch/hppa/spmath/fpudispatch.c
121
unsigned *status;
sys/arch/hppa/spmath/fpudispatch.c
127
status = &fpregs[0]; /* fp status register */
sys/arch/hppa/spmath/fpudispatch.c
175
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
178
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
187
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
190
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
219
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
222
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
230
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
233
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
236
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
239
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
245
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
248
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
251
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
254
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
260
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
263
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
266
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
269
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
289
extru(ir,fptpos,5),status));
sys/arch/hppa/spmath/fpudispatch.c
292
extru(ir,fptpos,5),status));
sys/arch/hppa/spmath/fpudispatch.c
332
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
335
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
344
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
347
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
356
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
359
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
368
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
371
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
380
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
383
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
399
unsigned *status;
sys/arch/hppa/spmath/fpudispatch.c
401
status = &fpregs[0];
sys/arch/hppa/spmath/fpudispatch.c
447
&fpregs[t], status));
sys/arch/hppa/spmath/fpudispatch.c
450
&fpregs[t], status));
sys/arch/hppa/spmath/fpudispatch.c
459
&fpregs[t], status));
sys/arch/hppa/spmath/fpudispatch.c
462
&fpregs[t], status));
sys/arch/hppa/spmath/fpudispatch.c
482
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
485
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
493
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
496
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
499
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
502
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
508
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
511
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
514
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
517
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
523
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
526
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
529
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
532
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
555
extru(ir,fptpos,5),status));
sys/arch/hppa/spmath/fpudispatch.c
558
extru(ir,fptpos,5),status));
sys/arch/hppa/spmath/fpudispatch.c
577
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
580
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
586
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
589
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
623
&fpregs[r2],&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
626
&fpregs[r2],&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
633
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
636
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
642
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
645
&fpregs[t],status));
sys/arch/hppa/spmath/fpudispatch.c
662
unsigned status;
sys/arch/hppa/spmath/fpudispatch.c
670
status = fpregs[0]; /* use a local copy of status reg */
sys/arch/hppa/spmath/fpudispatch.c
691
&status))
sys/arch/hppa/spmath/fpudispatch.c
694
&status))
sys/arch/hppa/spmath/fpudispatch.c
704
&status))
sys/arch/hppa/spmath/fpudispatch.c
707
&status))
sys/arch/hppa/spmath/fpudispatch.c
720
fpregs[0] = status;
sys/arch/hppa/spmath/fpudispatch.c
746
&status))
sys/arch/hppa/spmath/fpudispatch.c
751
(unsigned *) &atmp,&status))
sys/arch/hppa/spmath/fpudispatch.c
759
&status))
sys/arch/hppa/spmath/fpudispatch.c
762
&status))
sys/arch/hppa/spmath/fpudispatch.c
771
fpregs[0] = status;
sys/arch/hppa/spmath/fpudispatch.c
786
unsigned status;
sys/arch/hppa/spmath/fpudispatch.c
794
status = fpregs[0];
sys/arch/hppa/spmath/fpudispatch.c
814
&status))
sys/arch/hppa/spmath/fpudispatch.c
817
&status))
sys/arch/hppa/spmath/fpudispatch.c
827
fpregs[0] = status;
sys/arch/hppa/spmath/fpudispatch.c
852
&status))
sys/arch/hppa/spmath/fpudispatch.c
855
&status))
sys/arch/hppa/spmath/fpudispatch.c
863
fpregs[0] = status;
sys/arch/hppa/spmath/frnd.c
162
unsigned int *status)
sys/arch/hppa/spmath/frnd.c
263
unsigned int *status)
sys/arch/hppa/spmath/frnd.c
60
unsigned int *status)
sys/arch/hppa/spmath/sfadd.c
55
sgl_floating_point *dstptr, unsigned int *status)
sys/arch/hppa/spmath/sfcmp.c
55
unsigned int cond, unsigned int *status)
sys/arch/hppa/spmath/sfdiv.c
55
sgl_floating_point *dstptr, unsigned int *status)
sys/arch/hppa/spmath/sfmpy.c
55
sgl_floating_point *dstptr, unsigned int *status)
sys/arch/hppa/spmath/sfrem.c
55
sgl_floating_point *dstptr, unsigned int *status)
sys/arch/hppa/spmath/sfsqrt.c
57
unsigned int *status)
sys/arch/hppa/spmath/sfsub.c
55
sgl_floating_point *dstptr, unsigned int *status)
sys/arch/i386/include/fenv.h
93
uint16_t status; /* Status word register */
sys/arch/i386/isa/mms.c
212
u_char status;
sys/arch/i386/isa/mms.c
226
status = bus_space_read_1(iot, ioh, MMS_DATA);
sys/arch/i386/isa/mms.c
228
if (status & 0x40) {
sys/arch/i386/isa/mms.c
244
buttons = ((status & 0x04) ? 0x1 : 0) |
sys/arch/i386/isa/mms.c
245
((status & 0x02) ? 0x2 : 0) |
sys/arch/i386/isa/mms.c
246
((status & 0x01) ? 0x4 : 0);
sys/arch/i386/isa/mms.c
247
changed = status & 0x38;
sys/arch/i386/pci/glxsb.c
276
uint32_t status, value;
sys/arch/i386/pci/glxsb.c
279
status = bus_space_read_4(sc->sc_iot, sc->sc_ioh, SB_RANDOM_NUM_STATUS);
sys/arch/i386/pci/glxsb.c
280
if (status & SB_RNS_TRNG_VALID) {
sys/arch/i386/pci/glxsb.c
376
uint32_t status;
sys/arch/i386/pci/glxsb.c
430
status = bus_space_read_4(sc->sc_iot, sc->sc_ioh, SB_CTL_A);
sys/arch/i386/pci/glxsb.c
432
if ((status & SB_CTL_ST) == 0) /* Done */
sys/arch/i386/stand/efiboot/boot.c
837
EFI_STATUS status;
sys/arch/i386/stand/efiboot/boot.c
846
status = uefi_call_wrapper(ST->ConOut->QueryMode, 4, ST->ConOut,
sys/arch/i386/stand/efiboot/boot.c
848
if (EFI_ERROR(status) || rows <= 2)
sys/arch/i386/stand/efiboot/boot.c
856
status = LibLocateHandle(ByProtocol, &DevicePathProtocol, NULL,
sys/arch/i386/stand/efiboot/boot.c
858
if (EFI_ERROR(status))
sys/arch/i386/stand/efiboot/boot.c
862
status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i],
sys/arch/i386/stand/efiboot/boot.c
864
if (EFI_ERROR(status))
sys/arch/i386/stand/efiboot/boot.c
908
EFI_STATUS status;
sys/arch/i386/stand/efiboot/boot.c
916
status = uefi_call_wrapper(ST->ConOut->QueryMode, 4, ST->ConOut,
sys/arch/i386/stand/efiboot/boot.c
918
if (EFI_ERROR(status) || rows <= 2)
sys/arch/i386/stand/efiboot/boot.c
936
status = uefi_call_wrapper(RT->GetNextVariableName, 3,
sys/arch/i386/stand/efiboot/boot.c
938
if (EFI_ERROR(status)) {
sys/arch/i386/stand/efiboot/boot.c
939
if (status == EFI_NOT_FOUND)
sys/arch/i386/stand/efiboot/boot.c
941
if (status != EFI_BUFFER_TOO_SMALL) {
sys/arch/i386/stand/efiboot/boot.c
943
(uintmax_t)status);
sys/arch/i386/stand/efiboot/bootia32/efibootia32.c
46
EFI_STATUS status;
sys/arch/i386/stand/efiboot/bootia32/efibootia32.c
52
status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateMaxAddress,
sys/arch/i386/stand/efiboot/bootia32/efibootia32.c
54
if (EFI_ERROR(status))
sys/arch/i386/stand/efiboot/bootia32/efibootia32.c
56
__func__, sz, (uintmax_t)status);
sys/arch/i386/stand/efiboot/bootia32/efibootia32.c
62
status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateMaxAddress,
sys/arch/i386/stand/efiboot/bootia32/efibootia32.c
64
if (EFI_ERROR(status))
sys/arch/i386/stand/efiboot/bootia32/efibootia32.c
66
__func__, sz, (uintmax_t)status);
sys/arch/i386/stand/efiboot/bootx64/efibootx64.c
46
EFI_STATUS status;
sys/arch/i386/stand/efiboot/bootx64/efibootx64.c
52
status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateMaxAddress,
sys/arch/i386/stand/efiboot/bootx64/efibootx64.c
54
if (EFI_ERROR(status))
sys/arch/i386/stand/efiboot/bootx64/efibootx64.c
56
__func__, sz, (uintmax_t)status);
sys/arch/i386/stand/efiboot/bootx64/efibootx64.c
62
status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateMaxAddress,
sys/arch/i386/stand/efiboot/bootx64/efibootx64.c
64
if (EFI_ERROR(status))
sys/arch/i386/stand/efiboot/bootx64/efibootx64.c
66
__func__, sz, (uintmax_t)status);
sys/arch/i386/stand/efiboot/efiboot.c
100
if (EFI_ERROR(status))
sys/arch/i386/stand/efiboot/efiboot.c
101
panic("SetWatchdogTimer: %" PRIxMAX, (uintmax_t)status);
sys/arch/i386/stand/efiboot/efiboot.c
111
EFI_STATUS status;
sys/arch/i386/stand/efiboot/efiboot.c
127
status = uefi_call_wrapper(BS->ExitBootServices, 2, IH, MapKey);
sys/arch/i386/stand/efiboot/efiboot.c
128
if (EFI_ERROR(status)) {
sys/arch/i386/stand/efiboot/efiboot.c
132
status = uefi_call_wrapper(BS->ExitBootServices, 2, IH, MapKey);
sys/arch/i386/stand/efiboot/efiboot.c
133
if (EFI_ERROR(status))
sys/arch/i386/stand/efiboot/efiboot.c
152
EFI_STATUS status;
sys/arch/i386/stand/efiboot/efiboot.c
155
status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateMaxAddress,
sys/arch/i386/stand/efiboot/efiboot.c
157
if (EFI_ERROR(status))
sys/arch/i386/stand/efiboot/efiboot.c
159
__func__, sz, status);
sys/arch/i386/stand/efiboot/efiboot.c
56
EFI_STATUS status;
sys/arch/i386/stand/efiboot/efiboot.c
63
efi_main_sp = (uintptr_t)&status;
sys/arch/i386/stand/efiboot/efiboot.c
70
status = uefi_call_wrapper(BS->HandleProtocol, 3, IH,
sys/arch/i386/stand/efiboot/efiboot.c
72
if (EFI_ERROR(status))
sys/arch/i386/stand/efiboot/efiboot.c
74
(uintmax_t)status);
sys/arch/i386/stand/efiboot/efiboot.c
75
status = uefi_call_wrapper(BS->HandleProtocol, 3, efi_li->DeviceHandle,
sys/arch/i386/stand/efiboot/efiboot.c
77
if (EFI_ERROR(status))
sys/arch/i386/stand/efiboot/efiboot.c
79
(uintmax_t)status);
sys/arch/i386/stand/efiboot/efiboot.c
99
status = uefi_call_wrapper(BS->SetWatchdogTimer, 4, 0, 0, 0, NULL);
sys/arch/i386/stand/efiboot/eficons.c
1001
status = uefi_call_wrapper(serio->Read, 3, serio, &sz, &c);
sys/arch/i386/stand/efiboot/eficons.c
1002
if (!EFI_ERROR(status) && sz > 0)
sys/arch/i386/stand/efiboot/eficons.c
1004
if (status != EFI_TIMEOUT && EFI_ERROR(status))
sys/arch/i386/stand/efiboot/eficons.c
1006
(uintmax_t)status);
sys/arch/i386/stand/efiboot/eficons.c
1014
EFI_STATUS status;
sys/arch/i386/stand/efiboot/eficons.c
1024
status = uefi_call_wrapper(serio->Write, 3, serio, &sz, &buf);
sys/arch/i386/stand/efiboot/eficons.c
1025
if (EFI_ERROR(status) || sz < 1)
sys/arch/i386/stand/efiboot/eficons.c
1034
EFI_STATUS status;
sys/arch/i386/stand/efiboot/eficons.c
1047
status = uefi_call_wrapper(serio->Read, 3, serio, &sz, &c);
sys/arch/i386/stand/efiboot/eficons.c
1048
if (EFI_ERROR(status) || sz < 1)
sys/arch/i386/stand/efiboot/eficons.c
1070
EFI_STATUS status;
sys/arch/i386/stand/efiboot/eficons.c
1073
status = uefi_call_wrapper(BS->CreateEvent, 5, EVT_TIMER, 0, NULL, NULL,
sys/arch/i386/stand/efiboot/eficons.c
1075
if (EFI_ERROR(status))
sys/arch/i386/stand/efiboot/eficons.c
1078
status = uefi_call_wrapper(BS->CreateEvent, 5,
sys/arch/i386/stand/efiboot/eficons.c
1081
if (EFI_ERROR(status)) {
sys/arch/i386/stand/efiboot/eficons.c
1086
status = uefi_call_wrapper(BS->SetTimer, 3, periodic, TimerPeriodic,
sys/arch/i386/stand/efiboot/eficons.c
1088
if (EFI_ERROR(status)) {
sys/arch/i386/stand/efiboot/eficons.c
1093
status = WaitForSingleEvent(&timer, timeout);
sys/arch/i386/stand/efiboot/eficons.c
1097
if (!EFI_ERROR(status))
sys/arch/i386/stand/efiboot/eficons.c
1099
if (status == EFI_TIMEOUT)
sys/arch/i386/stand/efiboot/eficons.c
284
EFI_STATUS status;
sys/arch/i386/stand/efiboot/eficons.c
294
status = uefi_call_wrapper(ST->ConIn->ReadKeyStroke, 2, ST->ConIn,
sys/arch/i386/stand/efiboot/eficons.c
296
while (status == EFI_NOT_READY) {
sys/arch/i386/stand/efiboot/eficons.c
298
status = uefi_call_wrapper(ST->ConIn->ReadKeyStroke, 2,
sys/arch/i386/stand/efiboot/eficons.c
320
EFI_STATUS status;
sys/arch/i386/stand/efiboot/eficons.c
326
status = uefi_call_wrapper(ST->ConIn->ReadKeyStroke, 2, ST->ConIn,
sys/arch/i386/stand/efiboot/eficons.c
328
if (EFI_ERROR(status))
sys/arch/i386/stand/efiboot/eficons.c
339
EFI_STATUS status;
sys/arch/i386/stand/efiboot/eficons.c
341
status = WaitForSingleEvent(ST->ConIn->WaitForKey, timeout);
sys/arch/i386/stand/efiboot/eficons.c
342
if (!EFI_ERROR(status))
sys/arch/i386/stand/efiboot/eficons.c
344
if (status == EFI_TIMEOUT)
sys/arch/i386/stand/efiboot/eficons.c
480
EFI_STATUS status;
sys/arch/i386/stand/efiboot/eficons.c
498
status = uefi_call_wrapper(efi_gop->SetMode, 2, efi_gop,
sys/arch/i386/stand/efiboot/eficons.c
500
if (EFI_ERROR(status) || efi_gop->Mode->Mode != bestmode) {
sys/arch/i386/stand/efiboot/eficons.c
502
(uintmax_t)status);
sys/arch/i386/stand/efiboot/eficons.c
506
status = uefi_call_wrapper(efi_gop->QueryMode, 4,
sys/arch/i386/stand/efiboot/eficons.c
508
if (EFI_ERROR(status)) {
sys/arch/i386/stand/efiboot/eficons.c
510
(uintmax_t)status);
sys/arch/i386/stand/efiboot/eficons.c
575
EFI_STATUS status;
sys/arch/i386/stand/efiboot/eficons.c
581
status = uefi_call_wrapper(ST->ConOut->QueryMode, 4,
sys/arch/i386/stand/efiboot/eficons.c
583
if (EFI_ERROR(status))
sys/arch/i386/stand/efiboot/eficons.c
593
EFI_STATUS status;
sys/arch/i386/stand/efiboot/eficons.c
599
status = uefi_call_wrapper(ST->ConOut->QueryMode, 4,
sys/arch/i386/stand/efiboot/eficons.c
601
if (EFI_ERROR(status))
sys/arch/i386/stand/efiboot/eficons.c
614
EFI_STATUS status;
sys/arch/i386/stand/efiboot/eficons.c
632
status = uefi_call_wrapper(ST->ConOut->SetMode, 2, ST->ConOut, modenum);
sys/arch/i386/stand/efiboot/eficons.c
633
if (!EFI_ERROR(status))
sys/arch/i386/stand/efiboot/eficons.c
643
EFI_STATUS status;
sys/arch/i386/stand/efiboot/eficons.c
653
status = uefi_call_wrapper(efi_gop->QueryMode, 4, efi_gop, i,
sys/arch/i386/stand/efiboot/eficons.c
655
if (EFI_ERROR(status) && status == EFI_NOT_STARTED) {
sys/arch/i386/stand/efiboot/eficons.c
656
status = uefi_call_wrapper(efi_gop->SetMode, 2,
sys/arch/i386/stand/efiboot/eficons.c
658
status = uefi_call_wrapper(efi_gop->QueryMode, 4,
sys/arch/i386/stand/efiboot/eficons.c
661
if (EFI_ERROR(status))
sys/arch/i386/stand/efiboot/eficons.c
702
EFI_STATUS status;
sys/arch/i386/stand/efiboot/eficons.c
710
status = uefi_call_wrapper(efi_gop->QueryMode, 4, efi_gop, i,
sys/arch/i386/stand/efiboot/eficons.c
712
if (EFI_ERROR(status))
sys/arch/i386/stand/efiboot/eficons.c
738
EFI_STATUS status;
sys/arch/i386/stand/efiboot/eficons.c
761
status = uefi_call_wrapper(efi_gop->SetMode, 2, efi_gop, modenum);
sys/arch/i386/stand/efiboot/eficons.c
762
if (!EFI_ERROR(status) && efi_gop->Mode->Mode == modenum) {
sys/arch/i386/stand/efiboot/eficons.c
774
EFI_STATUS status;
sys/arch/i386/stand/efiboot/eficons.c
785
status = uefi_call_wrapper(ST->ConOut->QueryMode, 4,
sys/arch/i386/stand/efiboot/eficons.c
787
if (EFI_ERROR(status))
sys/arch/i386/stand/efiboot/eficons.c
827
EFI_STATUS status;
sys/arch/i386/stand/efiboot/eficons.c
831
status = LibLocateProtocol(&ConsoleControlProtocol, (void **)&cci);
sys/arch/i386/stand/efiboot/eficons.c
832
if (!EFI_ERROR(status)) {
sys/arch/i386/stand/efiboot/eficons.c
865
EFI_STATUS status;
sys/arch/i386/stand/efiboot/eficons.c
886
status = LibLocateHandle(ByProtocol, &SerialIoProtocol, NULL,
sys/arch/i386/stand/efiboot/eficons.c
888
if (EFI_ERROR(status))
sys/arch/i386/stand/efiboot/eficons.c
897
status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i],
sys/arch/i386/stand/efiboot/eficons.c
899
if (EFI_ERROR(status))
sys/arch/i386/stand/efiboot/eficons.c
923
status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i],
sys/arch/i386/stand/efiboot/eficons.c
925
if (EFI_ERROR(status))
sys/arch/i386/stand/efiboot/eficons.c
945
EFI_STATUS status;
sys/arch/i386/stand/efiboot/eficons.c
957
status = uefi_call_wrapper(serio->SetAttributes, 7, serio,
sys/arch/i386/stand/efiboot/eficons.c
961
if (EFI_ERROR(status)) {
sys/arch/i386/stand/efiboot/eficons.c
963
"\n", com_unit, (uintmax_t)status);
sys/arch/i386/stand/efiboot/eficons.c
983
EFI_STATUS status;
sys/arch/i386/stand/efiboot/efidelay.c
34
EFI_STATUS status;
sys/arch/i386/stand/efiboot/efidelay.c
39
status = uefi_call_wrapper(BS->Stall, 1, us);
sys/arch/i386/stand/efiboot/efidelay.c
40
if (EFI_ERROR(status)) {
sys/arch/i386/stand/efiboot/efidelay.c
41
StatusToString(errmsg, status);
sys/arch/i386/stand/efiboot/efidelay.c
47
(uintmax_t)status);
sys/arch/i386/stand/efiboot/efidisk.c
114
status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i],
sys/arch/i386/stand/efiboot/efidisk.c
116
if (EFI_ERROR(status))
sys/arch/i386/stand/efiboot/efidisk.c
130
status = uefi_call_wrapper(BS->HandleProtocol, 3,
sys/arch/i386/stand/efiboot/efidisk.c
132
if (EFI_ERROR(status))
sys/arch/i386/stand/efiboot/efidisk.c
85
EFI_STATUS status;
sys/arch/i386/stand/efiboot/efidisk.c
96
status = LibLocateHandle(ByProtocol, &BlockIoProtocol, NULL,
sys/arch/i386/stand/efiboot/efidisk.c
98
if (EFI_ERROR(status))
sys/arch/i386/stand/efiboot/efidisk_ll.c
124
EFI_STATUS status;
sys/arch/i386/stand/efiboot/efidisk_ll.c
131
status = uefi_call_wrapper(edi->bio->ReadBlocks, 5, edi->bio,
sys/arch/i386/stand/efiboot/efidisk_ll.c
133
if (EFI_ERROR(status))
sys/arch/i386/stand/efiboot/efimemory.c
199
EFI_STATUS status;
sys/arch/i386/stand/efiboot/efimemory.c
206
status = uefi_call_wrapper(ST->ConOut->QueryMode, 4, ST->ConOut,
sys/arch/i386/stand/efiboot/efimemory.c
208
if (EFI_ERROR(status) || rows <= 2)
sys/arch/i386/stand/efiboot/efimemory.c
332
EFI_STATUS status;
sys/arch/i386/stand/efiboot/efimemory.c
339
status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateMaxAddress,
sys/arch/i386/stand/efiboot/efimemory.c
341
if (EFI_ERROR(status))
sys/arch/i386/stand/efiboot/efimemory.c
372
EFI_STATUS status;
sys/arch/i386/stand/efiboot/efimemory.c
379
status = uefi_call_wrapper(ST->ConOut->QueryMode, 4, ST->ConOut,
sys/arch/i386/stand/efiboot/efimemory.c
381
if (EFI_ERROR(status) || rows <= 2)
sys/arch/i386/stand/efiboot/efinet.c
144
EFI_STATUS status;
sys/arch/i386/stand/efiboot/efinet.c
151
status = uefi_call_wrapper(net->Transmit, 7, net, 0, (UINTN)len, pkt, NULL,
sys/arch/i386/stand/efiboot/efinet.c
153
if (EFI_ERROR(status))
sys/arch/i386/stand/efiboot/efinet.c
159
status = uefi_call_wrapper(net->GetStatus, 3, net, NULL, &buf);
sys/arch/i386/stand/efiboot/efinet.c
164
} while (!EFI_ERROR(status) && buf == NULL);
sys/arch/i386/stand/efiboot/efinet.c
167
return EFI_ERROR(status) ? -1 : len;
sys/arch/i386/stand/efiboot/efinet.c
176
EFI_STATUS status;
sys/arch/i386/stand/efiboot/efinet.c
200
status = uefi_call_wrapper(net->Receive, 7, net, NULL, &rsz, ptr,
sys/arch/i386/stand/efiboot/efinet.c
202
if (!EFI_ERROR(status)) {
sys/arch/i386/stand/efiboot/efinet.c
208
if (status != EFI_NOT_READY)
sys/arch/i386/stand/efiboot/efinet.c
221
EFI_STATUS status;
sys/arch/i386/stand/efiboot/efinet.c
233
status = uefi_call_wrapper(net->Start, 1, net);
sys/arch/i386/stand/efiboot/efinet.c
234
if (EFI_ERROR(status)) {
sys/arch/i386/stand/efiboot/efinet.c
236
PRIxMAX ")\n", nif->nif_unit, (uintmax_t)status);
sys/arch/i386/stand/efiboot/efinet.c
242
status = uefi_call_wrapper(net->Initialize, 3, net, 0, 0);
sys/arch/i386/stand/efiboot/efinet.c
243
if (EFI_ERROR(status)) {
sys/arch/i386/stand/efiboot/efinet.c
245
PRIxMAX ")\n", nif->nif_unit, (uintmax_t)status);
sys/arch/i386/stand/efiboot/efinet.c
253
status = uefi_call_wrapper(net->ReceiveFilters, 6, net, mask, 0, FALSE,
sys/arch/i386/stand/efiboot/efinet.c
255
if (EFI_ERROR(status)) {
sys/arch/i386/stand/efiboot/efinet.c
257
nif->nif_unit, (uintmax_t)status);
sys/arch/i386/stand/efiboot/efinet.c
326
EFI_STATUS status;
sys/arch/i386/stand/efiboot/efinet.c
331
status = LibLocateHandle(ByProtocol, &SimpleNetworkProtocol, NULL,
sys/arch/i386/stand/efiboot/efinet.c
333
if (EFI_ERROR(status) || nhandles == 0)
sys/arch/i386/stand/efiboot/efinet.c
343
status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i],
sys/arch/i386/stand/efiboot/efinet.c
345
if (EFI_ERROR(status))
sys/arch/i386/stand/efiboot/efinet.c
359
status = uefi_call_wrapper(BS->OpenProtocol, 6, handles[i],
sys/arch/i386/stand/efiboot/efinet.c
362
if (EFI_ERROR(status)) {
sys/arch/i386/stand/efiboot/efinet.c
365
(uintmax_t)i, (uintmax_t)status);
sys/arch/i386/stand/efiboot/efipxe.c
49
EFI_STATUS status;
sys/arch/i386/stand/efiboot/efipxe.c
56
status = LibLocateHandle(ByProtocol, &PxeBaseCodeProtocol, NULL,
sys/arch/i386/stand/efiboot/efipxe.c
58
if (EFI_ERROR(status))
sys/arch/i386/stand/efiboot/efipxe.c
62
status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i],
sys/arch/i386/stand/efiboot/efipxe.c
64
if (EFI_ERROR(status))
sys/arch/i386/stand/efiboot/efipxe.c
72
status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i],
sys/arch/i386/stand/efiboot/efipxe.c
74
if (EFI_ERROR(status))
sys/arch/i386/stand/efiboot/efipxe.c
81
status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i],
sys/arch/i386/stand/efiboot/efipxe.c
83
if (EFI_ERROR(status))
sys/arch/i386/stand/misc/rawrite.c
100
int i, status;
sys/arch/i386/stand/misc/rawrite.c
106
status = biosdisk(READ, drive, 0, 10, 1, 1, buffer);
sys/arch/i386/stand/misc/rawrite.c
107
if (status == 0x06) /* Door signal change? */
sys/arch/i386/stand/misc/rawrite.c
108
status = biosdisk(READ, drive, 0, 0, 1, 1, buffer);
sys/arch/i386/stand/misc/rawrite.c
112
status = biosdisk(READ, drive, 0, 0, nsect[i], 1, buffer);
sys/arch/i386/stand/misc/rawrite.c
113
if (status == 0x06)
sys/arch/i386/stand/misc/rawrite.c
114
status = biosdisk(READ, drive, 0, 0, nsect[i], 1, buffer);
sys/arch/i386/stand/misc/rawrite.c
115
if (status == 0x00) break;
sys/arch/i386/stand/misc/rawrite.c
128
int count, fdin, drive, head, track, status, spt, buflength, ns;
sys/arch/i386/stand/misc/rawrite.c
165
status = biosdisk(WRITE, drive, head, track, ns, 3, pbuf);
sys/arch/i386/stand/misc/rawrite.c
167
if (status != 0) Error(status);
sys/arch/i386/stand/misc/rawrite.c
58
void Error(int (status))
sys/arch/i386/stand/misc/rawrite.c
60
switch (status) {
sys/arch/i386/stand/pxeboot/pxe.c
126
uw->status = 0;
sys/arch/i386/stand/pxeboot/pxe.c
138
if (uw->status != PXENV_STATUS_SUCCESS) {
sys/arch/i386/stand/pxeboot/pxe.c
140
if (uw->status != PXENV_STATUS_FAILURE)
sys/arch/i386/stand/pxeboot/pxe.c
142
uw->status);
sys/arch/i386/stand/pxeboot/pxe.c
175
if (ur->status != PXENV_STATUS_SUCCESS) {
sys/arch/i386/stand/pxeboot/pxe.c
177
if (ur->status != PXENV_STATUS_FAILURE)
sys/arch/i386/stand/pxeboot/pxe.c
179
ur->status);
sys/arch/i386/stand/pxeboot/pxe.c
219
if (uo->status != PXENV_STATUS_SUCCESS) {
sys/arch/i386/stand/pxeboot/pxe.c
221
uo->status);
sys/arch/i386/stand/pxeboot/pxe.c
246
uc->status = 0;
sys/arch/i386/stand/pxeboot/pxe.c
250
if (uc->status != PXENV_STATUS_SUCCESS)
sys/arch/i386/stand/pxeboot/pxe.c
252
uc->status);
sys/arch/i386/stand/pxeboot/pxe.h
411
PXENV_STATUS_t status;
sys/arch/i386/stand/pxeboot/pxe.h
417
PXENV_STATUS_t status;
sys/arch/i386/stand/pxeboot/pxe.h
422
PXENV_STATUS_t status;
sys/arch/i386/stand/pxeboot/pxe.h
435
PXENV_STATUS_t status;
sys/arch/ia64/ia64/efi.c
62
efi_status status;
sys/arch/ia64/ia64/efi.c
96
status = ia64_call_efi_physical((uint64_t)efi_runtime->rt_setvirtual,
sys/arch/ia64/ia64/efi.c
99
return ((status < 0) ? EFAULT : 0);
sys/arch/ia64/include/efilib.h
42
void efi_exit(EFI_STATUS status);
sys/arch/ia64/include/fpu.h
84
unsigned long status;
sys/arch/ia64/stand/efi/libefi/bootinfo.c
209
EFI_STATUS status;
sys/arch/ia64/stand/efi/libefi/bootinfo.c
285
status = BS->GetMemoryMap(&bi->bi_memmap_size,
sys/arch/ia64/stand/efi/libefi/bootinfo.c
288
if (EFI_ERROR(status)) {
sys/arch/ia64/stand/efi/libefi/efi.c
101
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
sys/arch/ia64/stand/efi/libefi/efi.c
103
if (status != EFI_SUCCESS)
sys/arch/ia64/stand/efi/libefi/efi.c
104
BS->Exit(IH, status, 0, NULL);
sys/arch/ia64/stand/efi/libefi/efi.c
110
status = BS->HandleProtocol(IH, &image_protocol, (VOID**)&img);
sys/arch/ia64/stand/efi/libefi/efi.c
111
if (status != EFI_SUCCESS)
sys/arch/ia64/stand/efi/libefi/efi.c
112
efi_exit(status);
sys/arch/ia64/stand/efi/libefi/efi.c
191
status = main(argc, argv);
sys/arch/ia64/stand/efi/libefi/efi.c
192
efi_exit(status);
sys/arch/ia64/stand/efi/libefi/efi.c
92
EFI_STATUS status;
sys/arch/ia64/stand/efi/libefi/efi_console.c
75
EFI_STATUS status;
sys/arch/ia64/stand/efi/libefi/efi_console.c
79
status = conin->ReadKeyStroke(conin, &key);
sys/arch/ia64/stand/efi/libefi/efi_console.c
80
if (status == EFI_NOT_READY) {
sys/arch/ia64/stand/efi/libefi/efi_console.c
82
status = conin->ReadKeyStroke(conin, &key);
sys/arch/ia64/stand/efi/libefi/efifpswa.c
47
EFI_STATUS status;
sys/arch/ia64/stand/efi/libefi/efifpswa.c
55
status = BS->LocateHandle(ByProtocol, &fpswaid, 0, &sz, &fpswa_handle);
sys/arch/ia64/stand/efi/libefi/efifpswa.c
56
if (EFI_ERROR(status))
sys/arch/ia64/stand/efi/libefi/efifpswa.c
59
status = BS->HandleProtocol(fpswa_handle, &fpswaid, (VOID **)&fpswa);
sys/arch/ia64/stand/efi/libefi/efifpswa.c
60
if (EFI_ERROR(status))
sys/arch/ia64/stand/efi/libefi/efifs.c
103
status = root->Open(root, &file, path, EFI_FILE_MODE_READ, 0);
sys/arch/ia64/stand/efi/libefi/efifs.c
105
if (EFI_ERROR(status)) {
sys/arch/ia64/stand/efi/libefi/efifs.c
128
EFI_STATUS status;
sys/arch/ia64/stand/efi/libefi/efifs.c
137
status = file->Read(file, &sz, bufp);
sys/arch/ia64/stand/efi/libefi/efifs.c
143
if (EFI_ERROR(status))
sys/arch/ia64/stand/efi/libefi/efifs.c
159
EFI_STATUS status;
sys/arch/ia64/stand/efi/libefi/efifs.c
168
status = file->Write(file, &sz, bufp);
sys/arch/ia64/stand/efi/libefi/efifs.c
174
if (EFI_ERROR(status))
sys/arch/ia64/stand/efi/libefi/efifs.c
190
EFI_STATUS status;
sys/arch/ia64/stand/efi/libefi/efifs.c
202
status = file->GetPosition(file, &base);
sys/arch/ia64/stand/efi/libefi/efifs.c
203
if (EFI_ERROR(status))
sys/arch/ia64/stand/efi/libefi/efifs.c
209
status = file->GetInfo(file, &infoid, &sz, &info);
sys/arch/ia64/stand/efi/libefi/efifs.c
210
if (EFI_ERROR(status))
sys/arch/ia64/stand/efi/libefi/efifs.c
216
status = file->SetPosition(file, base + offset);
sys/arch/ia64/stand/efi/libefi/efifs.c
217
if (EFI_ERROR(status))
sys/arch/ia64/stand/efi/libefi/efifs.c
228
EFI_STATUS status;
sys/arch/ia64/stand/efi/libefi/efifs.c
239
status = file->GetInfo(file, &infoid, &sz, buf);
sys/arch/ia64/stand/efi/libefi/efifs.c
240
if (EFI_ERROR(status)) {
sys/arch/ia64/stand/efi/libefi/efifs.c
265
EFI_STATUS status;
sys/arch/ia64/stand/efi/libefi/efifs.c
274
status = file->Read(file, &sz, buf);
sys/arch/ia64/stand/efi/libefi/efifs.c
275
if (EFI_ERROR(status) || sz < offsetof(EFI_FILE_INFO, FileName))
sys/arch/ia64/stand/efi/libefi/efifs.c
313
EFI_STATUS status;
sys/arch/ia64/stand/efi/libefi/efifs.c
318
status = BS->LocateHandle(ByProtocol, &sfsid, 0, &sz, 0);
sys/arch/ia64/stand/efi/libefi/efifs.c
319
if (status != EFI_BUFFER_TOO_SMALL)
sys/arch/ia64/stand/efi/libefi/efifs.c
322
status = BS->LocateHandle(ByProtocol, &sfsid, 0,
sys/arch/ia64/stand/efi/libefi/efifs.c
324
if (EFI_ERROR(status)) {
sys/arch/ia64/stand/efi/libefi/efifs.c
56
EFI_STATUS status;
sys/arch/ia64/stand/efi/libefi/efifs.c
68
status = BS->HandleProtocol(dev->d_handle, &sfsid, (VOID **)&sfs);
sys/arch/ia64/stand/efi/libefi/efifs.c
69
if (EFI_ERROR(status))
sys/arch/ia64/stand/efi/libefi/efifs.c
75
status = sfs->OpenVolume(sfs, &root);
sys/arch/ia64/stand/efi/libefi/efinet.c
120
EFI_STATUS status;
sys/arch/ia64/stand/efi/libefi/efinet.c
125
status = net->Transmit(net, 0, len, pkt, 0, 0, 0);
sys/arch/ia64/stand/efi/libefi/efinet.c
126
if (status != EFI_SUCCESS)
sys/arch/ia64/stand/efi/libefi/efinet.c
132
status = net->GetStatus(net, 0, &buf);
sys/arch/ia64/stand/efi/libefi/efinet.c
137
} while (status == EFI_SUCCESS && buf == 0);
sys/arch/ia64/stand/efi/libefi/efinet.c
140
return (status == EFI_SUCCESS) ? len : -1;
sys/arch/ia64/stand/efi/libefi/efinet.c
149
EFI_STATUS status;
sys/arch/ia64/stand/efi/libefi/efinet.c
159
status = net->Receive(net, 0, &bufsz, buf, 0, 0, 0);
sys/arch/ia64/stand/efi/libefi/efinet.c
160
if (status == EFI_SUCCESS) {
sys/arch/ia64/stand/efi/libefi/efinet.c
172
if (status != EFI_NOT_READY)
sys/arch/ia64/stand/efi/libefi/efinet.c
184
EFI_STATUS status;
sys/arch/ia64/stand/efi/libefi/efinet.c
190
status = net->Start(net);
sys/arch/ia64/stand/efi/libefi/efinet.c
191
if (status != EFI_SUCCESS) {
sys/arch/ia64/stand/efi/libefi/efinet.c
193
nif->nif_unit, status);
sys/arch/ia64/stand/efi/libefi/efinet.c
199
status = net->Initialize(net, 0, 0);
sys/arch/ia64/stand/efi/libefi/efinet.c
200
if (status != EFI_SUCCESS) {
sys/arch/ia64/stand/efi/libefi/efinet.c
202
nif->nif_unit, status);
sys/arch/ia64/stand/efi/libefi/efinet.c
211
status = net->ReceiveFilters(net, mask, 0, FALSE, 0, 0);
sys/arch/ia64/stand/efi/libefi/efinet.c
212
if (status != EFI_SUCCESS) {
sys/arch/ia64/stand/efi/libefi/efinet.c
214
nif->nif_unit, status);
sys/arch/ia64/stand/efi/libefi/efinet.c
232
EFI_STATUS status;
sys/arch/ia64/stand/efi/libefi/efinet.c
242
status = BS->LocateHandle(ByProtocol, &netid, 0, &sz, 0);
sys/arch/ia64/stand/efi/libefi/efinet.c
243
if (status != EFI_BUFFER_TOO_SMALL)
sys/arch/ia64/stand/efi/libefi/efinet.c
246
status = BS->LocateHandle(ByProtocol, &netid, 0, &sz, handles);
sys/arch/ia64/stand/efi/libefi/efinet.c
247
if (EFI_ERROR(status)) {
sys/arch/ia64/stand/efi/libefi/exec.c
142
EFI_STATUS status;
sys/arch/ia64/stand/efi/libefi/exec.c
160
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData, pages,
sys/arch/ia64/stand/efi/libefi/exec.c
162
if (EFI_ERROR(status)) {
sys/arch/ia64/stand/efi/libefi/exec.c
164
(long)status);
sys/arch/ia64/stand/efi/libefi/exec.c
173
status = BS->ExitBootServices(IH, mapkey);
sys/arch/ia64/stand/efi/libefi/exec.c
174
if (EFI_ERROR(status)) {
sys/arch/ia64/stand/efi/libefi/exec.c
175
printf("ExitBootServices returned 0x%lx\n", status);
sys/arch/ia64/stand/ia64/efi/main.c
204
EFI_STATUS status;
sys/arch/ia64/stand/ia64/efi/main.c
224
status = BS->GetMemoryMap(&sz, 0, &key, &dsz, &dver);
sys/arch/ia64/stand/ia64/efi/main.c
225
if (status != EFI_BUFFER_TOO_SMALL) {
sys/arch/ia64/stand/ia64/efi/main.c
230
status = BS->GetMemoryMap(&sz, map, &key, &dsz, &dver);
sys/arch/ia64/stand/ia64/efi/main.c
231
if (EFI_ERROR(status)) {
sys/arch/ia64/stand/ia64/ski/efi_stub.c
230
ResetSystem(enum efi_reset type, efi_status status, u_long datasz,
sys/arch/iyonix/iyonix/iyonix_pci.c
199
int status;
sys/arch/iyonix/iyonix/iyonix_pci.c
210
status = pci_conf_read_byte(pc, tag, 0x7e);
sys/arch/iyonix/iyonix/iyonix_pci.c
211
pci_conf_write_byte(pc, tag, 0x7e, status & ~0x80);
sys/arch/landisk/dev/btn_obio.c
162
int status;
sys/arch/landisk/dev/btn_obio.c
165
status = (int8_t)_reg_read_1(LANDISK_BTNSTAT);
sys/arch/landisk/dev/btn_obio.c
166
if (status == -1) {
sys/arch/landisk/dev/btn_obio.c
170
status = ~status;
sys/arch/landisk/dev/btn_obio.c
171
if (status & BTN_ALL_BIT) {
sys/arch/landisk/dev/btn_obio.c
172
if (status & BTN_RESET_BIT) {
sys/arch/landisk/dev/btn_obio.c
190
if (status & mask) {
sys/arch/landisk/dev/pwrsw_obio.c
119
int status;
sys/arch/landisk/dev/pwrsw_obio.c
121
status = (int8_t)_reg_read_1(LANDISK_BTNSTAT);
sys/arch/landisk/dev/pwrsw_obio.c
122
if (status == -1) {
sys/arch/landisk/dev/pwrsw_obio.c
126
status = ~status;
sys/arch/landisk/dev/pwrsw_obio.c
127
if (status & BTN_POWER_BIT) {
sys/arch/luna68k/stand/boot/init_main.c
175
int i, status = ST_NORMAL;
sys/arch/luna68k/stand/boot/init_main.c
332
status = parse(argc, argv);
sys/arch/luna68k/stand/boot/init_main.c
333
if (status == ST_NOTFOUND)
sys/arch/luna68k/stand/boot/init_main.c
337
} while (status != ST_EXIT);
sys/arch/luna68k/stand/boot/parse.c
159
int i, status = ST_NOTFOUND;
sys/arch/luna68k/stand/boot/parse.c
163
status = (*entries[i].func)(argc, argv);
sys/arch/luna68k/stand/boot/parse.c
168
return status;
sys/arch/luna68k/stand/boot/sc.c
399
int status = hs->sc_stat;
sys/arch/luna68k/stand/boot/sc.c
414
return status;
sys/arch/luna68k/stand/boot/sc.c
488
int status;
sys/arch/luna68k/stand/boot/sc.c
507
status = scfinish(ctlr);
sys/arch/luna68k/stand/boot/sc.c
511
printf("scsi_test_unit_rdy: Status -- 0x%x\n", status);
sys/arch/luna68k/stand/boot/sc.c
513
return status;
sys/arch/luna68k/stand/boot/sc.c
524
int status;
sys/arch/luna68k/stand/boot/sc.c
552
status = scfinish(ctlr);
sys/arch/luna68k/stand/boot/sc.c
556
printf("scsi_request_sense: Status -- 0x%x\n", status);
sys/arch/luna68k/stand/boot/sc.c
558
return status;
sys/arch/luna68k/stand/boot/sc.c
568
int status;
sys/arch/luna68k/stand/boot/sc.c
589
status = scfinish(ctlr);
sys/arch/luna68k/stand/boot/sc.c
593
printf("scsi_immed_command: Status -- 0x%x\n", status);
sys/arch/luna68k/stand/boot/sc.c
595
return status;
sys/arch/luna68k/stand/boot/sc.c
605
int status;
sys/arch/luna68k/stand/boot/sc.c
632
status = scfinish(ctlr);
sys/arch/luna68k/stand/boot/sc.c
636
printf("scsi_format_unit: Status -- 0x%x\n", status);
sys/arch/luna68k/stand/boot/sc.c
638
return status;
sys/arch/luna68k/stand/boot/scsi.c
108
int i, status;
sys/arch/luna68k/stand/boot/scsi.c
166
status = scsi_test_unit_rdy(0, i, 0);
sys/arch/luna68k/stand/boot/scsi.c
167
if (status >= 0)
sys/arch/luna68k/stand/boot/scsi.c
185
status = scsi_format_unit(0, scsi_device, 0);
sys/arch/m68k/060sp/dist/fpsp.s
19609
# if an immediate data access fails, the resulting fault status #
sys/arch/m68k/fpsp/fpsp.h
239
EXC_SR equ 4 ;exception frame status register
sys/arch/mac68k/dev/adb_direct.c
1555
switch (msg->status) {
sys/arch/mac68k/dev/ncr5380.c
1080
reqp->status = tmp;
sys/arch/mac68k/dev/ncr5380.c
1585
switch (reqp->status & SCSMASK) {
sys/arch/mac68k/dev/ncr5380.c
1617
if ((reqp->status & SCSMASK) != SCSGOOD)
sys/arch/mac68k/dev/ncr5380.c
1620
reqp->status = SCSCHKC;
sys/arch/mac68k/dev/ncr5380.c
1931
reqp->xcmd.opcode, reqp->status, reqp->message,
sys/arch/mac68k/dev/ncr5380.c
1934
if (reqp->status == SCSCHKC)
sys/arch/mac68k/dev/ncr5380.c
302
reqp->status = SCSGOOD;
sys/arch/mac68k/dev/ncr5380.c
371
tmp->status = SCSGOOD;
sys/arch/mac68k/dev/ncr5380reg.h
198
u_char status; /* returned status byte */
sys/arch/mac68k/include/iopreg.h
120
int status;
sys/arch/mac68k/mac68k/iop.c
299
msg->status = IOP_MSGSTAT_SENDING;
sys/arch/mac68k/mac68k/iop.c
317
msg->status = IOP_MSGSTAT_SENT;
sys/arch/mac68k/mac68k/iop.c
352
msg->status = IOP_MSGSTAT_RECEIVED;
sys/arch/mac68k/mac68k/iop.c
363
msg->status = IOP_MSGSTAT_RECEIVING;
sys/arch/mac68k/mac68k/iop.c
389
msg->status = IOP_MSGSTAT_QUEUED;
sys/arch/mac68k/mac68k/iop.c
394
msg->status = IOP_MSGSTAT_SENDING;
sys/arch/mac68k/mac68k/iop.c
426
msg->status = IOP_MSGSTAT_QUEUED;
sys/arch/mac68k/mac68k/iop.c
431
msg->status = IOP_MSGSTAT_RECEIVING;
sys/arch/mac68k/obio/ascaudio.c
792
uint8_t status;
sys/arch/mac68k/obio/ascaudio.c
804
status = bus_space_read_1(sc->sc_tag, sc->sc_handle, FIFOSTATUS);
sys/arch/mac68k/obio/ascaudio.c
817
if (sc->sc_ver == EASC_VER2 && (status & A_HALF))
sys/arch/mac68k/obio/ascaudio.c
819
else if (sc->sc_ver != EASC_VER2 && !(status & A_HALF))
sys/arch/mac68k/obio/ascaudio.c
861
if (status & B_HALF)
sys/arch/mac68k/obio/grf_obio.c
438
uint8_t status, junk = 0;
sys/arch/mac68k/obio/grf_obio.c
448
status = bus_space_read_1(sc->sc_tag, sc->sc_cmh, CIVIC_CMAP_STATUS2);
sys/arch/mac68k/obio/grf_obio.c
449
if (status & 0x08) {
sys/arch/mac68k/obio/grf_obio.c
454
if (status & 0x0d) {
sys/arch/mac68k/obio/if_mc_obio.c
265
u_int16_t status;
sys/arch/mac68k/obio/if_mc_obio.c
279
status = psc_reg2(PSC_ENETRD_CTL);
sys/arch/mac68k/obio/if_mc_obio.c
280
if (status & 0x2000) {
sys/arch/mac68k/obio/if_mc_obio.c
285
device_xname(sc->sc_dev), status);
sys/arch/mac68k/obio/if_mc_obio.c
287
} else if (status & 0x100) {
sys/arch/mac68k/obio/if_mc_obio.c
342
status = psc_reg2(PSC_ENETWR_CTL);
sys/arch/mac68k/obio/if_mc_obio.c
343
if (status & 0x2000) {
sys/arch/mac68k/obio/if_mc_obio.c
348
device_xname(sc->sc_dev), status);
sys/arch/mac68k/obio/if_mc_obio.c
350
} else if (status & 0x100) {
sys/arch/mac68k/obio/wdc_obio.c
229
uint8_t status;
sys/arch/mac68k/obio/wdc_obio.c
231
status = bus_space_read_1(wdc_obio_isr_tag, wdc_obio_isr_hdl, 0);
sys/arch/mac68k/obio/wdc_obio.c
232
if ((status & 0x20) != 0) {
sys/arch/mac68k/obio/wdc_obio.c
235
status & ~0x20);
sys/arch/macppc/dev/awacs.c
609
int status;
sys/arch/macppc/dev/awacs.c
619
status = in16rb(&cmd->d_status);
sys/arch/macppc/dev/awacs.c
621
if (status) /* status == 0x8400 */
sys/arch/macppc/dev/if_bm.c
461
int status, resid, count, datalen;
sys/arch/macppc/dev/if_bm.c
470
status = in16rb(&cmd->d_status);
sys/arch/macppc/dev/if_bm.c
474
if (status != 0 && status != 0x8440 && status != 0x9440)
sys/arch/macppc/dev/if_bm.c
475
printf("bmac_rint status = 0x%x\n", status);
sys/arch/macppc/dev/if_bm.c
478
if ((status & DBDMA_CNTRL_ACTIVE) == 0) /* 0x9440 | 0x8440 */
sys/arch/macppc/dev/if_gm.c
324
u_int status;
sys/arch/macppc/dev/if_gm.c
326
status = gmac_read_reg(sc, GMAC_STATUS) & 0xff;
sys/arch/macppc/dev/if_gm.c
327
if (status == 0)
sys/arch/macppc/dev/if_gm.c
330
if (status & GMAC_INT_RXDONE)
sys/arch/macppc/dev/if_gm.c
333
if (status & GMAC_INT_TXEMPTY)
sys/arch/macppc/dev/if_gm.c
336
rnd_add_uint32(&sc->sc_rnd_source, status);
sys/arch/macppc/dev/if_mc.c
230
int status, offset, statoff;
sys/arch/macppc/dev/if_mc.c
245
status = in16rb(&cmd->d_status);
sys/arch/macppc/dev/if_mc.c
249
if ((status & 0x40) == 0)
sys/arch/macppc/dev/mesh.c
1088
if (scb->status == SCSI_BUSY) {
sys/arch/macppc/dev/mesh.c
1093
xs->status = scb->status;
sys/arch/macppc/dev/mesh.c
1095
if (scb->status == SCSI_CHECK) {
sys/arch/macppc/dev/mesh.c
653
scb->status = mesh_read_reg(sc, MESH_FIFO);
sys/arch/macppc/dev/mesh.c
654
DPRINTF("mesh_status(1): status = 0x%x\n", scb->status);
sys/arch/macppc/dev/mesh.c
92
int status;
sys/arch/macppc/dev/mesh.c
978
scb->status = 0;
sys/arch/macppc/dev/snapper.c
884
int status;
sys/arch/macppc/dev/snapper.c
893
status = in16rb(&cmd->d_status);
sys/arch/macppc/dev/snapper.c
895
if (status) /* status == 0x8400 */
sys/arch/macppc/dev/snapper.c
906
status = in16rb(&cmd->d_status);
sys/arch/macppc/dev/snapper.c
908
if (status) /* status == 0x8400 */
sys/arch/macppc/stand/bootxx/bootxx.c
260
int status;
sys/arch/macppc/stand/bootxx/bootxx.c
272
return args.status;
sys/arch/macppc/stand/ofwboot/Locore.c
512
int status;
sys/arch/macppc/stand/ofwboot/Locore.c
532
printf("%d\n", args.status);
sys/arch/macppc/stand/ofwboot/Locore.c
534
return args.status;
sys/arch/mips/adm5120/adm5120_extio.c
171
uint32_t status;
sys/arch/mips/adm5120/adm5120_extio.c
194
status = bus_space_read_4(sc->sc_obiot, sc->sc_mpmch,
sys/arch/mips/adm5120/adm5120_extio.c
196
if ((status &
sys/arch/mips/adm5120/dev/ahci.c
1149
usbd_status status = USBD_NORMAL_COMPLETION;
sys/arch/mips/adm5120/dev/ahci.c
1256
status = USBD_TIMEOUT;
sys/arch/mips/adm5120/dev/ahci.c
1266
status = USBD_IOERROR;
sys/arch/mips/adm5120/dev/ahci.c
1272
status = USBD_NORMAL_COMPLETION;
sys/arch/mips/adm5120/dev/ahci.c
1284
status = USBD_NORMAL_COMPLETION;
sys/arch/mips/adm5120/dev/ahci.c
1287
xfer->ux_status = status;
sys/arch/mips/adm5120/dev/ahci.c
568
int status;
sys/arch/mips/adm5120/dev/ahci.c
677
status = REG_READ(ADMHCD_REG_PORTSTATUS0+(index-1)*4);
sys/arch/mips/adm5120/dev/ahci.c
678
DPRINTF(D_MSG, ("UR_GET_STATUS RCO=%x ", status));
sys/arch/mips/adm5120/dev/ahci.c
681
USETW(ps.wPortStatus, status & (UPS_CURRENT_CONNECT_STATUS|UPS_PORT_ENABLED|UPS_SUSPEND|UPS_OVERCURRENT_INDICATOR|UPS_RESET|UPS_PORT_POWER|UPS_LOW_SPEED));
sys/arch/mips/adm5120/dev/ahci.c
682
USETW(ps.wPortChange, (status>>16) & (UPS_C_CONNECT_STATUS|UPS_C_PORT_ENABLED|UPS_C_SUSPEND|UPS_C_OVERCURRENT_INDICATOR|UPS_C_PORT_RESET));
sys/arch/mips/adm5120/dev/ahci.c
827
usbd_status status = USBD_NORMAL_COMPLETION;
sys/arch/mips/adm5120/dev/ahci.c
936
status = USBD_TIMEOUT;
sys/arch/mips/adm5120/dev/ahci.c
941
status = USBD_IOERROR;
sys/arch/mips/adm5120/dev/ahci.c
945
status = USBD_TIMEOUT;
sys/arch/mips/adm5120/dev/ahci.c
949
status = USBD_IOERROR;
sys/arch/mips/adm5120/dev/ahci.c
953
status = USBD_TIMEOUT;
sys/arch/mips/adm5120/dev/ahci.c
957
status = USBD_IOERROR;
sys/arch/mips/adm5120/dev/ahci.c
959
status = USBD_NORMAL_COMPLETION;
sys/arch/mips/adm5120/dev/ahci.c
966
xfer->ux_status = status;
sys/arch/mips/adm5120/dev/if_admsw.c
1265
int status;
sys/arch/mips/adm5120/dev/if_admsw.c
1270
status = REG_READ(PHY_ST_REG) >> port;
sys/arch/mips/adm5120/dev/if_admsw.c
1272
if ((status & PHY_ST_LINKUP) == 0) {
sys/arch/mips/adm5120/dev/if_admsw.c
1278
ifmr->ifm_active |= (status & PHY_ST_100M) ? IFM_100_TX : IFM_10_T;
sys/arch/mips/adm5120/dev/if_admsw.c
1279
if (status & PHY_ST_FDX)
sys/arch/mips/adm5120/dev/if_admsw.c
183
desc->status = 0;
sys/arch/mips/adm5120/dev/if_admsw.c
208
desc->status = 0;
sys/arch/mips/adm5120/dev/if_admsw.c
647
desc->status = (len << ADM5120_DMA_LENSHIFT) | (1 << vlan);
sys/arch/mips/adm5120/dev/if_admsw.c
651
desc->status |= ADM5120_DMA_CSUM;
sys/arch/mips/adm5120/dev/if_admsw.c
859
vlan = ffs(desc->status & 0x3f) - 1;
sys/arch/mips/adm5120/dev/if_admsw.c
974
stat = sc->sc_rxldescs[i].status;
sys/arch/mips/adm5120/dev/if_admswreg.h
256
volatile uint32_t status;
sys/arch/mips/adm5120/dev/if_admswvar.h
191
__desc->status = 0; \
sys/arch/mips/adm5120/dev/if_admswvar.h
208
__desc->status = 0; \
sys/arch/mips/alchemy/dev/aupci.c
331
uint32_t status;
sys/arch/mips/alchemy/dev/aupci.c
368
status = bus_space_read_4(sc->sc_bust, sc->sc_bush, AUPCI_CONFIG);
sys/arch/mips/alchemy/dev/aupci.c
370
status & ~(AUPCI_CONFIG_EF));
sys/arch/mips/alchemy/dev/aupci.c
377
if (status & AUPCI_CONFIG_EF)
sys/arch/mips/alchemy/dev/if_aumac.c
514
int status;
sys/arch/mips/alchemy/dev/if_aumac.c
526
status = aumac_rxintr(sc);
sys/arch/mips/alchemy/dev/if_aumac.c
527
status += aumac_txintr(sc);
sys/arch/mips/alchemy/dev/if_aumac.c
529
rnd_add_uint32(&sc->rnd_source, status);
sys/arch/mips/alchemy/dev/if_aumac.c
531
return status;
sys/arch/mips/atheros/dev/if_ae.c
847
uint32_t status, rxstatus, txstatus;
sys/arch/mips/atheros/dev/if_ae.c
868
status = AE_READ(sc, CSR_STATUS);
sys/arch/mips/atheros/dev/if_ae.c
869
if (status) {
sys/arch/mips/atheros/dev/if_ae.c
870
AE_WRITE(sc, CSR_STATUS, status);
sys/arch/mips/atheros/dev/if_ae.c
874
if ((status & sc->sc_inten) == 0)
sys/arch/mips/atheros/dev/if_ae.c
879
rxstatus = status & sc->sc_rxint_mask;
sys/arch/mips/atheros/dev/if_ae.c
880
txstatus = status & sc->sc_txint_mask;
sys/arch/mips/atheros/dev/if_ae.c
939
if (status & (STATUS_TPS | STATUS_RPS)) {
sys/arch/mips/atheros/dev/if_ae.c
940
if (status & STATUS_TPS)
sys/arch/mips/atheros/dev/if_ae.c
943
if (status & STATUS_RPS)
sys/arch/mips/atheros/dev/if_ae.c
950
if (status & STATUS_SE) {
sys/arch/mips/atheros/dev/if_ae.c
953
if (status & STATUS_TX_ABORT)
sys/arch/mips/atheros/dev/if_ae.c
955
else if (status & STATUS_RX_ABORT)
sys/arch/mips/atheros/dev/if_ae.c
986
rnd_add_uint32(&sc->sc_rnd_source, status);
sys/arch/mips/cavium/dev/octeon_asx.c
44
int status;
sys/arch/mips/cavium/dev/octeon_asx.c
53
status = bus_space_map(sc->sc_regt, ASX0_BASE, ASX0_SIZE, 0,
sys/arch/mips/cavium/dev/octeon_asx.c
55
if (status != 0)
sys/arch/mips/cavium/dev/octeon_dwctwo.c
159
int status;
sys/arch/mips/cavium/dev/octeon_dwctwo.c
177
status = bus_space_map(sc->sc_dwc2.sc_iot, USBC_BASE, USBC_SIZE,
sys/arch/mips/cavium/dev/octeon_dwctwo.c
179
if (status != 0)
sys/arch/mips/cavium/dev/octeon_dwctwo.c
182
status = bus_space_map(sc->sc_bust, USBN_BASE, USBN_SIZE,
sys/arch/mips/cavium/dev/octeon_dwctwo.c
184
if (status != 0)
sys/arch/mips/cavium/dev/octeon_dwctwo.c
187
status = bus_space_map(sc->sc_bust, USBN_2_BASE, USBN_2_SIZE,
sys/arch/mips/cavium/dev/octeon_dwctwo.c
189
if (status != 0)
sys/arch/mips/cavium/dev/octeon_dwctwo.c
303
status = dwc2_init(&sc->sc_dwc2);
sys/arch/mips/cavium/dev/octeon_dwctwo.c
304
if (status != 0)
sys/arch/mips/cavium/dev/octeon_dwctwo.c
305
panic("can't initialize dwc2, error=%d\n", status);
sys/arch/mips/cavium/dev/octeon_fpa.c
148
int status;
sys/arch/mips/cavium/dev/octeon_fpa.c
152
status = bus_dmamap_create(fb->fb_dmat, fb->fb_len,
sys/arch/mips/cavium/dev/octeon_fpa.c
157
if (status != 0)
sys/arch/mips/cavium/dev/octeon_fpa.c
160
status = bus_dmamem_alloc(fb->fb_dmat, fb->fb_len, 128, 0,
sys/arch/mips/cavium/dev/octeon_fpa.c
162
if (status != 0 || fb->fb_dma_nsegs != nsegs)
sys/arch/mips/cavium/dev/octeon_fpa.c
165
status = bus_dmamem_map(fb->fb_dmat, fb->fb_dma_segs, fb->fb_dma_nsegs,
sys/arch/mips/cavium/dev/octeon_fpa.c
167
if (status != 0)
sys/arch/mips/cavium/dev/octeon_fpa.c
170
status = bus_dmamap_load(fb->fb_dmat, fb->fb_dmah, va, fb->fb_len,
sys/arch/mips/cavium/dev/octeon_fpa.c
173
if (status != 0)
sys/arch/mips/cavium/dev/octeon_fpa.c
216
int status;
sys/arch/mips/cavium/dev/octeon_fpa.c
218
status = bus_space_map(sc->sc_regt, FPA_BASE, FPA_SIZE, 0, &sc->sc_regh);
sys/arch/mips/cavium/dev/octeon_fpa.c
219
if (status != 0)
sys/arch/mips/cavium/dev/octeon_fpa.c
222
status = bus_space_map(sc->sc_opst,
sys/arch/mips/cavium/dev/octeon_fpa.c
224
if (status != 0)
sys/arch/mips/cavium/dev/octeon_gmx.c
1011
uint64_t ctl_reg, status, timer_count;
sys/arch/mips/cavium/dev/octeon_gmx.c
1058
status = PCS_READ_8(sc, PCS_MR_STATUS);
sys/arch/mips/cavium/dev/octeon_gmx.c
1059
if (ISSET(status, PCS_MR_STATUS_AN_CPT)) {
sys/arch/mips/cavium/dev/octeon_gmx.c
205
int port, status;
sys/arch/mips/cavium/dev/octeon_gmx.c
214
status = bus_space_map(sc->sc_regt, aa->aa_unit->addr,
sys/arch/mips/cavium/dev/octeon_gmx.c
216
if (status != 0)
sys/arch/mips/cavium/dev/octeon_gmx.c
235
status = bus_space_map(sc->sc_regt,
sys/arch/mips/cavium/dev/octeon_gmx.c
238
if (status != 0)
sys/arch/mips/cavium/dev/octeon_ipd.c
57
int status;
sys/arch/mips/cavium/dev/octeon_ipd.c
65
status = bus_space_map(sc->sc_regt, IPD_BASE, IPD_SIZE, 0,
sys/arch/mips/cavium/dev/octeon_ipd.c
67
if (status != 0)
sys/arch/mips/cavium/dev/octeon_mpi.c
112
int status;
sys/arch/mips/cavium/dev/octeon_mpi.c
119
status = bus_space_map(sc->sc_regt, MPI_BASE, MPI_SIZE, 0,
sys/arch/mips/cavium/dev/octeon_mpi.c
121
if (status != 0)
sys/arch/mips/cavium/dev/octeon_pip.c
178
int status;
sys/arch/mips/cavium/dev/octeon_pip.c
187
status = bus_space_map(sc->sc_regt, PIP_BASE, PIP_SIZE, 0,
sys/arch/mips/cavium/dev/octeon_pip.c
189
if (status != 0)
sys/arch/mips/cavium/dev/octeon_pko.c
57
int status;
sys/arch/mips/cavium/dev/octeon_pko.c
66
status = bus_space_map(sc->sc_regt, PKO_BASE, PKO_SIZE, 0,
sys/arch/mips/cavium/dev/octeon_pko.c
68
if (status != 0)
sys/arch/mips/cavium/dev/octeon_pow.c
112
int status;
sys/arch/mips/cavium/dev/octeon_pow.c
114
status = bus_space_map(sc->sc_regt, POW_BASE, POW_SIZE, 0,
sys/arch/mips/cavium/dev/octeon_pow.c
116
if (status != 0)
sys/arch/mips/cavium/dev/octeon_smi.c
124
int status;
sys/arch/mips/cavium/dev/octeon_smi.c
131
status = bus_space_map(sc->sc_regt, aa->aa_unit->addr, SMI_SIZE, 0,
sys/arch/mips/cavium/dev/octeon_smi.c
133
if (status != 0) {
sys/arch/mips/cavium/dev/octeon_twsi.c
161
int status;
sys/arch/mips/cavium/dev/octeon_twsi.c
166
status = bus_space_map(sc->sc_regt, MIO_TWS_BASE_0, MIO_TWS_SIZE, 0,
sys/arch/mips/cavium/dev/octeon_twsi.c
168
if (status != 0)
sys/arch/mips/cavium/dev/octeon_uart.c
116
int status;
sys/arch/mips/cavium/dev/octeon_uart.c
125
status = bus_space_map(
sys/arch/mips/cavium/dev/octeon_uart.c
131
if (status != 0) {
sys/arch/mips/cfe/cfe_api.c
209
cfe_exit(int warm, int status)
sys/arch/mips/cfe/cfe_api.c
218
xiocb.plist.xiocb_exitstat.status = status;
sys/arch/mips/cfe/cfe_api.h
179
int cfe_exit(int warm,int status);
sys/arch/mips/cfe/cfe_api_int.h
128
cfe_xint_t status;
sys/arch/mips/mips/mips_dsp.c
122
: [status] "=&r" (status),
sys/arch/mips/mips/mips_dsp.c
140
uint32_t status;
sys/arch/mips/mips/mips_dsp.c
180
: [status] "=&r" (status)
sys/arch/mips/mips/mips_dsp.c
88
uint32_t status;
sys/arch/mips/mips/mips_emul.c
192
mips_emul_inst(uint32_t status, uint32_t cause, vaddr_t opc,
sys/arch/mips/mips/mips_fpu.c
114
: "=&r" (status), "=r"(fpcsr)
sys/arch/mips/mips/mips_fpu.c
206
__asm volatile ("mtc0 %0, $%1" :: "r"(status), "n"(MIPS_COP_0_STATUS));
sys/arch/mips/mips/mips_fpu.c
217
uint32_t status;
sys/arch/mips/mips/mips_fpu.c
245
: "=&r"(status)
sys/arch/mips/mips/mips_fpu.c
351
:: "r"(fpcsr), "r"(status),
sys/arch/mips/mips/mips_fpu.c
90
uint32_t status, fpcsr;
sys/arch/mips/mips/mips_machdep.c
2374
uint32_t status = mips_cp0_status_read();
sys/arch/mips/mips/mips_machdep.c
2378
KASSERT((status & MIPS_SR_INT_IE) == 0);
sys/arch/mips/mips/mips_machdep.c
2383
status = mips_cp0_status_read() & MIPS_INT_MASK;
sys/arch/mips/mips/mips_machdep.c
2384
KASSERT(status == MIPS_INT_MASK);
sys/arch/mips/mips/mips_machdep.c
2388
status = mips_cp0_status_read() & MIPS_INT_MASK;
sys/arch/mips/mips/mips_machdep.c
2389
KASSERT((status ^ sr_map[IPL_SOFTCLOCK]) == MIPS_INT_MASK);
sys/arch/mips/mips/mips_machdep.c
2394
status = mips_cp0_status_read() & MIPS_INT_MASK;
sys/arch/mips/mips/mips_machdep.c
2395
KASSERT((status ^ sr_map[IPL_SOFTBIO]) == MIPS_INT_MASK);
sys/arch/mips/mips/mips_machdep.c
2400
status = mips_cp0_status_read() & MIPS_INT_MASK;
sys/arch/mips/mips/mips_machdep.c
2401
KASSERT((status ^ sr_map[IPL_SOFTNET]) == MIPS_INT_MASK);
sys/arch/mips/mips/mips_machdep.c
2406
status = mips_cp0_status_read() & MIPS_INT_MASK;
sys/arch/mips/mips/mips_machdep.c
2407
KASSERT((status ^ sr_map[IPL_SOFTSERIAL]) == MIPS_INT_MASK);
sys/arch/mips/mips/mips_machdep.c
2412
status = mips_cp0_status_read() & MIPS_INT_MASK;
sys/arch/mips/mips/mips_machdep.c
2413
KASSERT((status ^ sr_map[IPL_VM]) == MIPS_INT_MASK);
sys/arch/mips/mips/mips_machdep.c
2418
status = mips_cp0_status_read() & MIPS_INT_MASK;
sys/arch/mips/mips/mips_machdep.c
2419
KASSERT((status ^ sr_map[IPL_SCHED]) == MIPS_INT_MASK);
sys/arch/mips/mips/mips_machdep.c
2424
status = mips_cp0_status_read() & MIPS_INT_MASK;
sys/arch/mips/mips/mips_machdep.c
2425
KASSERT((status ^ sr_map[IPL_HIGH]) == MIPS_INT_MASK);
sys/arch/mips/mips/mips_machdep.c
2430
status = mips_cp0_status_read() & MIPS_INT_MASK;
sys/arch/mips/mips/mips_machdep.c
2431
KASSERT(status == MIPS_INT_MASK);
sys/arch/mips/mips/mips_machdep.c
2446
status = mips_cp0_status_read() & MIPS_INT_MASK;
sys/arch/mips/mips/mips_machdep.c
2447
KASSERT((status ^ sr_map[t]) == MIPS_INT_MASK);
sys/arch/mips/mips/mips_machdep.c
2452
status = mips_cp0_status_read() & MIPS_INT_MASK;
sys/arch/mips/mips/mips_machdep.c
2453
KASSERT((status ^ sr_map[r]) == MIPS_INT_MASK);
sys/arch/mips/mips/mips_machdep.c
2458
status = mips_cp0_status_read() & MIPS_INT_MASK;
sys/arch/mips/mips/mips_machdep.c
2459
KASSERT((status ^ sr_map[s]) == MIPS_INT_MASK);
sys/arch/mips/mips/mips_machdep.c
2463
status = mips_cp0_status_read() & MIPS_INT_MASK;
sys/arch/mips/mips/mips_machdep.c
2464
KASSERT(status == MIPS_INT_MASK);
sys/arch/mips/mips/syscall.c
117
EMULNAME(syscall)(struct lwp *l, u_int status, u_int cause, vaddr_t pc)
sys/arch/mips/mips/trap.c
170
trap(uint32_t status, uint32_t cause, vaddr_t vaddr, vaddr_t pc,
sys/arch/mips/mips/trap.c
189
if (CPUISMIPS3 && (status & MIPS3_SR_NMI)) {
sys/arch/mips/mips/trap.c
194
if (USERMODE(status)) {
sys/arch/mips/mips/trap.c
215
if (!USERMODE(status)) {
sys/arch/mips/mips/trap.c
239
USERMODE(status) ? "user" : "kernel");
sys/arch/mips/mips/trap.c
244
status, cause, pc, vaddr);
sys/arch/mips/mips/trap.c
247
if (USERMODE(status)) {
sys/arch/mips/mips/trap.c
684
mips_emul_inst(status, cause, pc, utf);
sys/arch/mips/mips/trap.c
690
mips_emul_inst(status, cause, pc, utf);
sys/arch/mips/ralink/ralink_eth.c
1407
u_int32_t status = fe_read(sc, RA_FE_INT_STATUS);
sys/arch/mips/ralink/ralink_eth.c
1410
__func__, status);
sys/arch/mips/ralink/ralink_eth.c
1412
if ((status & (RA_FE_INT_RX_DONE_INT1 | RA_FE_INT_RX_DONE_INT0 |
sys/arch/mips/ralink/ralink_eth.c
1420
if (status & (RA_FE_INT_RX_DONE_INT1 | RA_FE_INT_RX_DONE_INT0))
sys/arch/mips/ralink/ralink_eth.c
1423
if (status & (RA_FE_INT_TX_DONE_INT3 | RA_FE_INT_TX_DONE_INT2 |
sys/arch/mips/ralink/ralink_eth.c
1427
if ((status & (FE_INT_RX | FE_INT_TX0)) == 0) {
sys/arch/mips/ralink/ralink_eth.c
1433
if (status & FE_INT_RX)
sys/arch/mips/ralink/ralink_eth.c
1436
if (status & FE_INT_TX0)
sys/arch/mips/rmi/rmixl_pcie.c
1421
uint64_t status = ((uint64_t)status1 << 32) | status0;
sys/arch/mips/rmi/rmixl_pcie.c
1422
DPRINTF(("%s: %d:%#"PRIx64"\n", __func__, link, status));
sys/arch/mips/rmi/rmixl_pcie.c
1424
if (status != 0) {
sys/arch/mips/rmi/rmixl_pcie.c
1427
if (status & RMIXL_PCIE_LINK_STATUS_ERRORS)
sys/arch/mips/rmi/rmixl_pcie.c
1435
if ((status & bit) != 0) {
sys/arch/mips/rmi/rmixl_pcix.c
1056
uint32_t status = RMIXL_PCIXREG_READ(RMIXL_PCIX_ECFG_INTR_STATUS);
sys/arch/mips/rmi/rmixl_pcix.c
1057
DPRINTF(("%s: %#x\n", __func__, status));
sys/arch/mips/rmi/rmixl_pcix.c
1059
if (status != 0) {
sys/arch/mips/rmi/rmixl_pcix.c
1064
if ((func != NULL) && (status & bit) != 0) {
sys/arch/mips/rmi/rmixl_pcix.c
1151
uint32_t control, status, error_status;
sys/arch/mips/rmi/rmixl_pcix.c
1154
status = RMIXL_PCIXREG_READ(RMIXL_PCIX_ECFG_INTR_STATUS);
sys/arch/mips/rmi/rmixl_pcix.c
1157
printf("%s: %#x, %#x, %#x\n", __func__, control, status, error_status);
sys/arch/mips/rmi/rmixl_pcix.c
1163
status = RMIXL_PCIXREG_READ(RMIXL_PCIX_ECFG_INTR_STATUS);
sys/arch/mips/rmi/rmixl_pcix.c
1166
printf("%s: %#x, %#x, %#x\n", __func__, control, status, error_status);
sys/arch/mips/sibyte/dev/sbbuswatch.c
110
sibyte_bus_watch_intr(void *arg, uint32_t status, vaddr_t pc)
sys/arch/mips/sibyte/dev/sbmac.c
1712
sbmac_intr(void *xsc, uint32_t status, vaddr_t pc)
sys/arch/mips/sibyte/dev/sbscn.c
1481
sbscn_intr(void *arg, uint32_t status, vaddr_t pc)
sys/arch/mips/sibyte/dev/sbscn.c
174
void sbscn_intr(void *arg, uint32_t status, vaddr_t pc);
sys/arch/mips/sibyte/dev/sbtimer.c
171
sbtimer_clockintr(void *arg, uint32_t status, vaddr_t pc)
sys/arch/mips/sibyte/dev/sbtimer.c
180
cf.sr = status;
sys/arch/mips/sibyte/dev/sbtimer.c
194
sbtimer_statclockintr(void *arg, uint32_t status, vaddr_t pc)
sys/arch/mips/sibyte/dev/sbtimer.c
204
cf.sr = status;
sys/arch/mips/sibyte/dev/sbtimer.c
210
sbtimer_miscintr(void *arg, uint32_t status, vaddr_t pc)
sys/arch/mips/sibyte/dev/sbtimer.c
70
static void sbtimer_clockintr(void *arg, uint32_t status, vaddr_t pc);
sys/arch/mips/sibyte/dev/sbtimer.c
71
static void sbtimer_statclockintr(void *arg, uint32_t status, vaddr_t pc);
sys/arch/mips/sibyte/dev/sbtimer.c
72
static void sbtimer_miscintr(void *arg, uint32_t status, vaddr_t pc);
sys/arch/mipsco/mipsco/interrupt.c
44
cpu_intr(int ppl, vaddr_t pc, uint32_t status)
sys/arch/mipsco/mipsco/interrupt.c
53
(*platform.iointr)(status, pc, ipending);
sys/arch/mipsco/mipsco/machdep.c
423
unimpl_iointr(uint32_t status, vaddr_t pc, uint32_t ipending)
sys/arch/mipsco/mipsco/mips_3x30.c
107
pizazz_intr(uint32_t status, vaddr_t pc, uint32_t ipending)
sys/arch/mipsco/mipsco/mips_3x30.c
115
cf.sr = status;
sys/arch/mipsco/mipsco/mips_3x30.c
122
pizazz_level5_intr(status, pc);
sys/arch/mipsco/mipsco/mips_3x30.c
131
if (!USERMODE(status))
sys/arch/mipsco/mipsco/mips_3x30.c
133
pc, status);
sys/arch/mipsco/mipsco/mips_3x30.c
169
pizazz_level5_intr(uint32_t status, vaddr_t pc)
sys/arch/mipsco/mipsco/mips_3x30.c
175
printf("interrupt: pc=%p sr=%x\n", (void *)pc, status);
sys/arch/mipsco/obio/asc.c
391
uint32_t status;
sys/arch/mipsco/obio/asc.c
426
status = bus_space_read_4(esc->sc_bst, esc->dm_bsh, RAMBO_MODE);
sys/arch/mipsco/obio/asc.c
428
if ((status & RB_FIFO_EMPTY) == 0) { /* Data left in RAMBO FIFO */
sys/arch/mipsco/obio/asc.c
433
resid = status & 0x1f;
sys/arch/mvme68k/dev/lpt_pcc.c
214
u_char status;
sys/arch/mvme68k/dev/lpt_pcc.c
220
status = (lpt_status_read(sc) ^ LPS_INVERT) & LPS_MASK;
sys/arch/mvme68k/dev/lpt_pcc.c
223
new = status & ~sc->sc_laststatus;
sys/arch/mvme68k/dev/lpt_pcc.c
224
sc->sc_laststatus = status;
sys/arch/mvme68k/dev/lpt_pcc.c
240
return status;
sys/arch/mvme68k/dev/sbic.c
622
xs->status = stat;
sys/arch/mvme68k/include/prom.h
124
u_short status;
sys/arch/mvme68k/include/prom.h
65
u_short status;
sys/arch/mvme68k/stand/bootst/dev_tape.c
102
ti->status = 0;
sys/arch/mvme68k/stand/bootst/dev_tape.c
135
ti->status = 0;
sys/arch/mvme68k/stand/libsa/bugdev.c
130
dio.status = 0;
sys/arch/mvme68k/stand/libsa/bugdev.c
144
printf("rsize %d status %x\n", *rsize, dio.status);
sys/arch/mvme68k/stand/libsa/bugdev.c
147
if (dio.status)
sys/arch/mvme68k/stand/netboot/if_ie.c
296
u_short status;
sys/arch/mvme68k/stand/netboot/if_ie.c
299
status = iem->im_rfd[slot].ie_fd_status;
sys/arch/mvme68k/stand/netboot/if_ie.c
300
if (status & IE_FD_BUSY)
sys/arch/mvme68k/stand/netboot/if_ie.c
304
if ((status & (IE_FD_COMPLETE | IE_FD_OK)) ==
sys/arch/mvme68k/stand/netboot/if_iereg.h
112
u_short status; /* see below for bits */
sys/arch/newsmips/apbus/if_sn.c
949
u_int status = SRO(bitmode, rda, RXPKT_STATUS);
sys/arch/newsmips/apbus/if_sn.c
954
if (status & RCR_PRX) {
sys/arch/newsmips/apbus/if_sn.c
976
if (status & RCR_LPKT) {
sys/arch/newsmips/apbus/spifi.c
242
scb->status = 0;
sys/arch/newsmips/apbus/spifi.c
315
scb->status = SCSI_OK;
sys/arch/newsmips/apbus/spifi.c
465
scb->status = reg->cmbuf[scb->target].status;
sys/arch/newsmips/apbus/spifi.c
469
xs->datalen, scb->resid, scb->status);
sys/arch/newsmips/apbus/spifi.c
721
xs->status = scb->status;
sys/arch/newsmips/apbus/spifi.c
722
if (xs->status == SCSI_CHECK) {
sys/arch/newsmips/apbus/spifi.c
73
uint8_t status;
sys/arch/newsmips/apbus/spifireg.h
76
volatile uint32_t status; /* RW: SCSI status */
sys/arch/newsmips/dev/sc_wrap.c
360
xs->status = 0;
sys/arch/newsmips/dev/sc_wrap.c
378
xs->status = SCSI_CHECK;
sys/arch/newsmips/newsmips/machdep.c
516
cpu_intr(int ppl, vaddr_t pc, uint32_t status)
sys/arch/newsmips/newsmips/machdep.c
521
(*hardware_intr)(ppl, pc, status);
sys/arch/newsmips/newsmips/news3400.c
104
.sr = status,
sys/arch/newsmips/newsmips/news3400.c
137
if (!USERMODE(status))
sys/arch/newsmips/newsmips/news3400.c
139
pc, status);
sys/arch/newsmips/newsmips/news3400.c
86
news3400_intr(int ppl, uint32_t pc, uint32_t status)
sys/arch/newsmips/newsmips/news4000.c
77
news4000_intr(int ppl, vaddr_t pc, uint32_t status)
sys/arch/newsmips/newsmips/news4000.c
91
.sr = status,
sys/arch/newsmips/newsmips/news5000.c
111
.sr = status,
sys/arch/newsmips/newsmips/news5000.c
82
news5000_intr(int ppl, vaddr_t pc, uint32_t status)
sys/arch/ofppc/stand/ofwboot/Locore.c
346
int status;
sys/arch/ofppc/stand/ofwboot/Locore.c
366
printf("%d\n", args.status);
sys/arch/ofppc/stand/ofwboot/Locore.c
368
return args.status;
sys/arch/playstation2/playstation2/interrupt.c
122
cpu_intr(int ppl, vaddr_t pc, uint32_t status)
sys/arch/playstation2/playstation2/interrupt.c
136
playstation2_clockframe.sr = status;
sys/arch/pmax/ibus/sii.c
1782
sc->sc_xs[target]->status = sc->sc_st[target].statusByte;
sys/arch/pmax/ibus/sii.c
366
u_int status;
sys/arch/pmax/ibus/sii.c
419
if ((status = regs->dstat) & (SII_CI | SII_DI)) {
sys/arch/pmax/ibus/sii.c
420
sii_DoIntr(sc, status);
sys/arch/pmax/ibus/sii.c
468
SII_WAIT_UNTIL(status, regs->cstat, status & (SII_CI | SII_DI),
sys/arch/pmax/ibus/sii.c
472
if ((status & (SII_RST | SII_SCH | SII_STATE_MSK)) ==
sys/arch/pmax/ibus/sii.c
474
regs->cstat = status;
sys/arch/pmax/ibus/sii.c
479
sii_logp->cstat = status;
sys/arch/pmax/ibus/sii.c
490
SII_WAIT_UNTIL(status, regs->dstat, status & SII_MIS,
sys/arch/pmax/ibus/sii.c
494
printf("sii_StartCmd: ds %x cnt %d\n", status, retval);
sys/arch/pmax/ibus/sii.c
496
if ((status & (SII_CI | SII_MIS | SII_PHASE_MSK)) !=
sys/arch/pmax/ibus/sii.c
499
regs->cstat, status, retval); /* XXX */
sys/arch/pmax/ibus/sii.c
501
if (status & (SII_CI | SII_DI))
sys/arch/pmax/ibus/sii.c
502
sii_DoIntr(sc, status);
sys/arch/pmax/ibus/sii.c
514
SII_WAIT_UNTIL(status, regs->dstat, status & (SII_CI | SII_DI),
sys/arch/pmax/ibus/sii.c
518
printf("sii_StartCmd: ds %x, cnt %d\n", status, retval);
sys/arch/pmax/ibus/sii.c
520
if (status & (SII_CI | SII_DI))
sys/arch/pmax/ibus/sii.c
521
sii_DoIntr(sc, status);
sys/arch/pmax/ibus/sii.c
533
if (status & (SII_CI | SII_DI)) {
sys/arch/pmax/ibus/sii.c
541
if (status & SII_SIP) {
sys/arch/pmax/ibus/sii.c
545
SII_WAIT_UNTIL(status, regs->cstat,
sys/arch/pmax/ibus/sii.c
546
!(status & (SII_CON | SII_SIP)),
sys/arch/pmax/pmax/dec_3100.c
197
dec_3100_intr(uint32_t status, vaddr_t pc, uint32_t ipending)
sys/arch/pmax/pmax/dec_3100.c
207
cf.sr = status;
sys/arch/pmax/pmax/dec_3max.c
253
dec_3max_intr(uint32_t status, vaddr_t pc, uint32_t ipending)
sys/arch/pmax/pmax/dec_3max.c
274
cf.sr = status;
sys/arch/pmax/pmax/dec_3maxplus.c
347
dec_3maxplus_intr(uint32_t status, vaddr_t pc, uint32_t ipending)
sys/arch/pmax/pmax/dec_3maxplus.c
362
cf.sr = status;
sys/arch/pmax/pmax/dec_3min.c
317
dec_3min_intr(uint32_t status, vaddr_t pc, uint32_t ipending)
sys/arch/pmax/pmax/dec_3min.c
366
cf.sr = status;
sys/arch/pmax/pmax/dec_5100.c
156
dec_5100_intr(uint32_t status, vaddr_t pc, uint32_t ipending)
sys/arch/pmax/pmax/dec_5100.c
177
cf.sr = status;
sys/arch/pmax/pmax/dec_maxine.c
338
dec_maxine_intr(uint32_t status, vaddr_t pc, uint32_t ipending)
sys/arch/pmax/pmax/dec_maxine.c
350
cf.sr = status;
sys/arch/pmax/pmax/interrupt.c
103
if (!USERMODE(status))
sys/arch/pmax/pmax/interrupt.c
105
"PC %#"PRIxVADDR", SR %#x", pc, status);
sys/arch/pmax/pmax/interrupt.c
87
cpu_intr(int ppl, vaddr_t pc, uint32_t status)
sys/arch/pmax/pmax/interrupt.c
98
(*platform.iointr)(status, pc, pending);
sys/arch/pmax/pmax/machdep.c
571
unimpl_iointr(uint32_t status, vaddr_t pc, uint32_t ipending)
sys/arch/powerpc/ibm4xx/dev/dwcsata.c
669
int i, status = 0;
sys/arch/powerpc/ibm4xx/dev/dwcsata.c
752
status |= WDC_DMAST_NOIRQ;
sys/arch/powerpc/ibm4xx/dev/dwcsata.c
757
status |= WDC_DMAST_ERR;
sys/arch/powerpc/ibm4xx/dev/dwcsata.c
767
status |= WDC_DMAST_ERR;
sys/arch/powerpc/ibm4xx/dev/dwcsata.c
770
if ((status & WDC_DMAST_ERR) != 0 &&
sys/arch/powerpc/ibm4xx/dev/dwcsata.c
791
return status;
sys/arch/powerpc/ibm4xx/dev/if_emac.c
814
uint32_t status;
sys/arch/powerpc/ibm4xx/dev/if_emac.c
817
status = EMAC_READ(sc, EMAC_ISR);
sys/arch/powerpc/ibm4xx/dev/if_emac.c
820
EMAC_WRITE(sc, EMAC_ISR, status);
sys/arch/powerpc/ibm4xx/dev/if_emac.c
827
sc->sc_isr_seen |= status;
sys/arch/powerpc/ibm4xx/dev/if_emac.c
828
if (status == 0)
sys/arch/powerpc/ibm4xx/dev/if_emac.c
833
status, sc->sc_isr_seen, sc->sc_isr_zero);
sys/arch/powerpc/mpc5200/bestcomm.c
279
uint32_t status;
sys/arch/powerpc/mpc5200/bestcomm.c
282
status = (flags & 0x0c000000) | (size & 0x03ffffff);
sys/arch/powerpc/mpc5200/bestcomm.c
284
status = size & 0x7fffffff;
sys/arch/powerpc/mpc5200/bestcomm.c
288
bd[0] = status | BESTCOMM_BD_READY; /* arm for the engine */
sys/arch/powerpc/powerpc/openfirm.c
709
int status;
sys/arch/powerpc/powerpc/openfirm.c
725
rv = args.status;
sys/arch/powerpc/powerpc/rtas.c
266
int status, year, month, day, hour, minute, second, nanosecond;
sys/arch/powerpc/powerpc/rtas.c
271
if (rtas_call(RTAS_FUNC_GET_TIME_OF_DAY, 0, 8, &status, &year,
sys/arch/powerpc/powerpc/rtas.c
288
int status, year, month, day, hour, minute, second, nanosecond;
sys/arch/powerpc/powerpc/rtas.c
302
day, hour, minute, second, nanosecond, &status) < 0)
sys/arch/prep/stand/boot/sdvar.h
104
uint8_t status; /* SCSI status */
sys/arch/prep/stand/boot/sdvar.h
61
uint32_t status; /* 32 */
sys/arch/prep/stand/boot/siop.c
1114
xs.status = SCSI_OK;
sys/arch/prep/stand/boot/siop.c
113
xfer->siop_tables.status =
sys/arch/prep/stand/boot/siop.c
458
xs->status = ctoh32(siop_xfer->siop_tables.status);
sys/arch/prep/stand/boot/siop.c
459
if (xs->status == SCSI_OK)
sys/arch/prep/stand/boot/siop.c
474
switch(xs->status) {
sys/arch/prep/stand/boot/siop.c
496
printf("invalid status code %d\n", xs->status);
sys/arch/prep/stand/boot/siop.c
555
if (xs->error == XS_BUSY || xs->status == SCSI_CHECK)
sys/arch/prep/stand/boot/siop.c
593
xs->status = SCSI_OK;
sys/arch/prep/stand/boot/siop.c
682
const int off_status = offsetof(struct siop_common_xfer, status);
sys/arch/prep/stand/boot/siop.c
790
xs.status = SCSI_OK;
sys/arch/prep/stand/boot/siop.c
823
sense.status = SCSI_OK;
sys/arch/riscv/fdt/intc_fdt.c
252
intc_intr_handler(struct trapframe *tf, register_t epc, register_t status,
sys/arch/riscv/fdt/intc_fdt.c
287
.cf_status = status,
sys/arch/riscv/riscv/interrupt.c
108
cpu_intr(struct trapframe *tf, register_t epc, register_t status,
sys/arch/riscv/riscv/interrupt.c
111
_riscv_intr_handler(tf, epc, status, cause);
sys/arch/riscv/riscv/interrupt.c
54
register_t status, register_t cause)
sys/arch/riscv/riscv/interrupt.c
76
.cf_status = status,
sys/arch/riscv/riscv/trap.c
411
trap_pagefault(struct trapframe *tf, register_t epc, register_t status,
sys/arch/riscv/riscv/trap.c
529
trap_instruction(struct trapframe *tf, register_t epc, register_t status,
sys/arch/riscv/riscv/trap.c
545
trap_misalignment(struct trapframe *tf, register_t epc, register_t status,
sys/arch/riscv/riscv/trap.c
556
trap_breakpoint(struct trapframe *tf, register_t epc, register_t status,
sys/arch/riscv/riscv/trap.c
576
cpu_trap(struct trapframe *tf, register_t epc, register_t status,
sys/arch/riscv/riscv/trap.c
582
const bool usertrap_p = (status & SR_SPP) == 0;
sys/arch/riscv/riscv/trap.c
606
ok = trap_pagefault(tf, epc, status, cause, addr,
sys/arch/riscv/riscv/trap.c
609
ok = trap_instruction(tf, epc, status, cause, addr,
sys/arch/riscv/riscv/trap.c
614
ok = trap_misalignment(tf, epc, status, cause, addr,
sys/arch/riscv/riscv/trap.c
617
ok = trap_breakpoint(tf, epc, status, cause, addr,
sys/arch/riscv/starfive/jh7110_clkc.c
1017
uint32_t status;
sys/arch/riscv/starfive/jh7110_clkc.c
1019
status = RD4(sc, status_reg);
sys/arch/riscv/starfive/jh7110_clkc.c
1020
bool asserted = (status & __BIT(bit)) == 0;
sys/arch/riscv/starfive/jh7110_clkc.c
1028
__func__, reset_id, status, bit, assert ? "" : "de");
sys/arch/riscv/starfive/jh7110_pcie.c
332
jh7110_pcie_intx_intr(struct jh7110_pcie_softc *sc, uint32_t status)
sys/arch/riscv/starfive/jh7110_pcie.c
339
if ((status & (PLDA_IMASK_INT_INTA << pin)) == 0)
sys/arch/riscv/starfive/jh7110_pcie.c
364
uint32_t status = RD4(sc, PLDA_ISTATUS_LOCAL);
sys/arch/riscv/starfive/jh7110_pcie.c
365
if (status == 0)
sys/arch/riscv/starfive/jh7110_pcie.c
368
if (status & PLDA_ISTATUS_INT_INTX)
sys/arch/riscv/starfive/jh7110_pcie.c
369
handled |= jh7110_pcie_intx_intr(sc, status);
sys/arch/riscv/starfive/jh7110_pcie.c
371
WR4(sc, PLDA_ISTATUS_LOCAL, status);
sys/arch/rs6000/include/iplcb.h
374
uint32_t status;
sys/arch/sandpoint/stand/altboot/brdsetup.c
761
uint8_t v, status;
sys/arch/sandpoint/stand/altboot/brdsetup.c
800
status = SYNOCPLD_READ(3) & 0xf0;
sys/arch/sandpoint/stand/altboot/brdsetup.c
806
if ((status & 0x20) == 0 && (v & 0x20) != 0) {
sys/arch/sandpoint/stand/altboot/brdsetup.c
815
if ((status & 0x10) == 0 && (v & 0x10) != 0) {
sys/arch/sandpoint/stand/altboot/brdsetup.c
828
SYNOCPLD_WRITE(3, status);
sys/arch/sbmips/sbmips/cpu.c
136
int status;
sys/arch/sbmips/sbmips/cpu.c
146
status = cfe_cpu_start(ci->ci_cpuid, cpu_trampoline,
sys/arch/sbmips/sbmips/cpu.c
149
if (status != 0) {
sys/arch/sbmips/sbmips/cpu.c
151
status);
sys/arch/sbmips/sbmips/rtc.c
187
uint8_t status;
sys/arch/sbmips/sbmips/rtc.c
202
status = READRTC(sc, X1241REG_SR);
sys/arch/sbmips/sbmips/rtc.c
204
if (status & X1241REG_SR_RTCF) {
sys/arch/sbmips/sbmips/rtc.c
438
uint64_t status;
sys/arch/sbmips/sbmips/rtc.c
443
status = READ_REG(reg);
sys/arch/sbmips/sbmips/rtc.c
444
if (status & M_SMB_BUSY)
sys/arch/sbmips/sbmips/rtc.c
449
if (status & M_SMB_ERROR) {
sys/arch/sbmips/sbmips/rtc.c
450
WRITE_REG(reg, (status & M_SMB_ERROR));
sys/arch/sbmips/sbmips/sb1250_icu.c
189
sb1250_ipi_intr(void *arg, uint32_t status, vaddr_t pc)
sys/arch/sbmips/sbmips/sb1250_icu.c
290
sb1250_cpu_intr(int ppl, vaddr_t pc, uint32_t status)
sys/arch/sbmips/sbmips/sb1250_icu.c
327
(*ihp->ih_fun)(ihp->ih_arg, status, pc);
sys/arch/sbmips/sbmips/systemsw.c
80
cpu_intr_triv(int ppl, vaddr_t pc, uint32_t status)
sys/arch/sbmips/sbmips/systemsw.c
87
cpu_intr(int ppl, vaddr_t pc, uint32_t status)
sys/arch/sbmips/sbmips/systemsw.c
90
(*systemsw.s_cpu_intr)(ppl, pc, status);
sys/arch/sbmips/stand/common/cfe_api.c
206
cfe_exit(int warm, int status)
sys/arch/sbmips/stand/common/cfe_api.c
215
xiocb.plist.xiocb_exitstat.status = status;
sys/arch/sbmips/stand/common/cfe_api.h
191
int cfe_exit(int warm,int status);
sys/arch/sbmips/stand/common/cfe_api_int.h
128
cfe_xint_t status;
sys/arch/sgimips/dev/crime.c
227
crime_intr(vaddr_t pc, uint32_t status, uint32_t ipending)
sys/arch/sgimips/dev/crmfb.c
889
uint32_t status;
sys/arch/sgimips/dev/crmfb.c
898
status = bus_space_read_4(sc->sc_iot, sc->sc_reh,
sys/arch/sgimips/dev/crmfb.c
900
slots = 60 - CRIME_PIPE_LEVEL(status);
sys/arch/sgimips/dev/ctl.c
136
ctl_bus_error(vaddr_t pc, uint32_t status, uint32_t ipending)
sys/arch/sgimips/dev/imc.c
265
imc_bus_error(vaddr_t pc, uint32_t status, uint32_t ipending)
sys/arch/sgimips/dev/int.c
275
int1_local_intr(vaddr_t pc, uint32_t status, uint32_t ipend)
sys/arch/sgimips/dev/int.c
303
int2_local0_intr(vaddr_t pc, uint32_t status, uint32_t ipending)
sys/arch/sgimips/dev/int.c
330
int2_local1_intr(vaddr_t pc, uint32_t status, uint32_t ipending)
sys/arch/sgimips/dev/int.c
638
int_8254_intr0(vaddr_t pc, uint32_t status, uint32_t ipending)
sys/arch/sgimips/dev/int.c
643
cf.sr = status;
sys/arch/sgimips/dev/int.c
663
int_8254_intr1(vaddr_t pc, uint32_t status, uint32_t ipending)
sys/arch/sgimips/dev/pic.c
212
pic_bus_error(vaddr_t pc, uint32_t status, uint32_t ipending)
sys/arch/sgimips/hpc/if_sq.c
1055
status = sq_hpc_read(sc, sc->hpc_regs->enetr_ctl);
sys/arch/sgimips/hpc/if_sq.c
1058
if ((status & sc->hpc_regs->enetr_ctl_active) == 0) {
sys/arch/sgimips/hpc/if_sq.c
1075
uint32_t status, tmp;
sys/arch/sgimips/hpc/if_sq.c
1081
status = sq_hpc_read(sc, sc->hpc_regs->enetx_ctl) >> shift;
sys/arch/sgimips/hpc/if_sq.c
1083
SQ_TRACE(SQ_TXINTR_ENTER, sc, sc->sc_prevtx, status);
sys/arch/sgimips/hpc/if_sq.c
1087
if ((status & tmp) == 0) {
sys/arch/sgimips/hpc/if_sq.c
1088
if (status & TXSTAT_COLL)
sys/arch/sgimips/hpc/if_sq.c
1091
if (status & TXSTAT_UFLOW) {
sys/arch/sgimips/hpc/if_sq.c
1097
if (status & TXSTAT_16COLL) {
sys/arch/sgimips/hpc/if_sq.c
1116
SQ_TRACE(SQ_TXINTR_EXIT, sc, sc->sc_prevtx, status);
sys/arch/sgimips/hpc/if_sq.c
1140
uint32_t reclaimto, status;
sys/arch/sgimips/hpc/if_sq.c
1144
status = sq_hpc_read(sc, HPC1_ENETX_CTL);
sys/arch/sgimips/hpc/if_sq.c
1145
if (status & HPC1_ENETX_CTL_ACTIVE) {
sys/arch/sgimips/hpc/if_sq.c
1146
SQ_TRACE(SQ_TXINTR_BUSY, sc, i, status);
sys/arch/sgimips/hpc/if_sq.c
1173
SQ_TRACE(SQ_DONE_DMA, sc, i, status);
sys/arch/sgimips/hpc/if_sq.c
1179
SQ_TRACE(SQ_RESTART_DMA, sc, i, status);
sys/arch/sgimips/hpc/if_sq.c
1213
uint32_t status = 0;
sys/arch/sgimips/hpc/if_sq.c
1223
status = sq_hpc_read(sc, HPC3_ENETX_CTL);
sys/arch/sgimips/hpc/if_sq.c
1231
if ((status & HPC3_ENETX_CTL_ACTIVE) == 0) {
sys/arch/sgimips/hpc/if_sq.c
1232
SQ_TRACE(SQ_RESTART_DMA, sc, i, status);
sys/arch/sgimips/hpc/if_sq.c
1247
SQ_TRACE(SQ_TXINTR_BUSY, sc, i, status);
sys/arch/sgimips/hpc/if_sq.c
1261
SQ_TRACE(SQ_DONE_DMA, sc, i, status);
sys/arch/sgimips/hpc/if_sq.c
548
uint32_t status;
sys/arch/sgimips/hpc/if_sq.c
773
status = sq_hpc_read(sc, sc->hpc_regs->enetx_ctl);
sys/arch/sgimips/hpc/if_sq.c
775
if ((status & sc->hpc_regs->enetx_ctl_active) != 0) {
sys/arch/sgimips/hpc/if_sq.c
776
SQ_TRACE(SQ_ADD_TO_DMA, sc, firsttx, status);
sys/arch/sgimips/hpc/if_sq.c
792
SQ_TRACE(SQ_START_DMA, sc, firsttx, status);
sys/arch/sgimips/hpc/if_sq.c
809
SQ_TRACE(SQ_START_DMA, sc, firsttx, status);
sys/arch/sgimips/hpc/if_sq.c
858
uint32_t status;
sys/arch/sgimips/hpc/if_sq.c
861
status = sq_hpc_read(sc, sc->hpc_regs->enetx_ctl);
sys/arch/sgimips/hpc/if_sq.c
864
sc->sc_nexttx, sc->sc_nfreetx, status);
sys/arch/sgimips/hpc/if_sq.c
900
sc->sq_trace[i].status, sc->sq_trace[i].line);
sys/arch/sgimips/hpc/if_sq.c
951
uint32_t status;
sys/arch/sgimips/hpc/pi1ppc.c
1442
pi1ppc_poll_str(struct pi1ppc_softc * const pi1ppc, const uint8_t status,
sys/arch/sgimips/hpc/pi1ppc.c
1455
if ((str & mask) == status) {
sys/arch/sgimips/hpc/sqvar.h
100
(sc)->sq_trace[(sc)->sq_trace_idx].status = (stat); \
sys/arch/sgimips/hpc/sqvar.h
90
int status;
sys/arch/sgimips/sgimips/clock.c
114
mips3_clock_intr(vaddr_t pc, uint32_t status, uint32_t pending)
sys/arch/sgimips/sgimips/clock.c
119
cf.sr = status;
sys/arch/sgimips/sgimips/cpu.c
105
cpu_intr(int ppl, vaddr_t pc, uint32_t status)
sys/arch/sgimips/sgimips/cpu.c
114
"pc %"PRIxVADDR ", status %x\n", pc, status);
sys/arch/sgimips/sgimips/cpu.c
123
(void)(*platform.intr5)(pc, status, pending);
sys/arch/sgimips/sgimips/cpu.c
128
(void)(*platform.intr4)(pc, status, pending);
sys/arch/sgimips/sgimips/cpu.c
133
(void)(*platform.intr3)(pc, status, pending);
sys/arch/sgimips/sgimips/cpu.c
138
(void)(*platform.intr2)(pc, status, pending);
sys/arch/sgimips/sgimips/cpu.c
143
(void)(*platform.intr1)(pc, status, pending);
sys/arch/sgimips/sgimips/cpu.c
148
(void)(*platform.intr0)(pc, status, pending);
sys/arch/sgimips/sgimips/cpu.c
164
mips1_fpu_intr(vaddr_t pc, uint32_t status, uint32_t pending)
sys/arch/sgimips/sgimips/cpu.c
166
if (!USERMODE(status))
sys/arch/sgimips/sgimips/cpu.c
168
pc, status);
sys/arch/sgimips/sgimips/machdep.c
884
unimpl_intr(vaddr_t pc, uint32_t status, uint32_t pending)
sys/arch/shark/include/mouse.h
59
u_int status;
sys/arch/shark/include/mouse.h
64
int status;
sys/arch/shark/include/profileio.h
109
int status; /* status of command returned by driver. */
sys/arch/shark/include/profileio.h
140
int status; /* identifies the status of the command. */
sys/arch/shark/include/profileio.h
162
unsigned int status; /* identifies the status. */
sys/arch/shark/include/scrio.h
55
int status;
sys/arch/shark/include/scrio.h
61
unsigned int status;
sys/arch/shark/include/scrio.h
71
unsigned int status; /* driver status */
sys/arch/shark/include/scrio.h
75
unsigned int status;
sys/arch/shark/shark/i8042.c
205
register u_char status;
sys/arch/shark/shark/i8042.c
211
status = bus_space_read_1(iot, ioh, KBSTATPO);
sys/arch/shark/shark/i8042.c
212
if (((status & type) == type) ||
sys/arch/shark/shark/i8042.c
213
((type == I8042_ANY_DATA) && (status & KBS_DIB)))
sys/arch/shark/shark/i8042.c
223
status));
sys/arch/shark/shark/i8042.c
276
int status;
sys/arch/shark/shark/i8042.c
280
status = 0;
sys/arch/shark/shark/i8042.c
359
status = 1;
sys/arch/shark/shark/i8042.c
395
status = 1;
sys/arch/shark/shark/i8042.c
409
responseExpected, c, status));
sys/arch/shark/shark/i8042.c
411
return (status);
sys/arch/shark/shark/i8042reg.h
178
#define I8042_GETAUX_DATA(iot, ioh, status, value) \
sys/arch/shark/shark/i8042reg.h
180
if (((status) = i8042_wait_input((iot), (ioh), I8042_AUX_DATA)) != 0) \
sys/arch/shark/shark/i8042reg.h
198
#define I8042_GETKBD_DATA(iot, ioh, status, value) \
sys/arch/shark/shark/i8042reg.h
200
if (((status) = i8042_wait_input((iot), (ioh), I8042_KBD_DATA)) != 0) \
sys/arch/shark/shark/i8042reg.h
241
#define I8042_READCCB(iot, ioh, status, value) \
sys/arch/shark/shark/i8042reg.h
243
if ( ((status) = i8042_cmd((iot), (ioh), I8042_CMD, \
sys/arch/shark/shark/i8042reg.h
246
if (((status) = i8042_wait_input((iot),(ioh),I8042_ANY_DATA)) != 0) \
sys/arch/shark/shark/i8042reg.h
267
#define I8042_KBDRESET(iot, ioh, status) \
sys/arch/shark/shark/i8042reg.h
269
if ( ((status) = i8042_cmd((iot), (ioh), I8042_KBD_CMD, \
sys/arch/shark/shark/i8042reg.h
273
if (((status) = i8042_wait_input((iot),(ioh),I8042_ANY_DATA)) != 0) \
sys/arch/shark/shark/i8042reg.h
275
(status) = bus_space_read_1((iot), (ioh), KBDATAPO); \
sys/arch/shark/shark/i8042reg.h
276
if ((status) != KBR_RSTDONE) \
sys/arch/shark/shark/i8042reg.h
280
status); \
sys/arch/shark/shark/i8042reg.h
281
(status) = 0; \
sys/arch/shark/shark/profile.c
319
info->status = ALREADY_SAMPLING;
sys/arch/shark/shark/profile.c
326
info->status = BAD_TABLE_SIZE;
sys/arch/shark/shark/profile.c
335
info->status = ILLEGAL_COMMAND;
sys/arch/shark/shark/scr.c
1058
pIoctlStatus->status = CARD_ON;
sys/arch/shark/shark/scr.c
1063
pIoctlStatus->status = CARD_INSERTED;
sys/arch/shark/shark/scr.c
1070
pIoctlStatus->status = CARD_REMOVED;
sys/arch/shark/shark/scr.c
1103
sc->pIoctlOn->status = ERROR_CARD_REMOVED;
sys/arch/shark/shark/scr.c
1110
sc->pIoctlOn->status = ERROR_CARD_ON;
sys/arch/shark/shark/scr.c
1142
sc->status = ERROR_CARD_REMOVED;
sys/arch/shark/shark/scr.c
1171
if (sc->status == ERROR_OK)
sys/arch/shark/shark/scr.c
1186
sc->pIoctlOn->status = sc->status;
sys/arch/shark/shark/scr.c
1199
if (sc->pIoctlOn->status != ERROR_OK)
sys/arch/shark/shark/scr.c
1215
pIoctlOff->status = ERROR_OK;
sys/arch/shark/shark/scr.c
1246
sc->pIoctlT0->status = ERROR_CARD_REMOVED;
sys/arch/shark/shark/scr.c
1253
sc->pIoctlT0->status = ERROR_CARD_OFF;
sys/arch/shark/shark/scr.c
1290
sc->status = ERROR_CARD_REMOVED;
sys/arch/shark/shark/scr.c
1320
sc->pIoctlT0->status = sc->status;
sys/arch/shark/shark/scr.c
1332
if (sc->pIoctlT0->status != ERROR_OK)
sys/arch/shark/shark/scr.c
1433
sc->status = 0;
sys/arch/shark/shark/scr.c
1452
sc->status = ERROR_CARD_REMOVED;
sys/arch/shark/shark/scr.c
1491
if(sc->status == ERROR_OK)
sys/arch/shark/shark/scr.c
1520
sc->status = ERROR_OK;
sys/arch/shark/shark/scr.c
1530
sc->status = ERROR_OK;
sys/arch/shark/shark/scr.c
1652
sc->status = ERROR_WORK_WAITING;
sys/arch/shark/shark/scr.c
1777
sc->status = ERROR_BAD_PROCEDURE_BYTE;
sys/arch/shark/shark/scr.c
1950
sc->status = ERROR_WORK_WAITING;
sys/arch/shark/shark/scr.c
2082
sc->status = ERROR_BAD_PROCEDURE_BYTE;
sys/arch/shark/shark/scr.c
2352
sc->status = ERROR_ATR_T3;
sys/arch/shark/shark/scr.c
2358
sc->status = ERROR_WORK_WAITING;
sys/arch/shark/shark/scr.c
2411
sc->status = ERROR_ATR_TCK;
sys/arch/shark/shark/scr.c
2443
sc->status = ERROR_ATR_TCK;
sys/arch/shark/shark/scr.c
2514
sc->status = ERROR_ATR_TCK;
sys/arch/shark/shark/scr.c
2528
sc->status = ERROR_ATR_FI_INVALID;
sys/arch/shark/shark/scr.c
2535
sc->status = ERROR_ATR_DI_INVALID;
sys/arch/shark/shark/scr.c
2629
sc->status = ERROR_ATR_TCK;
sys/arch/shark/shark/scr.c
2678
sc->status = ERROR_ATR_TCK;
sys/arch/shark/shark/scr.c
2697
sc->status = ERROR_ATR_TCK;
sys/arch/shark/shark/scr.c
2991
sc->status = ERROR_PARITY;
sys/arch/shark/shark/scr.c
3260
sc->status = ERROR_PARITY;
sys/arch/shark/shark/scr.c
456
int status; /* status to be returned */
sys/arch/shark/stand/ofwboot/Locore.c
373
int status;
sys/arch/shark/stand/ofwboot/Locore.c
393
printf("%d\n", args.status);
sys/arch/shark/stand/ofwboot/Locore.c
395
return args.status;
sys/arch/sparc/dev/cgtwo.c
191
offsetof(struct cg2fb, status.reg),
sys/arch/sparc/dev/fd.c
1001
u_char status;
sys/arch/sparc/dev/fd.c
1005
status = FDO_FRST | FDO_FDMAEN;
sys/arch/sparc/dev/fd.c
1007
status |= fd->sc_drive;
sys/arch/sparc/dev/fd.c
1011
status |= FDO_MOEN(n);
sys/arch/sparc/dev/fd.c
1013
fdc->sc_reg_dor, status);
sys/arch/sparc/dev/pckbc_js.c
171
int status;
sys/arch/sparc/dev/pckbc_js.c
173
status = pckbc_cnattach(iot, ioaddr, KBCMDP, PCKBC_KBD_SLOT, 0);
sys/arch/sparc/dev/pckbc_js.c
174
if (status == 0)
sys/arch/sparc/dev/pckbc_js.c
177
aprint_error(": cnattach %d", status);
sys/arch/sparc/dev/ts102.c
1020
tslot_update_lcd(struct tslot_softc *sc, int socket, int status)
sys/arch/sparc/dev/ts102.c
1026
if (status > 0) {
sys/arch/sparc/dev/ts102.c
405
int ctl, status;
sys/arch/sparc/dev/ts102.c
451
status = TSLOT_READ(td, TS102_REG_CARD_A_STS);
sys/arch/sparc/dev/ts102.c
452
if (status & TS102_CARD_STS_PRES) {
sys/arch/sparc/dev/ts102.c
623
int status;
sys/arch/sparc/dev/ts102.c
630
status = TSLOT_READ(td, TS102_REG_CARD_A_STS);
sys/arch/sparc/dev/ts102.c
632
status &= ~TS102_CARD_STS_ACEN;
sys/arch/sparc/dev/ts102.c
643
status &= ~TS102_CARD_STS_ACEN;
sys/arch/sparc/dev/ts102.c
644
status &= ~(TS102_CARD_STS_VPP1_MASK | TS102_CARD_STS_VPP2_MASK);
sys/arch/sparc/dev/ts102.c
645
status |= TS102_CARD_STS_VCCEN;
sys/arch/sparc/dev/ts102.c
646
TSLOT_WRITE(td, TS102_REG_CARD_A_STS, status);
sys/arch/sparc/dev/ts102.c
658
int status, intr, i;
sys/arch/sparc/dev/ts102.c
666
status = TSLOT_READ(td, TS102_REG_CARD_A_STS);
sys/arch/sparc/dev/ts102.c
667
TSPRINTF("status: %x\n", status);
sys/arch/sparc/dev/ts102.c
669
status &= ~TS102_CARD_STS_ACEN;
sys/arch/sparc/dev/ts102.c
670
status &= ~(TS102_CARD_STS_VPP1_MASK | TS102_CARD_STS_VPP2_MASK);
sys/arch/sparc/dev/ts102.c
671
status |= TS102_CARD_STS_VCCEN;
sys/arch/sparc/dev/ts102.c
672
TSLOT_WRITE(td, TS102_REG_CARD_A_STS, status);
sys/arch/sparc/dev/ts102.c
683
status |= TS102_CARD_STS_ACEN;
sys/arch/sparc/dev/ts102.c
684
status |= TS102_CARD_STS_VPP1_VCC;
sys/arch/sparc/dev/ts102.c
685
status &= ~TS102_CARD_STS_VCCEN;
sys/arch/sparc/dev/ts102.c
686
TSLOT_WRITE(td, TS102_REG_CARD_A_STS, status);
sys/arch/sparc/dev/ts102.c
717
status = TSLOT_READ(td, TS102_REG_CARD_A_STS);
sys/arch/sparc/dev/ts102.c
719
if ((status & TS102_CARD_STS_PRES) == 0) {
sys/arch/sparc/dev/ts102.c
723
if (status & TS102_CARD_STS_RDY)
sys/arch/sparc/dev/ts102.c
741
int s, status;
sys/arch/sparc/dev/ts102.c
754
status = TSLOT_READ(td, TS102_REG_CARD_A_STS);
sys/arch/sparc/dev/ts102.c
755
tslot_update_lcd(sc, i, status & TS102_CARD_STS_PRES);
sys/arch/sparc/dev/ts102.c
780
status = TSLOT_READ(td, TS102_REG_CARD_A_STS);
sys/arch/sparc/dev/ts102.c
782
if (status & TS102_CARD_STS_PRES) {
sys/arch/sparc/dev/ts102.c
877
int status, sockstat;
sys/arch/sparc/dev/ts102.c
880
status = TSLOT_READ(td, TS102_REG_CARD_A_STS);
sys/arch/sparc/dev/ts102.c
883
device_xname(sc->sc_dev), td->td_slot, intreg, status);
sys/arch/sparc/dev/ts102.c
885
__USE(status);
sys/arch/sparc/include/cgtworeg.h
237
} status;
sys/arch/sparc/sparc/openfirm.c
454
cell_t status;
sys/arch/sparc/sparc/openfirm.c
463
return args.status;
sys/arch/sparc/sparc/openfirm.c
475
cell_t status;
sys/arch/sparc/sparc/openfirm.c
485
return args.status;
sys/arch/sparc/sparc/openfirm.c
609
cell_t status;
sys/arch/sparc/sparc/openfirm.c
620
return args.status;
sys/arch/sparc/sparc/openfirm.c
741
cell_t status;
sys/arch/sparc/sparc/openfirm.c
756
status = args.slot[i++];
sys/arch/sparc/sparc/openfirm.c
761
return (status);
sys/arch/sparc/stand/ofwboot/Locore.c
241
cell_t status;
sys/arch/sparc/stand/ofwboot/Locore.c
256
status = args.slot[i++];
sys/arch/sparc/stand/ofwboot/Locore.c
262
return status;
sys/arch/sparc/stand/ofwboot/Locore.c
388
cell_t status;
sys/arch/sparc/stand/ofwboot/Locore.c
400
return args.status;
sys/arch/sparc/stand/ofwboot/Locore.c
516
cell_t status;
sys/arch/sparc/stand/ofwboot/Locore.c
556
cell_t status;
sys/arch/sparc/stand/ofwboot/Locore.c
708
cell_t status;
sys/arch/sparc/stand/ofwboot/Locore.c
749
cell_t status;
sys/arch/sparc64/dev/fdc.c
1179
u_char status;
sys/arch/sparc64/dev/fdc.c
1183
status = FDO_FRST | FDO_FDMAEN;
sys/arch/sparc64/dev/fdc.c
1185
status |= fd->sc_drive;
sys/arch/sparc64/dev/fdc.c
1189
status |= FDO_MOEN(n);
sys/arch/sparc64/dev/fdc.c
1191
fdc->sc_reg_dor, status);
sys/arch/sparc64/dev/pckbc_ebus.c
130
int status;
sys/arch/sparc64/dev/pckbc_ebus.c
132
status = pckbc_cnattach(iot, ioaddr, KBCMDP, 0,
sys/arch/sparc64/dev/pckbc_ebus.c
134
if (status == 0)
sys/arch/sparc64/dev/pckbc_ebus.c
137
aprint_error(": cnattach %d", status);
sys/arch/sparc64/dev/vdsk.c
100
uint32_t status;
sys/arch/sparc64/dev/vdsk.c
1268
sc->sc_vd->vd_desc[desc].status = 0xffffffff;
sys/arch/sparc64/dev/vdsk.c
1311
if (sc->sc_vd->vd_desc[desc].status != 0)
sys/arch/sparc64/sparc64/ofw_machdep.c
156
cell_t status;
sys/arch/sparc64/sparc64/ofw_machdep.c
177
mmuh, vaddr, (int)(args.status>>32), (int)args.status, (int)(args.retaddr>>32), (int)args.retaddr,
sys/arch/sparc64/sparc64/ofw_machdep.c
201
cell_t status;
sys/arch/sparc64/sparc64/ofw_machdep.c
238
cell_t status;
sys/arch/sparc64/sparc64/ofw_machdep.c
381
cell_t status;
sys/arch/sparc64/sparc64/ofw_machdep.c
420
cell_t status;
sys/arch/sparc64/sparc64/ofw_machdep.c
494
cell_t status;
sys/arch/sparc64/sparc64/ofw_machdep.c
515
args.status = -1;
sys/arch/sparc64/sparc64/ofw_machdep.c
516
if (openfirmware(&args) == 0 && args.status == 0) {
sys/arch/sparc64/sparc64/ofw_machdep.c
574
cell_t status;
sys/arch/sparc64/sparc64/ofw_machdep.c
657
cell_t status;
sys/arch/sparc64/sparc64/ofw_machdep.c
667
args.status = -1;
sys/arch/sparc64/sparc64/ofw_machdep.c
673
return (uint64_t)args.status;
sys/arch/sparc64/sparc64/ofw_machdep.c
684
cell_t status;
sys/arch/sparc64/sparc64/ofw_machdep.c
693
args.status = -1;
sys/arch/sparc64/sparc64/ofw_machdep.c
701
return (uint64_t)args.status;
sys/arch/sun2/dev/if_ec.c
457
uint16_t status;
sys/arch/sun2/dev/if_ec.c
464
status = bus_space_read_2(sc->sc_iot, sc->sc_ioh, buf);
sys/arch/sun2/dev/if_ec.c
465
doff = status & EC_PKT_DOFF;
sys/arch/sun2/dev/if_ec.c
470
if (status & (EC_PKT_FCSERR | EC_PKT_RGERR | EC_PKT_FRERR) ||
sys/arch/sun2/dev/if_ec.c
474
device_xname(sc->sc_dev), (unsigned int)status);
sys/arch/sun2/dev/if_ie_mbmem.c
191
uint16_t status; /* see below for bits */
sys/arch/sun2/dev/if_ie_mbmem.c
259
write_iev(vsc, status, IEMBMEM_RESET);
sys/arch/sun2/dev/if_ie_mbmem.c
261
write_iev(vsc, status, 0);
sys/arch/sun2/dev/if_ie_mbmem.c
270
write_iev(vsc, status, read_iev(vsc, status) | IEMBMEM_ATTEN);
sys/arch/sun2/dev/if_ie_mbmem.c
272
write_iev(vsc, status, read_iev(vsc, status) & ~IEMBMEM_ATTEN);
sys/arch/sun2/dev/if_ie_mbmem.c
280
write_iev(vsc, status, read_iev(vsc, status)
sys/arch/sun2/dev/if_ie_mbmem.c
293
if (read_iev(vsc, status) & IEMBMEM_PERR) {
sys/arch/sun2/dev/if_ie_mbmem.c
440
rampaddr = rampaddr | ((read_iev(vsc, status) & IEMBMEM_HADDR) << 16);
sys/arch/sun3/dev/cg2.c
186
sc->sc_ctlreg->status.word = 1;
sys/arch/sun3/dev/cg2.c
275
*on = sc->sc_ctlreg->status.reg.video_enab;
sys/arch/sun3/dev/cg2.c
286
sc->sc_ctlreg->status.reg.video_enab = (*on) & 1;
sys/arch/sun3/dev/cg2.c
381
sc->sc_ctlreg->status.reg.inten = 0;
sys/arch/sun3/dev/cg4reg.h
72
u_char status;
sys/arch/sun3/dev/if_ie.c
446
uint16_t status;
sys/arch/sun3/dev/if_ie.c
456
if (iev->status & IEVME_PERR) {
sys/arch/sun3/dev/if_ie.c
464
status = sc->scb->ie_status;
sys/arch/sun3/dev/if_ie.c
465
if ((status & IE_ST_WHENCE) == 0)
sys/arch/sun3/dev/if_ie.c
471
ie_ack(sc, IE_ST_WHENCE & status);
sys/arch/sun3/dev/if_ie.c
473
if (status & (IE_ST_RECV | IE_ST_RNR)) {
sys/arch/sun3/dev/if_ie.c
485
if (status & IE_ST_DONE) {
sys/arch/sun3/dev/if_ie.c
503
if (status & IE_ST_RNR) {
sys/arch/sun3/dev/if_ie.c
512
if ((status & IE_ST_ALLDONE) && (sc->sc_debug & IED_CNA))
sys/arch/sun3/dev/if_ie.c
516
status = sc->scb->ie_status;
sys/arch/sun3/dev/if_ie.c
517
if (status & IE_ST_WHENCE) {
sys/arch/sun3/dev/if_ie.c
536
int i, status;
sys/arch/sun3/dev/if_ie.c
541
status = sc->rframes[i]->ie_fd_status;
sys/arch/sun3/dev/if_ie.c
543
if ((status & IE_FD_COMPLETE) && (status & IE_FD_OK)) {
sys/arch/sun3/dev/if_ie.c
558
if ((status & IE_FD_RNR) != 0 &&
sys/arch/sun3/dev/if_ie.c
581
int status;
sys/arch/sun3/dev/if_ie.c
587
status = sc->xmit_cmds[sc->xctail]->ie_xmit_status;
sys/arch/sun3/dev/if_ie.c
589
if (!(status & IE_STAT_COMPL) || (status & IE_STAT_BUSY))
sys/arch/sun3/dev/if_ie.c
592
if (status & IE_STAT_OK) {
sys/arch/sun3/dev/if_ie.c
594
if_collisions, SWAP(status & IE_XS_MAXCOLL));
sys/arch/sun3/dev/if_ie.c
602
if (status & IE_STAT_ABORT)
sys/arch/sun3/dev/if_ie.c
604
if (status & IE_XS_LATECOLL)
sys/arch/sun3/dev/if_ie.c
607
if (status & IE_XS_NOCARRIER)
sys/arch/sun3/dev/if_ie.c
609
if (status & IE_XS_LOSTCTS)
sys/arch/sun3/dev/if_ie.c
611
if (status & IE_XS_UNDERRUN)
sys/arch/sun3/dev/if_ie.c
613
if (status & IE_XS_EXCMAX) {
sys/arch/sun3/dev/if_ie.c
881
int status;
sys/arch/sun3/dev/if_ie.c
884
status = sc->rframes[num]->ie_fd_status;
sys/arch/sun3/dev/if_ie.c
893
if (status & IE_FD_OK) {
sys/arch/sun3/dev/if_ie_vme.c
148
rampaddr |= ((iev->status & IEVME_HADDR) << 16);
sys/arch/sun3/dev/if_ie_vme.c
202
iev->status |= IEVME_ATTEN; /* flag! */
sys/arch/sun3/dev/if_ie_vme.c
203
iev->status &= ~IEVME_ATTEN; /* down. */
sys/arch/sun3/dev/if_ie_vme.c
211
iev->status = IEVME_RESET;
sys/arch/sun3/dev/if_ie_vme.c
213
iev->status = (IEVME_ONAIR | IEVME_IENAB | IEVME_PEINT);
sys/arch/sun3/dev/if_iereg.h
112
u_short status; /* see below for bits */
sys/arch/sun3/dev/xd.c
1193
iopb->errno = iopb->status = 0;
sys/arch/sun3/dev/xdreg.h
140
volatile u_char status; /* status byte 2 (see below) */
sys/arch/sun3/include/cg2reg.h
228
} status;
sys/arch/usermode/usermode/thunk.c
357
thunk_exit(int status)
sys/arch/usermode/usermode/thunk.c
359
return exit(status);
sys/arch/vax/boot/boot/ctu.c
105
int status;
sys/arch/vax/boot/boot/ctu.c
110
status = mfpr(PR_CSRD);
sys/arch/vax/boot/boot/ctu.c
133
tu_sc.sc_xfptr[tu_sc.sc_xbytes++] = status;
sys/arch/vax/include/qdreg.h
228
u_short status; /* ADDER status bits */
sys/arch/vax/include/qduser.h
297
short status; /* master DMA status word */
sys/arch/vax/include/qduser.h
317
#define DMA_SETACTIVE(header) ((header)->status |= DMA_ACTIVE)
sys/arch/vax/include/qduser.h
318
#define DMA_CLRACTIVE(header) ((header)->status &= ~DMA_ACTIVE)
sys/arch/vax/include/qduser.h
319
#define DMA_ISACTIVE(header) ((header)->status & DMA_ACTIVE)
sys/arch/vax/include/qduser.h
321
#define DMA_SETERROR(header) ((header)->status |= DMA_ERROR)
sys/arch/vax/include/qduser.h
322
#define DMA_CLRERROR(header) ((header)->status &= ~DMA_ERROR)
sys/arch/vax/include/qduser.h
323
#define DMA_ISERROR(header) ((header)->status & DMA_ERROR)
sys/arch/vax/include/qduser.h
325
#define DMA_SETIGNORE(header) ((header)->status |= DMA_IGNORE)
sys/arch/vax/include/qduser.h
326
#define DMA_CLRIGNORE(header) ((header)->status &= ~DMA_IGNORE)
sys/arch/vax/include/qduser.h
327
#define DMA_ISIGNORE(header) ((header)->status & DMA_IGNORE)
sys/arch/vax/include/qduser.h
366
char status; /* load request/service status */
sys/arch/vax/include/qduser.h
381
short status;
sys/arch/vax/uba/qvaux.c
811
status = qvaux_read1(sc, sc->sc_dr.dr_dcd) | sc->sc_dsr;
sys/arch/vax/uba/qvaux.c
812
if (status & bit)
sys/arch/vax/uba/qvaux.c
814
status = qvaux_read1(sc, sc->sc_dr.dr_ring);
sys/arch/vax/uba/qvaux.c
815
if (status & bit)
sys/arch/vax/uba/qvaux.c
819
status = qvaux_read1(sc, sc->sc_dr.dr_dtr);
sys/arch/vax/uba/qvaux.c
820
if (status & bit)
sys/arch/vax/vax/ctu.c
279
int status = mfpr(PR_CSRD);
sys/arch/vax/vax/ctu.c
289
if (status != RSP_TYP_CONTINUE)
sys/arch/vax/vax/ctu.c
290
printf("Bad response %d\n", status);
sys/arch/vax/vax/ctu.c
295
if (status != RSP_TYP_DATA)
sys/arch/vax/vax/ctu.c
334
if (status != RSP_TYP_COMMAND) {
sys/arch/vax/vax/ctu.c
337
g[0] = status;
sys/arch/vax/vax/ctu.c
347
tu_sc.sc_state, tu_sc.sc_xbytes, status);
sys/arch/vax/vax/ctu.c
373
if (status != RSP_TYP_CONTINUE)
sys/arch/vax/vax/ctu.c
399
if (status != RSP_TYP_CONTINUE)
sys/arch/vax/vax/ctu.c
405
printf("bad rx state %d char %d\n", tu_sc.sc_state, status);
sys/arch/vax/vax/ctu.c
418
tu_sc.sc_state, tu_sc.sc_xbytes, status);
sys/arch/vax/vsa/gpx.c
1275
u_short status;
sys/arch/vax/vsa/gpx.c
1291
adder->status = 0;
sys/arch/vax/vsa/gpx.c
1292
status = adder->status;
sys/arch/vax/vsa/gpx.c
1294
if (status == offsetof(struct adder, status))
sys/arch/vax/vsa/gpx.c
271
u_short status;
sys/arch/vax/vsa/gpx.c
297
adder->status = 0;
sys/arch/vax/vsa/gpx.c
298
status = adder->status;
sys/arch/vax/vsa/gpx.c
300
if (status == offsetof(struct adder, status))
sys/arch/vax/vsa/gpx.c
666
ss->ss_adder->status = 0;
sys/arch/vax/vsa/gpx.c
668
if ((ss->ss_adder->status & bits) == bits)
sys/arch/vax/vsa/hdc9224.c
283
int status, i;
sys/arch/vax/vsa/hdc9224.c
309
status = HDC_RSTAT;
sys/arch/vax/vsa/hdc9224.c
310
if (status != (DKC_ST_DONE|DKC_TC_SUCCESS)) {
sys/arch/vax/vsa/hdc9224.c
311
aprint_error_dev(self, "RESET failed, status 0x%x\n", status);
sys/arch/vax/vsa/hdc9224.c
324
status = HDC_RSTAT;
sys/arch/vax/vsa/hdc9224.c
326
if ((status & DKC_ST_TERMCOD) == DKC_TC_SUCCESS)
sys/arch/vax/vsa/lcg.c
272
long status;
sys/arch/vax/vsa/lcg.c
279
status = LCG_REG(LCG_REG_GRAPHICS_SUB_STATUS);
sys/arch/vax/vsa/lcg.c
280
while ((counter < iterations) && ((status & 0x80000000) == 0x80000000)) {
sys/arch/vax/vsa/lcg.c
282
status = LCG_REG(LCG_REG_GRAPHICS_SUB_STATUS);
sys/arch/x68k/dev/mha.c
893
xs->status = acb->stat & ST_MASK;
sys/arch/x68k/dev/mha.c
894
switch (xs->status) {
sys/arch/x68k/stand/aout2hux/aout2hux.c
541
int status = 1; /* the default is "failed" */
sys/arch/x68k/stand/aout2hux/aout2hux.c
701
status = 0; /* all OK */
sys/arch/x68k/stand/aout2hux/aout2hux.c
711
if (fclose(fpx) && status == 0) {
sys/arch/x68k/stand/aout2hux/aout2hux.c
714
status = 1;
sys/arch/x68k/stand/aout2hux/aout2hux.c
716
if (status)
sys/arch/x68k/stand/aout2hux/aout2hux.c
722
return status;
sys/arch/x68k/stand/loadbsd/loadbsd.c
412
usage(int status, const char *msg)
sys/arch/x68k/stand/loadbsd/loadbsd.c
444
DOS_EXIT2(status);
sys/arch/x68k/stand/loadbsd/loadbsd.c
57
static __dead void usage(int status, const char *msg)
sys/arch/x86/pci/amdtemp.c
431
pcireg_t status, match, tmp;
sys/arch/x86/pci/amdtemp.c
434
status = pci_conf_read(sc->sc_pc, sc->sc_pcitag, THERMTRIP_STAT_R);
sys/arch/x86/pci/amdtemp.c
438
K8_T_SEL_C0(status);
sys/arch/x86/pci/amdtemp.c
439
K8_T_SEL_S0(status);
sys/arch/x86/pci/amdtemp.c
442
K8_T_SEL_C0(status);
sys/arch/x86/pci/amdtemp.c
443
K8_T_SEL_S1(status);
sys/arch/x86/pci/amdtemp.c
446
K8_T_SEL_C1(status);
sys/arch/x86/pci/amdtemp.c
447
K8_T_SEL_S0(status);
sys/arch/x86/pci/amdtemp.c
450
K8_T_SEL_C1(status);
sys/arch/x86/pci/amdtemp.c
451
K8_T_SEL_S1(status);
sys/arch/x86/pci/amdtemp.c
455
match = status & (K8_THERM_SENSE_CORE_SEL | K8_THERM_SENSE_SEL);
sys/arch/x86/pci/amdtemp.c
456
pci_conf_write(sc->sc_pc, sc->sc_pcitag, THERMTRIP_STAT_R, status);
sys/arch/x86/pci/amdtemp.c
457
status = pci_conf_read(sc->sc_pc, sc->sc_pcitag, THERMTRIP_STAT_R);
sys/arch/x86/pci/amdtemp.c
458
tmp = status & (K8_THERM_SENSE_CORE_SEL | K8_THERM_SENSE_SEL);
sys/arch/x86/pci/amdtemp.c
460
value = 0x3ff & (status >> 14);
sys/arch/x86/pci/amdtemp.c
502
pcireg_t status;
sys/arch/x86/pci/amdtemp.c
505
status = pci_conf_read(sc->sc_pc, sc->sc_pcitag,
sys/arch/x86/pci/amdtemp.c
507
value = __SHIFTOUT(status, F10_TEMP_CURTMP);
sys/arch/x86/pci/pci_addr_fixup.c
354
pcireg_t class, status, rval;
sys/arch/x86/pci/pci_addr_fixup.c
360
status = pci_conf_read(pc, tag, PCI_COMMAND_STATUS_REG);
sys/arch/x86/pci/pci_addr_fixup.c
361
if (status & PCI_STATUS_CAPLIST_SUPPORT) {
sys/arch/x86/pci/tco.c
371
uint32_t status;
sys/arch/x86/pci/tco.c
373
status = bus_space_read_4(sc->sc_rcbat, sc->sc_rcbah,
sys/arch/x86/pci/tco.c
375
status &= ~LPCIB_GCS_NO_REBOOT;
sys/arch/x86/pci/tco.c
377
LPCIB_GCS_OFFSET, status);
sys/arch/x86/pci/tco.c
378
status = bus_space_read_4(sc->sc_rcbat, sc->sc_rcbah,
sys/arch/x86/pci/tco.c
380
if (status & LPCIB_GCS_NO_REBOOT)
sys/arch/x86/x86/cpu_rng.c
204
uint32_t cr0, status, nbytes;
sys/arch/x86/x86/cpu_rng.c
222
: "=a"(status)
sys/arch/x86/x86/cpu_rng.c
231
nbytes = __SHIFTOUT(status, VIA_RNG_STATUS_NBYTES);
sys/arch/x86/x86/efi_machdep.c
881
efi_status status;
sys/arch/x86/x86/efi_machdep.c
888
status = efi_rt.rt_gettime(tm, tmcap);
sys/arch/x86/x86/efi_machdep.c
891
return status;
sys/arch/x86/x86/efi_machdep.c
902
efi_status status;
sys/arch/x86/x86/efi_machdep.c
909
status = efi_rt.rt_settime(tm);
sys/arch/x86/x86/efi_machdep.c
912
return status;
sys/arch/x86/x86/efi_machdep.c
924
efi_status status;
sys/arch/x86/x86/efi_machdep.c
931
status = efi_rt.rt_getvar(name, vendor, attrib, datasize, data);
sys/arch/x86/x86/efi_machdep.c
934
return status;
sys/arch/x86/x86/efi_machdep.c
946
efi_status status;
sys/arch/x86/x86/efi_machdep.c
953
status = efi_rt.rt_scanvar(namesize, name, vendor);
sys/arch/x86/x86/efi_machdep.c
956
return status;
sys/arch/x86/x86/efi_machdep.c
968
efi_status status;
sys/arch/x86/x86/efi_machdep.c
975
status = efi_rt.rt_setvar(name, vendor, attrib, datasize, data);
sys/arch/x86/x86/efi_machdep.c
978
return status;
sys/arch/x86/x86/hyperv.c
331
uint64_t status;
sys/arch/x86/x86/hyperv.c
335
__asm__ __volatile__ ("call *%3" : "=a" (status) : "c" (in_val),
sys/arch/x86/x86/hyperv.c
351
status = status_lo | ((uint64_t)status_hi << 32);
sys/arch/x86/x86/hyperv.c
354
return status;
sys/arch/x86/x86/lapic.c
267
ACPI_STATUS status;
sys/arch/x86/x86/lapic.c
274
status = AcpiGetTable(ACPI_SIG_DMAR, 1,
sys/arch/x86/x86/lapic.c
276
if (ACPI_SUCCESS(status)) {
sys/arch/x86/x86/pmap.c
5448
op->status = GNTST_general_error;
sys/arch/x86/x86/pmap.c
5453
op->status = GNTST_general_error;
sys/arch/x86/x86/pmap.c
5455
for (int d = 0; d < 256 && op->status == GNTST_eagain; d++) {
sys/arch/x86/x86/pmap.c
5461
op->status = GNTST_general_error;
sys/arch/x86/x86/pmap.c
5464
if (__predict_false(op->status != GNTST_okay)) {
sys/arch/x86/x86/pmap.c
5466
__func__, op->status);
sys/arch/x86/x86/pmap.c
5521
return op->status;
sys/arch/x86/x86/pmap.c
5570
if (op->status == GNTST_okay) {
sys/arch/x86/x86/powernow.c
380
uint64_t status;
sys/arch/x86/x86/powernow.c
389
status = rdmsr(MSR_AMDK7_FIDVID_STATUS);
sys/arch/x86/x86/powernow.c
390
maxfid = PN7_STA_MFID(status);
sys/arch/x86/x86/powernow.c
391
startvid = PN7_STA_SVID(status);
sys/arch/x86/x86/powernow.c
392
currentfid = PN7_STA_CFID(status);
sys/arch/x86/x86/powernow.c
525
uint64_t status, ctl;
sys/arch/x86/x86/powernow.c
545
status = rdmsr(MSR_AMDK7_FIDVID_STATUS);
sys/arch/x86/x86/powernow.c
546
cfid = PN7_STA_CFID(status);
sys/arch/x86/x86/powernow.c
547
cvid = PN7_STA_CVID(status);
sys/arch/x86/x86/powernow.c
582
status = rdmsr(MSR_AMDK7_FIDVID_STATUS);
sys/arch/x86/x86/powernow.c
584
cfid = PN7_STA_CFID(status);
sys/arch/x86/x86/powernow.c
585
cvid = PN7_STA_CVID(status);
sys/arch/x86/x86/powernow.c
661
uint64_t status;
sys/arch/x86/x86/powernow.c
667
status = rdmsr(MSR_AMDK7_FIDVID_STATUS);
sys/arch/x86/x86/powernow.c
668
maxfid = PN8_STA_MFID(status);
sys/arch/x86/x86/powernow.c
669
maxvid = PN8_STA_MVID(status);
sys/arch/x86/x86/powernow.c
706
sc->sc_tech = (PN8_STA_SFID(status) != PN8_STA_MFID(status)) ?
sys/arch/x86/x86/powernow.c
788
uint64_t status;
sys/arch/x86/x86/powernow.c
798
status = rdmsr(MSR_AMDK7_FIDVID_STATUS);
sys/arch/x86/x86/powernow.c
800
if (PN8_STA_PENDING(status))
sys/arch/x86/x86/powernow.c
803
cfid = PN8_STA_CFID(status);
sys/arch/x86/x86/powernow.c
804
cvid = PN8_STA_CVID(status);
sys/arch/x86/x86/powernow.c
830
status = powernow_k8_fidvid(cfid, (val > 0) ? val : 0, 1ULL);
sys/arch/x86/x86/powernow.c
831
cvid = PN8_STA_CVID(status);
sys/arch/x86/x86/powernow.c
844
status = powernow_k8_fidvid(cfid, cvid - 1, 1ULL);
sys/arch/x86/x86/powernow.c
845
cvid = PN8_STA_CVID(status);
sys/arch/x86/x86/powernow.c
868
status = powernow_k8_fidvid(val, cvid,
sys/arch/x86/x86/powernow.c
871
cfid = PN8_STA_CFID(status);
sys/arch/x86/x86/powernow.c
877
status = powernow_k8_fidvid(fid, cvid,
sys/arch/x86/x86/powernow.c
880
cfid = PN8_STA_CFID(status);
sys/arch/x86/x86/powernow.c
888
status = powernow_k8_fidvid(cfid, vid, 1ULL);
sys/arch/x86/x86/powernow.c
889
cvid = PN8_STA_CVID(status);
sys/arch/x86/x86/powernow.c
905
uint64_t status, xc;
sys/arch/x86/x86/powernow.c
915
status = rdmsr(MSR_AMDK7_FIDVID_STATUS);
sys/arch/x86/x86/powernow.c
917
} while (PN8_STA_PENDING(status));
sys/arch/x86/x86/powernow.c
919
return status;
sys/arch/xen/include/xenring.h
50
int16_t status; /* BLKIF_RSP_??? */
sys/arch/xen/include/xenring.h
82
int16_t status; /* BLKIF_RSP_??? */
sys/arch/xen/x86/xen_shm_machdep.c
113
if (__predict_false(op[i].status)) {
sys/arch/xen/x86/xen_shm_machdep.c
116
i, op[i].status, grefp[i]);
sys/arch/xen/x86/xen_shm_machdep.c
135
if (op[i].status == 0) {
sys/arch/xen/xen/if_xennet_xenbus.c
1034
m->m_len = m->m_pkthdr.len = rx->status;
sys/arch/xen/xen/if_xennet_xenbus.c
964
RING_GET_RESPONSE(&sc->sc_tx_ring, i)->status !=
sys/arch/xen/xen/privcmd.c
949
if (err == 0 && op.status == GNTST_okay) {
sys/arch/xen/xen/xbd_xenbus.c
822
xbdreq->req_sync.s_error = rep->status;
sys/arch/xen/xen/xbd_xenbus.c
842
if (bp->b_error != 0 || rep->status != BLKIF_RSP_OKAY) {
sys/arch/xen/xen/xbd_xenbus.c
844
bp->b_error, rep->status));
sys/arch/xen/xen/xbdback_xenbus.c
1544
int status;
sys/arch/xen/xen/xbdback_xenbus.c
1587
status = BLKIF_RSP_ERROR;
sys/arch/xen/xen/xbdback_xenbus.c
1589
status = BLKIF_RSP_OKAY;
sys/arch/xen/xen/xbdback_xenbus.c
1591
xbdback_send_reply(xbdi, req->id, req->operation, status);
sys/arch/xen/xen/xbdback_xenbus.c
1622
int op, int status)
sys/arch/xen/xen/xbdback_xenbus.c
1642
resp_n->status = status;
sys/arch/xen/xen/xbdback_xenbus.c
1649
resp32->status = status;
sys/arch/xen/xen/xbdback_xenbus.c
1656
resp64->status = status;
sys/arch/xen/xen/xengnt.c
118
if ((rc < 0) || (query.status != GNTST_okay))
sys/arch/xen/xen/xengnt.c
260
if (getstatus.status != GNTST_okay) {
sys/arch/xen/xen/xengnt.c
262
__func__, getstatus.status);
sys/arch/xen/xen/xengnt.c
352
if (setup.status != GNTST_okay) {
sys/arch/xen/xen/xengnt.c
354
__func__, setup.status);
sys/arch/xen/xen/xennetback_xenbus.c
1135
rxresp->status = goff;
sys/arch/xen/xen/xennetback_xenbus.c
1156
rxresp->status = goff;
sys/arch/xen/xen/xennetback_xenbus.c
596
xennetback_tx_response(struct xnetback_instance *xneti, int id, int status)
sys/arch/xen/xen/xennetback_xenbus.c
606
txresp->status = status;
sys/arch/xen/xen/xennetback_xenbus.c
646
if (gop->status != GNTST_okay) {
sys/arch/xen/xen/xennetback_xenbus.c
648
ifp->if_xname, i, dir, gop->status);
sys/compat/common/kern_50.c
139
int status, error, pid = SCARG(uap, pid);
sys/compat/common/kern_50.c
143
error = do_sys_wait(&pid, &status, SCARG(uap, options),
sys/compat/common/kern_50.c
155
if (error == 0 && SCARG(uap, status))
sys/compat/common/kern_50.c
156
error = copyout(&status, SCARG(uap, status), sizeof(status));
sys/compat/common/kern_exit_43.c
102
retval[1] = status;
sys/compat/common/kern_exit_43.c
89
int error, status, child_pid = WAIT_ANY;
sys/compat/common/kern_exit_43.c
93
error = do_sys_wait(&child_pid, &status, 0, NULL);
sys/compat/common/kern_exit_43.c
95
error = do_sys_wait(&child_pid, &status,
sys/compat/common/kern_exit_43.c
99
error = do_sys_wait(&child_pid, &status, 0, NULL);
sys/compat/freebsd/freebsd_timex.h
260
int status; /* clock status bits (rw) */
sys/compat/linux/arch/aarch64/linux_syscallargs.h
1082
syscallarg(int *) status;
sys/compat/linux/arch/aarch64/linux_systrace_args.c
1763
uarg[1] = (intptr_t) SCARG(p, status); /* int * */
sys/compat/linux/arch/alpha/linux_osf1.c
174
int error, status;
sys/compat/linux/arch/alpha/linux_osf1.c
184
error = do_sys_wait(&pid, &status, options,
sys/compat/linux/arch/alpha/linux_osf1.c
197
if (error == 0 && SCARG(uap, status))
sys/compat/linux/arch/alpha/linux_osf1.c
198
error = copyout(&status, SCARG(uap, status), sizeof(status));
sys/compat/linux/arch/alpha/linux_syscallargs.h
50
syscallarg(int *) status;
sys/compat/linux/arch/alpha/linux_syscallargs.h
809
syscallarg(int *) status;
sys/compat/linux/arch/amd64/linux_syscallargs.h
313
syscallarg(int *) status;
sys/compat/linux/arch/amd64/linux_systrace_args.c
539
uarg[1] = (intptr_t) SCARG(p, status); /* int * */
sys/compat/linux/arch/arm/linux_syscallargs.h
393
syscallarg(int *) status;
sys/compat/linux/arch/arm/linux_syscallargs.h
57
syscallarg(int *) status;
sys/compat/linux/arch/arm/linux_systrace_args.c
70
uarg[1] = (intptr_t) SCARG(p, status); /* int * */
sys/compat/linux/arch/arm/linux_systrace_args.c
732
uarg[1] = (intptr_t) SCARG(p, status); /* int * */
sys/compat/linux/arch/i386/linux_machdep.h
117
unsigned long status;
sys/compat/linux/arch/i386/linux_machdep.h
66
uint16_t status;
sys/compat/linux/arch/i386/linux_syscallargs.h
410
syscallarg(int *) status;
sys/compat/linux/arch/i386/linux_syscallargs.h
57
syscallarg(int *) status;
sys/compat/linux/arch/i386/linux_systrace_args.c
70
uarg[1] = (intptr_t) SCARG(p, status); /* int * */
sys/compat/linux/arch/i386/linux_systrace_args.c
755
uarg[1] = (intptr_t) SCARG(p, status); /* int * */
sys/compat/linux/arch/m68k/linux_syscallargs.h
395
syscallarg(int *) status;
sys/compat/linux/arch/m68k/linux_syscallargs.h
57
syscallarg(int *) status;
sys/compat/linux/arch/mips/linux_syscallargs.h
356
syscallarg(int *) status;
sys/compat/linux/arch/mips/linux_syscallargs.h
57
syscallarg(int *) status;
sys/compat/linux/arch/powerpc/linux_syscallargs.h
368
syscallarg(int *) status;
sys/compat/linux/arch/powerpc/linux_syscallargs.h
57
syscallarg(int *) status;
sys/compat/linux/common/linux_inotify.c
1052
uint32_t status;
sys/compat/linux/common/linux_inotify.c
1066
status = kn->kn_status;
sys/compat/linux/common/linux_inotify.c
1069
if (status & KN_WILLDETACH)
sys/compat/linux/common/linux_misc.c
223
int error, status, options, linux_options, pid = SCARG(uap, pid);
sys/compat/linux/common/linux_misc.c
241
error = do_sys_wait(&pid, &status, options,
sys/compat/linux/common/linux_misc.c
258
if (error == 0 && SCARG(uap, status) != NULL) {
sys/compat/linux/common/linux_misc.c
259
status = bsd_to_linux_wstat(status);
sys/compat/linux/common/linux_misc.c
260
error = copyout(&status, SCARG(uap, status), sizeof status);
sys/compat/linux/common/linux_misc.c
280
int error, linux_options, options, linux_idtype, status;
sys/compat/linux/common/linux_misc.c
313
error = do_sys_waitid(idtype, id, &pid, &status, options, &wru, &info);
sys/compat/linux/common/linux_misc_notalpha.c
251
SCARG(&linux_w4a, status) = SCARG(uap, status);
sys/compat/linux/common/linux_sg.c
164
lreq.status = req.status;
sys/compat/linux/common/linux_sg.c
277
lr->usr_ptr, lr->status, lr->masked_status, lr->sb_len_wr,
sys/compat/linux/common/linux_sg.c
297
br->senselen, br->senselen_used, br->status, br->retsts, br->error);
sys/compat/linux/common/linux_sg.h
79
unsigned char status;
sys/compat/linux/common/linux_signal.c
839
native_to_linux_si_status(int code, int status)
sys/compat/linux/common/linux_signal.c
848
sts = status;
sys/compat/linux/common/linux_signal.c
855
sts = native_to_linux_signo[WTERMSIG(status)];
sys/compat/linux32/arch/aarch64/linux32_syscallargs.h
366
syscallarg(netbsd32_intp) status;
sys/compat/linux32/arch/aarch64/linux32_syscallargs.h
57
syscallarg(netbsd32_intp) status;
sys/compat/linux32/arch/aarch64/linux32_systrace_args.c
697
uarg[1] = (intptr_t) SCARG(p, status).i32; /* netbsd32_intp */
sys/compat/linux32/arch/aarch64/linux32_systrace_args.c
70
uarg[1] = (intptr_t) SCARG(p, status).i32; /* netbsd32_intp */
sys/compat/linux32/arch/amd64/linux32_signal.h
141
u_int32_t status;
sys/compat/linux32/arch/amd64/linux32_syscallargs.h
375
syscallarg(netbsd32_intp) status;
sys/compat/linux32/arch/amd64/linux32_syscallargs.h
57
syscallarg(netbsd32_intp) status;
sys/compat/linux32/arch/amd64/linux32_systrace_args.c
70
uarg[1] = (intptr_t) SCARG(p, status).i32; /* netbsd32_intp */
sys/compat/linux32/arch/amd64/linux32_systrace_args.c
720
uarg[1] = (intptr_t) SCARG(p, status).i32; /* netbsd32_intp */
sys/compat/linux32/common/linux32_signal.c
638
native_to_linux32_si_status(int code, int status)
sys/compat/linux32/common/linux32_signal.c
647
sts = WEXITSTATUS(status);
sys/compat/linux32/common/linux32_signal.c
654
sts = native_to_linux32_signo[WTERMSIG(status)];
sys/compat/linux32/common/linux32_wait.c
102
int error, status, linux_options, options, pid;
sys/compat/linux32/common/linux32_wait.c
122
error = do_sys_wait(&pid, &status, options,
sys/compat/linux32/common/linux32_wait.c
138
if (error == 0 && SCARG_P32(uap, status) != NULL) {
sys/compat/linux32/common/linux32_wait.c
139
status = bsd_to_linux_wstat(status);
sys/compat/linux32/common/linux32_wait.c
140
error = copyout(&status, SCARG_P32(uap, status), sizeof(status));
sys/compat/linux32/common/linux32_wait.c
86
SCARG(&ua, status) = SCARG(uap, status);
sys/compat/netbsd32/netbsd32.h
973
int status; /* clock status bits (rw) */
sys/compat/netbsd32/netbsd32_compat_50.c
783
int error, status, pid = SCARG(uap, pid);
sys/compat/netbsd32/netbsd32_compat_50.c
787
error = do_sys_wait(&pid, &status, SCARG(uap, options),
sys/compat/netbsd32/netbsd32_compat_50.c
799
if (error == 0 && SCARG_P32(uap, status))
sys/compat/netbsd32/netbsd32_compat_50.c
800
error = copyout(&status, SCARG_P32(uap, status), sizeof(status));
sys/compat/netbsd32/netbsd32_conv.h
442
tx32p->status = txp->status;
sys/compat/netbsd32/netbsd32_conv.h
466
txp->status = tx32p->status;
sys/compat/netbsd32/netbsd32_syscallargs.h
2421
syscallarg(netbsd32_intp) status;
sys/compat/netbsd32/netbsd32_syscallargs.h
2662
syscallarg(netbsd32_intp) status;
sys/compat/netbsd32/netbsd32_syscallargs.h
75
syscallarg(netbsd32_intp) status;
sys/compat/netbsd32/netbsd32_systrace_args.c
3238
uarg[1] = (intptr_t) SCARG(p, status).i32; /* netbsd32_intp */
sys/compat/netbsd32/netbsd32_systrace_args.c
3541
uarg[2] = (intptr_t) SCARG(p, status).i32; /* netbsd32_intp */
sys/compat/netbsd32/netbsd32_systrace_args.c
73
uarg[1] = (intptr_t) SCARG(p, status).i32; /* netbsd32_intp */
sys/compat/netbsd32/netbsd32_wait.c
114
int error = do_sys_waitid(idtype, id, &pid, &status,
sys/compat/netbsd32/netbsd32_wait.c
130
if (error == 0 && SCARG_P32(uap, status))
sys/compat/netbsd32/netbsd32_wait.c
131
error = copyout(&status, SCARG_P32(uap, status),
sys/compat/netbsd32/netbsd32_wait.c
132
sizeof(status));
sys/compat/netbsd32/netbsd32_wait.c
58
int error, status, pid = SCARG(uap, pid);
sys/compat/netbsd32/netbsd32_wait.c
62
error = do_sys_wait(&pid, &status, SCARG(uap, options),
sys/compat/netbsd32/netbsd32_wait.c
69
if (SCARG_P32(uap, status))
sys/compat/netbsd32/netbsd32_wait.c
70
error = copyout(&status, SCARG_P32(uap, status),
sys/compat/netbsd32/netbsd32_wait.c
71
sizeof(status));
sys/compat/netbsd32/netbsd32_wait.c
97
int status;
sys/compat/sunos/sunos_misc.c
129
SCARG(&bsd_ua, status) = SCARG(uap, status);
sys/compat/sunos/sunos_syscallargs.h
54
syscallarg(int *) status;
sys/compat/sunos32/sunos32_misc.c
202
SCARG(&bsd_ua, status) = SCARG(uap, status);
sys/compat/sunos32/sunos32_syscallargs.h
54
syscallarg(netbsd32_intp) status;
sys/compat/ultrix/ultrix_misc.c
239
SCARG(&ap, status) = SCARG(uap, status);
sys/compat/ultrix/ultrix_misc.c
252
SCARG(&ap, status) = SCARG(uap, status);
sys/compat/ultrix/ultrix_syscallargs.h
181
syscallarg(int *) status;
sys/compat/ultrix/ultrix_syscallargs.h
414
syscallarg(int *) status;
sys/dev/acpi/acpi.c
377
ACPI_STATUS status;
sys/dev/acpi/acpi.c
395
status = AcpiOsWritePciConfiguration(&PciId,
sys/dev/acpi/acpi.c
401
status = AcpiReset();
sys/dev/acpi/acpi.c
404
status = AE_TYPE;
sys/dev/acpi/acpi.c
408
return ACPI_FAILURE(status) ? EIO : 0;
sys/dev/acpi/acpi.c
872
void *context, void **status)
sys/dev/acpi/acpi.c
945
void *context, void **status)
sys/dev/acpi/acpi_acad.c
169
ACPI_INTEGER status;
sys/dev/acpi/acpi_acad.c
172
rv = acpi_eval_integer(sc->sc_node->ad_handle, "_PSR", &status);
sys/dev/acpi/acpi_acad.c
177
if (status != 0 && status != 1) {
sys/dev/acpi/acpi_acad.c
182
if (sc->sc_status != (int)status) {
sys/dev/acpi/acpi_acad.c
190
sysmon_pswitch_event(&sc->sc_smpsw, (status != 0) ?
sys/dev/acpi/acpi_acad.c
194
status == 0 ? "not " : "");
sys/dev/acpi/acpi_acad.c
197
sc->sc_status = status;
sys/dev/acpi/acpi_display.c
1025
if (acpidisp_get_status(osc, &status.raw)) {
sys/dev/acpi/acpi_display.c
1028
state.fmt.active &= status.fmt.ready;
sys/dev/acpi/acpi_display.c
1030
if (state.fmt.active == status.fmt.activated)
sys/dev/acpi/acpi_display.c
999
acpidisp_od_status_t status;
sys/dev/acpi/acpi_mcfg.c
227
ACPI_STATUS status;
sys/dev/acpi/acpi_mcfg.c
229
status = AcpiWalkResources(handle, "_CRS", acpimcfg_parse_callback, mr);
sys/dev/acpi/acpi_mcfg.c
230
if (ACPI_FAILURE(status))
sys/dev/acpi/acpi_mcfg.c
231
return_ACPI_STATUS(status);
sys/dev/acpi/acpi_mcfg.c
251
ACPI_STATUS status;
sys/dev/acpi/acpi_mcfg.c
261
status = AcpiGetDevices(__UNCONST(system_resource_hid[i]),
sys/dev/acpi/acpi_mcfg.c
263
if (ACPI_FAILURE(status))
sys/dev/acpi/acpi_mcfg.c
281
ACPI_STATUS status;
sys/dev/acpi/acpi_mcfg.c
289
status = AcpiGetTable(ACPI_SIG_MCFG, 0, (ACPI_TABLE_HEADER **)&mcfg);
sys/dev/acpi/acpi_mcfg.c
290
if (ACPI_FAILURE(status)) {
sys/dev/acpi/acpi_pci_link.c
429
ACPI_STATUS status;
sys/dev/acpi/acpi_pci_link.c
441
status = AcpiWalkResources(sc->pl_handle, "_CRS",
sys/dev/acpi/acpi_pci_link.c
443
sc->pl_crs_bad = ACPI_FAILURE(status);
sys/dev/acpi/acpi_pci_link.c
447
status = AcpiWalkResources(sc->pl_handle, "_PRS",
sys/dev/acpi/acpi_pci_link.c
449
if (ACPI_FAILURE(status)) {
sys/dev/acpi/acpi_pci_link.c
451
sc->pl_name, AcpiFormatException(status));
sys/dev/acpi/acpi_pci_link.c
481
status = AcpiWalkResources(sc->pl_handle, "_CRS",
sys/dev/acpi/acpi_pci_link.c
483
if (ACPI_FAILURE(status)) {
sys/dev/acpi/acpi_pci_link.c
485
sc->pl_name, AcpiFormatException(status));
sys/dev/acpi/acpi_pci_link.c
499
status = AcpiWalkResources(sc->pl_handle, "_PRS",
sys/dev/acpi/acpi_pci_link.c
501
if (ACPI_FAILURE(status) &&
sys/dev/acpi/acpi_pci_link.c
502
(status != AE_NOT_FOUND || sc->pl_crs_bad)) {
sys/dev/acpi/acpi_pci_link.c
504
sc->pl_name, AcpiFormatException(status));
sys/dev/acpi/acpi_pci_link.c
513
if (status != AE_NOT_FOUND)
sys/dev/acpi/acpi_pci_link.c
739
ACPI_STATUS status;
sys/dev/acpi/acpi_pci_link.c
746
status = AcpiGetCurrentResources(sc->pl_handle, srsbuf);
sys/dev/acpi/acpi_pci_link.c
747
if (ACPI_SUCCESS(status) && srsbuf->Pointer == NULL)
sys/dev/acpi/acpi_pci_link.c
748
status = AE_NO_MEMORY;
sys/dev/acpi/acpi_pci_link.c
749
if (ACPI_FAILURE(status)) {
sys/dev/acpi/acpi_pci_link.c
751
sc->pl_name, AcpiFormatException(status));
sys/dev/acpi/acpi_pci_link.c
752
return status;
sys/dev/acpi/acpi_pci_link.c
822
ACPI_STATUS status;
sys/dev/acpi/acpi_pci_link.c
865
status = acpi_AppendBufferResource(srsbuf, &newres);
sys/dev/acpi/acpi_pci_link.c
866
if (ACPI_FAILURE(status)) {
sys/dev/acpi/acpi_pci_link.c
868
sc->pl_name, AcpiFormatException(status));
sys/dev/acpi/acpi_pci_link.c
871
return status;
sys/dev/acpi/acpi_pci_link.c
880
ACPI_STATUS status;
sys/dev/acpi/acpi_pci_link.c
883
status = acpi_pci_link_srs_from_links(sc, srsbuf);
sys/dev/acpi/acpi_pci_link.c
885
status = acpi_pci_link_srs_from_crs(sc, srsbuf);
sys/dev/acpi/acpi_pci_link.c
887
if (ACPI_FAILURE(status))
sys/dev/acpi/acpi_pci_link.c
889
sc->pl_name, AcpiFormatException(status));
sys/dev/acpi/acpi_pci_link.c
901
ACPI_STATUS status;
sys/dev/acpi/acpi_pci_link.c
905
status = acpi_pci_link_srs(sc, &srsbuf);
sys/dev/acpi/acpi_pci_link.c
906
if (ACPI_FAILURE(status)) {
sys/dev/acpi/acpi_pci_link.c
908
sc->pl_name, AcpiFormatException(status));
sys/dev/acpi/acpi_pci_link.c
909
return status;
sys/dev/acpi/acpi_util.c
1294
ACPI_STATUS status;
sys/dev/acpi/acpi_util.c
1321
status = AcpiEvaluateObject(handle, "_DSM", &arg, NULL);
sys/dev/acpi/acpi_util.c
1324
status = AcpiEvaluateObjectTyped(handle, "_DSM", &arg, &buf,
sys/dev/acpi/acpi_util.c
1327
if (ACPI_FAILURE(status)) {
sys/dev/acpi/acpi_util.c
1328
return status;
sys/dev/acpi/acpi_util.c
1343
ACPI_STATUS status;
sys/dev/acpi/acpi_util.c
1345
status = acpi_dsm_typed(handle, uuid, rev, func, arg3,
sys/dev/acpi/acpi_util.c
1347
if (ACPI_FAILURE(status)) {
sys/dev/acpi/acpi_util.c
1348
return status;
sys/dev/acpi/acpi_util.c
1370
ACPI_STATUS status;
sys/dev/acpi/acpi_util.c
1374
status = acpi_dsm(handle, uuid, rev, 0, NULL, &obj);
sys/dev/acpi/acpi_util.c
1375
if (ACPI_FAILURE(status)) {
sys/dev/acpi/acpi_util.c
1376
return status;
sys/dev/acpi/acpi_util.c
1389
status = AE_TYPE;
sys/dev/acpi/acpi_util.c
1394
return status;
sys/dev/acpi/amdgpio.c
495
uint64_t status;
sys/dev/acpi/amdgpio.c
500
status = RD4(sc, AMDGPIO_INTR_STATUS(1));
sys/dev/acpi/amdgpio.c
501
status <<= 32;
sys/dev/acpi/amdgpio.c
502
status |= RD4(sc, AMDGPIO_INTR_STATUS(0));
sys/dev/acpi/amdgpio.c
503
status &= __BITS(0, AMDGPIO_INTR_STATUS_NBITS - 1);
sys/dev/acpi/amdgpio.c
505
if (status == 0) {
sys/dev/acpi/amdgpio.c
513
if ((status & __BIT(pin / 4)) == 0) {
sys/dev/acpi/apei.c
1070
uint32_t status, unknownstatus, severity, nentries, i;
sys/dev/acpi/apei.c
1090
status = 0;
sys/dev/acpi/apei.c
1101
status = atomic_load_acquire(&gesb->BlockStatus);
sys/dev/acpi/apei.c
1107
if (status == 0) {
sys/dev/acpi/apei.c
1118
nentries = __SHIFTOUT(status, ACPI_HEST_ERROR_ENTRY_COUNT);
sys/dev/acpi/apei.c
1135
"\0", status);
sys/dev/acpi/apei.c
1174
unknownstatus = status;
sys/dev/acpi/apei.c
1343
return status;
sys/dev/acpi/apei_bert.c
97
const uint32_t status = apei_gesb_report(sc, bsc->bsc_gesb,
sys/dev/acpi/apei_bert.c
99
if (status == 0) {
sys/dev/acpi/apei_hest.c
102
status = apei_gesb_report(sc, src->as_ghes.gesb,
sys/dev/acpi/apei_hest.c
124
const uint32_t status1 = atomic_cas_32(&gesb->BlockStatus, status, 0);
sys/dev/acpi/apei_hest.c
125
if (status1 != status) {
sys/dev/acpi/apei_hest.c
128
ctx, status, status1);
sys/dev/acpi/apei_hest.c
137
return status != 0;
sys/dev/acpi/apei_hest.c
155
uint32_t status;
sys/dev/acpi/apei_hest.c
163
status = apei_gesb_report(sc, src->as_ghes.gesb,
sys/dev/acpi/apei_hest.c
172
const uint32_t status1 = atomic_cas_32(&gesb->BlockStatus, status, 0);
sys/dev/acpi/apei_hest.c
173
if (status1 != status) {
sys/dev/acpi/apei_hest.c
176
ctx, status, status1);
sys/dev/acpi/apei_hest.c
197
return status != 0;
sys/dev/acpi/apei_hest.c
94
uint32_t status;
sys/dev/acpi/qcomscm.c
411
uint32_t status;
sys/dev/acpi/qcomscm.c
473
if (resp->status) {
sys/dev/acpi/qcomscm.c
474
if (resp->status == QCTEE_UEFI_BUFFER_TOO_SMALL)
sys/dev/acpi/qcomscm.c
478
ret = resp->status;
sys/dev/acpi/qcomscm.c
526
uint32_t status;
sys/dev/acpi/qcomscm.c
586
if (resp->status) {
sys/dev/acpi/qcomscm.c
587
ret = resp->status;
sys/dev/acpi/qcomscm.c
608
uint32_t status;
sys/dev/acpi/qcomscm.c
665
if (resp->status) {
sys/dev/acpi/qcomscm.c
666
if (resp->status == QCTEE_UEFI_BUFFER_TOO_SMALL)
sys/dev/acpi/qcomscm.c
668
ret = resp->status;
sys/dev/acpi/qcomscm.c
703
efi_status status;
sys/dev/acpi/qcomscm.c
713
status = qcscm_uefi_get_variable(sc, name, name_size * 2, guid,
sys/dev/acpi/qcomscm.c
718
return ((status & 0xf0000000) << 32 | (status & 0x0fffffff));
sys/dev/acpi/qcomscm.c
726
efi_status status;
sys/dev/acpi/qcomscm.c
734
status = qcscm_uefi_set_variable(sc, name, name_size * 2, guid,
sys/dev/acpi/qcomscm.c
738
return ((status & 0xf0000000) << 32 | (status & 0x0fffffff));
sys/dev/acpi/qcomscm.c
746
efi_status status;
sys/dev/acpi/qcomscm.c
750
status = qcscm_uefi_get_next_variable(sc, name, &size, guid);
sys/dev/acpi/qcomscm.c
754
return ((status & 0xf0000000) << 32 | (status & 0x0fffffff));
sys/dev/acpi/qcomsmem.c
33
uint32_t status;
sys/dev/acpi/smbus_acpi.c
472
int status = 0;
sys/dev/acpi/smbus_acpi.c
479
status = 1;
sys/dev/acpi/smbus_acpi.c
487
status = 1;
sys/dev/acpi/smbus_acpi.c
492
status = e[0].Integer.Value;
sys/dev/acpi/smbus_acpi.c
494
if (status == 0 && e[1].Type == ACPI_TYPE_INTEGER) {
sys/dev/acpi/smbus_acpi.c
505
} while (status == 0);
sys/dev/acpi/sony_acpi.c
151
sony_walk_cb(ACPI_HANDLE hnd, uint32_t v, void *context, void **status)
sys/dev/acpi/sony_acpi.c
433
void *opaque, void **status)
sys/dev/acpi/vald_acpi.c
427
void *context, void **status)
sys/dev/acpi/valz_acpi.c
560
uint32_t result, status, value;
sys/dev/acpi/valz_acpi.c
576
status = HCI_DISABLE;
sys/dev/acpi/valz_acpi.c
579
status = HCI_ENABLE;
sys/dev/acpi/valz_acpi.c
582
status = HCI_ENABLE;
sys/dev/acpi/valz_acpi.c
586
rv = valz_acpi_hci_set(sc, SCI_SET, SCI_TOUCHPAD, status, &result);
sys/dev/acpi/valz_acpi.c
608
uint32_t result, status, value;
sys/dev/acpi/valz_acpi.c
618
status = HCI_OFF;
sys/dev/acpi/valz_acpi.c
621
status = HCI_ON;
sys/dev/acpi/valz_acpi.c
624
status = HCI_ON;
sys/dev/acpi/valz_acpi.c
628
rv = valz_acpi_hci_set(sc, HCI_SET, HCI_LCD_BACKLIGHT, status, &result);
sys/dev/ata/ata.c
1272
int rv, status;
sys/dev/ata/ata.c
1290
status = xfer->ops->c_poll(chp, xfer);
sys/dev/ata/ata.c
1292
if (status == ATAPOLL_AGAIN)
sys/dev/ata/ata_raid_intel.c
118
printf("status %u\n", map->status);
sys/dev/ata/ata_raid_nvidia.c
116
printf("status 0x%08x\n", info->status);
sys/dev/ata/ata_raid_nvidia.c
208
if (info->status & NV_S_DEGRADED)
sys/dev/ata/ata_raid_promise.c
143
if ((info->raid.status &
sys/dev/ata/ata_raid_promise.c
147
if (info->raid.status & PR_S_DEGRADED)
sys/dev/ata/ata_raidreg.h
251
uint32_t status;
sys/dev/ata/ata_raidreg.h
342
uint8_t status;
sys/dev/ata/ata_raidreg.h
76
uint8_t status;
sys/dev/ata/ata_recovery.c
132
*status = tb[2];
sys/dev/ata/ata_recovery.c
135
if ((*status & WDCS_ERR) == 0) {
sys/dev/ata/ata_recovery.c
145
page, *slot, *err, *status);
sys/dev/ata/ata_recovery.c
68
uint8_t *slot, uint8_t *status, uint8_t *err)
sys/dev/ata/atareg.h
566
uint8_t status;
sys/dev/ata/atavar.h
146
#define ATACH_ERR_ST(error, status) ((error) << 8 | (status))
sys/dev/cardbus/cardbus_map.c
239
int status = 0;
sys/dev/cardbus/cardbus_map.c
252
status = 1;
sys/dev/cardbus/cardbus_map.c
258
status = 1;
sys/dev/cardbus/cardbus_map.c
263
if (status == 0) {
sys/dev/cardbus/rbus.c
173
int status = 1;
sys/dev/cardbus/rbus.c
176
status = rbus_space_free(rbt->rb_parent, bsh, size, &addr);
sys/dev/cardbus/rbus.c
183
status = 0;
sys/dev/cardbus/rbus.c
186
status = 1;
sys/dev/cardbus/rbus.c
188
if (status == 0 && addrp != NULL) {
sys/dev/cardbus/rbus.c
191
return status;
sys/dev/dec/dz.c
636
unsigned status;
sys/dev/dec/dz.c
646
status = dz_read1(sc, sc->sc_dr.dr_dcd) | sc->sc_dsr;
sys/dev/dec/dz.c
647
if (status & bit)
sys/dev/dec/dz.c
649
status = dz_read1(sc, sc->sc_dr.dr_ring);
sys/dev/dec/dz.c
650
if (status & bit)
sys/dev/dec/dz.c
654
status = dz_read1(sc, sc->sc_dr.dr_dtr);
sys/dev/dec/dz.c
655
if (status & bit)
sys/dev/dkwedge/dkwedge_tos.c
122
if (!(part.status & 0x01))
sys/dev/dkwedge/dkwedge_tos.c
60
uint8_t status;
sys/dev/dtv/dtvio_frontend.h
236
fe_status_t status;
sys/dev/ebus/cs4231_ebus.c
532
int status;
sys/dev/ebus/cs4231_ebus.c
542
status = ADREAD(&sc->sc_ad1848, AD1848_STATUS);
sys/dev/ebus/cs4231_ebus.c
548
snprintb(bits, sizeof(bits), AD_R2_BITS, status);
sys/dev/ebus/cs4231_ebus.c
553
if (status & INTERRUPT_STATUS) {
sys/dev/efi.c
113
efi_status_to_error(efi_status status)
sys/dev/efi.c
115
switch (status) {
sys/dev/efi.c
290
efi_status status;
sys/dev/efi.c
303
status = efi_ops->efi_gettab(&ioc->uuid, &addr);
sys/dev/efi.c
304
if (status != EFI_SUCCESS)
sys/dev/efi.c
305
return efi_status_to_error(status);
sys/dev/efi.c
341
efi_status status;
sys/dev/efi.c
374
status = efi_ops->efi_getvar(namebuf, &var->vendor, &var->attrib,
sys/dev/efi.c
376
if (status != EFI_SUCCESS && status != EFI_BUFFER_TOO_SMALL) {
sys/dev/efi.c
377
error = efi_status_to_error(status);
sys/dev/efi.c
381
if (status == EFI_SUCCESS && databufsize != 0) {
sys/dev/efi.c
399
efi_status status;
sys/dev/efi.c
421
status = efi_ops->efi_nextvar(&namesize, namebuf, &var->vendor);
sys/dev/efi.c
422
if (status != EFI_SUCCESS && status != EFI_BUFFER_TOO_SMALL) {
sys/dev/efi.c
423
error = efi_status_to_error(status);
sys/dev/efi.c
427
if (status == EFI_SUCCESS) {
sys/dev/efi.c
442
efi_status status;
sys/dev/efi.c
468
status = efi_ops->efi_setvar(namebuf, &var->vendor, var->attrib,
sys/dev/efi.c
470
error = efi_status_to_error(status);
sys/dev/eisa/ahb.c
868
ecb->status = ecb->ecb_dma_addr +
sys/dev/eisa/ahbreg.h
138
uint16_t status;
sys/dev/eisa/ahbreg.h
195
uint32_t status;
sys/dev/eisa/cac_eisa.c
269
u_int8_t status;
sys/dev/eisa/cac_eisa.c
277
status = cac_inb(sc, CAC_EISAREG_LIST_STATUS);
sys/dev/eisa/cac_eisa.c
289
ccb->ccb_req.error = status;
sys/dev/eisa/mlx_eisa.c
240
mlx_v1_findcomplete(struct mlx_softc *mlx, u_int *slot, u_int *status)
sys/dev/eisa/mlx_eisa.c
246
*status = mlx_inw(mlx, MLX_V1REG_MAILBOX + 0x0e);
sys/dev/hil/hil.c
647
uint8_t status;
sys/dev/hil/hil.c
676
status = bus_space_read_1(sc->sc_bst, sc->sc_bsh,
sys/dev/hil/hil.c
681
} while (((status >> HIL_SSHIFT) & HIL_SMASK) != HIL_68K);
sys/dev/hil/hil.c
699
uint8_t status, c;
sys/dev/hil/hil.c
742
status = bus_space_read_1(sc->sc_bst, sc->sc_bsh, HILP_STAT);
sys/dev/hil/hil.c
745
hil_process_int(sc, status, c);
sys/dev/hpc/biconsdev.c
174
int status;
sys/dev/hpc/biconsdev.c
193
status = (*tp->t_linesw->l_open)(dev, tp);
sys/dev/hpc/biconsdev.c
194
return status;
sys/dev/hyperv/hvkbd.c
507
sc->sc_connect_status = rsp->status;
sys/dev/hyperv/hvkbd.c
87
uint32_t status;
sys/dev/hyperv/hvs.c
790
xs->status = srb->srb_scsistatus & 0xff;
sys/dev/hyperv/hvs.c
792
switch (xs->status) {
sys/dev/hyperv/if_hvn.c
4928
uint32_t status;
sys/dev/hyperv/if_hvn.c
4930
memcpy(&status, buf + RNDIS_HEADER_OFFSET, sizeof(status));
sys/dev/hyperv/if_hvn.c
4931
switch (status) {
sys/dev/hyperv/if_hvn.c
4945
status);
sys/dev/hyperv/vmbus.c
595
uint16_t status;
sys/dev/hyperv/vmbus.c
617
status = hyperv_hypercall_post_message(
sys/dev/hyperv/vmbus.c
619
if (status == HYPERCALL_STATUS_SUCCESS)
sys/dev/hyperv/vmbus.c
638
"posting vmbus message failed with %d\n", status);
sys/dev/hyperv/vmbus.c
693
uint64_t status;
sys/dev/hyperv/vmbus.c
695
status = hyperv_hypercall_signal_event(con_pa);
sys/dev/hyperv/vmbus.c
696
return (uint16_t)status;
sys/dev/i2c/au8522.c
275
uint8_t status;
sys/dev/i2c/au8522.c
277
if (au8522_read_1(au, AU8522_REG_STATUS, &status))
sys/dev/i2c/au8522.c
281
printf("au8522: status=0x%02x\n", status);
sys/dev/i2c/au8522.c
283
return (status & AU8522_STATUS_LOCK) == AU8522_STATUS_LOCK ? 1 : 0;
sys/dev/i2c/au8522.c
343
fe_status_t status = 0;
sys/dev/i2c/au8522.c
351
status |= FE_HAS_SIGNAL;
sys/dev/i2c/au8522.c
352
status |= FE_HAS_CARRIER;
sys/dev/i2c/au8522.c
353
status |= FE_HAS_VITERBI;
sys/dev/i2c/au8522.c
361
status |= FE_HAS_VITERBI;
sys/dev/i2c/au8522.c
364
status |= FE_HAS_SIGNAL;
sys/dev/i2c/au8522.c
365
status |= FE_HAS_CARRIER;
sys/dev/i2c/au8522.c
372
if (status & FE_HAS_VITERBI) {
sys/dev/i2c/au8522.c
373
status |= FE_HAS_SYNC;
sys/dev/i2c/au8522.c
374
status |= FE_HAS_LOCK;
sys/dev/i2c/au8522.c
377
return status;
sys/dev/i2c/cx24227.c
161
fe_status_t status = 0;
sys/dev/i2c/cx24227.c
166
status = FE_HAS_VITERBI | FE_HAS_CARRIER | FE_HAS_SIGNAL;
sys/dev/i2c/cx24227.c
168
status |= FE_HAS_LOCK | FE_HAS_SYNC;
sys/dev/i2c/cx24227.c
170
return status;
sys/dev/i2c/ds2482ow.c
137
ds2482_wait_with_status(i2c_tag_t tag, i2c_addr_t addr, uint8_t *status,
sys/dev/i2c/ds2482ow.c
152
error = iic_exec(tag, I2C_OP_READ, addr, NULL, 0, status, 1,
sys/dev/i2c/ds2482ow.c
154
if ((*status & DS2482_STATUS_1WB) && !error) {
sys/dev/i2c/ds2482ow.c
158
NULL, 0, status, 1, 0);
sys/dev/i2c/ds2482ow.c
159
} while ((*status & DS2482_STATUS_1WB) && !error);
sys/dev/i2c/ds2482ow.c
165
*status, *status, error, error));
sys/dev/i2c/em3027.c
151
uint8_t status;
sys/dev/i2c/em3027.c
176
aprint_debug_dev(sc->sc_dev, "status=0x%02x\n", ctl.status);
sys/dev/i2c/em3027.c
179
if (ctl.status & EM3027_STATUS_VLOW2) {
sys/dev/i2c/em3027.c
183
else if (ctl.status & EM3027_STATUS_VLOW1) {
sys/dev/i2c/em3027.c
188
ctl.status = EM3027_STATUS_POWER_ON;
sys/dev/i2c/em3027.c
449
uint8_t status, t_raw;
sys/dev/i2c/em3027.c
455
error = em3027rtc_read_byte(sc, EM3027_STATUS, &status);
sys/dev/i2c/em3027.c
462
if (status & (EM3027_STATUS_VLOW2 | EM3027_STATUS_VLOW1)) {
sys/dev/i2c/fusbtc.c
459
uint8_t status;
sys/dev/i2c/fusbtc.c
462
status = fusbtc_read_reg(sc, FUSB_STATUS1A);
sys/dev/i2c/fusbtc.c
463
status &= FUSB_STATUS1A_TOGSS_MASK;
sys/dev/i2c/fusbtc.c
465
if (FUSB_STATUS1A_TOGSS_CC1(status))
sys/dev/i2c/fusbtc.c
470
if (status == FUSB_STATUS1A_TOGSS_SRC1 ||
sys/dev/i2c/fusbtc.c
471
status == FUSB_STATUS1A_TOGSS_SRC2) {
sys/dev/i2c/fusbtc.c
501
} else if (status == FUSB_STATUS1A_TOGSS_SNK1 ||
sys/dev/i2c/fusbtc.c
502
status == FUSB_STATUS1A_TOGSS_SNK2) {
sys/dev/i2c/fusbtc.c
520
status);
sys/dev/i2c/gttwsi_core.c
199
uint32_t control, status;
sys/dev/i2c/gttwsi_core.c
209
if ((status = gttwsi_read_4(sc, TWSI_STATUS)) == STAT_NRS)
sys/dev/i2c/gttwsi_core.c
216
status);
sys/dev/i2c/gttwsi_core.c
310
uint32_t status;
sys/dev/i2c/gttwsi_core.c
360
status = gttwsi_read_4(sc, TWSI_STATUS);
sys/dev/i2c/gttwsi_core.c
361
if (status != expect) {
sys/dev/i2c/gttwsi_core.c
368
if (alt != 0 && status != alt)
sys/dev/i2c/gttwsi_core.c
370
"unexpected status 0x%x: expect 0x%x\n", status,
sys/dev/i2c/hytp14.c
424
int status;
sys/dev/i2c/hytp14.c
426
status = hytp14_refresh_sensor(sc);
sys/dev/i2c/hytp14.c
428
if (status == ENVSYS_SVALID) {
sys/dev/i2c/hytp14.c
435
edata->state = status;
sys/dev/i2c/hytp14.c
442
int status;
sys/dev/i2c/hytp14.c
444
status = hytp14_refresh_sensor(sc);
sys/dev/i2c/hytp14.c
446
if (status == ENVSYS_SVALID) {
sys/dev/i2c/hytp14.c
454
edata->state = status;
sys/dev/i2c/ihidev.c
1088
ACPI_STATUS status;
sys/dev/i2c/ihidev.c
1100
status = acpi_dsm_integer(hdl, i2c_hid_guid, 1, 1, NULL, &val);
sys/dev/i2c/ihidev.c
1101
if (ACPI_FAILURE(status)) {
sys/dev/i2c/ihidev.c
1104
AcpiFormatException(status));
sys/dev/i2c/nxt2k.c
551
fe_status_t status = 0;
sys/dev/i2c/nxt2k.c
555
status = FE_HAS_SIGNAL | FE_HAS_CARRIER | FE_HAS_VITERBI |
sys/dev/i2c/nxt2k.c
559
return status;
sys/dev/i2c/tda19988.c
693
enum drm_connector_status status;
sys/dev/i2c/tda19988.c
700
status = (data & RXSHPDLEV_HPD) ?
sys/dev/i2c/tda19988.c
705
if (status == connector_status_connected &&
sys/dev/i2c/tda19988.c
709
sc->sc_last_status = status;
sys/dev/i2c/tda19988.c
711
return status;
sys/dev/i2c/tps65217pmic.c
403
uint8_t intr, intrmask, status, ppath;
sys/dev/i2c/tps65217pmic.c
414
status = tps65217pmic_reg_read(sc, TPS65217PMIC_STATUS);
sys/dev/i2c/tps65217pmic.c
421
sc->sc_usbstatus = status & TPS65217PMIC_STATUS_USBPWR;
sys/dev/i2c/tps65217pmic.c
422
sc->sc_acstatus = status & TPS65217PMIC_STATUS_ACPWR;
sys/dev/i2c/tps65217pmic.c
441
uint8_t status;
sys/dev/i2c/tps65217pmic.c
453
status = tps65217pmic_reg_read(sc, TPS65217PMIC_STATUS);
sys/dev/i2c/tps65217pmic.c
456
usbstatus = status & TPS65217PMIC_STATUS_USBPWR;
sys/dev/i2c/tps65217pmic.c
457
acstatus = status & TPS65217PMIC_STATUS_ACPWR;
sys/dev/i2c/tps65217pmic.c
715
uint8_t status, ppath;
sys/dev/i2c/tps65217pmic.c
718
status = tps65217pmic_reg_read(sc, TPS65217PMIC_STATUS);
sys/dev/i2c/tps65217pmic.c
723
if (status & TPS65217PMIC_STATUS_USBPWR)
sys/dev/i2c/tps65217pmic.c
732
if (status & TPS65217PMIC_STATUS_ACPWR)
sys/dev/i2o/iop.c
1616
u_int off, ictx, tctx, status, size;
sys/dev/i2o/iop.c
1658
status = I2O_STATUS_SUCCESS;
sys/dev/i2o/iop.c
1665
status = rb->reqstatus;
sys/dev/i2o/iop.c
1701
if (status != I2O_STATUS_SUCCESS)
sys/dev/i2o/iop.c
1704
im->im_reqstatus = status;
sys/dev/i2o/iop.c
1740
return (status);
sys/dev/i2o/iopsp.c
593
xs->status = rb->scsistatus;
sys/dev/ic/aac.c
1179
u_int32_t status;
sys/dev/ic/aac.c
1209
status = AAC_GET_MAILBOXSTATUS(sc);
sys/dev/ic/aac.c
1212
*sp = status;
sys/dev/ic/aac.c
1226
u_int32_t fibpa, status;
sys/dev/ic/aac.c
1263
if (aac_sync_command(sc, AAC_MONKER_SYNCFIB, fibpa, 0, 0, 0, &status))
sys/dev/ic/aac.c
1265
if (status != 1) {
sys/dev/ic/aac.c
1267
device_xname(sc->sc_dv), command, status);
sys/dev/ic/aac.c
425
u_int32_t major, minor, opts, atusize = 0, status = 0;
sys/dev/ic/aac.c
446
if (aac_sync_command(sc, AAC_MONKER_GETINFO, 0, 0, 0, 0, &status)) {
sys/dev/ic/aac.c
447
if (status != AAC_SRB_STS_INVALID_REQUEST) {
sys/dev/ic/aac.c
448
aprint_error_dev(sc->sc_dv, "GETINFO failed, status 0x%08x\n", status);
sys/dev/ic/aacreg.h
1296
AAC_AifJobStatus status;
sys/dev/ic/advlib.c
1463
int status;
sys/dev/ic/advlib.c
1504
while (((status = AscIsrQDone(sc)) & 0x01) != 0);
sys/dev/ic/advlib.c
1507
if ((status = AscIsrQDone(sc)) == 1)
sys/dev/ic/advlib.c
1509
} while (status == 0x11);
sys/dev/ic/advlib.c
1512
if (status & 0x80)
sys/dev/ic/advlib.c
2542
scsiq->q1.status = ASC_QS_FREE;
sys/dev/ic/advlib.c
2912
scsiq->q1.status = (u_char) ASC_QS_READY;
sys/dev/ic/advlib.h
439
u_int8_t status; /* see below status values */
sys/dev/ic/adwlib.c
1833
int status;
sys/dev/ic/adwlib.c
1839
status = AdwSendIdleCmd(sc, (u_int16_t) IDLE_CMD_SCSI_RESET_START, 0L);
sys/dev/ic/adwlib.c
1840
if (status != ADW_TRUE) {
sys/dev/ic/adwlib.c
1841
return status;
sys/dev/ic/adwlib.c
1856
status = AdwSendIdleCmd(sc, (u_int16_t) IDLE_CMD_SCSI_RESET_END, 0L);
sys/dev/ic/adwlib.c
1857
if (status != ADW_TRUE) {
sys/dev/ic/adwlib.c
1858
return status;
sys/dev/ic/adwlib.c
1863
return status;
sys/dev/ic/adwlib.c
1879
int status;
sys/dev/ic/adwlib.c
1924
status = (AdwInitDriver(sc) == 0)? ADW_TRUE : ADW_FALSE;
sys/dev/ic/adwlib.c
1945
return status;
sys/dev/ic/ahcisata_core.c
2054
sc_xfer->status = SCSI_CHECK;
sys/dev/ic/aic6360.c
902
xs->status = acb->target_stat;
sys/dev/ic/aic79xx.c
1506
u_int status;
sys/dev/ic/aic79xx.c
1517
status = ahd_inb(ahd, SSTAT1) & (SELTO|SCSIRSTI|BUSFREE|SCSIPERR);
sys/dev/ic/aic79xx.c
1556
} else if ((status & SCSIRSTI) != 0) {
sys/dev/ic/aic79xx.c
1559
} else if ((status & SCSIPERR) != 0) {
sys/dev/ic/aic79xx.c
1567
} else if ((status & SELTO) != 0) {
sys/dev/ic/aic79xx.c
1639
} else if ((status & BUSFREE) != 0) {
sys/dev/ic/aic79xx.c
1741
ahd_name(ahd), status);
sys/dev/ic/aic79xx.c
180
u_int lun, cam_status status,
sys/dev/ic/aic79xx.c
207
role_t role, uint32_t status,
sys/dev/ic/aic79xx.c
4994
u_int lun, cam_status status, const char *message,
sys/dev/ic/aic79xx.c
5004
status);
sys/dev/ic/aic79xx.c
7105
int lun, u_int tag, role_t role, uint32_t status,
sys/dev/ic/aic79xx.c
7186
ahd_set_scsi_status(scb, status);
sys/dev/ic/aic79xx.c
7274
lun, tag, role, status,
sys/dev/ic/aic79xx.c
7291
int lun, u_int tag, role_t role, uint32_t status,
sys/dev/ic/aic79xx.c
7334
ahd_set_scsi_status(scb, status);
sys/dev/ic/aic79xx.c
7454
int lun, u_int tag, role_t role, uint32_t status)
sys/dev/ic/aic79xx.c
7533
ahd_set_scsi_status(scbp, status);
sys/dev/ic/aic79xx.c
7543
ahd_platform_abort_scbs(ahd, target, channel, lun, tag, role, status);
sys/dev/ic/aic79xx.c
7881
ahd_set_scsi_status(scb, siu->status);
sys/dev/ic/aic79xx.c
7886
SCB_GET_TAG(scb), siu->status);
sys/dev/ic/aic79xx.c
7917
if (siu->status == SCSI_STATUS_OK)
sys/dev/ic/aic79xx.c
8211
ccbh->status = CAM_SCSI_BUS_RESET|CAM_DEV_QFRZN;
sys/dev/ic/aic79xx.c
8214
ccbh->status = CAM_MESSAGE_RECV|CAM_DEV_QFRZN;
sys/dev/ic/aic79xx.c
9225
cam_status status;
sys/dev/ic/aic79xx.c
9232
status = ahd_find_tmode_devs(ahd, sim, ccb, &tstate, &lstate,
sys/dev/ic/aic79xx.c
9235
if (status != CAM_REQ_CMP) {
sys/dev/ic/aic79xx.c
9236
ccb->ccb_h.status = status;
sys/dev/ic/aic79xx.c
9254
status = CAM_TID_INVALID;
sys/dev/ic/aic79xx.c
9264
status = CAM_TID_INVALID;
sys/dev/ic/aic79xx.c
9269
if (status != CAM_REQ_CMP) {
sys/dev/ic/aic79xx.c
9270
ccb->ccb_h.status = status;
sys/dev/ic/aic79xx.c
9285
ccb->ccb_h.status = CAM_BUSY;
sys/dev/ic/aic79xx.c
9312
ccb->ccb_h.status = CAM_LUN_ALRDY_ENA;
sys/dev/ic/aic79xx.c
9322
ccb->ccb_h.status = CAM_REQ_INVALID;
sys/dev/ic/aic79xx.c
9336
ccb->ccb_h.status = CAM_RESRC_UNAVAIL;
sys/dev/ic/aic79xx.c
9344
ccb->ccb_h.status = CAM_RESRC_UNAVAIL;
sys/dev/ic/aic79xx.c
9348
status = xpt_create_path(&lstate->path, /*periph*/NULL,
sys/dev/ic/aic79xx.c
9352
if (status != CAM_REQ_CMP) {
sys/dev/ic/aic79xx.c
9356
ccb->ccb_h.status = CAM_RESRC_UNAVAIL;
sys/dev/ic/aic79xx.c
9425
ccb->ccb_h.status = CAM_REQ_CMP;
sys/dev/ic/aic79xx.c
9433
ccb->ccb_h.status = CAM_LUN_INVALID;
sys/dev/ic/aic79xx.c
9439
ccb->ccb_h.status = CAM_REQ_CMP;
sys/dev/ic/aic79xx.c
9447
ccb->ccb_h.status = CAM_REQ_INVALID;
sys/dev/ic/aic79xx.c
9455
ccb->ccb_h.status = CAM_REQ_INVALID;
sys/dev/ic/aic79xx.c
9460
ccb->ccb_h.status = CAM_REQ_INVALID;
sys/dev/ic/aic79xx.c
9463
if (ccb->ccb_h.status != CAM_REQ_CMP) {
sys/dev/ic/aic79xx.c
9713
atio->ccb_h.status |= CAM_CDB_RECVD;
sys/dev/ic/aic79xx_osm.c
253
ahd_name(ahd), xs->status);
sys/dev/ic/aic79xx_osm.c
258
} else if ((xs->status == SCSI_STATUS_BUSY) ||
sys/dev/ic/aic79xx_osm.c
259
(xs->status == SCSI_STATUS_QUEUE_FULL)) {
sys/dev/ic/aic79xx_osm.c
541
xs->status = 0;
sys/dev/ic/aic79xx_osm.c
688
xs->resid = xs->status = 0;
sys/dev/ic/aic79xx_osm.h
334
void ahd_set_transaction_status(struct scb *scb, uint32_t status)
sys/dev/ic/aic79xx_osm.h
336
scb->xs->error = status;
sys/dev/ic/aic79xx_osm.h
340
void ahd_set_scsi_status(struct scb *scb, uint32_t status)
sys/dev/ic/aic79xx_osm.h
342
scb->xs->xs_status = status;
sys/dev/ic/aic79xx_osm.h
346
void ahd_set_xfer_status(struct scb *scb, uint32_t status)
sys/dev/ic/aic79xx_osm.h
348
scb->xs->status = status;
sys/dev/ic/aic79xx_osm.h
445
role_t role, uint32_t status)
sys/dev/ic/aic79xx_osm.h
458
&& (scb->io_ctx->ccb_h.status & CAM_RELEASE_SIMQ) == 0) {
sys/dev/ic/aic79xx_osm.h
459
scb->io_ctx->ccb_h.status |= CAM_RELEASE_SIMQ;
sys/dev/ic/aic7xxx.c
1036
} else if ((status & SCSIRSTI) != 0) {
sys/dev/ic/aic7xxx.c
1042
} else if ((status & SCSIPERR) != 0) {
sys/dev/ic/aic7xxx.c
1152
} else if ((status & SELTO) != 0) {
sys/dev/ic/aic7xxx.c
1208
} else if ((status & BUSFREE) != 0
sys/dev/ic/aic7xxx.c
1383
ahc_name(ahc), status);
sys/dev/ic/aic7xxx.c
205
cam_status status,
sys/dev/ic/aic7xxx.c
3729
cam_status status, const char *message, int verbose_level)
sys/dev/ic/aic7xxx.c
3739
status);
sys/dev/ic/aic7xxx.c
490
ahc_set_scsi_status(scb, hscb->shared_data.status.scsi_status);
sys/dev/ic/aic7xxx.c
491
switch (hscb->shared_data.status.scsi_status) {
sys/dev/ic/aic7xxx.c
5289
int lun, u_int tag, role_t role, uint32_t status,
sys/dev/ic/aic7xxx.c
5350
ahc_set_transaction_status(scb, status);
sys/dev/ic/aic7xxx.c
5462
ahc_set_transaction_status(scb, status);
sys/dev/ic/aic7xxx.c
5489
channel, lun, status, action);
sys/dev/ic/aic7xxx.c
5499
uint32_t status, ahc_search_action action)
sys/dev/ic/aic7xxx.c
5570
ahc_set_transaction_status(scb, status);
sys/dev/ic/aic7xxx.c
5759
int lun, u_int tag, role_t role, uint32_t status)
sys/dev/ic/aic7xxx.c
5874
ahc_set_transaction_status(scbp, status);
sys/dev/ic/aic7xxx.c
5884
ahc_platform_abort_scbs(ahc, target, channel, lun, tag, role, status);
sys/dev/ic/aic7xxx.c
6111
spkt = &hscb->shared_data.status;
sys/dev/ic/aic7xxx.c
6229
ccbh->status = CAM_SCSI_BUS_RESET|CAM_DEV_QFRZN;
sys/dev/ic/aic7xxx.c
6232
ccbh->status = CAM_MESSAGE_RECV|CAM_DEV_QFRZN;
sys/dev/ic/aic7xxx.c
6830
cam_status status;
sys/dev/ic/aic7xxx.c
6838
status = ahc_find_tmode_devs(ahc, sim, ccb, &tstate, &lstate,
sys/dev/ic/aic7xxx.c
6841
if (status != CAM_REQ_CMP) {
sys/dev/ic/aic7xxx.c
6842
ccb->ccb_h.status = status;
sys/dev/ic/aic7xxx.c
6882
status = CAM_TID_INVALID;
sys/dev/ic/aic7xxx.c
6892
status = CAM_TID_INVALID;
sys/dev/ic/aic7xxx.c
6897
status = CAM_TID_INVALID;
sys/dev/ic/aic7xxx.c
6901
if (status != CAM_REQ_CMP) {
sys/dev/ic/aic7xxx.c
6902
ccb->ccb_h.status = status;
sys/dev/ic/aic7xxx.c
6917
ccb->ccb_h.status = CAM_BUSY;
sys/dev/ic/aic7xxx.c
6943
ccb->ccb_h.status = CAM_LUN_ALRDY_ENA;
sys/dev/ic/aic7xxx.c
6953
ccb->ccb_h.status = CAM_REQ_INVALID;
sys/dev/ic/aic7xxx.c
6967
ccb->ccb_h.status = CAM_RESRC_UNAVAIL;
sys/dev/ic/aic7xxx.c
6975
ccb->ccb_h.status = CAM_RESRC_UNAVAIL;
sys/dev/ic/aic7xxx.c
6979
status = xpt_create_path(&lstate->path, /*periph*/NULL,
sys/dev/ic/aic7xxx.c
6983
if (status != CAM_REQ_CMP) {
sys/dev/ic/aic7xxx.c
6987
ccb->ccb_h.status = CAM_RESRC_UNAVAIL;
sys/dev/ic/aic7xxx.c
7059
ccb->ccb_h.status = CAM_REQ_CMP;
sys/dev/ic/aic7xxx.c
7067
ccb->ccb_h.status = CAM_LUN_INVALID;
sys/dev/ic/aic7xxx.c
7073
ccb->ccb_h.status = CAM_REQ_CMP;
sys/dev/ic/aic7xxx.c
7081
ccb->ccb_h.status = CAM_REQ_INVALID;
sys/dev/ic/aic7xxx.c
7089
ccb->ccb_h.status = CAM_REQ_INVALID;
sys/dev/ic/aic7xxx.c
7094
ccb->ccb_h.status = CAM_REQ_INVALID;
sys/dev/ic/aic7xxx.c
7097
if (ccb->ccb_h.status != CAM_REQ_CMP) {
sys/dev/ic/aic7xxx.c
7354
atio->ccb_h.status |= CAM_CDB_RECVD;
sys/dev/ic/aic7xxx.c
974
u_int status;
sys/dev/ic/aic7xxx.c
990
status = ahc_inb(ahc, SSTAT1) & (SELTO|SCSIRSTI|BUSFREE|SCSIPERR);
sys/dev/ic/aic7xxx.c
991
if (status == 0 && status0 == 0) {
sys/dev/ic/aic7xxx.c
995
status = ahc_inb(ahc, SSTAT1)
sys/dev/ic/aic7xxx.c
999
if (status == 0) {
sys/dev/ic/aic7xxx_osm.c
260
ahc_name(ahc), xs->status);
sys/dev/ic/aic7xxx_osm.c
532
xs->status = 0;
sys/dev/ic/aic7xxx_osm.c
723
xs->resid = xs->status = 0;
sys/dev/ic/aic7xxx_osm.h
334
void ahc_set_transaction_status(struct scb *scb, uint32_t status)
sys/dev/ic/aic7xxx_osm.h
336
scb->xs->error = status;
sys/dev/ic/aic7xxx_osm.h
340
void ahc_set_scsi_status(struct scb *scb, uint32_t status)
sys/dev/ic/aic7xxx_osm.h
342
scb->xs->xs_status = status;
sys/dev/ic/aic7xxx_osm.h
426
role_t role, uint32_t status)
sys/dev/ic/aic7xxx_osm.h
438
&& (scb->io_ctx->ccb_h.status & CAM_RELEASE_SIMQ) == 0) {
sys/dev/ic/aic7xxx_osm.h
439
scb->io_ctx->ccb_h.status |= CAM_RELEASE_SIMQ;
sys/dev/ic/aic7xxxvar.h
521
struct status_pkt status;
sys/dev/ic/an.c
1380
u_int16_t status;
sys/dev/ic/an.c
1409
status = le16toh(frmhdr.an_rx_status);
sys/dev/ic/an.c
1410
if ((status & AN_STAT_ERRSTAT) != 0 &&
sys/dev/ic/an.c
1414
DPRINTF(("an_rx_intr: fid %x status %x\n", fid, status));
sys/dev/ic/an.c
1534
an_tx_intr(struct an_softc *sc, int status)
sys/dev/ic/an.c
1545
CSR_WRITE_2(sc, AN_EVENT_ACK, status & (AN_EV_TX | AN_EV_TX_EXC));
sys/dev/ic/an.c
1547
if (status & AN_EV_TX_EXC)
sys/dev/ic/an.c
1580
u_int16_t status;
sys/dev/ic/an.c
1583
status = CSR_READ_2(sc, AN_LINKSTAT);
sys/dev/ic/an.c
1585
DPRINTF(("an_linkstat_intr: status 0x%x\n", status));
sys/dev/ic/an.c
1588
if (status == AN_LINKSTAT_ASSOCIATED) {
sys/dev/ic/an.c
1603
int i, status;
sys/dev/ic/an.c
1629
status = CSR_READ_2(sc, AN_STATUS);
sys/dev/ic/an.c
1644
if (status & AN_STAT_CMD_RESULT) {
sys/dev/ic/an.c
1648
device_xname(sc->sc_dev), cmd, val, status,
sys/dev/ic/an.c
1678
int i, status;
sys/dev/ic/an.c
1684
status = CSR_READ_2(sc, AN_OFF0);
sys/dev/ic/an.c
1685
if ((status & AN_OFF_BUSY) == 0)
sys/dev/ic/an.c
1695
if (status & AN_OFF_ERR) {
sys/dev/ic/an.c
479
uint16_t status;
sys/dev/ic/an.c
500
status = CSR_READ_2(sc, AN_EVENT_STAT);
sys/dev/ic/an.c
501
CSR_WRITE_2(sc, AN_EVENT_ACK, status & ~(AN_INTRS));
sys/dev/ic/an.c
502
if ((status & AN_INTRS) == 0)
sys/dev/ic/an.c
505
if (status & AN_EV_RX)
sys/dev/ic/an.c
508
if (status & (AN_EV_TX | AN_EV_TX_EXC))
sys/dev/ic/an.c
509
an_tx_intr(sc, status);
sys/dev/ic/an.c
511
if (status & AN_EV_LINKSTAT)
sys/dev/ic/apple_smc.c
186
uint8_t status;
sys/dev/ic/apple_smc.c
196
status = apple_smc_bus_read_1(smc, APPLE_SMC_CSR);
sys/dev/ic/apple_smc.c
197
if (status & APPLE_SMC_STATUS_READ_READY) {
sys/dev/ic/apple_smc.c
210
uint8_t status;
sys/dev/ic/apple_smc.c
221
status = apple_smc_bus_read_1(smc, APPLE_SMC_CSR);
sys/dev/ic/apple_smc.c
222
if (status & APPLE_SMC_STATUS_WRITE_ACCEPTED)
sys/dev/ic/apple_smc.c
227
if (!(status & APPLE_SMC_STATUS_WRITE_PENDING))
sys/dev/ic/ath.c
1018
HAL_STATUS status;
sys/dev/ic/ath.c
1048
if (!ath_hal_reset(ah, ic->ic_opmode, &sc->sc_curchan, AH_FALSE, &status)) {
sys/dev/ic/ath.c
1050
status);
sys/dev/ic/ath.c
1212
HAL_STATUS status;
sys/dev/ic/ath.c
1227
if (!ath_hal_reset(ah, ic->ic_opmode, &sc->sc_curchan, AH_TRUE, &status))
sys/dev/ic/ath.c
1229
__func__, status);
sys/dev/ic/ath.c
284
HAL_STATUS status;
sys/dev/ic/ath.c
293
ah = ath_hal_attach(devid, sc, sc->sc_st, sc->sc_sh, &status);
sys/dev/ic/ath.c
296
status);
sys/dev/ic/ath.c
3050
HAL_STATUS status;
sys/dev/ic/ath.c
3098
status = ath_hal_rxprocdesc(ah, ds,
sys/dev/ic/ath.c
3103
ath_printrxbuf(bf, status == HAL_OK);
sys/dev/ic/ath.c
3105
if (status == HAL_EINPROGRESS)
sys/dev/ic/ath.c
4120
HAL_STATUS status;
sys/dev/ic/ath.c
4138
status = ath_hal_txprocdesc(ah, ds, &ds->ds_txstat);
sys/dev/ic/ath.c
4140
ath_printtxbuf(bf, status == HAL_OK);
sys/dev/ic/ath.c
4141
if (status == HAL_EINPROGRESS) {
sys/dev/ic/ath.c
4437
HAL_STATUS status = ath_hal_rxprocdesc(ah, ds,
sys/dev/ic/ath.c
4440
if (status == HAL_OK || (sc->sc_debug & ATH_DEBUG_FATAL))
sys/dev/ic/ath.c
4441
ath_printrxbuf(bf, status == HAL_OK);
sys/dev/ic/ath.c
4579
HAL_STATUS status;
sys/dev/ic/ath.c
4590
if (!ath_hal_reset(ah, ic->ic_opmode, &hchan, AH_TRUE, &status)) {
sys/dev/ic/ath.c
723
HAL_STATUS status;
sys/dev/ic/ath.c
729
ath_hal_reset(ah, ic->ic_opmode, &sc->sc_curchan, HAL_M_IBSS, &status);
sys/dev/ic/ath.c
761
HAL_INT status = 0;
sys/dev/ic/ath.c
778
ath_hal_getisr(ah, &status); /* clear ISR */
sys/dev/ic/ath.c
788
ath_hal_getisr(ah, &status); /* NB: clears ISR too */
sys/dev/ic/ath.c
789
DPRINTF(sc, ATH_DEBUG_INTR, "%s: status 0x%x\n", __func__, status);
sys/dev/ic/ath.c
790
status &= sc->sc_imask; /* discard unasked for bits */
sys/dev/ic/ath.c
791
if (status & HAL_INT_FATAL) {
sys/dev/ic/ath.c
801
} else if (status & HAL_INT_RXORN) {
sys/dev/ic/ath.c
806
if (status & HAL_INT_SWBA) {
sys/dev/ic/ath.c
815
if (status & HAL_INT_RXEOL) {
sys/dev/ic/ath.c
824
if (status & HAL_INT_TXURN) {
sys/dev/ic/ath.c
829
if (status & HAL_INT_RX)
sys/dev/ic/ath.c
831
if (status & HAL_INT_TX)
sys/dev/ic/ath.c
833
if (status & HAL_INT_BMISS) {
sys/dev/ic/ath.c
837
if (status & HAL_INT_MIB) {
sys/dev/ic/athrate-sample.c
401
int short_tries, int tries, int status)
sys/dev/ic/athrate-sample.c
454
if (status) {
sys/dev/ic/athrate-sample.c
482
status);
sys/dev/ic/atppc.c
2323
atppc_poll_str(const struct atppc_softc * const atppc, const u_int8_t status,
sys/dev/ic/atppc.c
2336
if ((str & mask) == status) {
sys/dev/ic/atw.c
2780
uint32_t status;
sys/dev/ic/atw.c
2795
status = ATW_READ(sc, ATW_STSR);
sys/dev/ic/atw.c
2796
if (status == 0)
sys/dev/ic/atw.c
2799
if ((status & sc->sc_inten) == 0) {
sys/dev/ic/atw.c
2800
ATW_WRITE(sc, ATW_STSR, status);
sys/dev/ic/atw.c
2816
uint32_t status, rxstatus, txstatus, linkstatus;
sys/dev/ic/atw.c
2824
status = ATW_READ(sc, ATW_STSR);
sys/dev/ic/atw.c
2826
if (status)
sys/dev/ic/atw.c
2827
ATW_WRITE(sc, ATW_STSR, status);
sys/dev/ic/atw.c
2831
if ((status & flag) != 0) { \
sys/dev/ic/atw.c
2837
if (atw_debug > 1 && status) {
sys/dev/ic/atw.c
2841
device_xname(sc->sc_dev), status);
sys/dev/ic/atw.c
2866
if ((status & sc->sc_inten) == 0)
sys/dev/ic/atw.c
2869
rxstatus = status & sc->sc_rxint_mask;
sys/dev/ic/atw.c
2870
txstatus = status & sc->sc_txint_mask;
sys/dev/ic/atw.c
2871
linkstatus = status & sc->sc_linkint_mask;
sys/dev/ic/atw.c
2933
if (status & (ATW_INTR_TPS | ATW_INTR_RPS)) {
sys/dev/ic/atw.c
2934
if (status & ATW_INTR_TPS)
sys/dev/ic/atw.c
2937
if (status & ATW_INTR_RPS)
sys/dev/ic/atw.c
2946
if (status & ATW_INTR_FBE) {
sys/dev/ic/atw.c
3273
atw_txintr(struct atw_softc *sc, uint32_t status)
sys/dev/ic/awi.c
1218
uint8_t status;
sys/dev/ic/awi.c
1243
status = awi_read_1(sc, AWI_SELFTEST);
sys/dev/ic/awi.c
1244
if ((status & 0xf0) == 0xf0)
sys/dev/ic/awi.c
1254
if (status != AWI_SELFTEST_PASSED) {
sys/dev/ic/awi.c
1256
sc->sc_if.if_xname, status);
sys/dev/ic/awi.c
1482
uint8_t status;
sys/dev/ic/awi.c
1507
status = awi_read_1(sc, AWI_CMD_STATUS);
sys/dev/ic/awi.c
1509
switch (status) {
sys/dev/ic/awi.c
1516
sc->sc_if.if_xname, cmd, status);
sys/dev/ic/awi.c
1565
uint8_t cmd, status;
sys/dev/ic/awi.c
1567
status = awi_read_1(sc, AWI_CMD_STATUS);
sys/dev/ic/awi.c
1568
if (status == AWI_STAT_IDLE)
sys/dev/ic/awi.c
1576
if (status != AWI_STAT_OK) {
sys/dev/ic/awi.c
1578
sc->sc_if.if_xname, cmd, status);
sys/dev/ic/awi.c
1669
uint8_t status;
sys/dev/ic/awi.c
1672
status = 1;
sys/dev/ic/awi.c
1675
if ((status = awi_read_1(sc, AWI_LOCKOUT_HOST)) == 0)
sys/dev/ic/awi.c
1679
if (status != 0)
sys/dev/ic/awi.c
1682
if ((status = awi_read_1(sc, AWI_LOCKOUT_HOST)) == 0)
sys/dev/ic/awi.c
1686
if (status != 0) {
sys/dev/ic/awi.c
364
uint16_t status;
sys/dev/ic/awi.c
386
status = awi_read_1(sc, AWI_INTSTAT);
sys/dev/ic/awi.c
389
status |= awi_read_1(sc, AWI_INTSTAT2) << 8;
sys/dev/ic/awi.c
394
status &= ~AWI_INT_CMD; /* make sure */
sys/dev/ic/awi.c
395
if (status == 0)
sys/dev/ic/awi.c
401
printf("awi_intr: status 0x%04x", status);
sys/dev/ic/awi.c
404
if (status & (1 << i))
sys/dev/ic/awi.c
410
if (status & AWI_INT_RX)
sys/dev/ic/awi.c
412
if (status & AWI_INT_TX)
sys/dev/ic/awi.c
414
if (status & AWI_INT_CMD)
sys/dev/ic/awi.c
416
if (status & AWI_INT_SCAN_CMPLT) {
sys/dev/ic/bcmgenet.c
187
uint32_t status;
sys/dev/ic/bcmgenet.c
189
status = flags | __SHIFTIN(len, GENET_TX_DESC_STATUS_BUFLEN);
sys/dev/ic/bcmgenet.c
193
WR4(sc, GENET_TX_DESC_STATUS(index), status);
sys/dev/ic/bcmgenet.c
706
uint32_t status, pidx, total;
sys/dev/ic/bcmgenet.c
716
status = RD4(sc, GENET_RX_DESC_STATUS(index));
sys/dev/ic/bcmgenet.c
718
if (status & GENET_RX_DESC_STATUS_ALL_ERRS) {
sys/dev/ic/bcmgenet.c
719
if (status & GENET_RX_DESC_STATUS_OVRUN_ERR)
sys/dev/ic/bcmgenet.c
721
if (status & GENET_RX_DESC_STATUS_CRC_ERR)
sys/dev/ic/bcmgenet.c
723
if (status & GENET_RX_DESC_STATUS_RX_ERR)
sys/dev/ic/bcmgenet.c
725
if (status & GENET_RX_DESC_STATUS_FRAME_ERR)
sys/dev/ic/bcmgenet.c
727
if (status & GENET_RX_DESC_STATUS_LEN_ERR)
sys/dev/ic/bcmgenet.c
733
if (status & GENET_RX_DESC_STATUS_OWN)
sys/dev/ic/bcmgenet.c
736
len = __SHIFTOUT(status, GENET_RX_DESC_STATUS_BUFLEN);
sys/dev/ic/bcmgenet.c
773
n, index, status, len, len - ETHER_ALIGN);
sys/dev/ic/bwfm.c
1745
dcmd->hdr.status = le32toh(dcmd->hdr.status);
sys/dev/ic/bwfm.c
1760
ret = dcmd->hdr.status;
sys/dev/ic/bwfm.c
1803
dcmd->hdr.status = le32toh(dcmd->hdr.status);
sys/dev/ic/bwfm.c
1812
return dcmd->hdr.status;
sys/dev/ic/bwfm.c
2192
ntohl(e->msg.event_type), ntohl(e->msg.status),
sys/dev/ic/bwfm.c
2205
if (ntohl(e->msg.status) != BWFM_E_STATUS_PARTIAL) {
sys/dev/ic/bwfm.c
2244
if (ntohl(e->msg.status) == BWFM_E_STATUS_SUCCESS) {
sys/dev/ic/bwfm.c
2252
if (ntohl(e->msg.status) == BWFM_E_STATUS_SUCCESS) {
sys/dev/ic/bwfm.c
2260
if (ntohl(e->msg.status) == BWFM_E_STATUS_SUCCESS &&
sys/dev/ic/bwfmreg.h
359
uint32_t status;
sys/dev/ic/bwfmreg.h
785
uint32_t status;
sys/dev/ic/bwi.c
1503
uint32_t flags, state_lo, status;
sys/dev/ic/bwi.c
1528
status = CSR_READ_4(sc, BWI_MAC_STATUS);
sys/dev/ic/bwi.c
1529
status |= BWI_MAC_STATUS_IHREN;
sys/dev/ic/bwi.c
1531
status |= BWI_MAC_STATUS_PHYLNK;
sys/dev/ic/bwi.c
1533
status &= ~BWI_MAC_STATUS_PHYLNK;
sys/dev/ic/bwi.c
1534
CSR_WRITE_4(sc, BWI_MAC_STATUS, status);
sys/dev/ic/bwi.c
2552
uint32_t status;
sys/dev/ic/bwi.c
2554
status = CSR_READ_4(sc, BWI_MAC_STATUS);
sys/dev/ic/bwi.c
2556
status &= ~BWI_MAC_STATUS_HW_PS;
sys/dev/ic/bwi.c
2557
status |= BWI_MAC_STATUS_WAKEUP;
sys/dev/ic/bwi.c
2558
CSR_WRITE_4(sc, BWI_MAC_STATUS, status);
sys/dev/ic/bwi.c
6496
uint32_t gpio_in, gpio_out, gpio_en, status;
sys/dev/ic/bwi.c
6533
status = (sc->sc_conf_read)(sc, PCI_COMMAND_STATUS_REG);
sys/dev/ic/bwi.c
6534
status &= ~PCI_STATUS_TARGET_TARGET_ABORT;
sys/dev/ic/bwi.c
6535
(sc->sc_conf_write)(sc, PCI_COMMAND_STATUS_REG, status);
sys/dev/ic/bwi.c
9177
uint32_t status;
sys/dev/ic/bwi.c
9179
status = CSR_READ_4(sc, rx_ctrl + BWI_RX32_STATUS);
sys/dev/ic/bwi.c
9180
if (__SHIFTOUT(status, BWI_RX32_STATUS_STATE_MASK) ==
sys/dev/ic/cd18xx.c
1290
int status, ns = 0;
sys/dev/ic/cd18xx.c
1298
(status = (cd18xx_read(sc, CD18xx_SRSR) &
sys/dev/ic/cd18xx.c
1302
DPRINTF(CDD_INTR, (" status %x:", status));
sys/dev/ic/cd18xx.c
1303
if (ISSET(status, CD18xx_SRSR_RxPEND)) {
sys/dev/ic/cd18xx.c
1309
if (ISSET(status, CD18xx_SRSR_TxPEND)) {
sys/dev/ic/cd18xx.c
1316
if (ISSET(status, CD18xx_SRSR_MxPEND)) {
sys/dev/ic/cs4215var.h
42
volatile uint32_t status;
sys/dev/ic/dp83932.c
633
uint16_t status, totstat = 0;
sys/dev/ic/dp83932.c
645
status = sonic32toh(sc, tda32->tda_status);
sys/dev/ic/dp83932.c
651
status = sonic16toh(sc, tda16->tda_status);
sys/dev/ic/dp83932.c
655
if ((status & ~(TCR_EXDIS |TCR_CRCI |TCR_POWC |TCR_PINT)) == 0)
sys/dev/ic/dp83932.c
658
totstat |= status;
sys/dev/ic/dp83932.c
670
if (status & TCR_PTX) {
sys/dev/ic/dp83932.c
676
if (TDA_STATUS_NCOL(status)) {
sys/dev/ic/dp83932.c
678
TDA_STATUS_NCOL(status));
sys/dev/ic/dp83932.c
713
uint16_t status, bytecount /*, ptr0, ptr1, seqno */;
sys/dev/ic/dp83932.c
726
status = sonic32toh(sc, rda32->rda_status);
sys/dev/ic/dp83932.c
738
status = sonic16toh(sc, rda16->rda_status);
sys/dev/ic/dp83932.c
752
KASSERT(status & RCR_LPKT);
sys/dev/ic/dp83932.c
760
if ((status & RCR_PRX) == 0) {
sys/dev/ic/dp83932.c
761
if (status & RCR_FAER)
sys/dev/ic/dp83932.c
764
else if (status & RCR_CRCR)
sys/dev/ic/dpt.c
778
xs->status = ccb->ccb_scsi_status;
sys/dev/ic/dwc_gmac.c
1453
uint32_t status, dma_status;
sys/dev/ic/dwc_gmac.c
1462
status = bus_space_read_4(sc->sc_bst, sc->sc_bsh, AWIN_GMAC_MAC_INTR);
sys/dev/ic/dwc_gmac.c
1463
if (status & AWIN_GMAC_MII_IRQ) {
sys/dev/ic/dwc_gmac.c
1741
uint32_t status = bus_space_read_4(sc->sc_bst, sc->sc_bsh,
sys/dev/ic/dwc_gmac.c
1773
status, buf);
sys/dev/ic/elink3.c
1241
u_int16_t status = bus_space_read_2(iot, ioh, ELINK_STATUS);
sys/dev/ic/elink3.c
1243
if ((status & INTR_LATCH) == 0) {
sys/dev/ic/elink3.c
1369
u_int16_t status;
sys/dev/ic/elink3.c
1377
status = bus_space_read_2(iot, ioh, ELINK_STATUS);
sys/dev/ic/elink3.c
1379
if ((status & WATCHED_INTERRUPTS) == 0) {
sys/dev/ic/elink3.c
1380
if ((status & INTR_LATCH) == 0) {
sys/dev/ic/elink3.c
1398
(status & (INTR_LATCH | ALL_INTERRUPTS)));
sys/dev/ic/elink3.c
1401
status = bus_space_read_2(iot, ioh, ELINK_STATUS);
sys/dev/ic/elink3.c
1404
(status & RX_COMPLETE)?" RX_COMPLETE":"",
sys/dev/ic/elink3.c
1405
(status & TX_COMPLETE)?" TX_COMPLETE":"",
sys/dev/ic/elink3.c
1406
(status & TX_AVAIL)?" TX_AVAIL":"",
sys/dev/ic/elink3.c
1407
(status & CARD_FAILURE)?" CARD_FAILURE":"");
sys/dev/ic/elink3.c
1410
if (status & RX_COMPLETE) {
sys/dev/ic/elink3.c
1413
if (status & TX_AVAIL) {
sys/dev/ic/elink3.c
1417
if (status & CARD_FAILURE) {
sys/dev/ic/elink3.c
1419
device_xname(sc->sc_dev), status);
sys/dev/ic/elink3.c
1427
if (status & TX_COMPLETE) {
sys/dev/ic/elink3.c
1432
if (status)
sys/dev/ic/elink3.c
1433
rnd_add_uint32(&sc->rnd_source, status);
sys/dev/ic/esiop.c
1088
le32toh(esiop_cmd->cmd_tables->status));
sys/dev/ic/esiop.c
1091
esiop_cmd->cmd_c.status = CMDST_DONE;
sys/dev/ic/esiop.c
1116
xs->status = le32toh(esiop_cmd->cmd_tables->status);
sys/dev/ic/esiop.c
1118
printf("esiop_intr end: status %d\n", xs->status);
sys/dev/ic/esiop.c
1138
if (freetarget && esiop_target->target_c.status == TARST_PROBING)
sys/dev/ic/esiop.c
1152
switch(xs->status) {
sys/dev/ic/esiop.c
1189
printf("invalid status code %d\n", xs->status);
sys/dev/ic/esiop.c
1204
esiop_cmd->cmd_c.status = CMDST_FREE;
sys/dev/ic/esiop.c
1222
int status;
sys/dev/ic/esiop.c
1289
status = le32toh(esiop_cmd->cmd_tables->status);
sys/dev/ic/esiop.c
1291
if (status != SCSI_OK) {
sys/dev/ic/esiop.c
1293
target, lun, tag, status);
sys/dev/ic/esiop.c
1299
esiop_cmd->cmd_c.xs->status = status;
sys/dev/ic/esiop.c
1344
esiop_cmd->cmd_c.xs->status = SCSI_SIOP_NOCHECK;
sys/dev/ic/esiop.c
1374
esiop_cmd->cmd_c.tag, esiop_cmd->cmd_c.status);
sys/dev/ic/esiop.c
1381
target, lun, esiop_lun->active->cmd_c.status);
sys/dev/ic/esiop.c
1453
esiop_cmd->cmd_c.xs->status = SCSI_SIOP_NOCHECK;
sys/dev/ic/esiop.c
1458
esiop_cmd->cmd_c.status = CMDST_DONE;
sys/dev/ic/esiop.c
1462
sc->sc_c.targets[target]->status = TARST_ASYNC;
sys/dev/ic/esiop.c
1516
if (esiop_cmd->cmd_c.status != CMDST_FREE)
sys/dev/ic/esiop.c
1542
esiop_target->target_c.status = TARST_PROBING;
sys/dev/ic/esiop.c
1573
esiop_cmd->cmd_c.status = CMDST_READY;
sys/dev/ic/esiop.c
1586
esiop_cmd->cmd_c.status = CMDST_FREE;
sys/dev/ic/esiop.c
1606
esiop_cmd->cmd_c.status = CMDST_FREE;
sys/dev/ic/esiop.c
1685
sc->sc_c.targets[xm->xm_target]->status == TARST_PROBING)
sys/dev/ic/esiop.c
1686
sc->sc_c.targets[xm->xm_target]->status = TARST_ASYNC;
sys/dev/ic/esiop.c
1724
esiop_cmd->cmd_c.xs->status = SCSI_SIOP_NOCHECK;
sys/dev/ic/esiop.c
1756
if (esiop_cmd->cmd_c.status == CMDST_READY)
sys/dev/ic/esiop.c
1757
esiop_cmd->cmd_c.status = CMDST_ACTIVE;
sys/dev/ic/esiop.c
1817
le32toh(esiop_cmd->cmd_tables->status));
sys/dev/ic/esiop.c
1961
newcbd->cmds[i].cmd_c.status = CMDST_FREE;
sys/dev/ic/esiop.c
1974
offsetof(struct siop_common_xfer, status));
sys/dev/ic/esiop.c
474
if (esiop_cmd->cmd_c.status != CMDST_ACTIVE) {
sys/dev/ic/esiop.c
477
esiop_cmd->cmd_c.status);
sys/dev/ic/esiop.c
535
le32toh(esiop_cmd->cmd_tables->status));
sys/dev/ic/esiop.c
696
esiop_cmd->cmd_c.status = CMDST_DONE;
sys/dev/ic/esiop.c
716
esiop_cmd->cmd_tables->status =
sys/dev/ic/esiop.c
755
esiop_cmd->cmd_c.status = CMDST_DONE;
sys/dev/ic/esiop.c
787
if (esiop_cmd->cmd_c.status != CMDST_ACTIVE) {
sys/dev/ic/esiop.c
791
irqcode, esiop_cmd->cmd_c.status);
sys/dev/ic/esiop.c
845
esiop_target->target_c.status =
sys/dev/ic/esiop.c
853
esiop_target->target_c.status =
sys/dev/ic/esiop.c
868
esiop_target->target_c.status =
sys/dev/ic/esiop.c
880
esiop_target->target_c.status =
sys/dev/ic/gem.c
2041
gem_eint(struct gem_softc *sc, u_int status)
sys/dev/ic/gem.c
2046
if ((status & GEM_INTR_MIF) != 0) {
sys/dev/ic/gem.c
2051
if ((status & GEM_INTR_RX_TAG_ERR) != 0) {
sys/dev/ic/gem.c
2056
if (status & GEM_INTR_BERR) {
sys/dev/ic/gem.c
2067
snprintb(bits, sizeof(bits), GEM_INTR_BITS, status);
sys/dev/ic/gem.c
2165
uint32_t status;
sys/dev/ic/gem.c
2175
status = bus_space_read_4(t, h, GEM_STATUS);
sys/dev/ic/gem.c
2177
snprintb(bits, sizeof(bits), GEM_INTR_BITS, status);
sys/dev/ic/gem.c
2180
device_xname(sc->sc_dev), (status >> 19), bits));
sys/dev/ic/gem.c
2182
if ((status & (GEM_INTR_RX_TAG_ERR | GEM_INTR_BERR)) != 0)
sys/dev/ic/gem.c
2183
r |= gem_eint(sc, status);
sys/dev/ic/gem.c
2186
if ((status & (GEM_INTR_TX_EMPTY | GEM_INTR_TX_INTME)) != 0) {
sys/dev/ic/gem.c
2191
if ((status & (GEM_INTR_RX_DONE | GEM_INTR_RX_NOBUF)) != 0) {
sys/dev/ic/gem.c
2197
if (status & GEM_INTR_TX_MAC) {
sys/dev/ic/gem.c
2205
if (status & GEM_INTR_RX_MAC) {
sys/dev/ic/gem.c
2231
if (status & GEM_INTR_PCS) {
sys/dev/ic/gem.c
2249
rnd_add_uint32(&sc->rnd_source, status);
sys/dev/ic/hme.c
1097
hme_eint(struct hme_softc *sc, u_int status)
sys/dev/ic/hme.c
1102
if ((status & HME_SEB_STAT_MIFIRQ) != 0) {
sys/dev/ic/hme.c
1116
if (status & HME_SEB_STAT_ACNTEXP)
sys/dev/ic/hme.c
1118
if (status & HME_SEB_STAT_CCNTEXP)
sys/dev/ic/hme.c
1120
if (status & HME_SEB_STAT_LCNTEXP)
sys/dev/ic/hme.c
1122
if (status & HME_SEB_STAT_CVCNTEXP)
sys/dev/ic/hme.c
1127
if (status & HME_SEB_STAT_RXTERR)
sys/dev/ic/hme.c
1130
snprintb(bits, sizeof(bits), HME_SEB_STAT_BITS, status);
sys/dev/ic/hme.c
1142
uint32_t status;
sys/dev/ic/hme.c
1145
status = bus_space_read_4(t, seb, HME_SEBI_STAT);
sys/dev/ic/hme.c
1147
if ((status & HME_SEB_STAT_ALL_ERRORS) != 0)
sys/dev/ic/hme.c
1148
r |= hme_eint(sc, status);
sys/dev/ic/hme.c
1150
if ((status & (HME_SEB_STAT_TXALL | HME_SEB_STAT_HOSTTOTX)) != 0)
sys/dev/ic/hme.c
1153
if ((status & HME_SEB_STAT_RXTOHOST) != 0)
sys/dev/ic/hme.c
1156
rnd_add_uint32(&sc->rnd_source, status);
sys/dev/ic/i82557.c
1680
uint16_t status;
sys/dev/ic/i82557.c
1870
status = le16toh(cbp->cb_status);
sys/dev/ic/i82557.c
1872
if ((status & FXP_CB_STATUS_C) != 0)
sys/dev/ic/i82557.c
1905
status = le16toh(cb_ias->cb_status);
sys/dev/ic/i82557.c
1907
if ((status & FXP_CB_STATUS_C) != 0)
sys/dev/ic/i82557.c
2219
uint16_t status;
sys/dev/ic/i82557.c
2302
status = le16toh(mcsp->cb_status);
sys/dev/ic/i82557.c
2304
if ((status & FXP_CB_STATUS_C) != 0)
sys/dev/ic/i82557.c
2365
uint16_t status;
sys/dev/ic/i82557.c
2415
status = le16toh(cbp->cb_status);
sys/dev/ic/i82557.c
2417
if ((status & FXP_CB_STATUS_C) != 0)
sys/dev/ic/i82586.c
1489
int cmdresult, status;
sys/dev/ic/i82586.c
1509
status = sc->ie_bus_read16(sc, IE_CMD_COMMON_STATUS(cmd));
sys/dev/ic/i82586.c
1512
"configure command timed out; status %x\n", status);
sys/dev/ic/i82586.c
1515
if ((status & IE_STAT_OK) == 0) {
sys/dev/ic/i82586.c
1517
"configure command failed; status %x\n", status);
sys/dev/ic/i82586.c
1529
int cmdresult, status;
sys/dev/ic/i82586.c
1538
status = sc->ie_bus_read16(sc, IE_CMD_COMMON_STATUS(cmdbuf));
sys/dev/ic/i82586.c
1542
status);
sys/dev/ic/i82586.c
1545
if ((status & IE_STAT_OK) == 0) {
sys/dev/ic/i82586.c
1547
"individual address command failed; status %x\n", status);
sys/dev/ic/i82586.c
1563
int cmdresult, status;
sys/dev/ic/i82586.c
1580
status = sc->ie_bus_read16(sc, IE_CMD_COMMON_STATUS(cmdbuf));
sys/dev/ic/i82586.c
1583
"multicast setup command timed out; status %x\n", status);
sys/dev/ic/i82586.c
1586
if ((status & IE_STAT_OK) == 0) {
sys/dev/ic/i82586.c
1588
"multicast setup command failed; status %x\n", status);
sys/dev/ic/i82586.c
352
int status;
sys/dev/ic/i82586.c
363
status = sc->ie_bus_read16(sc, off);
sys/dev/ic/i82586.c
364
if (status & mask)
sys/dev/ic/i82586.c
387
u_int status;
sys/dev/ic/i82586.c
390
status = sc->ie_bus_read16(sc, IE_SCB_STATUS(sc->scb));
sys/dev/ic/i82586.c
391
i82586_start_cmd(sc, status & mask, 0, 0, 0);
sys/dev/ic/i82586.c
418
i82586_rx_errors(struct ie_softc *sc, int fn, int status)
sys/dev/ic/i82586.c
421
snprintb(bits, sizeof(bits), IE_FD_STATUSBITS, status);
sys/dev/ic/i82586.c
433
u_int status;
sys/dev/ic/i82586.c
444
status = sc->ie_bus_read16(sc, off) & IE_ST_WHENCE;
sys/dev/ic/i82586.c
446
if ((status & IE_ST_WHENCE) == 0) {
sys/dev/ic/i82586.c
456
ie_ack(sc, status & IE_ST_WHENCE);
sys/dev/ic/i82586.c
458
i82586_start_cmd(sc, status & IE_ST_WHENCE, 0, 0, 1);
sys/dev/ic/i82586.c
460
if (status & (IE_ST_FR | IE_ST_RNR))
sys/dev/ic/i82586.c
461
if (i82586_rint(sc, status) != 0)
sys/dev/ic/i82586.c
464
if (status & IE_ST_CX)
sys/dev/ic/i82586.c
465
if (i82586_tint(sc, status) != 0)
sys/dev/ic/i82586.c
469
if ((status & IE_ST_CNA) && (sc->sc_debug & IED_CNA))
sys/dev/ic/i82586.c
471
status);
sys/dev/ic/i82586.c
487
status = sc->ie_bus_read16(sc, off);
sys/dev/ic/i82586.c
488
if ((status & IE_ST_WHENCE) != 0)
sys/dev/ic/i82586.c
510
int i, status, off;
sys/dev/ic/i82586.c
524
status = sc->ie_bus_read16(sc, off);
sys/dev/ic/i82586.c
529
device_xname(sc->sc_dev), i, status);
sys/dev/ic/i82586.c
531
if ((status & IE_FD_COMPLETE) == 0) {
sys/dev/ic/i82586.c
532
if ((status & IE_FD_OK) != 0) {
sys/dev/ic/i82586.c
535
i82586_rx_errors(sc, i, status);
sys/dev/ic/i82586.c
544
} else if ((status & IE_FD_OK) == 0) {
sys/dev/ic/i82586.c
550
i82586_rx_errors(sc, i, status);
sys/dev/ic/i82586.c
555
if ((status & IE_FD_BUSY) != 0)
sys/dev/ic/i82586.c
557
device_xname(sc->sc_dev), i, status);
sys/dev/ic/i82586.c
589
if ((status & IE_FD_RNR) != 0)
sys/dev/ic/i82586.c
663
int status;
sys/dev/ic/i82586.c
675
status = sc->ie_bus_read16(sc, IE_CMD_XMIT_STATUS(sc->xmit_cmds,
sys/dev/ic/i82586.c
681
device_xname(sc->sc_dev), scbstatus, status);
sys/dev/ic/i82586.c
684
if ((status & IE_STAT_COMPL) == 0 || (status & IE_STAT_BUSY)) {
sys/dev/ic/i82586.c
686
status, sc->xctail);
sys/dev/ic/i82586.c
690
if (status & IE_STAT_OK) {
sys/dev/ic/i82586.c
692
if_collisions, status & IE_XS_MAXCOLL);
sys/dev/ic/i82586.c
699
if (status & IE_STAT_ABORT)
sys/dev/ic/i82586.c
701
else if (status & IE_XS_NOCARRIER)
sys/dev/ic/i82586.c
703
else if (status & IE_XS_LOSTCTS)
sys/dev/ic/i82586.c
705
else if (status & IE_XS_UNDERRUN)
sys/dev/ic/i82586.c
707
else if (status & IE_XS_EXCMAX) {
sys/dev/ic/i82596.c
204
uint16_t status, count, cmd;
sys/dev/ic/i82596.c
217
status = rfd->rfd_status;
sys/dev/ic/i82596.c
218
if ((status & IEE_RFD_C) == 0) {
sys/dev/ic/i82596.c
239
if ((status & IEE_RFD_OK) == 0
sys/dev/ic/i82596.c
250
++sc->sc_rx_err, status, count);
sys/dev/ic/i82596.c
324
status = SC_CB(sc, sc->sc_next_cb - 1)->cb_status;
sys/dev/ic/i82596.c
327
if ((status & IEE_CB_C) != 0) {
sys/dev/ic/i82596.c
340
status = SC_CB(sc, n)->cb_status;
sys/dev/ic/i82596.c
343
if ((status & IEE_CB_COL) != 0 &&
sys/dev/ic/i82596.c
344
(status & IEE_CB_MAXCOL) == 0)
sys/dev/ic/i82596.c
347
col = status
sys/dev/ic/i82596.c
350
if ((status & IEE_CB_OK) != 0) {
sys/dev/ic/i82596.c
366
status = SC_CB(sc, n)->cb_status;
sys/dev/ic/i82596.c
369
(status & IEE_CB_OK) == 0)
sys/dev/ic/i82596.c
377
n, status, n, cmd);
sys/dev/ic/icp.c
636
icp->icp_evt.eu.async.status = icp->icp_status;
sys/dev/ic/icp.c
648
icp->icp_evt.eu.async.status = icp->icp_status;
sys/dev/ic/icp.c
758
ucmd->status = icp->icp_status;
sys/dev/ic/icp_ioctl.h
122
u_int16_t status;
sys/dev/ic/icp_ioctl.h
129
u_int16_t status;
sys/dev/ic/icp_ioctl.h
53
u_int16_t status;
sys/dev/ic/icpsp.c
291
xs->status = SCSI_OK;
sys/dev/ic/icpsp.c
297
xs->status = icp->icp_info;
sys/dev/ic/icpsp.c
299
switch (xs->status) {
sys/dev/ic/iha.c
1064
scb->status = STATUS_SELECT;
sys/dev/ic/iha.c
1231
xs->status = scb->ta_stat;
sys/dev/ic/iha.c
1405
switch (scb->status) {
sys/dev/ic/iha.c
1933
switch (scb->status) {
sys/dev/ic/iha.c
2145
if (scb->status == STATUS_SELECT)
sys/dev/ic/iha.c
2167
if (sc->sc_actscb->status == STATUS_SELECT)
sys/dev/ic/iha.c
2231
|| (scb->status != STATUS_BUSY)) {
sys/dev/ic/iha.c
251
scb->status = STATUS_QUEUED;
sys/dev/ic/iha.c
294
scb->status = STATUS_QUEUED;
sys/dev/ic/iha.c
313
scb->status = STATUS_RENT;
sys/dev/ic/iha.c
390
scb->status = STATUS_QUEUED;
sys/dev/ic/iha.c
405
scb->status = STATUS_QUEUED;
sys/dev/ic/iha.c
434
scb->status = STATUS_BUSY;
sys/dev/ic/iha.c
696
scb->status = STATUS_RENT;
sys/dev/ic/iha.c
819
switch (scb->status) {
sys/dev/ic/ihavar.h
93
int status; /* Current status of the SCB */
sys/dev/ic/isp_netbsd.c
797
if (xs->status == SCSI_QUEUE_FULL) {
sys/dev/ic/isp_netbsd.h
230
#define XS_STSP(xs) (&(xs)->status)
sys/dev/ic/isp_target.c
147
uint16_t status;
sys/dev/ic/isp_target.c
289
status = ecp->in_status;
sys/dev/ic/isp_target.c
295
status = fcp->in_status;
sys/dev/ic/isp_target.c
301
status = inp->in_status & 0xff;
sys/dev/ic/isp_target.c
310
isp_prt(isp, ISP_LOGTDEBUG0, "Immediate Notify On Bus %d, status=0x%x seqid=0x%x", bus, status, seqid);
sys/dev/ic/isp_target.c
312
switch (status) {
sys/dev/ic/isp_target.c
388
ISP_SNPRINTF(local, sizeof local, "%s: unknown status to RQSTYPE_NOTIFY (0x%x)", __func__, status);
sys/dev/ic/isp_target.c
889
uint8_t status = inp->in_status & ~QLTM_SVALID;
sys/dev/ic/isp_target.c
904
if (status == IN_IDE_RECEIVED || status == IN_MSG_RECEIVED) {
sys/dev/ic/ispmbox.h
1643
uint8_t status;
sys/dev/ic/ld_aac.c
114
u_int32_t status;
sys/dev/ic/ld_aac.c
288
status = le32toh(bwr->Status);
sys/dev/ic/ld_aac.c
292
status = le32toh(brr->Status);
sys/dev/ic/ld_aac.c
295
if (status != ST_OK) {
sys/dev/ic/ld_aac.c
299
status));
sys/dev/ic/ld_aac.c
330
u_int32_t status;
sys/dev/ic/ld_aac.c
338
status = le32toh(brr->Status);
sys/dev/ic/ld_aac.c
341
status = le32toh(bwr->Status);
sys/dev/ic/ld_aac.c
347
if (status != ST_OK) {
sys/dev/ic/ld_aac.c
352
aac_describe_code(aac_command_status_table, status));
sys/dev/ic/ld_icp.c
333
icp->icp_evt.eu.sync.status = icp->icp_status;
sys/dev/ic/ld_nvme.c
165
uint16_t status = NVME_CQE_SC(cmd_status);
sys/dev/ic/ld_nvme.c
168
if (status != NVME_CQE_SC_SUCCESS) {
sys/dev/ic/ld_nvme.c
177
if (status != NVME_CQE_SC_SUCCESS) {
sys/dev/ic/lpt.c
230
lptnotready(u_char status, struct lpt_softc *sc)
sys/dev/ic/lpt.c
234
status = (status ^ LPS_INVERT) & LPS_MASK;
sys/dev/ic/lpt.c
235
new = status & ~sc->sc_laststatus;
sys/dev/ic/lpt.c
236
sc->sc_laststatus = status;
sys/dev/ic/lpt.c
250
return status;
sys/dev/ic/malo.c
1334
if ((le32toh(desc->status) & MALO_TXD_STATUS_FW_OWNED) ||
sys/dev/ic/malo.c
1343
switch (le32toh(desc->status) & MALO_TXD_STATUS_USED) {
sys/dev/ic/malo.c
1368
desc->status = 0;
sys/dev/ic/malo.c
1509
desc->status = htole32(MALO_TXD_STATUS_OK | MALO_TXD_STATUS_FW_OWNED);
sys/dev/ic/malo.c
1540
sc->sc_rxring.cur, desc->rxctrl, desc->rssi, desc->status,
sys/dev/ic/malo.c
310
uint32_t status;
sys/dev/ic/malo.c
312
status = malo_ctl_read4(sc, MALO_REG_A2H_INTERRUPT_CAUSE);
sys/dev/ic/malo.c
313
if (status == 0xffffffff || status == 0)
sys/dev/ic/malo.c
331
uint32_t status;
sys/dev/ic/malo.c
333
status = malo_ctl_read4(sc, MALO_REG_A2H_INTERRUPT_CAUSE);
sys/dev/ic/malo.c
334
if (status == 0xffffffff || status == 0)
sys/dev/ic/malo.c
337
if (status & MALO_A2HRIC_BIT_TX_DONE)
sys/dev/ic/malo.c
339
if (status & MALO_A2HRIC_BIT_RX_RDY)
sys/dev/ic/malo.c
341
if (status & MALO_A2HRIC_BIT_OPC_DONE) {
sys/dev/ic/malo.c
348
if (status & ~0x7) {
sys/dev/ic/malo.c
350
device_xname(sc->sc_dev), status);
sys/dev/ic/malo.c
649
desc->status = 1;
sys/dev/ic/malo.c
670
ring->desc[i].status = 0;
sys/dev/ic/malo.c
801
desc->status = 0;
sys/dev/ic/malo.c
85
uint8_t status;
sys/dev/ic/malo.c
98
uint32_t status;
sys/dev/ic/mb86950.c
778
u_int status, len;
sys/dev/ic/mb86950.c
809
status = bus_space_read_2(bst, bsh, BMPR_FIFO);
sys/dev/ic/mb86950.c
812
if ((status & GOOD_PKT) == 0) {
sys/dev/ic/mb86960.c
938
u_int status, len;
sys/dev/ic/mb86960.c
976
status = bus_space_read_1(bst, bsh, FE_BMPR8);
sys/dev/ic/mb86960.c
979
status = bus_space_read_2(bst, bsh, FE_BMPR8);
sys/dev/ic/mb86960.c
983
device_xname(sc->sc_dev), status);
sys/dev/ic/mb86960.c
991
if ((status & FE_RXSTAT_GOODPKT) == 0) {
sys/dev/ic/mb89352.c
841
xs->status = acb->target_stat;
sys/dev/ic/mfi.c
1020
uint32_t status, frames, max_sgl;
sys/dev/ic/mfi.c
1052
status = mfi_fw_state(sc);
sys/dev/ic/mfi.c
1053
sc->sc_max_cmds = status & MFI_STATE_MAXCMD_MASK;
sys/dev/ic/mfi.c
1054
max_sgl = (status & MFI_STATE_MAXSGL_MASK) >> 16;
sys/dev/ic/mfi.c
1475
mfi_scsi_xs_done(struct mfi_ccb *ccb, int status, int scsi_status)
sys/dev/ic/mfi.c
1494
if (status != MFI_STAT_OK) {
sys/dev/ic/mfi.c
1497
DEVNAME(sc), status);
sys/dev/ic/mfi.c
1514
xs->status = SCSI_OK;
sys/dev/ic/mfi.c
1629
xs->status = SCSI_OK;
sys/dev/ic/mfi.c
1724
xs->status = SCSI_CHECK;
sys/dev/ic/mfi.c
1730
xs->status = SCSI_OK;
sys/dev/ic/mfi.c
1943
xs->status = SCSI_OK;
sys/dev/ic/mfi.c
2677
uint32_t status;
sys/dev/ic/mfi.c
2679
status = mfi_read(sc, MFI_OSTS);
sys/dev/ic/mfi.c
2680
if (!ISSET(status, MFI_OSTS_INTR_VALID))
sys/dev/ic/mfi.c
2684
mfi_write(sc, MFI_OSTS, status);
sys/dev/ic/mfi.c
2727
uint32_t status;
sys/dev/ic/mfi.c
2729
status = mfi_read(sc, MFI_OSTS);
sys/dev/ic/mfi.c
2730
if (!ISSET(status, MFI_OSTS_PPC_INTR_VALID))
sys/dev/ic/mfi.c
2734
mfi_write(sc, MFI_ODC, status);
sys/dev/ic/mfi.c
2769
u_int32_t status;
sys/dev/ic/mfi.c
2771
status = mfi_read(sc, MFI_OSTS);
sys/dev/ic/mfi.c
2772
if (!ISSET(status, MFI_OSTS_GEN2_INTR_VALID))
sys/dev/ic/mfi.c
2776
mfi_write(sc, MFI_ODC, status);
sys/dev/ic/mfi.c
2810
u_int32_t status;
sys/dev/ic/mfi.c
2812
status = mfi_read(sc, MFI_OSTS);
sys/dev/ic/mfi.c
2813
if (!ISSET(status, MFI_OSTS_SKINNY_INTR_VALID))
sys/dev/ic/mfi.c
2817
mfi_write(sc, MFI_OSTS, status);
sys/dev/ic/mfi.c
2850
int32_t status;
sys/dev/ic/mfi.c
2852
status = mfi_read(sc, MFI_OSTS);
sys/dev/ic/mfi.c
2854
if (ISSET(status, 0x1)) {
sys/dev/ic/mfi.c
2855
mfi_write(sc, MFI_OSTS, status);
sys/dev/ic/mfi.c
2857
if (ISSET(status, MFI_STATE_CHANGE_INTERRUPT))
sys/dev/ic/mfi.c
2861
if (!ISSET(status, MFI_FUSION_ENABLE_INTERRUPT_MASK))
sys/dev/ic/mlx.c
2086
mc->mc_status == mlx_msgs[i].status) {
sys/dev/ic/mlx.c
2108
u_int ident, status;
sys/dev/ic/mlx.c
2113
while ((*mlx->mlx_findcomplete)(mlx, &ident, &status) != 0) {
sys/dev/ic/mlx.c
2134
mc->mc_status = status;
sys/dev/ic/mlx.c
215
u_short status;
sys/dev/ic/mpt_debug.c
194
const struct Error_Map *status = IOC_Status;
sys/dev/ic/mpt_debug.c
196
while (status->Error_Code >= 0) {
sys/dev/ic/mpt_debug.c
197
if (status->Error_Code == (code & MPI_IOCSTATUS_MASK))
sys/dev/ic/mpt_debug.c
198
return status->Error_String;
sys/dev/ic/mpt_debug.c
199
status++;
sys/dev/ic/mpt_debug.c
208
const struct Error_Map *status = IOC_Diag;
sys/dev/ic/mpt_debug.c
214
while (status->Error_Code >= 0) {
sys/dev/ic/mpt_debug.c
215
if ((status->Error_Code & code) != 0) {
sys/dev/ic/mpt_debug.c
219
status->Error_String);
sys/dev/ic/mpt_debug.c
221
status++;
sys/dev/ic/mpt_debug.c
229
const struct Error_Map *status = IOC_Func;
sys/dev/ic/mpt_debug.c
231
while (status->Error_Code >= 0) {
sys/dev/ic/mpt_debug.c
232
if (status->Error_Code == code)
sys/dev/ic/mpt_debug.c
233
return status->Error_String;
sys/dev/ic/mpt_debug.c
234
status++;
sys/dev/ic/mpt_debug.c
242
const struct Error_Map *status = IOC_Event;
sys/dev/ic/mpt_debug.c
244
while (status->Error_Code >= 0) {
sys/dev/ic/mpt_debug.c
245
if (status->Error_Code == code)
sys/dev/ic/mpt_debug.c
246
return status->Error_String;
sys/dev/ic/mpt_debug.c
247
status++;
sys/dev/ic/mpt_debug.c
255
const struct Error_Map *status = IOC_SCSIState;
sys/dev/ic/mpt_debug.c
261
while (status->Error_Code >= 0) {
sys/dev/ic/mpt_debug.c
262
if ((status->Error_Code & code) != 0) {
sys/dev/ic/mpt_debug.c
266
status->Error_String);
sys/dev/ic/mpt_debug.c
268
status++;
sys/dev/ic/mpt_debug.c
275
const struct Error_Map *status = IOC_SCSIStatus;
sys/dev/ic/mpt_debug.c
277
while (status->Error_Code >= 0) {
sys/dev/ic/mpt_debug.c
278
if (status->Error_Code == code)
sys/dev/ic/mpt_debug.c
279
return status->Error_String;
sys/dev/ic/mpt_debug.c
280
status++;
sys/dev/ic/mpt_netbsd.c
660
xs->status = SCSI_OK;
sys/dev/ic/mpt_netbsd.c
667
xs->status = mpt_reply->SCSIStatus;
sys/dev/ic/mpt_netbsd.c
691
switch (xs->status) {
sys/dev/ic/mpt_netbsd.c
711
printf("invalid status code %d\n", xs->status);
sys/dev/ic/mpt_netbsd.c
795
if (xs->status == SCSI_CHECK)
sys/dev/ic/mtd803.c
731
uint32_t status;
sys/dev/ic/mtd803.c
741
status = MTD_READ_4(sc, MTD_ISR);
sys/dev/ic/mtd803.c
744
if (status)
sys/dev/ic/mtd803.c
745
rnd_add_uint32(&sc->rnd_src, status);
sys/dev/ic/mtd803.c
747
status &= MTD_ISR_MASK;
sys/dev/ic/mtd803.c
748
if (!status) /* We didn't ask for this */
sys/dev/ic/mtd803.c
751
MTD_WRITE_4(sc, MTD_ISR, status);
sys/dev/ic/mtd803.c
755
if (status & MTD_ISR_RXBUN) {
sys/dev/ic/mtd803.c
761
if (status & MTD_ISR_RXERR) {
sys/dev/ic/mtd803.c
766
if (status & MTD_ISR_TXBUN) {
sys/dev/ic/mtd803.c
772
if ((status & MTD_ISR_PDF)) {
sys/dev/ic/mtd803.c
778
if (status & MTD_ISR_FBUSERR) {
sys/dev/ic/mtd803.c
783
if (status & MTD_ISR_TARERR) {
sys/dev/ic/mtd803.c
788
if (status & MTD_ISR_MASTERR) {
sys/dev/ic/mtd803.c
793
if (status & MTD_ISR_PARERR) {
sys/dev/ic/mtd803.c
798
if (status & MTD_ISR_RXIRQ) /* Receive interrupt */
sys/dev/ic/mtd803.c
801
if (status & MTD_ISR_TXIRQ) /* Transmit interrupt */
sys/dev/ic/mtd803.c
804
if (status & MTD_ISR_TXEARLY) /* Transmit early */
sys/dev/ic/mtd803.c
807
if (status & MTD_ISR_TXBUN) /* Transmit buffer n/a */
sys/dev/ic/mvsata.c
2546
sc_xfer->status = SCSI_CHECK;
sys/dev/ic/ncr5380sbc.c
2144
uint8_t status;
sys/dev/ic/ncr5380sbc.c
2150
len = ncr5380_pio_in(sc, PHASE_STATUS, 1, &status);
sys/dev/ic/ncr5380sbc.c
2152
sr->sr_status = status;
sys/dev/ic/ncr5380sbc.c
764
xs->status = sr->sr_status;
sys/dev/ic/ncr53c9x.c
1228
xs->status = ecb->stat;
sys/dev/ic/ncr53c9x.c
1241
if (xs->status == SCSI_QUEUE_FULL || xs->status == XS_BUSY)
sys/dev/ic/ninjascsi32.c
2278
switch (xs->status) {
sys/dev/ic/ninjascsi32.c
2329
xs->status = SCSI_CHECK;
sys/dev/ic/ninjascsi32.c
2451
cmd->c_xs->status =
sys/dev/ic/ninjascsi32.c
2454
cmd->c_xs->status));
sys/dev/ic/ninjascsi32.c
2463
if (cmd->c_xs->status != SCSI_QUEUE_FULL &&
sys/dev/ic/ninjascsi32.c
2464
cmd->c_xs->status != SCSI_BUSY)
sys/dev/ic/ninjascsi32.c
2465
cmd->c_xs->status = SCSI_CHECK;/* XXX */
sys/dev/ic/ninjascsi32.c
2661
cmd->c_xs->status =
sys/dev/ic/ninjascsi32.c
2664
cmd->c_xs->status));
sys/dev/ic/nvme.c
1030
uint16_t status = NVME_CQE_SC(lemtoh16(&cqe->flags));
sys/dev/ic/nvme.c
1034
if (status == NVME_CQE_SC_SUCCESS) {
sys/dev/ic/nvme.c
1098
uint16_t status = NVME_CQE_SC(lemtoh16(&cqe->flags));
sys/dev/ic/nvme.c
1100
if (status == NVME_CQE_SC_SUCCESS) {
sys/dev/ic/nvme.c
956
uint16_t status = NVME_CQE_SC(lemtoh16(&cqe->flags));
sys/dev/ic/nvme.c
958
if (status == NVME_CQE_SC_SUCCESS)
sys/dev/ic/oosiop.c
551
offsetof(struct oosiop_xfer, status));
sys/dev/ic/oosiop.c
815
xfer->status = SCSI_OOSIOP_NOSTATUS;
sys/dev/ic/oosiop.c
878
xs->status = cb->xfer->status;
sys/dev/ic/oosiop.c
885
else switch (xs->status) {
sys/dev/ic/oosiop.c
998
sc->sc_tgt[i].nexus->xfer->status =
sys/dev/ic/oosiopvar.h
41
uint8_t status;
sys/dev/ic/osiop.c
1043
uint8_t sstat0, int *status)
sys/dev/ic/osiop.c
1087
if (acb->status != ACB_S_ACTIVE)
sys/dev/ic/osiop.c
1089
acb->status);
sys/dev/ic/osiop.c
1143
*status = ds->stat[0];
sys/dev/ic/osiop.c
1144
acb->status = ACB_S_DONE;
sys/dev/ic/osiop.c
1288
*status = SCSI_OSIOP_NOSTATUS;
sys/dev/ic/osiop.c
1305
acb->status = ACB_S_DONE;
sys/dev/ic/osiop.c
1306
*status = SCSI_OSIOP_NOSTATUS;
sys/dev/ic/osiop.c
1326
*status = SCSI_CHECK;
sys/dev/ic/osiop.c
1617
*status = SCSI_OSIOP_NOSTATUS;
sys/dev/ic/osiop.c
1656
*status = SCSI_OSIOP_NOSTATUS;
sys/dev/ic/osiop.c
1658
acb->status = ACB_S_DONE;
sys/dev/ic/osiop.c
1707
int status, s;
sys/dev/ic/osiop.c
1753
if (osiop_checkintr(sc, istat, dstat, sstat0, &status)) {
sys/dev/ic/osiop.c
1755
if (status == SCSI_OSIOP_NOSTATUS)
sys/dev/ic/osiop.c
1776
osiop_scsidone(sc->sc_nexus, status);
sys/dev/ic/osiop.c
1895
acb->xs->xs_periph->periph_lun, acb->status, acb->cmdlen);
sys/dev/ic/osiop.c
285
acb->ds->status.count = 1;
sys/dev/ic/osiop.c
286
acb->ds->status.addr = dsa + OSIOP_DSSTATOFF;
sys/dev/ic/osiop.c
392
acb->status = ACB_S_READY;
sys/dev/ic/osiop.c
460
int status, i, s, to;
sys/dev/ic/osiop.c
500
if (osiop_checkintr(sc, istat, dstat, sstat0, &status)) {
sys/dev/ic/osiop.c
509
osiop_scsidone(sc->sc_nexus, status);
sys/dev/ic/osiop.c
570
osiop_scsidone(struct osiop_acb *acb, int status)
sys/dev/ic/osiop.c
591
if (acb->status != ACB_S_DONE)
sys/dev/ic/osiop.c
593
device_xname(sc->sc_dev), acb->status);
sys/dev/ic/osiop.c
596
xs->status = status;
sys/dev/ic/osiop.c
598
switch (status) {
sys/dev/ic/osiop.c
623
device_xname(sc->sc_dev), status);
sys/dev/ic/osiop.c
650
OSIOP_TRACE('d', 'a', status, 0);
sys/dev/ic/osiop.c
653
OSIOP_TRACE('d', 'r', status, 0);
sys/dev/ic/osiop.c
679
OSIOP_TRACE('d', 'n', status, 0);
sys/dev/ic/osiop.c
682
acb->status = ACB_S_FREE;
sys/dev/ic/osiop.c
839
sc->sc_nexus->status = ACB_S_DONE;
sys/dev/ic/osiop.c
846
acb->status = ACB_S_DONE;
sys/dev/ic/osiop.c
909
if (acb->status != ACB_S_READY)
sys/dev/ic/osiop.c
988
acb->status = ACB_S_ACTIVE;
sys/dev/ic/osiopvar.h
101
buf_table_t status; /* 24: Status */
sys/dev/ic/osiopvar.h
156
int status; /* status of this acb */
sys/dev/ic/pl181.c
196
uint32_t status, mask;
sys/dev/ic/pl181.c
202
status = MMCI_READ(sc, MMCI_STATUS_REG);
sys/dev/ic/pl181.c
204
printf("%s: MMCI_STATUS_REG = %#x\n", __func__, status);
sys/dev/ic/pl181.c
206
if ((status & sc->sc_status_mask) == 0)
sys/dev/ic/pl181.c
208
MMCI_WRITE(sc, MMCI_CLEAR_REG, status);
sys/dev/ic/pl181.c
209
sc->sc_intr_status |= status;
sys/dev/ic/pl181.c
211
if (status & MMCI_INT_CMD_TIMEOUT)
sys/dev/ic/pl181.c
214
if (status & (MMCI_INT_DATA_TIMEOUT|MMCI_INT_DATA_CRC_FAIL)) {
sys/dev/ic/pl181.c
216
"data xfer error, status %08x\n", status);
sys/dev/ic/pl181.c
220
if (status & (MMCI_INT_TX_FIFO_EMPTY|MMCI_INT_TX_FIFO_HALF_EMPTY|
sys/dev/ic/pl181.c
236
if (status & MMCI_INT_CMD_RESP_END)
sys/dev/ic/rs5c313.c
104
int status = 0;
sys/dev/ic/rs5c313.c
130
status = EIO;
sys/dev/ic/rs5c313.c
139
return status;
sys/dev/ic/rtl8169.c
1579
uint16_t status, rndstatus = 0;
sys/dev/ic/rtl8169.c
1597
status = CSR_READ_2(sc, RTK_ISR);
sys/dev/ic/rtl8169.c
1599
if (status == 0xffff)
sys/dev/ic/rtl8169.c
1601
if (status != 0) {
sys/dev/ic/rtl8169.c
1603
CSR_WRITE_2(sc, RTK_ISR, status);
sys/dev/ic/rtl8169.c
1604
rndstatus = status;
sys/dev/ic/rtl8169.c
1607
if ((status & status_mask) == 0)
sys/dev/ic/rtl8169.c
1610
if (status & (RTK_ISR_RX_OK | RTK_ISR_RX_ERR))
sys/dev/ic/rtl8169.c
1621
if ((status & (RTK_ISR_TX_OK | RTK_ISR_TX_DESC_UNAVAIL)) &&
sys/dev/ic/rtl8169.c
1629
if (status & (RTK_ISR_TIMEOUT_EXPIRED | RTK_ISR_TX_ERR |
sys/dev/ic/rtl8169.c
1633
if (status & RTK_ISR_SYSTEM_ERR)
sys/dev/ic/rtl8169.c
1636
if (status & RTK_ISR_LINKCHG) {
sys/dev/ic/rtl8169.c
472
uint16_t status;
sys/dev/ic/rtl8169.c
525
status = CSR_READ_2(sc, RTK_ISR);
sys/dev/ic/rtl8169.c
526
if ((status & (RTK_ISR_TIMEOUT_EXPIRED | RTK_ISR_RX_OK)) ==
sys/dev/ic/rtl81x9.c
1168
uint16_t status, rndstatus = 0;
sys/dev/ic/rtl81x9.c
1183
status = CSR_READ_2(sc, RTK_ISR);
sys/dev/ic/rtl81x9.c
1185
if (status == 0xffff)
sys/dev/ic/rtl81x9.c
1188
if (status) {
sys/dev/ic/rtl81x9.c
1189
CSR_WRITE_2(sc, RTK_ISR, status);
sys/dev/ic/rtl81x9.c
1190
rndstatus = status;
sys/dev/ic/rtl81x9.c
1193
if ((status & RTK_INTRS) == 0)
sys/dev/ic/rtl81x9.c
1198
if (status & RTK_ISR_RX_OK)
sys/dev/ic/rtl81x9.c
1201
if (status & RTK_ISR_RX_ERR)
sys/dev/ic/rtl81x9.c
1204
if (status & (RTK_ISR_TX_OK | RTK_ISR_TX_ERR))
sys/dev/ic/rtl81x9.c
1207
if (status & RTK_ISR_SYSTEM_ERR) {
sys/dev/ic/rtsx.c
1644
int status;
sys/dev/ic/rtsx.c
1651
status = sc->sc_intr_status & mask;
sys/dev/ic/rtsx.c
1652
while (status == 0) {
sys/dev/ic/rtsx.c
1659
status = sc->sc_intr_status & mask;
sys/dev/ic/rtsx.c
1661
sc->sc_intr_status &= ~status;
sys/dev/ic/rtsx.c
1669
if (error == 0 && (status & RTSX_TRANS_FAIL_INT))
sys/dev/ic/rtsx.c
1707
uint32_t enabled, status;
sys/dev/ic/rtsx.c
1710
status = READ4(sc, RTSX_BIPR);
sys/dev/ic/rtsx.c
1713
WRITE4(sc, RTSX_BIPR, status);
sys/dev/ic/rtsx.c
1715
if (((enabled & status) == 0) || status == 0xffffffff)
sys/dev/ic/rtsx.c
1720
if (status & RTSX_SD_INT) {
sys/dev/ic/rtsx.c
1721
if (status & RTSX_SD_EXIST) {
sys/dev/ic/rtsx.c
1729
if (status & (RTSX_TRANS_OK_INT | RTSX_TRANS_FAIL_INT)) {
sys/dev/ic/rtsx.c
1730
sc->sc_intr_status |= status;
sys/dev/ic/rtsx.c
329
uint32_t status;
sys/dev/ic/rtsx.c
361
status = READ4(sc, RTSX_BIPR);
sys/dev/ic/rtsx.c
362
WRITE4(sc, RTSX_BIPR, status);
sys/dev/ic/rtsx.c
365
if (attaching && (status & RTSX_SD_EXIST))
sys/dev/ic/scmi.c
102
int32_t status;
sys/dev/ic/scmi.c
121
status = sc->sc_command(sc);
sys/dev/ic/scmi.c
122
if (status != SCMI_SUCCESS) {
sys/dev/ic/scmi.c
142
int32_t status;
sys/dev/ic/scmi.c
158
status = sc->sc_command(sc);
sys/dev/ic/scmi.c
159
if (status != SCMI_SUCCESS) {
sys/dev/ic/scmi.c
181
int32_t status;
sys/dev/ic/scmi.c
184
status = smccc_call(sc->sc_smc_id, 0, 0, 0, 0,
sys/dev/ic/scmi.c
186
if (status != SMCCC_SUCCESS)
sys/dev/ic/scmi.c
232
int32_t status;
sys/dev/ic/scmi.c
237
status = sc->sc_command(sc);
sys/dev/ic/scmi.c
238
if (status != SCMI_SUCCESS)
sys/dev/ic/scmi.c
273
int32_t status;
sys/dev/ic/scmi.c
278
status = sc->sc_command(sc);
sys/dev/ic/scmi.c
279
if (status != SCMI_SUCCESS)
sys/dev/ic/scmi.c
293
int32_t status;
sys/dev/ic/scmi.c
301
status = sc->sc_command(sc);
sys/dev/ic/scmi.c
302
if (status != SCMI_SUCCESS)
sys/dev/ic/scmi.c
316
int32_t status;
sys/dev/ic/scmi.c
322
status = sc->sc_command(sc);
sys/dev/ic/scmi.c
323
if (status != SCMI_SUCCESS) {
sys/dev/ic/scmi.c
338
status = sc->sc_command(sc);
sys/dev/ic/scmi.c
339
if (status != SCMI_SUCCESS) {
sys/dev/ic/scmi.c
358
status = sc->sc_command(sc);
sys/dev/ic/scmi.c
359
if (status != SCMI_SUCCESS) {
sys/dev/ic/scmi.c
408
int status, i, idx;
sys/dev/ic/scmi.c
417
status = sc->sc_command(sc);
sys/dev/ic/scmi.c
418
if (status != SCMI_SUCCESS) {
sys/dev/ic/scmi.c
458
int32_t status;
sys/dev/ic/scmi.c
468
status = sc->sc_command(sc);
sys/dev/ic/scmi.c
469
if (status == SCMI_SUCCESS) {
sys/dev/ic/scmi.c
475
return status;
sys/dev/ic/scmi.c
483
int32_t status;
sys/dev/ic/scmi.c
493
status = sc->sc_command(sc);
sys/dev/ic/scmi.c
494
if (status == SCMI_SUCCESS) {
sys/dev/ic/scmi.c
499
return status;
sys/dev/ic/scmi.c
507
int32_t status;
sys/dev/ic/scmi.c
518
status = sc->sc_command(sc);
sys/dev/ic/scmi.c
521
return status;
sys/dev/ic/scmi.c
549
int32_t status;
sys/dev/ic/scmi.c
562
status = scmi_perf_level_set(pd, perf_level);
sys/dev/ic/scmi.c
563
if (status != SCMI_SUCCESS) {
sys/dev/ic/scmi.c
581
int32_t status;
sys/dev/ic/scmi.c
589
status = scmi_perf_level_get(pd, &level);
sys/dev/ic/scmi.c
590
if (status != SCMI_SUCCESS) {
sys/dev/ic/scmi.c
598
status = scmi_perf_level_get(pd, &level);
sys/dev/ic/scmi.c
599
if (status != SCMI_SUCCESS) {
sys/dev/ic/scmi.c
642
int32_t status;
sys/dev/ic/scmi.c
648
status = scmi_perf_limits_get(pd, &max_level, &min_level);
sys/dev/ic/scmi.c
649
if (status != SCMI_SUCCESS) {
sys/dev/ic/seeq8005.c
1003
int status, handled;
sys/dev/ic/seeq8005.c
1008
status = SEEQ_READ16(sc, iot, ioh, SEEQ_STATUS);
sys/dev/ic/seeq8005.c
1011
if (status & SEEQ_STATUS_TX_INT) {
sys/dev/ic/seeq8005.c
1023
if (status & SEEQ_STATUS_RX_INT) {
sys/dev/ic/seeq8005.c
1035
rnd_add_uint32(&sc->rnd_source, status);
sys/dev/ic/seeq8005.c
1127
int status;
sys/dev/ic/seeq8005.c
1146
status = rxhdr[3];
sys/dev/ic/seeq8005.c
1150
addr, ptr, ctrl, status));
sys/dev/ic/seeq8005.c
1174
if ((status & SEEQ_PKTSTAT_DONE) == 0)
sys/dev/ic/seeq8005.c
1181
if (__predict_false(status &
sys/dev/ic/seeq8005.c
1187
device_xname(sc->sc_dev), addr, status & 0x0f);
sys/dev/ic/seeq8005.c
389
int status;
sys/dev/ic/seeq8005.c
395
status = SEEQ_READ16(sc, iot, ioh, SEEQ_STATUS);
sys/dev/ic/seeq8005.c
396
if (!(status & SEEQ_STATUS_TX_ON))
sys/dev/ic/seeq8005.c
405
status = SEEQ_READ16(sc, iot, ioh, SEEQ_STATUS);
sys/dev/ic/seeq8005.c
407
} while ((status & SEEQ_STATUS_TX_ON) && --timeout > 0);
sys/dev/ic/seeq8005.c
431
int status;
sys/dev/ic/seeq8005.c
435
status = SEEQ_READ16(sc, iot, ioh, SEEQ_STATUS);
sys/dev/ic/seeq8005.c
436
if (!(status & SEEQ_STATUS_RX_ON))
sys/dev/ic/seeq8005.c
446
status = SEEQ_READ16(sc, iot, ioh, SEEQ_STATUS);
sys/dev/ic/seeq8005.c
448
} while ((status & SEEQ_STATUS_RX_ON) && --timeout > 0);
sys/dev/ic/siisata.c
1913
sc_xfer->status = SCSI_CHECK;
sys/dev/ic/siop.c
1010
switch(xs->status) {
sys/dev/ic/siop.c
1047
printf("invalid status code %d\n", xs->status);
sys/dev/ic/siop.c
1061
siop_cmd->cmd_c.status = CMDST_FREE;
sys/dev/ic/siop.c
1104
siop_cmd->cmd_c.xs->status = SCSI_SIOP_NOCHECK;
sys/dev/ic/siop.c
1135
siop_cmd->cmd_c.status);
sys/dev/ic/siop.c
1141
target, lun, siop_lun->siop_tag[0].active->cmd_c.status);
sys/dev/ic/siop.c
1210
siop_cmd->cmd_c.xs->status = SCSI_SIOP_NOCHECK;
sys/dev/ic/siop.c
1212
siop_cmd->cmd_c.status = CMDST_DONE;
sys/dev/ic/siop.c
1216
sc->sc_c.targets[target]->status = TARST_ASYNC;
sys/dev/ic/siop.c
1259
if (siop_cmd->cmd_c.status != CMDST_FREE)
sys/dev/ic/siop.c
1284
siop_target->target_c.status = TARST_PROBING;
sys/dev/ic/siop.c
1328
siop_cmd->cmd_c.status = CMDST_READY;
sys/dev/ic/siop.c
1341
siop_cmd->cmd_c.status = CMDST_FREE;
sys/dev/ic/siop.c
1361
siop_cmd->cmd_c.status = CMDST_FREE;
sys/dev/ic/siop.c
1421
sc->sc_c.targets[xm->xm_target]->status == TARST_PROBING)
sys/dev/ic/siop.c
1422
sc->sc_c.targets[xm->xm_target]->status =
sys/dev/ic/siop.c
1515
siop_cmd->cmd_c.xs->status = SCSI_SIOP_NOCHECK;
sys/dev/ic/siop.c
1524
if (siop_cmd->cmd_c.status == CMDST_READY)
sys/dev/ic/siop.c
1525
siop_cmd->cmd_c.status = CMDST_ACTIVE;
sys/dev/ic/siop.c
1709
newcbd->cmds[i].cmd_c.status = CMDST_FREE;
sys/dev/ic/siop.c
1722
dsa + offsetof(struct siop_common_xfer, status) + off);
sys/dev/ic/siop.c
346
if (siop_cmd->cmd_c.status != CMDST_ACTIVE) {
sys/dev/ic/siop.c
349
siop_cmd->cmd_c.status);
sys/dev/ic/siop.c
417
siop_cmd->cmd_tables->status));
sys/dev/ic/siop.c
526
siop_cmd->cmd_c.status = CMDST_DONE;
sys/dev/ic/siop.c
543
siop_cmd->cmd_tables->status =
sys/dev/ic/siop.c
583
siop_cmd->cmd_c.status = CMDST_DONE;
sys/dev/ic/siop.c
616
if (siop_cmd->cmd_c.status != CMDST_ACTIVE) {
sys/dev/ic/siop.c
620
irqcode, siop_cmd->cmd_c.status);
sys/dev/ic/siop.c
718
siop_target->target_c.status =
sys/dev/ic/siop.c
726
siop_target->target_c.status =
sys/dev/ic/siop.c
741
siop_target->target_c.status = TARST_OK;
sys/dev/ic/siop.c
932
siop_cmd->cmd_c.status = CMDST_FREE;
sys/dev/ic/siop.c
943
siop_cmd->cmd_tables->status));
sys/dev/ic/siop.c
959
siop_cmd->cmd_c.status = CMDST_DONE;
sys/dev/ic/siop.c
984
xs->status = siop_ctoh32(&sc->sc_c, siop_cmd->cmd_tables->status);
sys/dev/ic/siop.c
985
if (xs->status == SCSI_OK)
sys/dev/ic/siop.c
991
if (freetarget && siop_target->target_c.status == TARST_PROBING)
sys/dev/ic/siop_common.c
296
if (sc->targets[target]->status == TARST_ASYNC) {
sys/dev/ic/siop_common.c
299
sc->targets[target]->status = TARST_PPR_NEG;
sys/dev/ic/siop_common.c
303
sc->targets[target]->status = TARST_WIDE_NEG;
sys/dev/ic/siop_common.c
307
sc->targets[target]->status = TARST_SYNC_NEG;
sys/dev/ic/siop_common.c
311
sc->targets[target]->status = TARST_OK;
sys/dev/ic/siop_common.c
315
siop_cmd->siop_tables->status =
sys/dev/ic/siop_common.c
342
if (siop_target->status == TARST_WIDE_NEG) {
sys/dev/ic/siop_common.c
362
siop_target->status = TARST_OK;
sys/dev/ic/siop_common.c
379
siop_target->status = TARST_SYNC_NEG;
sys/dev/ic/siop_common.c
384
siop_target->status = TARST_OK;
sys/dev/ic/siop_common.c
405
siop_target->status = TARST_OK;
sys/dev/ic/siop_common.c
431
if (siop_target->status == TARST_PPR_NEG) {
sys/dev/ic/siop_common.c
440
siop_target->status = TARST_ASYNC;
sys/dev/ic/siop_common.c
476
siop_target->status = TARST_ASYNC;
sys/dev/ic/siop_common.c
489
siop_target->status = TARST_ASYNC;
sys/dev/ic/siop_common.c
501
siop_target->status = TARST_OK;
sys/dev/ic/siop_common.c
537
if (siop_target->status == TARST_SYNC_NEG) {
sys/dev/ic/siop_common.c
539
siop_target->status = TARST_OK;
sys/dev/ic/siop_common.c
635
if (siop_target->status == TARST_OK)
sys/dev/ic/siopreg.h
482
uint16_t status;
sys/dev/ic/siopvar_common.h
102
int status; /* target status, see below */
sys/dev/ic/siopvar_common.h
53
uint32_t status; /* 32 */
sys/dev/ic/siopvar_common.h
84
int status;
sys/dev/ic/sl811hs.c
1935
uint8_t status, buf_start;
sys/dev/ic/sl811hs.c
1967
status = slhci_read(sc, slhci_tregs[ab][STAT]);
sys/dev/ic/sl811hs.c
2016
if (__predict_false(!status)) {
sys/dev/ic/sl811hs.c
2025
(status & SL11_EPSTAT_ERRBITS) != SL11_EPSTAT_NAK) {
sys/dev/ic/sl811hs.c
2026
DDOLOG("USB Status = %#.2x", status, 0, 0, 0);
sys/dev/ic/sl811hs.c
2027
DDOLOGSTATUS(status);
sys/dev/ic/sl811hs.c
2031
if (!(status & SL11_EPSTAT_ERRBITS)) {
sys/dev/ic/sl811hs.c
2035
if ((status & SL11_EPSTAT_OVERFLOW) || cont > len) {
sys/dev/ic/sl811hs.c
2058
if (status & SL11_EPSTAT_ERRBITS) {
sys/dev/ic/sl811hs.c
2059
status &= SL11_EPSTAT_ERRBITS;
sys/dev/ic/sl811hs.c
2060
if (status & SL11_EPSTAT_SETUP) {
sys/dev/ic/sl811hs.c
2069
if (status & SL11_EPSTAT_STALL)
sys/dev/ic/sl811hs.c
2071
else if (status & SL11_EPSTAT_TIMEOUT)
sys/dev/ic/sl811hs.c
2073
else if (status & SL11_EPSTAT_NAK)
sys/dev/ic/sl811hs.c
2077
} else if (status & SL11_EPSTAT_NAK) {
sys/dev/ic/sl811hs.c
2087
(status & SL11_EPSTAT_STALL)) {
sys/dev/ic/sl811hs.c
2090
if (status & SL11_EPSTAT_STALL)
sys/dev/ic/sl811hs.c
2092
else if (status & SL11_EPSTAT_TIMEOUT)
sys/dev/ic/sl811hs.c
2098
"xfer->ux_status %jd", status, xfer->ux_status, 0,
sys/dev/ic/sl811hs.c
2100
DDOLOGSTATUS(status);
sys/dev/ic/sl811hs.c
3153
unsigned int status, change;
sys/dev/ic/sl811hs.c
3170
status = 0;
sys/dev/ic/sl811hs.c
3172
status |= UPS_CURRENT_CONNECT_STATUS;
sys/dev/ic/sl811hs.c
3174
status |= UPS_PORT_ENABLED;
sys/dev/ic/sl811hs.c
3176
status |= UPS_RESET;
sys/dev/ic/sl811hs.c
3178
status |= UPS_PORT_POWER;
sys/dev/ic/sl811hs.c
3180
status |= UPS_LOW_SPEED;
sys/dev/ic/sl811hs.c
3181
USETW(ps->wPortStatus, status);
sys/dev/ic/sl811hs.c
3183
DLOG(D_ROOT, "status=%#.4jx, change=%#.4jx", status, change, 0,0);
sys/dev/ic/smc91cxx.c
1014
(status & IM_MD_INT)) {
sys/dev/ic/smc91cxx.c
1022
if (status & IM_EPH_INT) {
sys/dev/ic/smc91cxx.c
1037
if (status)
sys/dev/ic/smc91cxx.c
1038
rnd_add_uint32(&sc->rnd_source, status);
sys/dev/ic/smc91cxx.c
1055
uint16_t status, packetno, packetlen;
sys/dev/ic/smc91cxx.c
1082
status = (uint16_t)dr;
sys/dev/ic/smc91cxx.c
1098
if (status & RS_ERRORS) {
sys/dev/ic/smc91cxx.c
1104
if (status & RS_ODDFRAME)
sys/dev/ic/smc91cxx.c
862
uint8_t mask, interrupts, status;
sys/dev/ic/smc91cxx.c
882
status = interrupts & mask;
sys/dev/ic/smc91cxx.c
885
if (status == 0)
sys/dev/ic/smc91cxx.c
892
if (status & IM_RX_OVRN_INT) {
sys/dev/ic/smc91cxx.c
898
if (status & IM_RCV_INT) {
sys/dev/ic/smc91cxx.c
903
if (status & IM_ALLOC_INT) {
sys/dev/ic/smc91cxx.c
923
if (status & IM_TX_INT) {
sys/dev/ic/smc91cxx.c
987
if (status & IM_TX_EMPTY_INT) {
sys/dev/ic/sunscpal.c
1642
uint8_t status;
sys/dev/ic/sunscpal.c
1645
len = sunscpal_pio_in(sc, SUNSCPAL_PHASE_STATUS, 1, &status);
sys/dev/ic/sunscpal.c
1647
sr->sr_status = status;
sys/dev/ic/sunscpal.c
883
xs->status = sr->sr_status;
sys/dev/ic/tulip.c
1016
uint32_t status, rxstatus, txstatus, rndstatus = 0;
sys/dev/ic/tulip.c
1047
status = TULIP_READ(sc, CSR_STATUS);
sys/dev/ic/tulip.c
1048
if (status) {
sys/dev/ic/tulip.c
1049
TULIP_WRITE(sc, CSR_STATUS, status);
sys/dev/ic/tulip.c
1050
rndstatus = status;
sys/dev/ic/tulip.c
1053
if ((status & sc->sc_inten) == 0)
sys/dev/ic/tulip.c
1058
rxstatus = status & sc->sc_rxint_mask;
sys/dev/ic/tulip.c
1059
txstatus = status & sc->sc_txint_mask;
sys/dev/ic/tulip.c
1126
if (status & (STATUS_TPS | STATUS_RPS)) {
sys/dev/ic/tulip.c
1127
if (status & STATUS_TPS)
sys/dev/ic/tulip.c
1130
if (status & STATUS_RPS)
sys/dev/ic/tulip.c
1137
if (status & STATUS_SE) {
sys/dev/ic/tulip.c
1139
switch (status & STATUS_EB) {
sys/dev/ic/wd33c93.c
783
wd33c93_scsidone(struct wd33c93_softc *sc, struct wd33c93_acb *acb, int status)
sys/dev/ic/wd33c93.c
802
sc->target, sc->lun, status));
sys/dev/ic/wd33c93.c
805
xs->status = status & SCSI_STATUS_MASK;
sys/dev/ic/wd33c93.c
809
switch (xs->status) {
sys/dev/ic/wdc.c
1260
u_char status, error = 0;
sys/dev/ic/wdc.c
1272
status =
sys/dev/ic/wdc.c
1274
if ((status & (WDCS_BSY | mask)) == bits)
sys/dev/ic/wdc.c
1279
xtime, status,
sys/dev/ic/wdc.c
1292
if (status & WDCS_ERR)
sys/dev/ic/wdc.c
1315
*tfd = ATACH_ERR_ST(error, status);
sys/dev/ic/wi.c
1657
uint16_t status;
sys/dev/ic/wi.c
1677
status = le16toh(frmhdr.wi_status);
sys/dev/ic/wi.c
1678
if ((status & WI_STAT_ERRSTAT) != 0 &&
sys/dev/ic/wi.c
1681
DPRINTF(("wi_rx_intr: fid %x error status %x\n", fid, status));
sys/dev/ic/wi.c
1784
uint16_t status;
sys/dev/ic/wi.c
1806
status = le16toh(frmhdr.wi_status);
sys/dev/ic/wi.c
1815
if (status & WI_TXSTAT_RET_ERR)
sys/dev/ic/wi.c
1817
if (status & WI_TXSTAT_AGED_ERR)
sys/dev/ic/wi.c
1819
if (status & WI_TXSTAT_DISCONNECT)
sys/dev/ic/wi.c
1821
if (status & WI_TXSTAT_FORM_ERR)
sys/dev/ic/wi.c
1825
if (status & ~0xf)
sys/dev/ic/wi.c
1826
printf(", status=0x%x", status);
sys/dev/ic/wi.c
1832
if ((status & WI_TXSTAT_RET_ERR) != 0)
sys/dev/ic/wi.c
2865
int i, status;
sys/dev/ic/wi.c
2895
status = CSR_READ_2(sc, WI_STATUS);
sys/dev/ic/wi.c
2906
if (status & WI_STAT_CMD_RESULT) {
sys/dev/ic/wi.c
2922
int i, status;
sys/dev/ic/wi.c
2928
status = CSR_READ_2(sc, WI_OFF0);
sys/dev/ic/wi.c
2929
if ((status & WI_OFF_BUSY) == 0)
sys/dev/ic/wi.c
2956
if (status & WI_OFF_ERR) {
sys/dev/ic/wi.c
637
uint16_t status;
sys/dev/ic/wi.c
655
status = CSR_READ_2(sc, WI_EVENT_STAT);
sys/dev/ic/wi.c
658
printf("%s: status %#04x\n", __func__, status);
sys/dev/ic/wi.c
661
if ((status & WI_INTRS) == 0) {
sys/dev/ic/wi.c
677
uint16_t status;
sys/dev/ic/wi.c
691
status = CSR_READ_2(sc, WI_EVENT_STAT);
sys/dev/ic/wi.c
695
status);
sys/dev/ic/wi.c
698
if ((status & WI_INTRS) == 0)
sys/dev/ic/wi.c
701
sc->sc_status = status;
sys/dev/ic/wi.c
703
if (status & WI_EV_RX)
sys/dev/ic/wi.c
706
if (status & WI_EV_ALLOC)
sys/dev/ic/wi.c
709
if (status & WI_EV_TX)
sys/dev/ic/wi.c
712
if (status & WI_EV_TX_EXC)
sys/dev/ic/wi.c
715
if (status & WI_EV_INFO)
sys/dev/ieee1394/firewire.c
1040
fc->status = FWBUSMGRDONE;
sys/dev/ieee1394/firewire.c
1044
fc->status = FWBUSMGRELECT;
sys/dev/ieee1394/firewire.c
1048
fc->status = FWBUSMGRDONE;
sys/dev/ieee1394/firewire.c
1143
if (rb->fc->status == FWBUSINIT) {
sys/dev/ieee1394/firewire.c
1550
fc->status = FWBUSPHYCONF;
sys/dev/ieee1394/firewire.c
1614
fc->status = FWBUSEXPLORE;
sys/dev/ieee1394/firewire.c
1621
if (fwdev->status != FWDEVINVAL) {
sys/dev/ieee1394/firewire.c
1622
fwdev->status = FWDEVINVAL;
sys/dev/ieee1394/firewire.c
1734
dfwdev->status = FWDEVINVAL;
sys/dev/ieee1394/firewire.c
1742
dfwdev->status = FWDEVINVAL;
sys/dev/ieee1394/firewire.c
1751
dfwdev->status = FWDEVINVAL;
sys/dev/ieee1394/firewire.c
1758
dfwdev->status = FWDEVINVAL;
sys/dev/ieee1394/firewire.c
1783
fwdev->status = FWDEVNEW;
sys/dev/ieee1394/firewire.c
1836
fwdev->status = FWDEVINIT;
sys/dev/ieee1394/firewire.c
1856
fwdev->status = FWDEVINVAL;
sys/dev/ieee1394/firewire.c
1896
dfwdev->status = FWDEVINIT;
sys/dev/ieee1394/firewire.c
1955
while (fc->status != FWBUSDETACH) {
sys/dev/ieee1394/firewire.c
1956
if (fc->status == FWBUSEXPLORE) {
sys/dev/ieee1394/firewire.c
1959
fc->status = FWBUSEXPDONE;
sys/dev/ieee1394/firewire.c
1967
fc->status = FWBUSDETACHOK;
sys/dev/ieee1394/firewire.c
2035
switch (fwdev->status) {
sys/dev/ieee1394/firewire.c
2072
fwdev->status = FWDEVATTACHED;
sys/dev/ieee1394/firewire.c
208
fc->status = FWBUSNOTREADY;
sys/dev/ieee1394/firewire.c
2267
fc->status = FWBUSMGRELECT;
sys/dev/ieee1394/firewire.c
2340
fwdev.status = FWDEVINIT;
sys/dev/ieee1394/firewire.c
276
fc->status = FWBUSDETACH;
sys/dev/ieee1394/firewire.c
278
while (fc->status != FWBUSDETACHOK) {
sys/dev/ieee1394/firewire.c
332
fc->status = FWBUSNOTREADY;
sys/dev/ieee1394/firewire.c
347
if (fwdev->dst == dst && fwdev->status != FWDEVINVAL)
sys/dev/ieee1394/firewire.c
370
if (fwdev->status == FWDEVINVAL)
sys/dev/ieee1394/firewire.c
403
if ((fc->status < FWBUSEXPLORE) &&
sys/dev/ieee1394/firewire.c
531
if (fc->status == FWBUSMGRELECT)
sys/dev/ieee1394/firewire.c
534
fc->status = new_status;
sys/dev/ieee1394/firewire.c
537
if (fc->status == FWBUSNOTREADY)
sys/dev/ieee1394/firewire.c
966
fc->status = FWBUSCYMELECT;
sys/dev/ieee1394/firewire.h
280
uint16_t status;
sys/dev/ieee1394/firewirereg.h
118
uint32_t status;
sys/dev/ieee1394/firewirereg.h
61
uint32_t status;
sys/dev/ieee1394/fwdev.c
627
devinfo->status = 0; /* XXX */
sys/dev/ieee1394/fwdev.c
634
devinfo->status =
sys/dev/ieee1394/fwdev.c
635
(fwdev->status == FWDEVINVAL) ? 0 : 1;
sys/dev/ieee1394/fwohci.c
1559
u_int stat, status;
sys/dev/ieee1394/fwohci.c
1578
status = FWOHCI_DMA_READ(db->db.desc.res) >> OHCI_STATUS_SHIFT;
sys/dev/ieee1394/fwohci.c
1579
if (!(status & OHCI_CNTL_DMA_ACTIVE))
sys/dev/ieee1394/fwohci.c
1580
if (fc->status != FWBUSINIT)
sys/dev/ieee1394/fwohci.c
1591
if (status & OHCI_CNTL_DMA_DEAD) {
sys/dev/ieee1394/fwohci.c
1601
stat = status & FWOHCIEV_MASK;
sys/dev/ieee1394/fwohci.c
1993
if ((stat & OHCI_INT_PHY_BUS_R) && (fc->status != FWBUSRESET)) {
sys/dev/ieee1394/fwohci.c
1994
fc->status = FWBUSRESET;
sys/dev/ieee1394/fwohci.c
2056
fc->status = FWBUSINIT;
sys/dev/ieee1394/fwohci.c
2758
uint32_t stat, status, event;
sys/dev/ieee1394/fwohci.c
2774
status = FWOHCI_DMA_READ(db_tr->db[0].db.desc.res) >> OHCI_STATUS_SHIFT;
sys/dev/ieee1394/fwohci.c
2776
while (status & OHCI_CNTL_DMA_ACTIVE) {
sys/dev/ieee1394/fwohci.c
2781
db_tr->bus_addr, status, resCount);
sys/dev/ieee1394/fwohci.c
2931
if ((sc->fc.status != FWBUSRESET) &&
sys/dev/ieee1394/fwohci.c
2932
(sc->fc.status != FWBUSINIT))
sys/dev/ieee1394/fwohci.c
2993
status = FWOHCI_DMA_READ(db_tr->db[0].db.desc.res) >>
sys/dev/ieee1394/sbp.c
1068
if (tsdev != NULL && tsdev->status == SBP_DEV_LOGIN)
sys/dev/ieee1394/sbp.c
1131
if (sdev->status != SBP_DEV_PROBE) {
sys/dev/ieee1394/sbp.c
1145
sdev->status = SBP_DEV_ATTACHED;
sys/dev/ieee1394/sbp.c
1160
sdev->status = SBP_DEV_PROBE;
sys/dev/ieee1394/sbp.c
1223
if (sdev->status == SBP_DEV_ATTACHED || sdev->status == SBP_DEV_PROBE)
sys/dev/ieee1394/sbp.c
1584
sbp_cmd_status->status,
sys/dev/ieee1394/sbp.c
1593
switch (sbp_cmd_status->status) {
sys/dev/ieee1394/sbp.c
1631
ocb->xs->xs_status = sbp_cmd_status->status;
sys/dev/ieee1394/sbp.c
1648
__func__, ocb->sdev->bustgtlun, sbp_cmd_status->status);
sys/dev/ieee1394/sbp.c
1799
status_valid = (status_valid0 && sbp_status->status == 0);
sys/dev/ieee1394/sbp.c
1802
int status;
sys/dev/ieee1394/sbp.c
1808
sbp_status->len, sbp_status->status,
sys/dev/ieee1394/sbp.c
1812
status = sbp_status->status;
sys/dev/ieee1394/sbp.c
1815
if (status > MAX_ORB_STATUS0)
sys/dev/ieee1394/sbp.c
1818
printf("%s\n", orb_status0[status]);
sys/dev/ieee1394/sbp.c
1822
orb_status1_object[(status>>6) & 3],
sys/dev/ieee1394/sbp.c
1823
orb_status1_serial_bus_error[status & 0xf]);
sys/dev/ieee1394/sbp.c
1891
sdev->status = SBP_DEV_RESET;
sys/dev/ieee1394/sbp.c
1919
sdev->status = SBP_DEV_RESET;
sys/dev/ieee1394/sbp.c
2024
if (sdev->status >= SBP_DEV_TOATTACH &&
sys/dev/ieee1394/sbp.c
2025
sdev->status <= SBP_DEV_ATTACHED)
sys/dev/ieee1394/sbp.c
2086
if (sdev->status == SBP_DEV_DEAD)
sys/dev/ieee1394/sbp.c
2088
if (sdev->status == SBP_DEV_RESET)
sys/dev/ieee1394/sbp.c
2133
if (tsdev->status == SBP_DEV_DEAD)
sys/dev/ieee1394/sbp.c
2135
if (tsdev->status == SBP_DEV_RESET)
sys/dev/ieee1394/sbp.c
2143
tsdev->status = SBP_DEV_LOGIN;
sys/dev/ieee1394/sbp.c
2231
if (sdev != NULL && sdev->status != SBP_DEV_ATTACHED &&
sys/dev/ieee1394/sbp.c
2232
sdev->status != SBP_DEV_PROBE)
sys/dev/ieee1394/sbp.c
2544
sbp_abort_ocb(struct sbp_ocb *ocb, int status)
sys/dev/ieee1394/sbp.c
2569
ocb->xs->error = status;
sys/dev/ieee1394/sbp.c
2576
sbp_abort_all_ocbs(struct sbp_dev *sdev, int status)
sys/dev/ieee1394/sbp.c
2590
sbp_abort_ocb(ocb, status);
sys/dev/ieee1394/sbp.c
284
uint8_t status:4,
sys/dev/ieee1394/sbp.c
540
if (fc->status != FWBUSNOTREADY) {
sys/dev/ieee1394/sbp.c
73
#define SBP_FWDEV_ALIVE(fwdev) (((fwdev)->status == FWDEVATTACHED) \
sys/dev/ieee1394/sbp.c
757
sdev->status = SBP_DEV_RESET;
sys/dev/ieee1394/sbp.c
942
if (sdev == NULL || sdev->status == SBP_DEV_DEAD)
sys/dev/ieee1394/sbp.c
953
switch (sdev->status) {
sys/dev/ieee1394/sbp.h
161
status:6;
sys/dev/ieee1394/sbp.h
168
uint8_t status:6,
sys/dev/ieee1394/sbp.h
99
uint8_t status;
sys/dev/isa/ad1848_isa.c
694
u_char status;
sys/dev/isa/ad1848_isa.c
703
status = ADREAD(sc, AD1848_STATUS);
sys/dev/isa/ad1848_isa.c
708
isc->sc_pintr, isc->sc_rintr, status);
sys/dev/isa/ad1848_isa.c
713
if ((status & INTERRUPT_STATUS) != 0) {
sys/dev/isa/ad1848_isa.c
715
status = ad_read(sc, CS_IRQ_STATUS);
sys/dev/isa/ad1848_isa.c
716
if ((status & CS_IRQ_PI) && isc->sc_playrun) {
sys/dev/isa/ad1848_isa.c
720
if ((status & CS_IRQ_CI) && isc->sc_recrun) {
sys/dev/isa/cs89x0isa.c
172
u_int16_t status;
sys/dev/isa/cs89x0isa.c
207
status = *((u_int16_t *) dma_mem_ptr);
sys/dev/isa/cs89x0isa.c
217
((status & DMA_STATUS_BITS) != DMA_STATUS_OK)) {
sys/dev/isa/cs89x0isa.c
239
if (status & RX_EVENT_RX_OK) {
sys/dev/isa/cs89x0isa.c
362
status != REG_NUM_RX_EVENT)
sys/dev/isa/cs89x0isa.c
363
cs_print_rx_errors(sc, status);
sys/dev/isa/fd.c
833
u_char status;
sys/dev/isa/fd.c
837
status = fd->sc_drive;
sys/dev/isa/fd.c
839
status = 0;
sys/dev/isa/fd.c
841
status |= FDO_FRST | FDO_FDMAEN;
sys/dev/isa/fd.c
844
status |= FDO_MOEN(n);
sys/dev/isa/fd.c
845
bus_space_write_1(fdc->sc_iot, fdc->sc_ioh, fdout, status);
sys/dev/isa/gus.c
1686
unsigned char intr, status;
sys/dev/isa/gus.c
1732
status = bus_space_read_1(iot, ioh2, GUS_DATA_HIGH);
sys/dev/isa/gus.c
1733
if (status & GUSMASK_VOICE_STOPPED) {
sys/dev/isa/if_iy.c
945
u_short status;
sys/dev/isa/if_iy.c
953
status = bus_space_read_1(iot, ioh, STATUS_REG);
sys/dev/isa/if_iy.c
955
if (status & ALL_INTS) {
sys/dev/isa/if_iy.c
959
status);
sys/dev/isa/if_iy.c
962
if (status & EXEC_INT) {
sys/dev/isa/if_iy.c
970
if ((status & (RX_INT | TX_INT)) == 0)
sys/dev/isa/if_iy.c
973
if (status & RX_INT) {
sys/dev/isa/if_iy.c
977
if (status & TX_INT) {
sys/dev/isa/if_iy.c
985
rnd_add_uint32(&sc->rnd_source, status);
sys/dev/isa/mcd.c
1017
sc->status = x;
sys/dev/isa/mcd.c
1020
if ((sc->status & MCD_ST_CMDCHECK) != 0)
sys/dev/isa/mcd.c
1060
(sc->status & (MCD_ST_DSKCHNG | MCD_ST_DSKIN | MCD_ST_DOOROPEN)) !=
sys/dev/isa/mcd.c
1062
if ((sc->status & MCD_ST_DOOROPEN) != 0)
sys/dev/isa/mcd.c
1064
else if ((sc->status & MCD_ST_DSKIN) == 0)
sys/dev/isa/mcd.c
1066
else if ((sc->status & MCD_ST_DSKCHNG) != 0)
sys/dev/isa/mcd.c
1071
if ((sc->status & MCD_ST_AUDIOBSY) != 0)
sys/dev/isa/mcd.c
1207
sc->status = bus_space_read_1(iot, ioh, MCD_STATUS);
sys/dev/isa/mcd.c
1250
sc->status = bus_space_read_1(iot, ioh, MCD_STATUS);
sys/dev/isa/mcd.c
1256
device_xname(sc->sc_dev), (u_int)sc->status);
sys/dev/isa/mcd.c
140
short status;
sys/dev/isa/mcd.c
89
#define MCD_TRACE(fmt,...) {if (sc->debug) {printf("%s: st=%02x: ", device_xname(sc->sc_dev), sc->status); printf(fmt,__VA_ARGS__);}}
sys/dev/isa/nsclpcsio_isa.c
500
uint8_t status, data;
sys/dev/isa/nsclpcsio_isa.c
505
status = data = 0;
sys/dev/isa/nsclpcsio_isa.c
511
status = TMS_READ(sc, SIO_TCHCFST);
sys/dev/isa/nsclpcsio_isa.c
512
if (!(status & 0x01))
sys/dev/isa/nsclpcsio_isa.c
523
status = VLM_READ(sc, SIO_VCHCFST);
sys/dev/isa/nsclpcsio_isa.c
524
if (!(status & 0x01)) {
sys/dev/isa/seagate.c
1448
scb->xs->status = tmp;
sys/dev/isa/wds.c
814
xs->status = scb->cmd.stat;
sys/dev/isa/wt.c
1007
u_char status;
sys/dev/isa/wt.c
1015
status = bus_space_read_1(sc->sc_iot, sc->sc_ioh, sc->regs.STATPORT);
sys/dev/isa/wt.c
1016
if ((status & (sc->regs.BUSY | sc->regs.NOEXCEP))
sys/dev/iscsi/iscsi_ioctl.c
1015
par->status));
sys/dev/iscsi/iscsi_ioctl.c
1115
par->status = ISCSI_STATUS_NO_INITIATOR_NAME;
sys/dev/iscsi/iscsi_ioctl.c
1119
if ((par->status = check_login_pars(par)) != 0)
sys/dev/iscsi/iscsi_ioctl.c
112
par->status = ISCSI_STATUS_NO_RESOURCES;
sys/dev/iscsi/iscsi_ioctl.c
1126
par->status = ISCSI_STATUS_NO_RESOURCES;
sys/dev/iscsi/iscsi_ioctl.c
1173
par->status = ISCSI_STATUS_MAP_FAILED;
sys/dev/iscsi/iscsi_ioctl.c
1199
par->status = ISCSI_STATUS_INVALID_SESSION_ID;
sys/dev/iscsi/iscsi_ioctl.c
1204
par->status = ISCSI_STATUS_SUCCESS;
sys/dev/iscsi/iscsi_ioctl.c
1232
par->status = ISCSI_STATUS_INVALID_SESSION_ID;
sys/dev/iscsi/iscsi_ioctl.c
1237
par->status = check_login_pars(par);
sys/dev/iscsi/iscsi_ioctl.c
1238
if (par->status)
sys/dev/iscsi/iscsi_ioctl.c
1266
par->status = ISCSI_STATUS_INVALID_SESSION_ID;
sys/dev/iscsi/iscsi_ioctl.c
1275
par->status = ISCSI_STATUS_INVALID_CONNECTION_ID;
sys/dev/iscsi/iscsi_ioctl.c
1280
par->status = ISCSI_STATUS_SUCCESS;
sys/dev/iscsi/iscsi_ioctl.c
1307
par->status = ISCSI_STATUS_INVALID_SESSION_ID;
sys/dev/iscsi/iscsi_ioctl.c
131
par->status = ISCSI_STATUS_SUCCESS;
sys/dev/iscsi/iscsi_ioctl.c
1314
par->status = ISCSI_STATUS_INVALID_CONNECTION_ID;
sys/dev/iscsi/iscsi_ioctl.c
1320
par->status = ISCSI_STATUS_SUCCESS;
sys/dev/iscsi/iscsi_ioctl.c
1325
if ((par->status = check_login_pars(par)) == 0) {
sys/dev/iscsi/iscsi_ioctl.c
1355
par->status = ISCSI_STATUS_INVALID_SESSION_ID;
sys/dev/iscsi/iscsi_ioctl.c
1363
par->req.status = 0;
sys/dev/iscsi/iscsi_ioctl.c
1367
par->status = ISCSI_STATUS_PARAMETER_INVALID;
sys/dev/iscsi/iscsi_ioctl.c
1374
par->status = ISCSI_STATUS_PARAMETER_INVALID;
sys/dev/iscsi/iscsi_ioctl.c
1382
par->status = ISCSI_STATUS_PARAMETER_INVALID;
sys/dev/iscsi/iscsi_ioctl.c
1387
par->status = send_io_command(session, par->lun, &par->req,
sys/dev/iscsi/iscsi_ioctl.c
1396
switch (par->status) {
sys/dev/iscsi/iscsi_ioctl.c
1442
par->status = ISCSI_STATUS_INVALID_SESSION_ID;
sys/dev/iscsi/iscsi_ioctl.c
1453
par->status = rc;
sys/dev/iscsi/iscsi_ioctl.c
1471
par->status = ISCSI_STATUS_SUCCESS;
sys/dev/iscsi/iscsi_ioctl.c
1490
par->status = ISCSI_STATUS_PARAMETER_INVALID;
sys/dev/iscsi/iscsi_ioctl.c
1508
par->status = ISCSI_STATUS_SUCCESS;
sys/dev/iscsi/iscsi_ioctl.c
1529
par->status = ISCSI_STATUS_INVALID_SESSION_ID;
sys/dev/iscsi/iscsi_ioctl.c
1538
par->status = (conn == NULL) ? ISCSI_STATUS_INVALID_CONNECTION_ID :
sys/dev/iscsi/iscsi_ioctl.c
1542
par->session_id, par->connection_id, par->status));
sys/dev/iscsi/iscsi_ioctl.c
155
par->status = ISCSI_STATUS_INVALID_EVENT_ID;
sys/dev/iscsi/iscsi_ioctl.c
1557
par->status = ISCSI_STATUS_SUCCESS;
sys/dev/iscsi/iscsi_ioctl.c
1608
handle_connection_error(connection_t *conn, uint32_t status, int dologout)
sys/dev/iscsi/iscsi_ioctl.c
161
handler->evh_waiter->status = ISCSI_STATUS_EVENT_DEREGISTERED;
sys/dev/iscsi/iscsi_ioctl.c
1611
status, dologout, conn->c_state));
sys/dev/iscsi/iscsi_ioctl.c
1618
kill_connection(conn, status, dologout, TRUE);
sys/dev/iscsi/iscsi_ioctl.c
172
par->status = ISCSI_STATUS_SUCCESS;
sys/dev/iscsi/iscsi_ioctl.c
198
par->status = ISCSI_STATUS_INVALID_EVENT_ID;
sys/dev/iscsi/iscsi_ioctl.c
204
par->status = ISCSI_STATUS_EVENT_WAITING;
sys/dev/iscsi/iscsi_ioctl.c
207
par->status = ISCSI_STATUS_SUCCESS;
sys/dev/iscsi/iscsi_ioctl.c
216
par->status = ISCSI_STATUS_LIST_EMPTY;
sys/dev/iscsi/iscsi_ioctl.c
219
if (par->status != ISCSI_STATUS_SUCCESS) {
sys/dev/iscsi/iscsi_ioctl.c
226
par->status = ISCSI_STATUS_LIST_EMPTY;
sys/dev/iscsi/iscsi_ioctl.c
484
kill_connection(connection_t *conn, uint32_t status, int logout, bool recover)
sys/dev/iscsi/iscsi_ioctl.c
491
conn->c_terminating, status, logout, conn->c_state));
sys/dev/iscsi/iscsi_ioctl.c
519
conn->c_terminating = status;
sys/dev/iscsi/iscsi_ioctl.c
608
kill_session(uint32_t sid, uint32_t status, int logout, bool recover)
sys/dev/iscsi/iscsi_ioctl.c
614
sid, status, logout, recover));
sys/dev/iscsi/iscsi_ioctl.c
658
kill_connection(conn, status, logout, TRUE);
sys/dev/iscsi/iscsi_ioctl.c
671
sess->s_terminating = status;
sys/dev/iscsi/iscsi_ioctl.c
687
kill_connection(conn, status, logout, FALSE);
sys/dev/iscsi/iscsi_ioctl.c
728
par->status = ISCSI_STATUS_MAXED_CONNECTIONS;
sys/dev/iscsi/iscsi_ioctl.c
739
par->status = ISCSI_STATUS_NO_RESOURCES;
sys/dev/iscsi/iscsi_ioctl.c
750
par->status = ISCSI_STATUS_INVALID_SOCKET;
sys/dev/iscsi/iscsi_ioctl.c
805
par->status = ISCSI_STATUS_NO_RESOURCES;
sys/dev/iscsi/iscsi_ioctl.c
838
par->status = ISCSI_STATUS_NO_RESOURCES;
sys/dev/iscsi/iscsi_ioctl.c
852
par->status = rc;
sys/dev/iscsi/iscsi_ioctl.c
861
par->status = sess->s_terminating;
sys/dev/iscsi/iscsi_ioctl.c
915
par->status = ISCSI_STATUS_MAXED_CONNECTIONS;
sys/dev/iscsi/iscsi_ioctl.c
931
par->status = ISCSI_STATUS_INVALID_SOCKET;
sys/dev/iscsi/iscsi_ioctl.c
968
par->status = rc;
sys/dev/iscsi/iscsi_ioctl.c
973
par->status = ISCSI_STATUS_SUCCESS;
sys/dev/iscsi/iscsi_ioctl.h
157
uint32_t status;
sys/dev/iscsi/iscsi_ioctl.h
171
uint32_t status;
sys/dev/iscsi/iscsi_ioctl.h
188
uint32_t status;
sys/dev/iscsi/iscsi_ioctl.h
205
uint32_t status;
sys/dev/iscsi/iscsi_ioctl.h
283
uint32_t status;
sys/dev/iscsi/iscsi_ioctl.h
318
uint32_t status;
sys/dev/iscsi/iscsi_ioctl.h
339
uint32_t status;
sys/dev/iscsi/iscsi_ioctl.h
379
uint32_t status;
sys/dev/iscsi/iscsi_ioctl.h
403
uint32_t status;
sys/dev/iscsi/iscsi_ioctl.h
42
uint32_t status;
sys/dev/iscsi/iscsi_main.c
493
xs->status = SCSI_BUSY;
sys/dev/iscsi/iscsi_main.c
586
xs->status = SCSI_OK;
sys/dev/iscsi/iscsi_main.c
591
xs->status = SCSI_CHECK;
sys/dev/iscsi/iscsi_main.c
598
xs->status = SCSI_BUSY;
sys/dev/iscsi/iscsi_main.c
604
xs->status = SCSI_BUSY;
sys/dev/iscsi/iscsi_main.c
610
xs->status = SCSI_QUEUE_FULL;
sys/dev/iscsi/iscsi_rcv.c
547
uint32_t status;
sys/dev/iscsi/iscsi_rcv.c
563
status = ISCSI_STATUS_SUCCESS;
sys/dev/iscsi/iscsi_rcv.c
566
status = ISCSI_STATUS_LOGOUT_CID_NOT_FOUND;
sys/dev/iscsi/iscsi_rcv.c
569
status = ISCSI_STATUS_LOGOUT_RECOVERY_NS;
sys/dev/iscsi/iscsi_rcv.c
572
status = ISCSI_STATUS_LOGOUT_ERROR;
sys/dev/iscsi/iscsi_rcv.c
583
wake_ccb(req_ccb, status);
sys/dev/iscsi/iscsi_rcv.c
737
uint32_t status;
sys/dev/iscsi/iscsi_rcv.c
768
status = ISCSI_STATUS_TARGET_FAILURE;
sys/dev/iscsi/iscsi_rcv.c
772
status = ISCSI_STATUS_SUCCESS;
sys/dev/iscsi/iscsi_rcv.c
776
status = ISCSI_STATUS_CHECK_CONDITION;
sys/dev/iscsi/iscsi_rcv.c
780
status = ISCSI_STATUS_TARGET_BUSY;
sys/dev/iscsi/iscsi_rcv.c
784
status = ISCSI_STATUS_TARGET_ERROR;
sys/dev/iscsi/iscsi_rcv.c
792
done = status || sn_empty(&req_ccb->ccb_DataSN_buf);
sys/dev/iscsi/iscsi_rcv.c
802
wake_ccb(req_ccb, status);
sys/dev/iscsi/iscsi_rcv.c
887
uint32_t status;
sys/dev/iscsi/iscsi_rcv.c
916
status = ISCSI_STATUS_PROTOCOL_ERROR;
sys/dev/iscsi/iscsi_rcv.c
920
status = ISCSI_STATUS_CMD_NOT_SUPPORTED;
sys/dev/iscsi/iscsi_rcv.c
924
status = ISCSI_STATUS_PDU_ERROR;
sys/dev/iscsi/iscsi_rcv.c
928
status = ISCSI_STATUS_GENERAL_ERROR;
sys/dev/iscsi/iscsi_rcv.c
932
wake_ccb(req_ccb, status);
sys/dev/iscsi/iscsi_rcv.c
953
uint32_t status;
sys/dev/iscsi/iscsi_rcv.c
961
status = ISCSI_STATUS_SUCCESS;
sys/dev/iscsi/iscsi_rcv.c
964
status = ISCSI_STATUS_TASK_NOT_FOUND;
sys/dev/iscsi/iscsi_rcv.c
967
status = ISCSI_STATUS_LUN_NOT_FOUND;
sys/dev/iscsi/iscsi_rcv.c
970
status = ISCSI_STATUS_TASK_ALLEGIANT;
sys/dev/iscsi/iscsi_rcv.c
973
status = ISCSI_STATUS_CANT_REASSIGN;
sys/dev/iscsi/iscsi_rcv.c
976
status = ISCSI_STATUS_FUNCTION_UNSUPPORTED;
sys/dev/iscsi/iscsi_rcv.c
979
status = ISCSI_STATUS_FUNCTION_NOT_AUTHORIZED;
sys/dev/iscsi/iscsi_rcv.c
982
status = ISCSI_STATUS_FUNCTION_REJECTED;
sys/dev/iscsi/iscsi_rcv.c
985
status = ISCSI_STATUS_UNKNOWN_REASON;
sys/dev/iscsi/iscsi_rcv.c
988
wake_ccb(req_ccb, status);
sys/dev/iscsi/iscsi_utils.c
399
wake_ccb(ccb_t *ccb, uint32_t status)
sys/dev/iscsi/iscsi_utils.c
424
ccb->ccb_status = status;
sys/dev/marvell/if_mvxpe.c
2418
if (r->status & MVXPE_RX_ES) {
sys/dev/marvell/if_mvxpe.c
2419
switch (r->status & MVXPE_RX_EC_MASK) {
sys/dev/marvell/if_mvxpe.c
2440
if (!(r->status & MVXPE_RX_F) || !(r->status & MVXPE_RX_L)) {
sys/dev/marvell/if_mvxpe.c
2626
if ((r->status & (MVXPE_RX_IP_HEADER_OK | MVXPE_RX_L3_IP)) == 0)
sys/dev/marvell/if_mvxpe.c
2630
if (r->status & MVXPE_RX_L3_IP) {
sys/dev/marvell/if_mvxpe.c
2632
if ((r->status & MVXPE_RX_IP_HEADER_OK) == 0 &&
sys/dev/marvell/if_mvxpe.c
2637
else if (r->status & MVXPE_RX_IPV4_FRAGMENT) {
sys/dev/marvell/if_mvxpe.c
2647
switch (r->status & MVXPE_RX_L4_MASK) {
sys/dev/marvell/if_mvxpe.c
2649
if (r->status & MVXPE_RX_L3_IP)
sys/dev/marvell/if_mvxpe.c
2655
if (r->status & MVXPE_RX_L3_IP)
sys/dev/marvell/if_mvxpe.c
2664
if ((r->status & MVXPE_RX_L4_CHECKSUM_OK) == 0 && (csum_flags &
sys/dev/marvell/if_mvxpe.c
3302
DESC_PRINT(desc->status);
sys/dev/marvell/if_mvxpereg.h
808
uint32_t status; /* status and flags */
sys/dev/midisyn.c
345
midisyn_channelmsg(void *addr, int status, int chan, u_char *buf, int len)
sys/dev/midisyn.c
354
ms, status, chan));
sys/dev/midisyn.c
357
switch (status) {
sys/dev/midisyn.c
436
midisyn_commonmsg(void *addr, int status, u_char *buf, int len)
sys/dev/mii/ciphy.c
390
uint16_t model, status, speed;
sys/dev/mii/ciphy.c
395
PHY_READ(sc, CIPHY_MII_AUXCSR, &status);
sys/dev/mii/ciphy.c
396
speed = status & CIPHY_AUXCSR_SPEED;
sys/dev/mii/ciphy.c
415
(status & CIPHY_AUXCSR_FDX))
sys/dev/mii/ciphy.c
432
(status & CIPHY_AUXCSR_FDX))
sys/dev/mii/mvphy.c
335
int status;
sys/dev/mii/mvphy.c
343
status = MV_READ(sc, MII_MV_SWITCH_GLOBAL_ADDR,
sys/dev/mii/mvphy.c
345
if (MV_ATU_IS_BUSY(status))
sys/dev/mii/smscphy.c
219
uint16_t bmcr, bmsr, status;
sys/dev/mii/smscphy.c
249
PHY_READ(sc, SMSCPHY_SPCSR, &status);
sys/dev/mii/smscphy.c
250
if ((status & SPCSR_SPDIND_SPDMASK) == SPCSR_SPDIND_100)
sys/dev/mii/smscphy.c
254
if (status & SPCSR_SPDIND_FDX)
sys/dev/mii/sqphy.c
218
uint16_t bmsr, bmcr, status;
sys/dev/mii/sqphy.c
250
PHY_READ(sc, MII_SQPHY_STATUS, &status);
sys/dev/mii/sqphy.c
251
if (status & STATUS_SPD_DET)
sys/dev/mii/sqphy.c
255
if (status & STATUS_DPLX_DET)
sys/dev/mscp/mscp_subr.c
142
int status = 1;
sys/dev/mscp/mscp_subr.c
153
status = 0;
sys/dev/mscp/mscp_subr.c
155
return status;
sys/dev/mscp/mscp_subr.c
370
int status, count;
sys/dev/mscp/mscp_subr.c
385
status = mscp_waitstep(mi, MP_STEP1, MP_STEP1);/* Wait to it wakes up */
sys/dev/mscp/mscp_subr.c
386
if (status == 0)
sys/dev/mscp/mscp_subr.c
396
status = mscp_waitstep(mi, STEP1MASK, STEP1GOOD);
sys/dev/mscp/mscp_subr.c
397
if (status == 0) {
sys/dev/mscp/mscp_subr.c
406
status = mscp_waitstep(mi, STEP2MASK, STEP2GOOD(mi->mi_ivec >> 2));
sys/dev/mscp/mscp_subr.c
407
if (status == 0) {
sys/dev/mscp/mscp_subr.c
414
status = mscp_waitstep(mi, STEP3MASK, STEP3GOOD);
sys/dev/mscp/mscp_subr.c
415
if (status == 0) {
sys/dev/mvme/lpt_pcctwo.c
240
u_int8_t status;
sys/dev/mvme/lpt_pcctwo.c
247
status = pcc2_reg_read(sc, PCC2REG_PRT_INPUT_STATUS) ^ LPS_INVERT;
sys/dev/mvme/lpt_pcctwo.c
248
status &= LPS_MASK;
sys/dev/mvme/lpt_pcctwo.c
251
new = status & ~sc->sc_laststatus;
sys/dev/mvme/lpt_pcctwo.c
252
sc->sc_laststatus = status;
sys/dev/mvme/lpt_pcctwo.c
265
return (status);
sys/dev/nand/nand.c
1012
uint8_t status;
sys/dev/nand/nand.c
1022
status = nand_get_status(self);
sys/dev/nand/nand.c
1023
KASSERT(status & ONFI_STATUS_RDY);
sys/dev/nand/nand.c
1024
if (status & ONFI_STATUS_FAIL) {
sys/dev/nand/nand.c
652
uint8_t status;
sys/dev/nand/nand.c
656
nand_read_1(self, &status);
sys/dev/nand/nand.c
658
return status;
sys/dev/nand/nand.c
775
uint8_t status;
sys/dev/nand/nand.c
826
status = nand_get_status(self);
sys/dev/nand/nand.c
827
KASSERT(status & ONFI_STATUS_RDY);
sys/dev/nand/nand.c
828
if (status & ONFI_STATUS_FAIL) {
sys/dev/nand/nand.c
863
uint8_t status;
sys/dev/nand/nand.c
876
status = nand_get_status(self);
sys/dev/nand/nand.c
877
KASSERT(status & ONFI_STATUS_RDY);
sys/dev/nand/nand.c
878
if (status & ONFI_STATUS_FAIL)
sys/dev/pci/arcmsr.c
1321
uint32_t status;
sys/dev/pci/arcmsr.c
1333
status = htole32(volinfo->volume_status);
sys/dev/pci/arcmsr.c
1334
if (status == 0x0) {
sys/dev/pci/arcmsr.c
1339
} else if (status & ARC_FW_VOL_STATUS_NEED_REGEN) {
sys/dev/pci/arcmsr.c
1341
} else if (status & ARC_FW_VOL_STATUS_FAILED) {
sys/dev/pci/arcmsr.c
1343
} else if (status & ARC_FW_VOL_STATUS_INITTING) {
sys/dev/pci/arcmsr.c
1346
} else if (status & ARC_FW_VOL_STATUS_REBUILDING) {
sys/dev/pci/arcmsr.c
1349
} else if (status & ARC_FW_VOL_STATUS_MIGRATING) {
sys/dev/pci/arcmsr.c
1352
} else if (status & ARC_FW_VOL_STATUS_CHECKING) {
sys/dev/pci/arcmsr.c
1355
} else if (status & ARC_FW_VOL_STATUS_NEED_INIT) {
sys/dev/pci/arcmsr.c
1359
device_xname(sc->sc_dev), bv->bv_volid, status);
sys/dev/pci/arcmsr.c
414
xs->status = SCSI_CHECK;
sys/dev/pci/arcmsr.c
532
xs->status |= XS_STS_DONE;
sys/dev/pci/arcmsr.c
537
switch (cmd->status) {
sys/dev/pci/arcmsr.c
541
xs->status = SCSI_OK;
sys/dev/pci/arcmsr.c
551
xs->status = SCSI_CHECK;
sys/dev/pci/arcmsr.c
559
xs->status = SCSI_BUSY;
sys/dev/pci/arcmsr.c
563
xs->status = SCSI_OK;
sys/dev/pci/arcmsrvar.h
110
uint8_t status;
sys/dev/pci/auich.c
1056
uint32_t status;
sys/dev/pci/auich.c
1060
status = bus_space_read_4(sc->iot, sc->aud_ioh, pipe + ICH_STS);
sys/dev/pci/auich.c
1061
if (status & ICH_DCH)
sys/dev/pci/auich.c
782
uint32_t status;
sys/dev/pci/auich.c
808
status = bus_space_read_4(sc->iot, sc->aud_ioh,
sys/dev/pci/auich.c
810
if (status & ICH_RCS) {
sys/dev/pci/auich.c
813
status & ~(ICH_SRI|ICH_PRI|ICH_GSCI));
sys/dev/pci/auich.c
878
uint32_t control, status;
sys/dev/pci/auich.c
894
status = bus_space_read_4(sc->iot, sc->aud_ioh,
sys/dev/pci/auich.c
896
if (status & (ICH_PCR | ICH_SCR | ICH_S2CR))
sys/dev/pci/auich.c
905
if (status & ICH_SCR)
sys/dev/pci/auich.c
907
if (status & ICH_S2CR)
sys/dev/pci/auixp.c
604
caddr_v->status = htole16(0);
sys/dev/pci/auixp.c
883
uint32_t status, enable, detected_codecs;
sys/dev/pci/auixp.c
893
status = bus_space_read_4(iot, ioh, ATI_REG_ISR);
sys/dev/pci/auixp.c
895
if (status == 0) {
sys/dev/pci/auixp.c
900
DPRINTF(("%s: (status = %x)\n", device_xname(sc->sc_dev), status));
sys/dev/pci/auixp.c
903
if (status & ATI_REG_ISR_IN_STATUS) {
sys/dev/pci/auixp.c
907
if (status & ATI_REG_ISR_OUT_STATUS) {
sys/dev/pci/auixp.c
914
if (status & ATI_REG_ISR_IN_XRUN) {
sys/dev/pci/auixp.c
918
if (status & ATI_REG_ISR_OUT_XRUN) {
sys/dev/pci/auixp.c
924
if (status & CODEC_CHECK_BITS) {
sys/dev/pci/auixp.c
927
detected_codecs = status & CODEC_CHECK_BITS;
sys/dev/pci/auixp.c
937
bus_space_write_4(iot, ioh, ATI_REG_ISR, status);
sys/dev/pci/auixpreg.h
40
uint16_t status; /* status bits; function unknown */
sys/dev/pci/autri.c
238
uint32_t status, addr, cmd, busy;
sys/dev/pci/autri.c
292
status = TREAD4(sc, addr);
sys/dev/pci/autri.c
293
if ((status & busy) == 0)
sys/dev/pci/autri.c
303
*data = (status >> 16) & 0x0000ffff;
sys/dev/pci/bktr/bktr_card.c
573
int status;
sys/dev/pci/bktr/bktr_card.c
755
if ((status = i2cRead(bktr, PFC8582_RADDR)) != ABSENT) {
sys/dev/pci/bktr/bktr_card.c
786
if ((status = i2cRead(bktr, X24C01_RADDR)) != ABSENT) {
sys/dev/pci/bktr/bktr_core.c
1193
int status;
sys/dev/pci/bktr/bktr_core.c
1226
status = tsleep(BKTR_SLEEP, BKTRPRI, "captur", 0);
sys/dev/pci/bktr/bktr_core.c
1227
if (!status) /* successful capture */
sys/dev/pci/bktr/bktr_core.c
1228
status = uiomove((void *)bktr->bigbuf, count, uio);
sys/dev/pci/bktr/bktr_core.c
1231
bktr_name(bktr), status);
sys/dev/pci/bktr/bktr_core.c
1235
return(status);
sys/dev/pci/bktr/bktr_core.c
1249
int status;
sys/dev/pci/bktr/bktr_core.c
1258
if ((status = tsleep(VBI_SLEEP, VBIPRI, "vbi", 0))) {
sys/dev/pci/bktr/bktr_core.c
1259
return status;
sys/dev/pci/bktr/bktr_core.c
1278
status = uiomove((char *)bktr->vbibuffer + bktr->vbistart, readsize2, uio);
sys/dev/pci/bktr/bktr_core.c
1279
status += uiomove((char *)bktr->vbibuffer, (readsize - readsize2), uio);
sys/dev/pci/bktr/bktr_core.c
1282
status = uiomove((char *)bktr->vbibuffer + bktr->vbistart, readsize, uio);
sys/dev/pci/bktr/bktr_core.c
1292
return(status);
sys/dev/pci/bktr/bktr_core.c
4096
int status;
sys/dev/pci/bktr/bktr_core.c
4121
status = INL(bktr, BKTR_I2C_DATA_CTL) & 1; /* read the ACK bit */
sys/dev/pci/bktr/bktr_core.c
4124
return(status);
sys/dev/pci/bktr/bktr_core.c
4272
int x, status;
sys/dev/pci/bktr/bktr_core.c
4305
status = INL(bktr, BKTR_I2C_DATA_CTL) & 1; /* read the ACK bit */
sys/dev/pci/bktr/bktr_core.c
4313
return(status);
sys/dev/pci/bktr/bktr_os.c
1838
int status;
sys/dev/pci/bktr/bktr_os.c
1840
status = get_tuner_status(sc);
sys/dev/pci/bktr/bktr_os.c
1844
ri->stereo = (status & STATUSBIT_STEREO) ? 1 : 0;
sys/dev/pci/bktr/bktr_os.c
1847
ri->info = (status & STATUSBIT_STEREO) ? RADIO_INFO_STEREO : 0;
sys/dev/pci/bktr/bktr_tuner.c
914
int status;
sys/dev/pci/bktr/bktr_tuner.c
922
if ((status = i2cRead(bktr, addr + 1)) < 0)
sys/dev/pci/bktr/bktr_tuner.c
926
printf("%s: Original freq: %d, status: 0x%02x\n", bktr_name(bktr), frequency, status);
sys/dev/pci/bktr/bktr_tuner.c
929
if ((status = i2cRead(bktr, addr + 1)) < 0)
sys/dev/pci/bktr/bktr_tuner.c
931
if (!(status & 0x40)) {
sys/dev/pci/bktr/bktr_tuner.c
938
switch(status & AFC_BITS) {
sys/dev/pci/bktr/bktr_tuner.c
941
printf("%s: Centered, freq: %d, status: 0x%02x\n", bktr_name(bktr), frequency, status);
sys/dev/pci/bktr/bktr_tuner.c
948
printf("%s: Low, freq: %d, status: 0x%02x\n", bktr_name(bktr), frequency, status);
sys/dev/pci/bktr/bktr_tuner.c
956
printf("%s: Hi, freq: %d, status: 0x%02x\n", bktr_name(bktr), frequency, status);
sys/dev/pci/btvmei.c
262
unsigned char status;
sys/dev/pci/btvmei.c
265
status = read_csr_byte(sc, LOC_STATUS);
sys/dev/pci/btvmei.c
266
if (status & LSR_NO_CONNECT) {
sys/dev/pci/btvmei.c
270
status = read_csr_byte(sc, REM_STATUS); /* discard */
sys/dev/pci/btvmei.c
272
status = read_csr_byte(sc, LOC_STATUS);
sys/dev/pci/btvmei.c
273
if (status & LSR_CERROR_MASK) {
sys/dev/pci/btvmei.c
276
snprintb(sbuf, sizeof(sbuf), BIT3_LSR_BITS, status);
sys/dev/pci/btvmei.c
503
int status;
sys/dev/pci/btvmei.c
542
if ((status = read_csr_byte(sc, LOC_STATUS)) & LSR_ERROR_MASK) {
sys/dev/pci/btvmei.c
544
printf("b3_617_vme_badaddr: caught error %x\n", status);
sys/dev/pci/cxgb/cxgb_ael1002.c
102
if (!err && !(status & BMSR_LSTATUS))
sys/dev/pci/cxgb/cxgb_ael1002.c
104
&status);
sys/dev/pci/cxgb/cxgb_ael1002.c
107
*link_ok = !!(status & BMSR_LSTATUS);
sys/dev/pci/cxgb/cxgb_ael1002.c
175
unsigned int status;
sys/dev/pci/cxgb/cxgb_ael1002.c
176
int err = mdio_read(phy, MDIO_DEV_PMA_PMD, LASI_STAT, &status);
sys/dev/pci/cxgb/cxgb_ael1002.c
180
return (status & 1) ? cphy_cause_link_change : 0;
sys/dev/pci/cxgb/cxgb_ael1002.c
277
unsigned int status;
sys/dev/pci/cxgb/cxgb_ael1002.c
279
status = t3_read_reg(phy->adapter,
sys/dev/pci/cxgb/cxgb_ael1002.c
287
*link_ok = !(status & F_LOWSIG0);
sys/dev/pci/cxgb/cxgb_ael1002.c
95
unsigned int status;
sys/dev/pci/cxgb/cxgb_ael1002.c
96
int err = mdio_read(phy, MDIO_DEV_PMA_PMD, MII_BMSR, &status);
sys/dev/pci/cxgb/cxgb_main.c
1601
int status;
sys/dev/pci/cxgb/cxgb_main.c
1606
status = 0;
sys/dev/pci/cxgb/cxgb_main.c
1609
status = t3b2_mac_watchdog_task(&p->mac);
sys/dev/pci/cxgb/cxgb_main.c
1610
if (status == 1)
sys/dev/pci/cxgb/cxgb_main.c
1612
else if (status == 2) {
sys/dev/pci/cxgb/cxgb_main.c
842
uint32_t status;
sys/dev/pci/cxgb/cxgb_main.c
847
status = pci_conf_read(sc->pa.pa_pc, sc->pa.pa_tag, PCI_COMMAND_STATUS_REG);
sys/dev/pci/cxgb/cxgb_main.c
848
if (!(status&PCI_STATUS_CAPLIST_SUPPORT))
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
195
u32 status;
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
198
mdio_read(cphy, 0, MV88E1XXX_SPECIFIC_STATUS, &status);
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
199
if ((status & V_PSSR_STATUS_RESOLVED) != 0) {
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
200
if (status & V_PSSR_RX_PAUSE)
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
202
if (status & V_PSSR_TX_PAUSE)
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
204
dplx = (status & V_PSSR_DUPLEX) ? DUPLEX_FULL : DUPLEX_HALF;
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
205
sp = G_PSSR_SPEED(status);
sys/dev/pci/cxgb/cxgb_mv88e1xxx.c
214
*link_ok = (status & V_PSSR_LINK) != 0;
sys/dev/pci/cxgb/cxgb_offload.c
647
if (rpl->status != CPL_ERR_NONE)
sys/dev/pci/cxgb/cxgb_offload.c
650
rpl->status, GET_TID(rpl));
sys/dev/pci/cxgb/cxgb_offload.c
660
if (rpl->status != CPL_ERR_NONE)
sys/dev/pci/cxgb/cxgb_offload.c
663
rpl->status, GET_TID(rpl));
sys/dev/pci/cxgb/cxgb_offload.c
782
rpl->cmd = req->status;
sys/dev/pci/cxgb/cxgb_offload.c
813
if (rpl->status != CPL_ERR_NONE)
sys/dev/pci/cxgb/cxgb_offload.c
816
rpl->status, GET_TID(rpl));
sys/dev/pci/cxgb/cxgb_sge.c
363
unsigned int v, status;
sys/dev/pci/cxgb/cxgb_sge.c
366
status = t3_read_reg(adapter, A_SG_INT_CAUSE);
sys/dev/pci/cxgb/cxgb_sge.c
368
if (status & F_RSPQCREDITOVERFOW)
sys/dev/pci/cxgb/cxgb_sge.c
371
if (status & F_RSPQDISABLED) {
sys/dev/pci/cxgb/cxgb_sge.c
379
t3_write_reg(adapter, A_SG_INT_CAUSE, status);
sys/dev/pci/cxgb/cxgb_sge.c
380
if (status & (F_RSPQCREDITOVERFOW | F_RSPQDISABLED))
sys/dev/pci/cxgb/cxgb_sge.c
831
uint32_t status = t3_read_reg(sc, A_SG_RSPQ_FL_STATUS);
sys/dev/pci/cxgb/cxgb_sge.c
838
if (status & (1 << qs->rspq.cntxt_id)) {
sys/dev/pci/cxgb/cxgb_t3_cpl.h
1275
__u8 status;
sys/dev/pci/cxgb/cxgb_t3_cpl.h
1336
__u8 status;
sys/dev/pci/cxgb/cxgb_t3_cpl.h
1357
__u8 status;
sys/dev/pci/cxgb/cxgb_t3_cpl.h
1396
__u8 status;
sys/dev/pci/cxgb/cxgb_t3_cpl.h
1434
__u8 status;
sys/dev/pci/cxgb/cxgb_t3_cpl.h
1447
__u8 status;
sys/dev/pci/cxgb/cxgb_t3_cpl.h
512
__u8 status;
sys/dev/pci/cxgb/cxgb_t3_cpl.h
642
__u8 status;
sys/dev/pci/cxgb/cxgb_t3_cpl.h
670
__u8 status;
sys/dev/pci/cxgb/cxgb_t3_cpl.h
701
__u8 status;
sys/dev/pci/cxgb/cxgb_t3_cpl.h
725
__u8 status;
sys/dev/pci/cxgb/cxgb_t3_cpl.h
740
__u8 status;
sys/dev/pci/cxgb/cxgb_t3_cpl.h
757
__u8 status;
sys/dev/pci/cxgb/cxgb_t3_cpl.h
765
__u8 status;
sys/dev/pci/cxgb/cxgb_t3_cpl.h
783
__u8 status;
sys/dev/pci/cxgb/cxgb_t3_cpl.h
910
__u8 status;
sys/dev/pci/cxgb/cxgb_t3_cpl.h
934
__u8 status;
sys/dev/pci/cxgb/cxgb_t3_cpl.h
965
__u8 status;
sys/dev/pci/cxgb/cxgb_t3_hw.c
1232
unsigned int status = t3_read_reg(adapter, reg) & mask;
sys/dev/pci/cxgb/cxgb_t3_hw.c
1235
if (!(status & acts->mask)) continue;
sys/dev/pci/cxgb/cxgb_t3_hw.c
1239
acts->msg, status & acts->mask);
sys/dev/pci/cxgb/cxgb_t3_hw.c
1242
acts->msg, status & acts->mask);
sys/dev/pci/cxgb/cxgb_t3_hw.c
1246
if (status) /* clear processed interrupts */
sys/dev/pci/cxgb/cxgb_t3_hw.c
1247
t3_write_reg(adapter, reg, status);
sys/dev/pci/cxgb/cxgb_t3_hw.c
762
u32 status;
sys/dev/pci/cxgb/cxgb_t3_hw.c
766
(ret = sf1_read(adapter, 1, 0, &status)) != 0)
sys/dev/pci/cxgb/cxgb_t3_hw.c
768
if (!(status & 1))
sys/dev/pci/cxgb/cxgb_vsc8211.c
123
unsigned int bmcr, status, lpa, adv;
sys/dev/pci/cxgb/cxgb_vsc8211.c
128
err = mdio_read(cphy, 0, MII_BMSR, &status);
sys/dev/pci/cxgb/cxgb_vsc8211.c
137
if (!(status & BMSR_LSTATUS))
sys/dev/pci/cxgb/cxgb_vsc8211.c
138
err = mdio_read(cphy, 0, MII_BMSR, &status);
sys/dev/pci/cxgb/cxgb_vsc8211.c
141
*link_ok = (status & BMSR_LSTATUS) != 0;
sys/dev/pci/cxgb/cxgb_vsc8211.c
151
} else if (status & BMSR_ANEGCOMPLETE) {
sys/dev/pci/cxgb/cxgb_vsc8211.c
152
err = mdio_read(cphy, 0, VSC8211_AUX_CTRL_STAT, &status);
sys/dev/pci/cxgb/cxgb_vsc8211.c
156
dplx = (status & F_ACSR_DUPLEX) ? DUPLEX_FULL : DUPLEX_HALF;
sys/dev/pci/cxgb/cxgb_vsc8211.c
157
sp = G_ACSR_SPEED(status);
sys/dev/pci/cxgb/cxgb_xgmac.c
539
int status;
sys/dev/pci/cxgb/cxgb_xgmac.c
554
status = 0;
sys/dev/pci/cxgb/cxgb_xgmac.c
577
status = 2;
sys/dev/pci/cxgb/cxgb_xgmac.c
580
status = 1;
sys/dev/pci/cxgb/cxgb_xgmac.c
600
status = 2;
sys/dev/pci/cxgb/cxgb_xgmac.c
611
if (status == 1) {
sys/dev/pci/cxgb/cxgb_xgmac.c
617
} else if (status == 2) {
sys/dev/pci/cxgb/cxgb_xgmac.c
621
return status;
sys/dev/pci/esa.c
756
uint8_t status;
sys/dev/pci/esa.c
768
status = bus_space_read_1(iot, ioh, ESA_HOST_INT_STATUS);
sys/dev/pci/esa.c
769
if (status == 0xff) {
sys/dev/pci/esa.c
775
bus_space_write_1(iot, ioh, ESA_HOST_INT_STATUS, status);
sys/dev/pci/esa.c
777
if (status & ESA_HV_INT_PENDING) {
sys/dev/pci/esa.c
800
if ((status & ESA_ASSP_INT_PENDING) == 0 ||
sys/dev/pci/esm.c
1322
uint16_t status;
sys/dev/pci/esm.c
1327
status = bus_space_read_1(ess->st, ess->sh, PORT_HOSTINT_STAT);
sys/dev/pci/esm.c
1328
if (!status)
sys/dev/pci/esm.c
1336
if (status & HOSTINT_STAT_HWVOL) {
sys/dev/pci/icp_pci.c
240
u_int32_t status;
sys/dev/pci/icp_pci.c
252
status = 0;
sys/dev/pci/icp_pci.c
277
status |= DPMEM_MAPPED;
sys/dev/pci/icp_pci.c
292
status |= IOMEM_MAPPED;
sys/dev/pci/icp_pci.c
299
status |= IO_MAPPED;
sys/dev/pci/icp_pci.c
557
status |= INTR_ESTABLISHED;
sys/dev/pci/icp_pci.c
577
if ((status & DPMEM_MAPPED) != 0)
sys/dev/pci/icp_pci.c
579
if ((status & IOMEM_MAPPED) != 0)
sys/dev/pci/icp_pci.c
581
if ((status & IO_MAPPED) != 0)
sys/dev/pci/icp_pci.c
583
if ((status & INTR_ESTABLISHED) != 0)
sys/dev/pci/if_age.c
1399
uint32_t status, index;
sys/dev/pci/if_age.c
1403
status = le32toh(rxrd->flags);
sys/dev/pci/if_age.c
1409
if ((status & AGE_RRD_ERROR) != 0 &&
sys/dev/pci/if_age.c
1410
(status & (AGE_RRD_CRC | AGE_RRD_CODE | AGE_RRD_DRIBBLE |
sys/dev/pci/if_age.c
1501
if (status & AGE_RRD_IPV4) {
sys/dev/pci/if_age.c
1502
if (status & AGE_RRD_IPCSUM_NOK)
sys/dev/pci/if_age.c
1505
if ((status & (AGE_RRD_TCP | AGE_RRD_UDP)) &&
sys/dev/pci/if_age.c
1506
(status & AGE_RRD_TCP_UDPCSUM_NOK)) {
sys/dev/pci/if_age.c
1518
if (status & AGE_RRD_VLAN) {
sys/dev/pci/if_age.c
494
uint32_t status;
sys/dev/pci/if_age.c
496
status = CSR_READ_4(sc, AGE_INTR_STATUS);
sys/dev/pci/if_age.c
497
if (status == 0 || (status & AGE_INTRS) == 0)
sys/dev/pci/if_age.c
505
CSR_WRITE_4(sc, AGE_INTR_STATUS, status);
sys/dev/pci/if_age.c
512
status = le32toh(cmb->intr_status);
sys/dev/pci/if_age.c
514
CSR_WRITE_4(sc, AGE_INTR_STATUS, status);
sys/dev/pci/if_age.c
515
while ((status & AGE_INTRS) != 0) {
sys/dev/pci/if_age.c
528
if (status & INTR_CMB_RX)
sys/dev/pci/if_age.c
531
if (status & INTR_CMB_TX)
sys/dev/pci/if_age.c
534
if (status & (INTR_DMA_RD_TO_RST | INTR_DMA_WR_TO_RST)) {
sys/dev/pci/if_age.c
535
if (status & INTR_DMA_RD_TO_RST)
sys/dev/pci/if_age.c
539
if (status & INTR_DMA_WR_TO_RST)
sys/dev/pci/if_age.c
548
if (status & INTR_SMB)
sys/dev/pci/if_age.c
555
status = le32toh(cmb->intr_status);
sys/dev/pci/if_alc.c
2324
uint32_t status;
sys/dev/pci/if_alc.c
2326
status = CSR_READ_4(sc, ALC_INTR_STATUS);
sys/dev/pci/if_alc.c
2327
if ((status & ALC_INTRS) == 0)
sys/dev/pci/if_alc.c
2331
CSR_WRITE_4(sc, ALC_INTR_STATUS, status | INTR_DIS_INT);
sys/dev/pci/if_alc.c
2334
if (status & INTR_RX_PKT) {
sys/dev/pci/if_alc.c
2344
if (status & (INTR_DMA_RD_TO_RST | INTR_DMA_WR_TO_RST |
sys/dev/pci/if_alc.c
2346
if (status & INTR_DMA_RD_TO_RST)
sys/dev/pci/if_alc.c
2349
if (status & INTR_DMA_WR_TO_RST)
sys/dev/pci/if_alc.c
2352
if (status & INTR_TXQ_TO_RST)
sys/dev/pci/if_alc.c
2477
uint32_t nsegs, status;
sys/dev/pci/if_alc.c
2489
status = le32toh(rrd->status);
sys/dev/pci/if_alc.c
2490
if ((status & RRD_VALID) == 0)
sys/dev/pci/if_alc.c
2502
rrd->status = 0;
sys/dev/pci/if_alc.c
2547
uint32_t rdinfo, status;
sys/dev/pci/if_alc.c
2550
status = le32toh(rrd->status);
sys/dev/pci/if_alc.c
2555
sc->alc_cdata.alc_rxlen = RRD_BYTES(status);
sys/dev/pci/if_alc.c
2556
if (status & (RRD_ERR_SUM | RRD_ERR_LENGTH)) {
sys/dev/pci/if_alc.c
2569
status |= RRD_TCP_UDPCSUM_NOK | RRD_IPCSUM_NOK;
sys/dev/pci/if_alc.c
2570
if ((status & (RRD_ERR_CRC | RRD_ERR_ALIGN |
sys/dev/pci/if_alc.c
2639
if (status & RRD_VLAN_TAG) {
sys/dev/pci/if_alcreg.h
1206
uint32_t status;
sys/dev/pci/if_ale.c
1288
uint32_t status;
sys/dev/pci/if_ale.c
1290
status = CSR_READ_4(sc, ALE_INTR_STATUS);
sys/dev/pci/if_ale.c
1291
if ((status & ALE_INTRS) == 0)
sys/dev/pci/if_ale.c
1295
CSR_WRITE_4(sc, ALE_INTR_STATUS, status | INTR_DIS_INT);
sys/dev/pci/if_ale.c
1307
if (status & (INTR_DMA_RD_TO_RST | INTR_DMA_WR_TO_RST)) {
sys/dev/pci/if_ale.c
1308
if (status & INTR_DMA_RD_TO_RST)
sys/dev/pci/if_ale.c
1311
if (status & INTR_DMA_WR_TO_RST)
sys/dev/pci/if_ale.c
1427
ale_rxcsum(struct ale_softc *sc, struct mbuf *m, uint32_t status)
sys/dev/pci/if_ale.c
1429
if (status & ALE_RD_IPCSUM_NOK)
sys/dev/pci/if_ale.c
1433
if (((status & ALE_RD_IPV4_FRAG) == 0) &&
sys/dev/pci/if_ale.c
1434
((status & (ALE_RD_TCP | ALE_RD_UDP)) != 0) &&
sys/dev/pci/if_ale.c
1435
(status & ALE_RD_TCP_UDPCSUM_NOK))
sys/dev/pci/if_ale.c
1440
if ((status & (ALE_RD_TCP | ALE_RD_UDP)) != 0) {
sys/dev/pci/if_ale.c
1441
if (status & ALE_RD_TCP_UDPCSUM_NOK) {
sys/dev/pci/if_ale.c
1461
uint32_t length, prod, seqno, status;
sys/dev/pci/if_ale.c
1506
status = le32toh(rs->flags);
sys/dev/pci/if_ale.c
1507
if (status & ALE_RD_ERROR) {
sys/dev/pci/if_ale.c
1517
if (status & (ALE_RD_CRC | ALE_RD_CODE |
sys/dev/pci/if_ale.c
1540
if (status & ALE_RD_IPV4)
sys/dev/pci/if_ale.c
1541
ale_rxcsum(sc, m, status);
sys/dev/pci/if_ale.c
1543
if (status & ALE_RD_VLAN) {
sys/dev/pci/if_aq.c
1173
uint16_t status;
sys/dev/pci/if_aq.c
5077
uint32_t status;
sys/dev/pci/if_aq.c
5080
status = AQ_READ_REG(sc, AQ_INTR_STATUS_REG);
sys/dev/pci/if_aq.c
5083
if (status & __BIT(sc->sc_linkstat_irq)) {
sys/dev/pci/if_aq.c
5091
if (status & __BIT(sc->sc_rx_irq[0])) {
sys/dev/pci/if_aq.c
5095
if (status & __BIT(sc->sc_tx_irq[0])) {
sys/dev/pci/if_aq.c
5109
uint32_t status;
sys/dev/pci/if_aq.c
5118
status = AQ_READ_REG(sc, AQ_INTR_STATUS_REG);
sys/dev/pci/if_aq.c
5119
if ((status & (__BIT(txirq) | __BIT(rxirq))) == 0) {
sys/dev/pci/if_aq.c
5134
uint32_t status;
sys/dev/pci/if_aq.c
5137
status = AQ_READ_REG(sc, AQ_INTR_STATUS_REG);
sys/dev/pci/if_aq.c
5138
if (status & __BIT(sc->sc_linkstat_irq)) {
sys/dev/pci/if_aq.c
5507
rxd_status = le16toh(rxd->wb.status);
sys/dev/pci/if_bge.c
6043
const uint32_t status = CSR_READ_4(sc, BGE_RX_STS);
sys/dev/pci/if_bge.c
6044
if ((status & BGE_RXSTAT_REMOTE_XOFFED) != 0) {
sys/dev/pci/if_bge.c
6049
CSR_WRITE_4(sc, BGE_RX_STS, status);
sys/dev/pci/if_bge.c
6052
} else if ((status & BGE_RXSTAT_RCVD_XOFF) != 0 &&
sys/dev/pci/if_bge.c
6053
(status & BGE_RXSTAT_RCVD_XON) != 0) {
sys/dev/pci/if_bge.c
6058
CSR_WRITE_4(sc, BGE_RX_STS, status);
sys/dev/pci/if_bge.c
6263
uint32_t status;
sys/dev/pci/if_bge.c
6285
status = CSR_READ_4(sc, BGE_MAC_STS);
sys/dev/pci/if_bge.c
6286
if (status & BGE_MACSTAT_MI_INTERRUPT) {
sys/dev/pci/if_bge.c
6310
status = CSR_READ_4(sc, BGE_MAC_STS);
sys/dev/pci/if_bge.c
6311
if (status & BGE_MACSTAT_TBI_PCS_SYNCHED) {
sys/dev/pci/if_bge.c
732
uint32_t bit, gnt, req, status;
sys/dev/pci/if_bge.c
789
status = APE_READ_4(sc, gnt + off);
sys/dev/pci/if_bge.c
790
if (status == bit)
sys/dev/pci/if_bge.c
796
if (status != bit) {
sys/dev/pci/if_bge.c
801
status & 0xFFFF);
sys/dev/pci/if_bnx.c
4579
uint32_t status;
sys/dev/pci/if_bnx.c
4649
status = l2fhdr->l2_fhdr_status;
sys/dev/pci/if_bnx.c
4653
status = status | L2_FHDR_ERRORS_PHY_DECODE);
sys/dev/pci/if_bnx.c
4670
if ((status & (L2_FHDR_ERRORS_BAD_CRC |
sys/dev/pci/if_bnx.c
4738
if (status & L2_FHDR_STATUS_IP_DATAGRAM) {
sys/dev/pci/if_bnx.c
4754
if (status & (L2_FHDR_STATUS_TCP_SEGMENT |
sys/dev/pci/if_bnx.c
4757
if ((status &
sys/dev/pci/if_bnx.c
4776
if ((status & L2_FHDR_STATUS_L2_VLAN_TAG) &&
sys/dev/pci/if_bwfm_pci.c
1436
if (ring->status != RING_OPENING)
sys/dev/pci/if_bwfm_pci.c
1438
if (fcr->compl_hdr.status) {
sys/dev/pci/if_bwfm_pci.c
1441
ring->status = RING_CLOSED;
sys/dev/pci/if_bwfm_pci.c
1448
ring->status = RING_OPEN;
sys/dev/pci/if_bwfm_pci.c
1467
if (ring->status != RING_CLOSING)
sys/dev/pci/if_bwfm_pci.c
1469
if (fdr->compl_hdr.status) {
sys/dev/pci/if_bwfm_pci.c
1475
ring->status = RING_CLOSED;
sys/dev/pci/if_bwfm_pci.c
1483
sc->sc_ioctl_resp_status = letoh16(resp->compl_hdr.status);
sys/dev/pci/if_bwfm_pci.c
1701
sc->sc_flowrings[flowid].status >= RING_OPEN &&
sys/dev/pci/if_bwfm_pci.c
1708
sc->sc_flowrings[flowid].status >= RING_OPEN &&
sys/dev/pci/if_bwfm_pci.c
1768
if (ring->status == RING_CLOSED) {
sys/dev/pci/if_bwfm_pci.c
1769
ring->status = RING_OPENING;
sys/dev/pci/if_bwfm_pci.c
1806
if (ring->status != RING_OPENING) {
sys/dev/pci/if_bwfm_pci.c
1822
ring->status = RING_OPENING;
sys/dev/pci/if_bwfm_pci.c
1856
if (ring->status != RING_OPEN) {
sys/dev/pci/if_bwfm_pci.c
1867
ring->status = RING_CLOSING;
sys/dev/pci/if_bwfm_pci.c
1887
if (ring->status == RING_OPEN)
sys/dev/pci/if_bwfm_pci.c
1902
if (ring->status == RING_OPENING)
sys/dev/pci/if_bwfm_pci.c
1942
if (ring->status == RING_OPENING ||
sys/dev/pci/if_bwfm_pci.c
1943
ring->status == RING_CLOSING) {
sys/dev/pci/if_bwfm_pci.c
1946
DEVNAME(sc), ring->status);
sys/dev/pci/if_bwfm_pci.c
2014
uint32_t status;
sys/dev/pci/if_bwfm_pci.c
2016
if ((status = bus_space_read_4(sc->sc_reg_iot, sc->sc_reg_ioh,
sys/dev/pci/if_bwfm_pci.c
2022
BWFM_PCI_PCIE2REG_MAILBOXINT, status);
sys/dev/pci/if_bwfm_pci.c
2024
if (status & (BWFM_PCI_PCIE2REG_MAILBOXMASK_INT_FN0_0 |
sys/dev/pci/if_bwfm_pci.c
2028
if (status & BWFM_PCI_PCIE2REG_MAILBOXMASK_INT_D2H_DB) {
sys/dev/pci/if_bwfm_pci.c
92
enum ring_status status;
sys/dev/pci/if_bwfm_pci.h
202
uint16_t status;
sys/dev/pci/if_cas.c
1501
cas_eint(struct cas_softc *sc, u_int status)
sys/dev/pci/if_cas.c
1504
if ((status & CAS_INTR_MIF) != 0) {
sys/dev/pci/if_cas.c
1510
snprintb(bits, sizeof(bits), CAS_INTR_BITS, status);
sys/dev/pci/if_cas.c
1520
uint32_t status;
sys/dev/pci/if_cas.c
1522
status = bus_space_read_4(t, seb, CAS_MII_INTERRUP_STATUS);
sys/dev/pci/if_cas.c
1523
status |= bus_space_read_4(t, seb, CAS_MII_INTERRUP_STATUS);
sys/dev/pci/if_cas.c
1525
if (status)
sys/dev/pci/if_cas.c
1538
uint32_t status;
sys/dev/pci/if_cas.c
1546
status = bus_space_read_4(t, seb, CAS_STATUS);
sys/dev/pci/if_cas.c
1548
snprintb(bits, sizeof(bits), CAS_INTR_BITS, status);
sys/dev/pci/if_cas.c
1551
device_xname(sc->sc_dev), (status>>19), bits));
sys/dev/pci/if_cas.c
1553
if ((status & CAS_INTR_PCS) != 0)
sys/dev/pci/if_cas.c
1556
if ((status & (CAS_INTR_TX_TAG_ERR | CAS_INTR_RX_TAG_ERR |
sys/dev/pci/if_cas.c
1558
r |= cas_eint(sc, status);
sys/dev/pci/if_cas.c
1560
if ((status & (CAS_INTR_TX_EMPTY | CAS_INTR_TX_INTME)) != 0)
sys/dev/pci/if_cas.c
1561
r |= cas_tint(sc, status);
sys/dev/pci/if_cas.c
1563
if ((status & (CAS_INTR_RX_DONE | CAS_INTR_RX_NOBUF)) != 0)
sys/dev/pci/if_cas.c
1567
if (status & CAS_INTR_TX_MAC) {
sys/dev/pci/if_cas.c
1577
if (status & CAS_INTR_RX_MAC) {
sys/dev/pci/if_cas.c
1598
rnd_add_uint32(&sc->rnd_source, status);
sys/dev/pci/if_cas.c
2118
cas_tint(struct cas_softc *sc, uint32_t status)
sys/dev/pci/if_dge.c
1589
uint8_t status;
sys/dev/pci/if_dge.c
1608
status =
sys/dev/pci/if_dge.c
1610
if ((status & TDESC_STA_DD) == 0) {
sys/dev/pci/if_dge.c
1655
uint8_t status, errors;
sys/dev/pci/if_dge.c
1667
status = sc->sc_rxdescs[i].dr_status;
sys/dev/pci/if_dge.c
1671
if ((status & RDESC_STS_DD) == 0) {
sys/dev/pci/if_dge.c
1682
if (status & RDESC_STS_EOP) {
sys/dev/pci/if_dge.c
1709
if ((status & RDESC_STS_EOP) == 0)
sys/dev/pci/if_dge.c
1733
if ((status & RDESC_STS_EOP) == 0) {
sys/dev/pci/if_dge.c
1782
if (status & RDESC_STS_IPCS) {
sys/dev/pci/if_dge.c
1788
if (status & RDESC_STS_TCPCS) {
sys/dev/pci/if_dge.c
1819
uint32_t status;
sys/dev/pci/if_dge.c
1822
status = CSR_READ(sc, DGE_STATUS);
sys/dev/pci/if_dge.c
1823
if (status & STATUS_LINKUP) {
sys/dev/pci/if_ena.c
3969
int status;
sys/dev/pci/if_ena.c
3974
status = aenq_desc->flags &
sys/dev/pci/if_ena.c
3977
if (status != 0) {
sys/dev/pci/if_ipw.c
1005
ipw_data_intr(struct ipw_softc *sc, struct ipw_status *status,
sys/dev/pci/if_ipw.c
1015
DPRINTFN(5, ("received frame len=%u, rssi=%u\n", le32toh(status->len),
sys/dev/pci/if_ipw.c
1016
status->rssi));
sys/dev/pci/if_ipw.c
1018
if (le32toh(status->len) < sizeof (struct ieee80211_frame_min) ||
sys/dev/pci/if_ipw.c
1019
le32toh(status->len) > MCLBYTES)
sys/dev/pci/if_ipw.c
1045
bus_dmamap_sync(sc->sc_dmat, sbuf->map, 0, le32toh(status->len),
sys/dev/pci/if_ipw.c
1077
m->m_pkthdr.len = m->m_len = le32toh(status->len);
sys/dev/pci/if_ipw.c
1084
tap->wr_antsignal = status->rssi;
sys/dev/pci/if_ipw.c
1096
ieee80211_input(ic, m, ni, status->rssi, 0);
sys/dev/pci/if_ipw.c
1110
struct ipw_status *status;
sys/dev/pci/if_ipw.c
1134
status = &sc->status_list[i];
sys/dev/pci/if_ipw.c
1138
switch (le16toh(status->code) & 0xf) {
sys/dev/pci/if_ipw.c
1149
ipw_data_intr(sc, status, sbd, sbuf);
sys/dev/pci/if_ipw.c
1158
le16toh(status->code));
sys/dev/pci/if_ipw.c
912
le32toh(cmd->status)));
sys/dev/pci/if_ipwreg.h
204
u_int32_t status;
sys/dev/pci/if_iwi.c
1269
scan->status));
sys/dev/pci/if_iwi.c
1317
assoc->status));
sys/dev/pci/if_iwireg.h
217
uint16_t status;
sys/dev/pci/if_iwireg.h
231
uint8_t status;
sys/dev/pci/if_iwireg.h
247
uint8_t status;
sys/dev/pci/if_iwm.c
2591
if (le32toh(resp->status) == 0)
sys/dev/pci/if_iwm.c
2729
err = le16toh(nvm_resp->status);
sys/dev/pci/if_iwm.c
2929
uint32_t status;
sys/dev/pci/if_iwm.c
2956
status = IWM_ADD_STA_SUCCESS;
sys/dev/pci/if_iwm.c
2962
&status);
sys/dev/pci/if_iwm.c
2963
if (!err && (status & IWM_ADD_STA_STATUS_MASK) != IWM_ADD_STA_SUCCESS)
sys/dev/pci/if_iwm.c
4295
int status = le16toh(tx_resp->status.status) & IWM_TX_STATUS_MSK;
sys/dev/pci/if_iwm.c
4306
if (status != IWM_TX_STATUS_SUCCESS &&
sys/dev/pci/if_iwm.c
4307
status != IWM_TX_STATUS_DIRECT_DONE)
sys/dev/pci/if_iwm.c
4376
uint32_t status;
sys/dev/pci/if_iwm.c
4414
status = 0;
sys/dev/pci/if_iwm.c
4416
&status);
sys/dev/pci/if_iwm.c
4417
if (err == 0 && status != 0)
sys/dev/pci/if_iwm.c
4691
uint32_t *status)
sys/dev/pci/if_iwm.c
4716
*status = le32toh(resp->status);
sys/dev/pci/if_iwm.c
4723
const void *data, uint32_t *status)
sys/dev/pci/if_iwm.c
4731
return iwm_send_cmd_status(sc, &cmd, status);
sys/dev/pci/if_iwm.c
5407
uint32_t status;
sys/dev/pci/if_iwm.c
5492
status = IWM_ADD_STA_SUCCESS;
sys/dev/pci/if_iwm.c
5498
&add_sta_cmd, &status);
sys/dev/pci/if_iwm.c
5499
if (err == 0 && (status & IWM_ADD_STA_STATUS_MASK) != IWM_ADD_STA_SUCCESS)
sys/dev/pci/if_iwm.c
5510
uint32_t status;
sys/dev/pci/if_iwm.c
5533
status = IWM_ADD_STA_SUCCESS;
sys/dev/pci/if_iwm.c
5539
&status);
sys/dev/pci/if_iwm.c
5541
(status & IWM_ADD_STA_STATUS_MASK) != IWM_ADD_STA_SUCCESS)
sys/dev/pci/if_iwm.c
8420
if (resp1->status == IWM_ALIVE_STATUS_OK)
sys/dev/pci/if_iwm.c
8436
if (resp2->status == IWM_ALIVE_STATUS_OK)
sys/dev/pci/if_iwm.c
8451
if (resp3->status == IWM_ALIVE_STATUS_OK)
sys/dev/pci/if_iwmreg.h
2003
uint32_t status;
sys/dev/pci/if_iwmreg.h
2338
uint16_t status;
sys/dev/pci/if_iwmreg.h
2376
uint16_t status;
sys/dev/pci/if_iwmreg.h
2398
uint16_t status;
sys/dev/pci/if_iwmreg.h
2427
uint16_t status;
sys/dev/pci/if_iwmreg.h
2860
uint32_t status;
sys/dev/pci/if_iwmreg.h
2882
uint32_t status;
sys/dev/pci/if_iwmreg.h
3311
uint32_t status;
sys/dev/pci/if_iwmreg.h
4981
uint16_t status;
sys/dev/pci/if_iwmreg.h
5050
struct iwm_agg_tx_status status;
sys/dev/pci/if_iwmreg.h
5155
return le32_to_cpup((uint32_t *)&tx_resp->status +
sys/dev/pci/if_iwmreg.h
5522
uint8_t status;
sys/dev/pci/if_iwmreg.h
5564
uint32_t status;
sys/dev/pci/if_iwmreg.h
5641
uint8_t status;
sys/dev/pci/if_iwmreg.h
5856
uint8_t status;
sys/dev/pci/if_iwmreg.h
5874
uint8_t status;
sys/dev/pci/if_iwmreg.h
6253
uint8_t status;
sys/dev/pci/if_iwmreg.h
6318
uint8_t status;
sys/dev/pci/if_iwmreg.h
6882
uint32_t status;
sys/dev/pci/if_iwmreg.h
6907
uint32_t status;
sys/dev/pci/if_iwmreg.h
6937
uint32_t status;
sys/dev/pci/if_iwn.c
2455
iwn_tx_done(sc, desc, stat->ackfailcnt, le32toh(stat->status) & 0xff);
sys/dev/pci/if_iwn.c
2471
iwn_tx_done(sc, desc, stat->ackfailcnt, le16toh(stat->status) & 0xff);
sys/dev/pci/if_iwn.c
2479
uint8_t status)
sys/dev/pci/if_iwn.c
2495
if (status != 1 && status != 2)
sys/dev/pci/if_iwn.c
2649
uint32_t *status = (uint32_t *)(desc + 1);
sys/dev/pci/if_iwn.c
2653
sizeof (*status), BUS_DMASYNC_POSTREAD);
sys/dev/pci/if_iwn.c
2654
DPRINTF(("state changed to %x\n", le32toh(*status)));
sys/dev/pci/if_iwn.c
2656
if (le32toh(*status) & 1) {
sys/dev/pci/if_iwn.c
2677
scan->chan, le32toh(scan->status)));
sys/dev/pci/if_iwn.c
2691
scan->nchan, scan->status, scan->chan));
sys/dev/pci/if_iwn.c
2693
if (scan->status == 1 && scan->chan <= 14 &&
sys/dev/pci/if_iwnreg.h
1185
uint32_t status;
sys/dev/pci/if_iwnreg.h
1205
uint16_t status;
sys/dev/pci/if_iwnreg.h
1278
uint32_t status;
sys/dev/pci/if_iwnreg.h
1284
uint8_t status;
sys/dev/pci/if_iwnreg.h
1312
uint32_t status;
sys/dev/pci/if_ixl.c
4148
uint16_t status;
sys/dev/pci/if_ixl.c
4178
status = le16toh(iaq.iaq_retval);
sys/dev/pci/if_ixl.c
4180
if (status == IXL_AQ_RC_ENOMEM) {
sys/dev/pci/if_ixl.c
4184
} while (status == IXL_AQ_RC_ENOMEM);
sys/dev/pci/if_ixl.c
4186
if (status != IXL_AQ_RC_OK) {
sys/dev/pci/if_ixl.c
5709
const struct ixl_aq_link_status *status;
sys/dev/pci/if_ixl.c
5717
status = (const struct ixl_aq_link_status *)iaq->iaq_param;
sys/dev/pci/if_ixl.c
5718
if (!ISSET(status->link_info, IXL_AQ_LINK_UP_FUNCTION)) {
sys/dev/pci/if_ixl.c
5727
itype = ixl_search_phy_type(status->phy_type);
sys/dev/pci/if_ixl.c
5731
if (ISSET(status->an_info, IXL_AQ_LINK_PAUSE_TX))
sys/dev/pci/if_ixl.c
5733
if (ISSET(status->an_info, IXL_AQ_LINK_PAUSE_RX))
sys/dev/pci/if_ixl.c
5736
baudrate = ixl_search_link_speed(status->link_speed);
sys/dev/pci/if_ixlvar.h
420
uint8_t status;
sys/dev/pci/if_jme.c
1522
uint32_t status;
sys/dev/pci/if_jme.c
1563
status = le32toh(desc->flags);
sys/dev/pci/if_jme.c
1565
printf("jme_txeof %i status 0x%x nsegs %d\n", cons, status,
sys/dev/pci/if_jme.c
1568
if (status & JME_TD_OWN)
sys/dev/pci/if_jme.c
1571
if ((status & (JME_TD_TMOUT | JME_TD_RETRY_EXP)) != 0)
sys/dev/pci/if_jme.c
1575
if ((status & JME_TD_COLLISION) != 0) {
sys/dev/pci/if_lii.c
927
uint32_t status;
sys/dev/pci/if_lii.c
930
status = AT_READ_4(sc, ATL2_ISR);
sys/dev/pci/if_lii.c
931
if (status == 0)
sys/dev/pci/if_lii.c
934
DPRINTF(("lii_intr (%x)\n", status));
sys/dev/pci/if_lii.c
937
AT_WRITE_4(sc, ATL2_ISR, status | ISR_DIS_INT);
sys/dev/pci/if_lii.c
939
if (status & (ISR_PHY | ISR_MANUAL)) {
sys/dev/pci/if_lii.c
941
if (status & ISR_PHY)
sys/dev/pci/if_lii.c
946
if (status & (ISR_DMAR_TO_RST | ISR_DMAW_TO_RST | ISR_PHY_LINKDOWN)) {
sys/dev/pci/if_lii.c
951
if (status & ISR_RX_EVENT) {
sys/dev/pci/if_lii.c
953
if (!(status & ISR_RS_UPDATE))
sys/dev/pci/if_lii.c
954
printf("rxintr %08x\n", status);
sys/dev/pci/if_lii.c
959
if (status & ISR_TX_EVENT)
sys/dev/pci/if_mcx.c
3348
uint8_t status;
sys/dev/pci/if_mcx.c
3370
status = cqe->cq_output_data[0];
sys/dev/pci/if_mcx.c
3371
if (status != MCX_CQ_STATUS_OK) {
sys/dev/pci/if_mcx.c
3372
printf(", hca enable failed (%x)\n", status);
sys/dev/pci/if_mcx.c
3386
uint8_t status;
sys/dev/pci/if_mcx.c
3408
status = cqe->cq_output_data[0];
sys/dev/pci/if_mcx.c
3409
if (status != MCX_CQ_STATUS_OK) {
sys/dev/pci/if_mcx.c
3410
printf(", hca teardown failed (%x)\n", status);
sys/dev/pci/if_mcx.c
3695
uint8_t status;
sys/dev/pci/if_mcx.c
3710
status = cqe->cq_output_data[0];
sys/dev/pci/if_mcx.c
3711
if (status != MCX_CQ_STATUS_OK)
sys/dev/pci/if_mcx.c
3726
uint8_t status;
sys/dev/pci/if_mcx.c
3756
status = cqe->cq_output_data[0];
sys/dev/pci/if_mcx.c
3757
switch (status) {
sys/dev/pci/if_mcx.c
3764
printf(", query issi failed (%x)\n", status);
sys/dev/pci/if_mcx.c
3885
uint8_t status;
sys/dev/pci/if_mcx.c
3938
status = cqe->cq_output_data[0];
sys/dev/pci/if_mcx.c
3939
if (status != MCX_CQ_STATUS_OK) {
sys/dev/pci/if_mcx.c
3940
printf(", manage pages failed (%x)\n", status);
sys/dev/pci/if_mcx.c
3992
uint8_t status;
sys/dev/pci/if_mcx.c
4027
status = cqe->cq_output_data[0];
sys/dev/pci/if_mcx.c
4028
if (status != MCX_CQ_STATUS_OK) {
sys/dev/pci/if_mcx.c
4029
printf(", query hca caps failed (%x)\n", status);
sys/dev/pci/if_mcx.c
4077
uint8_t status;
sys/dev/pci/if_mcx.c
4112
status = cqe->cq_output_data[0];
sys/dev/pci/if_mcx.c
4113
if (status != MCX_CQ_STATUS_OK) {
sys/dev/pci/if_mcx.c
4114
printf(", query hca caps failed (%x)\n", status);
sys/dev/pci/if_mcx.c
4138
uint8_t status;
sys/dev/pci/if_mcx.c
4159
status = cqe->cq_output_data[0];
sys/dev/pci/if_mcx.c
4160
if (status != MCX_CQ_STATUS_OK) {
sys/dev/pci/if_mcx.c
4161
printf(", hca init failed (%x)\n", status);
sys/dev/pci/if_mcx.c
4177
uint8_t status;
sys/dev/pci/if_mcx.c
4209
status = cqe->cq_output_data[0];
sys/dev/pci/if_mcx.c
4210
if (status != MCX_CQ_STATUS_OK) {
sys/dev/pci/if_mcx.c
4211
printf(", set driver version failed (%x)\n", status);
sys/dev/pci/if_msk.c
2281
uint8_t status;
sys/dev/pci/if_msk.c
2283
status = SK_IF_READ_1(sc_if, 0, SK_GMAC_ISR);
sys/dev/pci/if_msk.c
2285
if ((status & SK_GMAC_INT_RX_OVER) != 0) {
sys/dev/pci/if_msk.c
2290
if ((status & SK_GMAC_INT_TX_UNDER) != 0) {
sys/dev/pci/if_msk.c
2295
DPRINTFN(2, ("msk_intr_yukon status=%#x\n", status));
sys/dev/pci/if_msk.c
2306
uint32_t status;
sys/dev/pci/if_msk.c
2310
status = CSR_READ_4(sc, SK_Y2_ISSR2);
sys/dev/pci/if_msk.c
2311
if (status == 0xffffffff)
sys/dev/pci/if_msk.c
2313
if (status == 0) {
sys/dev/pci/if_msk.c
2318
status = CSR_READ_4(sc, SK_ISR);
sys/dev/pci/if_msk.c
2325
if (sc_if0 && (status & SK_Y2_IMR_MAC1) &&
sys/dev/pci/if_msk.c
2330
if (sc_if1 && (status & SK_Y2_IMR_MAC2) &&
sys/dev/pci/if_msk.c
2384
rnd_add_uint32(&sc->rnd_source, status);
sys/dev/pci/if_msk.c
2389
return (status & sc->sk_intrmask) != 0;
sys/dev/pci/if_msk.c
927
uint16_t status;
sys/dev/pci/if_msk.c
935
status = CSR_READ_2(sc, SK_Y2_ASF_HCU_CCSR);
sys/dev/pci/if_msk.c
937
status &= ~(SK_Y2_ASF_HCU_CSSR_ARB_RST |
sys/dev/pci/if_msk.c
940
status &= ~SK_Y2_ASF_HCU_CSSR_UC_STATE_MSK;
sys/dev/pci/if_msk.c
941
status &= ~SK_Y2_ASF_HCU_CSSR_CPU_CLK_DIVIDE_MSK;
sys/dev/pci/if_msk.c
942
CSR_WRITE_2(sc, SK_Y2_ASF_HCU_CCSR, status);
sys/dev/pci/if_rge.c
1227
uint16_t status = 0;
sys/dev/pci/if_rge.c
1235
status = RGE_READ_2(sc, RGE_PHYSTAT);
sys/dev/pci/if_rge.c
1236
if ((status & RGE_PHYSTAT_FDX) ||
sys/dev/pci/if_rge.c
1237
(status & (RGE_PHYSTAT_1000MBPS | RGE_PHYSTAT_2500MBPS |
sys/dev/pci/if_rge.c
1244
if (status & RGE_PHYSTAT_1000MBPS)
sys/dev/pci/if_rge.c
1246
else if (status & RGE_PHYSTAT_10000MBPS)
sys/dev/pci/if_rge.c
1249
if (status & RGE_PHYSTAT_10MBPS)
sys/dev/pci/if_rge.c
1251
else if (status & RGE_PHYSTAT_100MBPS)
sys/dev/pci/if_rge.c
1253
else if (status & RGE_PHYSTAT_1000MBPS)
sys/dev/pci/if_rge.c
1255
else if (status & RGE_PHYSTAT_2500MBPS)
sys/dev/pci/if_rge.c
1257
else if (status & RGE_PHYSTAT_5000MBPS)
sys/dev/pci/if_rge.c
1259
else if (status & RGE_PHYSTAT_10000MBPS)
sys/dev/pci/if_rge.c
440
uint32_t status;
sys/dev/pci/if_rge.c
456
status = RGE_READ_4(sc, RGE_ISR);
sys/dev/pci/if_rge.c
457
if (status)
sys/dev/pci/if_rge.c
458
RGE_WRITE_4(sc, RGE_ISR, status);
sys/dev/pci/if_rge.c
460
if (status & RGE_ISR_PCS_TIMEOUT)
sys/dev/pci/if_rge.c
464
if (status & sc->rge_intrs) {
sys/dev/pci/if_rge.c
465
if (status &
sys/dev/pci/if_rge.c
471
if (status & (sc->rge_tx_ack | RGE_ISR_TX_ERR)) {
sys/dev/pci/if_rge.c
476
if (status & RGE_ISR_SYSTEM_ERR) {
sys/dev/pci/if_rtwn.c
3498
uint32_t status;
sys/dev/pci/if_rtwn.c
3503
status = rtwn_read_4(sc, R92C_HISR);
sys/dev/pci/if_rtwn.c
3504
if (status == 0 || status == 0xffffffff)
sys/dev/pci/if_rtwn.c
3518
uint32_t status;
sys/dev/pci/if_rtwn.c
3524
status = rtwn_read_4(sc, R92C_HISR);
sys/dev/pci/if_rtwn.c
3525
if (status == 0 || status == 0xffffffff)
sys/dev/pci/if_rtwn.c
3529
rtwn_write_4(sc, R92C_HISR, status);
sys/dev/pci/if_rtwn.c
3532
if (status & RTWN_INT_ENABLE_RX) {
sys/dev/pci/if_rtwn.c
3544
if (status & R92C_IMR_BDOK)
sys/dev/pci/if_rtwn.c
3546
if (status & R92C_IMR_HIGHDOK)
sys/dev/pci/if_rtwn.c
3548
if (status & R92C_IMR_MGNTDOK)
sys/dev/pci/if_rtwn.c
3550
if (status & R92C_IMR_BKDOK)
sys/dev/pci/if_rtwn.c
3552
if (status & R92C_IMR_BEDOK)
sys/dev/pci/if_rtwn.c
3554
if (status & R92C_IMR_VIDOK)
sys/dev/pci/if_rtwn.c
3556
if (status & R92C_IMR_VODOK)
sys/dev/pci/if_rtwn.c
3558
if ((status & RTWN_INT_ENABLE_TX) && sc->qfullmsk == 0) {
sys/dev/pci/if_sk.c
2220
uint16_t status;
sys/dev/pci/if_sk.c
2232
SK_PHYADDR_BCOM, BRGPHY_MII_ISR, &status);
sys/dev/pci/if_sk.c
2239
if (status & (BRGPHY_ISR_LNK_CHG | BRGPHY_ISR_AN_PR)) {
sys/dev/pci/if_sk.c
2250
} else if (status & BRGPHY_ISR_LNK_CHG) {
sys/dev/pci/if_sk.c
2272
uint16_t status = SK_XM_READ_2(sc_if, XM_ISR);
sys/dev/pci/if_sk.c
2277
if (status & XM_ISR_GP0_SET) {
sys/dev/pci/if_sk.c
2282
if (status & XM_ISR_AUTONEG_DONE) {
sys/dev/pci/if_sk.c
2287
if (status & XM_IMR_TX_UNDERRUN)
sys/dev/pci/if_sk.c
2290
if (status & XM_IMR_RX_OVERRUN)
sys/dev/pci/if_sk.c
2298
int status;
sys/dev/pci/if_sk.c
2300
status =
sys/dev/pci/if_sk.c
2304
DPRINTFN(3, ("sk_intr_yukon status=%#x\n", status));
sys/dev/pci/if_sk.c
2314
uint32_t status;
sys/dev/pci/if_sk.c
2323
status = CSR_READ_4(sc, SK_ISSR);
sys/dev/pci/if_sk.c
2324
DPRINTFN(3, ("sk_intr: status=%#x\n", status));
sys/dev/pci/if_sk.c
2326
if (!(status & sc->sk_intrmask))
sys/dev/pci/if_sk.c
2332
if (sc_if0 && (status & SK_ISR_RX1_EOF)) {
sys/dev/pci/if_sk.c
2337
if (sc_if1 && (status & SK_ISR_RX2_EOF)) {
sys/dev/pci/if_sk.c
2344
if (sc_if0 && (status & SK_ISR_TX1_S_EOF)) {
sys/dev/pci/if_sk.c
2349
if (sc_if1 && (status & SK_ISR_TX2_S_EOF)) {
sys/dev/pci/if_sk.c
2356
if (sc_if0 && (status & SK_ISR_MAC1) &&
sys/dev/pci/if_sk.c
2364
if (sc_if1 && (status & SK_ISR_MAC2) &&
sys/dev/pci/if_sk.c
2373
if (status & SK_ISR_EXTERNAL_REG) {
sys/dev/pci/if_sk.c
2392
rnd_add_uint32(&sc->rnd_source, status);
sys/dev/pci/if_ste.c
1037
uint32_t status;
sys/dev/pci/if_ste.c
1046
status = le32toh(sc->sc_rxdescs[i].rfd_status);
sys/dev/pci/if_ste.c
1048
if ((status & RFD_RxDMAComplete) == 0)
sys/dev/pci/if_ste.c
1056
if (status & RFD_RxFrameError) {
sys/dev/pci/if_ste.c
1069
len = RFD_RxDMAFrameLen(status);
sys/dev/pci/if_stge.c
1226
uint64_t status;
sys/dev/pci/if_stge.c
1235
status = le64toh(sc->sc_rxdescs[i].rfd_status);
sys/dev/pci/if_stge.c
1237
if ((status & RFD_RFDDone) == 0)
sys/dev/pci/if_stge.c
1242
if (status & RFD_FrameEnd) {
sys/dev/pci/if_stge.c
1266
if ((status & RFD_FrameEnd) == 0)
sys/dev/pci/if_stge.c
1274
if (status & RFD_FrameStart) {
sys/dev/pci/if_stge.c
1286
if ((status & RFD_FrameEnd) == 0) {
sys/dev/pci/if_stge.c
1304
if (status & (RFD_RxFIFOOverrun | RFD_RxRuntFrame |
sys/dev/pci/if_stge.c
1317
len = RFD_RxDMAFrameLen(status);
sys/dev/pci/if_stge.c
1346
if (status & RFD_IPDetected) {
sys/dev/pci/if_stge.c
1349
if (status & RFD_IPError)
sys/dev/pci/if_stge.c
1351
if (status & RFD_TCPDetected) {
sys/dev/pci/if_stge.c
1354
if (status & RFD_TCPError)
sys/dev/pci/if_stge.c
1357
} else if (status & RFD_UDPDetected) {
sys/dev/pci/if_stge.c
1360
if (status & RFD_UDPError)
sys/dev/pci/if_stge.c
1377
if (status & RFD_VLANDetected)
sys/dev/pci/if_stge.c
1378
vlan_set_tag(m, RFD_TCI(status));
sys/dev/pci/if_stge.c
1382
if (status & RFD_VLANDetected) {
sys/dev/pci/if_stge.c
1389
ifp->if_xname, (uint16_t) RFD_TCI(status),
sys/dev/pci/if_vge.c
1449
uint32_t status;
sys/dev/pci/if_vge.c
1469
status = CSR_READ_4(sc, VGE_ISR);
sys/dev/pci/if_vge.c
1471
if (status == 0xFFFFFFFF)
sys/dev/pci/if_vge.c
1474
if (status) {
sys/dev/pci/if_vge.c
1476
CSR_WRITE_4(sc, VGE_ISR, status);
sys/dev/pci/if_vge.c
1479
if ((status & VGE_INTRS) == 0)
sys/dev/pci/if_vge.c
1482
if (status & (VGE_ISR_RXOK | VGE_ISR_RXOK_HIPRIO))
sys/dev/pci/if_vge.c
1485
if (status & (VGE_ISR_RXOFLOW | VGE_ISR_RXNODESC)) {
sys/dev/pci/if_vge.c
1491
if (status & (VGE_ISR_TXOK0 | VGE_ISR_TIMER0))
sys/dev/pci/if_vge.c
1494
if (status & (VGE_ISR_TXDMA_STALL | VGE_ISR_RXDMA_STALL))
sys/dev/pci/if_vge.c
1497
if (status & VGE_ISR_LINKSTS)
sys/dev/pci/if_vioif.c
2711
uint16_t status;
sys/dev/pci/if_vioif.c
2714
status = virtio_read_device_config_2(vsc,
sys/dev/pci/if_vioif.c
2717
status = VIRTIO_NET_S_LINK_UP;
sys/dev/pci/if_vioif.c
2719
if ((status & VIRTIO_NET_S_LINK_UP) != 0)
sys/dev/pci/if_vr.c
913
uint16_t status;
sys/dev/pci/if_vr.c
929
status = CSR_READ_2(sc, VR_ISR);
sys/dev/pci/if_vr.c
930
if (status)
sys/dev/pci/if_vr.c
931
CSR_WRITE_2(sc, VR_ISR, status);
sys/dev/pci/if_vr.c
933
if ((status & VR_INTRS) == 0)
sys/dev/pci/if_vr.c
938
rnd_add_uint32(&sc->rnd_source, status);
sys/dev/pci/if_vr.c
940
if (status & VR_ISR_RX_OK)
sys/dev/pci/if_vr.c
943
if (status & VR_ISR_RX_DROPPED) {
sys/dev/pci/if_vr.c
948
if (status &
sys/dev/pci/if_vr.c
953
if (status & (VR_ISR_BUSERR | VR_ISR_TX_UNDERRUN)) {
sys/dev/pci/if_vr.c
954
if (status & VR_ISR_BUSERR)
sys/dev/pci/if_vr.c
956
if (status & VR_ISR_TX_UNDERRUN)
sys/dev/pci/if_vr.c
965
if (status & VR_ISR_TX_OK) {
sys/dev/pci/if_vr.c
970
if (status &
sys/dev/pci/if_vr.c
972
if (status & (VR_ISR_TX_ABRT | VR_ISR_TX_ABRT2))
sys/dev/pci/if_vr.c
975
if (status & VR_ISR_TX_UDFI)
sys/dev/pci/if_vte.c
1006
uint16_t status;
sys/dev/pci/if_vte.c
1024
status = le16toh(txd->tx_desc->dtst);
sys/dev/pci/if_vte.c
1025
if ((status & VTE_DTST_TX_OWN) != 0)
sys/dev/pci/if_vte.c
1027
if ((status & VTE_DTST_TX_OK) != 0)
sys/dev/pci/if_vte.c
1028
if_statadd(ifp, if_collisions, (status & 0xf));
sys/dev/pci/if_vte.c
1103
uint16_t status, total_len;
sys/dev/pci/if_vte.c
1116
status = le16toh(rxd->rx_desc->drst);
sys/dev/pci/if_vte.c
1118
cons, rxd, rxd->rx_m, status,
sys/dev/pci/if_vte.c
1120
if ((status & VTE_DRST_RX_OWN) != 0)
sys/dev/pci/if_vte.c
1124
if ((status & VTE_DRST_RX_OK) == 0) {
sys/dev/pci/if_vte.c
964
uint16_t status;
sys/dev/pci/if_vte.c
968
status = CSR_READ_2(sc, VTE_MISR);
sys/dev/pci/if_vte.c
969
DPRINTF(("vte_intr status 0x%x\n", status));
sys/dev/pci/if_vte.c
970
if ((status & VTE_INTRS) == 0) {
sys/dev/pci/if_vte.c
977
for (n = 8; (status & VTE_INTRS) != 0;) {
sys/dev/pci/if_vte.c
980
if ((status & (MISR_RX_DONE | MISR_RX_DESC_UNAVAIL |
sys/dev/pci/if_vte.c
983
if ((status & MISR_TX_DONE) != 0)
sys/dev/pci/if_vte.c
985
if ((status & MISR_EVENT_CNT_OFLOW) != 0)
sys/dev/pci/if_vte.c
989
status = CSR_READ_2(sc, VTE_MISR);
sys/dev/pci/if_wm.c
10086
wm_rxdesc_is_set_status(struct wm_softc *sc, uint32_t status,
sys/dev/pci/if_wm.c
10091
return (status & ext_bit) != 0;
sys/dev/pci/if_wm.c
10093
return (status & nq_bit) != 0;
sys/dev/pci/if_wm.c
10095
return (status & legacy_bit) != 0;
sys/dev/pci/if_wm.c
10112
wm_rxdesc_is_eop(struct wm_rxqueue *rxq, uint32_t status)
sys/dev/pci/if_wm.c
10115
if (wm_rxdesc_is_set_status(rxq->rxq_sc, status,
sys/dev/pci/if_wm.c
10152
wm_rxdesc_dd(struct wm_rxqueue *rxq, int idx, uint32_t status)
sys/dev/pci/if_wm.c
10156
if (!wm_rxdesc_is_set_status(sc, status, WRX_ST_DD, EXTRXC_STATUS_DD,
sys/dev/pci/if_wm.c
10167
wm_rxdesc_input_vlantag(struct wm_rxqueue *rxq, uint32_t status,
sys/dev/pci/if_wm.c
10171
if (wm_rxdesc_is_set_status(rxq->rxq_sc, status,
sys/dev/pci/if_wm.c
10180
wm_rxdesc_ensure_checksum(struct wm_rxqueue *rxq, uint32_t status,
sys/dev/pci/if_wm.c
10185
if (!wm_rxdesc_is_set_status(sc, status, WRX_ST_IXSM, 0, 0)) {
sys/dev/pci/if_wm.c
10186
if (wm_rxdesc_is_set_status(sc, status,
sys/dev/pci/if_wm.c
10194
if (wm_rxdesc_is_set_status(sc, status,
sys/dev/pci/if_wm.c
10226
uint32_t status, errors;
sys/dev/pci/if_wm.c
10241
status = wm_rxdesc_get_status(rxq, i);
sys/dev/pci/if_wm.c
10250
if (!wm_rxdesc_dd(rxq, i, status))
sys/dev/pci/if_wm.c
10267
if (wm_rxdesc_is_eop(rxq, status)) {
sys/dev/pci/if_wm.c
10296
if (!wm_rxdesc_is_eop(rxq, status))
sys/dev/pci/if_wm.c
10314
if (!wm_rxdesc_is_eop(rxq, status)) {
sys/dev/pci/if_wm.c
10376
if (!wm_rxdesc_input_vlantag(rxq, status, vlantag, m))
sys/dev/pci/if_wm.c
10380
wm_rxdesc_ensure_checksum(rxq, status, errors, m);
sys/dev/pci/if_wm.c
10410
uint32_t status, reg;
sys/dev/pci/if_wm.c
10429
status = CSR_READ(sc, WMREG_STATUS);
sys/dev/pci/if_wm.c
10430
link = status & STATUS_LU;
sys/dev/pci/if_wm.c
10434
(status & STATUS_FD) ? "FDX" : "HDX"));
sys/dev/pci/if_wm.c
10548
uint32_t speed = __SHIFTOUT(status, STATUS_SPEED);
sys/dev/pci/if_wm.c
10554
fdx = status & STATUS_FD;
sys/dev/pci/if_wm.c
10722
uint32_t status;
sys/dev/pci/if_wm.c
10727
status = CSR_READ(sc, WMREG_STATUS);
sys/dev/pci/if_wm.c
10730
if (status & STATUS_LU) {
sys/dev/pci/if_wm.c
10733
(status & STATUS_FD) ? "FDX" : "HDX"));
sys/dev/pci/if_wm.c
10742
if (status & STATUS_FD)
sys/dev/pci/if_wm.c
13482
uint32_t status;
sys/dev/pci/if_wm.c
13484
status = CSR_READ(sc, WMREG_STATUS);
sys/dev/pci/if_wm.c
13485
if (((status & STATUS_2P5_SKU) != 0)
sys/dev/pci/if_wm.c
13486
&& ((status & STATUS_2P5_SKU_OVER) == 0)) {
sys/dev/pci/if_wm.c
13541
uint32_t status, ctrl;
sys/dev/pci/if_wm.c
13593
status = CSR_READ(sc, WMREG_STATUS);
sys/dev/pci/if_wm.c
13597
device_xname(sc->sc_dev), status, STATUS_LU));
sys/dev/pci/if_wm.c
13598
if (status & STATUS_LU) {
sys/dev/pci/if_wm.c
13603
(status & STATUS_FD) ? "FDX" : "HDX"));
sys/dev/pci/if_wm.c
13612
if (status & STATUS_FD)
sys/dev/pci/if_wm.c
13654
uint32_t ctrl, status;
sys/dev/pci/if_wm.c
13659
status = CSR_READ(sc, WMREG_STATUS);
sys/dev/pci/if_wm.c
13660
if ((status & STATUS_LU) == 0) {
sys/dev/pci/if_wm.c
13689
uint32_t status;
sys/dev/pci/if_wm.c
13705
status = CSR_READ(sc, WMREG_STATUS);
sys/dev/pci/if_wm.c
13711
((status & STATUS_LU) != 0), ((rxcw & RXCW_C) != 0)));
sys/dev/pci/if_wm.c
13725
if (signal && ((status & STATUS_LU) == 0) && ((rxcw & RXCW_C) == 0)) {
sys/dev/pci/if_wm.c
13741
} else if (((status & STATUS_LU) != 0)
sys/dev/pci/if_wm.c
13755
status));
sys/dev/pci/if_wm.c
13772
uint32_t status;
sys/dev/pci/if_wm.c
13776
status = CSR_READ(sc, WMREG_STATUS);
sys/dev/pci/if_wm.c
13783
if ((status & STATUS_LU) == 0) {
sys/dev/pci/if_wm.c
13790
(status & STATUS_FD) ? "FDX" : "HDX"));
sys/dev/pci/if_wm.c
13798
if ((status & STATUS_LU) == 0) {
sys/dev/pci/if_wm.c
13956
uint32_t status;
sys/dev/pci/if_wm.c
13958
status = CSR_READ(sc, WMREG_STATUS);
sys/dev/pci/if_wm.c
13959
if (((status & STATUS_2P5_SKU) != 0)
sys/dev/pci/if_wm.c
13960
&& ((status & STATUS_2P5_SKU_OVER) == 0)) {
sys/dev/pci/if_wm.c
14825
int32_t status;
sys/dev/pci/if_wm.c
14828
status = wm_read_ich8_data(sc, index, 1, &word);
sys/dev/pci/if_wm.c
14829
if (status == 0)
sys/dev/pci/if_wm.c
14834
return status;
sys/dev/pci/if_wm.c
14847
int32_t status;
sys/dev/pci/if_wm.c
14850
status = wm_read_ich8_data(sc, index, 2, &word);
sys/dev/pci/if_wm.c
14851
if (status == 0)
sys/dev/pci/if_wm.c
14856
return status;
sys/dev/pci/if_wm.c
14869
int32_t status;
sys/dev/pci/if_wm.c
14871
status = wm_read_ich8_data(sc, index, 4, data);
sys/dev/pci/if_wm.c
14872
return status;
sys/dev/pci/if_wm.c
17144
uint32_t status = CSR_READ(sc, WMREG_STATUS);
sys/dev/pci/if_wm.c
17152
if ((status & STATUS_LU) == 0)
sys/dev/pci/if_wm.c
17156
if (__SHIFTOUT(status, STATUS_SPEED) != STATUS_SPEED_1000)
sys/dev/pci/if_wm.c
17594
uint32_t status = CSR_READ(sc, WMREG_STATUS);
sys/dev/pci/if_wm.c
17595
uint32_t speed = __SHIFTOUT(status, STATUS_SPEED);
sys/dev/pci/if_wm.c
17627
|| ((speed == STATUS_SPEED_100) && (status & STATUS_FD)))
sys/dev/pci/if_wm.c
18048
uint32_t status;
sys/dev/pci/if_wm.c
18052
status = CSR_READ(sc, WMREG_STATUS);
sys/dev/pci/if_wm.c
18053
switch (__SHIFTOUT(status, STATUS_SPEED)) {
sys/dev/pci/if_wm.c
18065
"(status = %08x)\n", status);
sys/dev/pci/if_wm.c
9894
uint8_t status;
sys/dev/pci/if_wm.c
9918
status =
sys/dev/pci/if_wm.c
9920
if ((status & WTX_ST_DD) == 0) {
sys/dev/pci/if_wm.c
9941
if ((status & WTX_ST_TU) && (sc->sc_type <= WM_T_82544))
sys/dev/pci/if_wm.c
9956
if (((status & (WTX_ST_EC | WTX_ST_LC)) != 0)
sys/dev/pci/if_wm.c
9960
if (status & WTX_ST_LC)
sys/dev/pci/if_wm.c
9963
else if (status & WTX_ST_EC) {
sys/dev/pci/if_wmreg.h
209
#define EXTRXC_STATUS_PKTTYPE(status) __SHIFTOUT(status,EXTRXC_STATUS_PKTTYPE_MASK)
sys/dev/pci/if_wpi.c
1642
le32toh(stat->status)));
sys/dev/pci/if_wpi.c
1657
if ((le32toh(stat->status) & 0xff) != 1)
sys/dev/pci/if_wpi.c
1754
uint32_t *status = (uint32_t *)(desc + 1);
sys/dev/pci/if_wpi.c
1757
DPRINTF(("state changed to %x\n", le32toh(*status)));
sys/dev/pci/if_wpi.c
1759
if (le32toh(*status) & 1) {
sys/dev/pci/if_wpi.c
1781
scan->chan, le32toh(scan->status)));
sys/dev/pci/if_wpi.c
1796
scan->nchan, scan->status, scan->chan));
sys/dev/pci/if_wpireg.h
198
uint32_t status;
sys/dev/pci/if_wpireg.h
565
uint32_t status;
sys/dev/pci/if_wpireg.h
571
uint8_t status;
sys/dev/pci/igc/if_igc.c
1811
const uint32_t status = le32toh(txdesc->wb.status);
sys/dev/pci/igc/if_igc.c
1814
if (!(status & IGC_TXD_STAT_DD))
sys/dev/pci/igc/if_igc.c
1822
txr->me, cons, last, prod, status);
sys/dev/pci/igc/if_igc.c
1829
txr->me, cons, last, prod, status);
sys/dev/pci/igc/if_igc.c
2269
const uint16_t status = (uint16_t)staterr;
sys/dev/pci/igc/if_igc.c
2273
if ((status & IGC_RXD_STAT_IPCS) != 0 &&
sys/dev/pci/igc/if_igc.c
2283
if ((status & IGC_RXD_STAT_TCPCS) != 0) {
sys/dev/pci/igc/if_igc.c
2291
if ((status & IGC_RXD_STAT_UDPCS) != 0) {
sys/dev/pci/igc/if_igc.c
870
uint32_t reg, status;
sys/dev/pci/igc/if_igc.c
908
status = IGC_READ_REG(hw, IGC_STATUS);
sys/dev/pci/igc/if_igc.c
909
if ((status & IGC_STATUS_2P5_SKU) &&
sys/dev/pci/igc/if_igc.c
910
!(status & IGC_STATUS_2P5_SKU_OVER))
sys/dev/pci/igc/if_igc.c
927
status = IGC_READ_REG(hw, IGC_STATUS);
sys/dev/pci/igc/if_igc.c
928
if ((status & IGC_STATUS_2P5_SKU) &&
sys/dev/pci/igc/if_igc.c
929
!(status & IGC_STATUS_2P5_SKU_OVER))
sys/dev/pci/igc/igc_base.h
33
uint32_t status;
sys/dev/pci/igc/igc_hw.h
138
uint8_t status; /* Descriptor status */
sys/dev/pci/igc/igc_hw.h
182
uint8_t status; /* Descriptor status */
sys/dev/pci/igc/igc_i225.c
455
int status = IGC_SUCCESS;
sys/dev/pci/igc/igc_i225.c
467
status = igc_read_nvm_eerd(hw, offset, count, data + i);
sys/dev/pci/igc/igc_i225.c
470
status = IGC_ERR_SWFW_SYNC;
sys/dev/pci/igc/igc_i225.c
473
if (status != IGC_SUCCESS)
sys/dev/pci/igc/igc_i225.c
477
return status;
sys/dev/pci/igc/igc_i225.c
500
int status = IGC_SUCCESS;
sys/dev/pci/igc/igc_i225.c
512
status = __igc_write_nvm_srwr(hw, offset, count,
sys/dev/pci/igc/igc_i225.c
516
status = IGC_ERR_SWFW_SYNC;
sys/dev/pci/igc/igc_i225.c
518
if (status != IGC_SUCCESS)
sys/dev/pci/igc/igc_i225.c
522
return status;
sys/dev/pci/igc/igc_i225.c
590
int status = IGC_SUCCESS;
sys/dev/pci/igc/igc_i225.c
603
status = igc_validate_nvm_checksum_generic(hw);
sys/dev/pci/igc/igc_i225.c
610
status = IGC_ERR_SWFW_SYNC;
sys/dev/pci/igc/igc_i225.c
613
return status;
sys/dev/pci/igc/igc_mac.c
742
uint32_t status;
sys/dev/pci/igc/igc_mac.c
746
status = IGC_READ_REG(hw, IGC_STATUS);
sys/dev/pci/igc/igc_mac.c
747
if (status & IGC_STATUS_SPEED_1000) {
sys/dev/pci/igc/igc_mac.c
753
(status & IGC_STATUS_SPEED_2500)) {
sys/dev/pci/igc/igc_mac.c
760
} else if (status & IGC_STATUS_SPEED_100) {
sys/dev/pci/igc/igc_mac.c
768
if (status & IGC_STATUS_FD) {
sys/dev/pci/ips.c
1448
xs->status = dcdb->status;
sys/dev/pci/ips.c
1501
dcdb->sgcnt, dcdb->status));
sys/dev/pci/ips.c
1588
u_int32_t status;
sys/dev/pci/ips.c
1599
while ((status = ips_status(sc)) != 0xffffffff) {
sys/dev/pci/ips.c
1601
device_xname(sc->sc_dev), status));
sys/dev/pci/ips.c
1603
id = IPS_STAT_ID(status);
sys/dev/pci/ips.c
1615
status));
sys/dev/pci/ips.c
1620
ccb->c_stat = IPS_STAT_BASIC(status);
sys/dev/pci/ips.c
1621
ccb->c_estat = IPS_STAT_EXT(status);
sys/dev/pci/ips.c
1854
u_int32_t sqhead, sqtail, status;
sys/dev/pci/ips.c
1869
status = htole32(sc->sc_sqbuf[sc->sc_sqidx]);
sys/dev/pci/ips.c
1872
return (status);
sys/dev/pci/ips.c
225
u_int8_t status;
sys/dev/pci/ismt.c
171
uint8_t status; /* status bits */
sys/dev/pci/ismt.c
397
ISMT_DEBUG(sc->pcidev, "%s status=0x%02x\n", __func__, desc->status);
sys/dev/pci/ismt.c
399
if (desc->status & ISMT_DESC_SCS)
sys/dev/pci/ismt.c
402
if (desc->status & ISMT_DESC_NAK)
sys/dev/pci/ismt.c
405
if (desc->status & ISMT_DESC_CRC)
sys/dev/pci/ismt.c
408
if (desc->status & ISMT_DESC_COL)
sys/dev/pci/ismt.c
411
if (desc->status & ISMT_DESC_LPR)
sys/dev/pci/ismt.c
414
if (desc->status & (ISMT_DESC_DLTO | ISMT_DESC_CLTO))
sys/dev/pci/ixgbe/if_bypass.c
580
static int status = 0;
sys/dev/pci/ixgbe/if_bypass.c
585
node.sysctl_data = &status;
sys/dev/pci/ixgbe/if_bypass.c
599
error = hw->mac.ops.bypass_rw(hw, cmd, &status);
sys/dev/pci/ixgbe/if_bypass.c
608
error = hw->mac.ops.bypass_rw(hw, cmd, &status);
sys/dev/pci/ixgbe/if_bypass.c
614
base = status & BYPASS_CTL2_DATA_M;
sys/dev/pci/ixgbe/if_bypass.c
615
head = (status & BYPASS_CTL2_HEAD_M) >> BYPASS_CTL2_HEAD_SHIFT;
sys/dev/pci/ixgbe/if_bypass.c
706
error = hw->mac.ops.bypass_rw(hw, cmd, &status);
sys/dev/pci/ixgbe/if_bypass.c
717
status = 0; /* reset */
sys/dev/pci/ixgbe/if_bypass.c
725
status = 0; /* reset */
sys/dev/pci/ixgbe/ix_txrx.c
1146
le32toh(txd[kring->nr_kflags].wb.status) & IXGBE_TXD_STAT_DD) {
sys/dev/pci/ixgbe/ix_txrx.c
1172
if ((le32toh(eop->wb.status) & IXGBE_TXD_STAT_DD) == 0)
sys/dev/pci/ixgbe/ix_txrx.c
2227
u16 status = (u16)staterr;
sys/dev/pci/ixgbe/ix_txrx.c
2238
if (status & IXGBE_RXD_STAT_IPCS) {
sys/dev/pci/ixgbe/ix_txrx.c
2249
if (status & IXGBE_RXD_STAT_L4CS) {
sys/dev/pci/ixgbe/ixgbe.h
728
bool status = TRUE;
sys/dev/pci/ixgbe/ixgbe.h
732
status = FALSE;
sys/dev/pci/ixgbe/ixgbe.h
734
return (status);
sys/dev/pci/ixgbe/ixgbe_82598.c
1134
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_82598.c
1178
status = IXGBE_ERR_SFP_NOT_PRESENT;
sys/dev/pci/ixgbe/ixgbe_82598.c
1188
status = IXGBE_ERR_PHY;
sys/dev/pci/ixgbe/ixgbe_82598.c
1193
return status;
sys/dev/pci/ixgbe/ixgbe_82598.c
306
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_82598.c
348
status = IXGBE_ERR_LINK_SETUP;
sys/dev/pci/ixgbe/ixgbe_82598.c
352
return status;
sys/dev/pci/ixgbe/ixgbe_82598.c
569
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_82598.c
592
status = IXGBE_ERR_AUTONEG_NOT_COMPLETE;
sys/dev/pci/ixgbe/ixgbe_82598.c
601
return status;
sys/dev/pci/ixgbe/ixgbe_82598.c
742
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_82598.c
755
status = IXGBE_ERR_LINK_SETUP;
sys/dev/pci/ixgbe/ixgbe_82598.c
769
if (status == IXGBE_SUCCESS) {
sys/dev/pci/ixgbe/ixgbe_82598.c
775
status = ixgbe_start_mac_link_82598(hw,
sys/dev/pci/ixgbe/ixgbe_82598.c
779
return status;
sys/dev/pci/ixgbe/ixgbe_82598.c
795
s32 status;
sys/dev/pci/ixgbe/ixgbe_82598.c
800
status = hw->phy.ops.setup_link_speed(hw, speed,
sys/dev/pci/ixgbe/ixgbe_82598.c
805
return status;
sys/dev/pci/ixgbe/ixgbe_82598.c
818
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_82598.c
829
status = hw->mac.ops.stop_adapter(hw);
sys/dev/pci/ixgbe/ixgbe_82598.c
830
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_82598.c
896
status = IXGBE_ERR_RESET_FAILED;
sys/dev/pci/ixgbe/ixgbe_82598.c
940
status = phy_status;
sys/dev/pci/ixgbe/ixgbe_82598.c
942
return status;
sys/dev/pci/ixgbe/ixgbe_82599.c
1011
return status;
sys/dev/pci/ixgbe/ixgbe_82599.c
1026
s32 status;
sys/dev/pci/ixgbe/ixgbe_82599.c
1031
status = hw->phy.ops.setup_link_speed(hw, speed,
sys/dev/pci/ixgbe/ixgbe_82599.c
1036
return status;
sys/dev/pci/ixgbe/ixgbe_82599.c
1050
s32 status;
sys/dev/pci/ixgbe/ixgbe_82599.c
1060
status = hw->mac.ops.stop_adapter(hw);
sys/dev/pci/ixgbe/ixgbe_82599.c
1061
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_82599.c
1119
status = IXGBE_ERR_RESET_FAILED;
sys/dev/pci/ixgbe/ixgbe_82599.c
1169
status = hw->mac.ops.prot_autoc_write(hw,
sys/dev/pci/ixgbe/ixgbe_82599.c
1172
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_82599.c
1221
status = phy_status;
sys/dev/pci/ixgbe/ixgbe_82599.c
1223
return status;
sys/dev/pci/ixgbe/ixgbe_82599.c
2173
s32 status;
sys/dev/pci/ixgbe/ixgbe_82599.c
2178
status = ixgbe_identify_phy_generic(hw);
sys/dev/pci/ixgbe/ixgbe_82599.c
2179
if (status != IXGBE_SUCCESS) {
sys/dev/pci/ixgbe/ixgbe_82599.c
2182
return status;
sys/dev/pci/ixgbe/ixgbe_82599.c
2184
status = ixgbe_identify_module_generic(hw);
sys/dev/pci/ixgbe/ixgbe_82599.c
2197
return status;
sys/dev/pci/ixgbe/ixgbe_82599.c
2330
s32 status = IXGBE_ERR_EEPROM_VERSION;
sys/dev/pci/ixgbe/ixgbe_82599.c
2338
status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_82599.c
2376
status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_82599.c
2379
return status;
sys/dev/pci/ixgbe/ixgbe_82599.c
2393
s32 status;
sys/dev/pci/ixgbe/ixgbe_82599.c
2398
status = hw->eeprom.ops.read(hw, IXGBE_FW_PTR, &fw_offset);
sys/dev/pci/ixgbe/ixgbe_82599.c
2400
if ((status != IXGBE_SUCCESS) ||
sys/dev/pci/ixgbe/ixgbe_82599.c
2405
status = hw->eeprom.ops.read(hw, (fw_offset +
sys/dev/pci/ixgbe/ixgbe_82599.c
2409
if ((status != IXGBE_SUCCESS) ||
sys/dev/pci/ixgbe/ixgbe_82599.c
2414
status = hw->eeprom.ops.read(hw, (fw_lesm_param_offset +
sys/dev/pci/ixgbe/ixgbe_82599.c
2418
if ((status == IXGBE_SUCCESS) &&
sys/dev/pci/ixgbe/ixgbe_82599.c
2557
s32 status;
sys/dev/pci/ixgbe/ixgbe_82599.c
2581
status = IXGBE_ERR_I2C;
sys/dev/pci/ixgbe/ixgbe_82599.c
2586
status = ixgbe_read_i2c_byte_generic(hw, byte_offset, dev_addr, data);
sys/dev/pci/ixgbe/ixgbe_82599.c
2598
return status;
sys/dev/pci/ixgbe/ixgbe_82599.c
2615
s32 status;
sys/dev/pci/ixgbe/ixgbe_82599.c
2639
status = IXGBE_ERR_I2C;
sys/dev/pci/ixgbe/ixgbe_82599.c
2644
status = ixgbe_write_i2c_byte_generic(hw, byte_offset, dev_addr, data);
sys/dev/pci/ixgbe/ixgbe_82599.c
2656
return status;
sys/dev/pci/ixgbe/ixgbe_82599.c
428
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_82599.c
506
status = IXGBE_ERR_LINK_SETUP;
sys/dev/pci/ixgbe/ixgbe_82599.c
525
return status;
sys/dev/pci/ixgbe/ixgbe_82599.c
629
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_82599.c
638
status = hw->mac.ops.acquire_swfw_sync(hw,
sys/dev/pci/ixgbe/ixgbe_82599.c
640
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_82599.c
669
status = IXGBE_ERR_AUTONEG_NOT_COMPLETE;
sys/dev/pci/ixgbe/ixgbe_82599.c
679
return status;
sys/dev/pci/ixgbe/ixgbe_82599.c
792
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_82599.c
822
status = ixgbe_setup_mac_link_82599(hw, speed,
sys/dev/pci/ixgbe/ixgbe_82599.c
824
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_82599.c
837
status = ixgbe_check_link(hw, &link_speed, &link_up,
sys/dev/pci/ixgbe/ixgbe_82599.c
839
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_82599.c
857
status = ixgbe_setup_mac_link_82599(hw, speed,
sys/dev/pci/ixgbe/ixgbe_82599.c
859
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_82599.c
872
status = ixgbe_check_link(hw, &link_speed, &link_up, FALSE);
sys/dev/pci/ixgbe/ixgbe_82599.c
873
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_82599.c
882
status = ixgbe_setup_mac_link_82599(hw, speed,
sys/dev/pci/ixgbe/ixgbe_82599.c
889
return status;
sys/dev/pci/ixgbe/ixgbe_82599.c
905
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_82599.c
919
status = ixgbe_get_link_capabilities(hw, &link_capabilities, &autoneg);
sys/dev/pci/ixgbe/ixgbe_82599.c
920
if (status)
sys/dev/pci/ixgbe/ixgbe_82599.c
981
status = hw->mac.ops.prot_autoc_write(hw, autoc, FALSE);
sys/dev/pci/ixgbe/ixgbe_82599.c
982
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_82599.c
999
status =
sys/dev/pci/ixgbe/ixgbe_api.c
104
status = ixgbe_init_ops_82598(hw);
sys/dev/pci/ixgbe/ixgbe_api.c
107
status = ixgbe_init_ops_82599(hw);
sys/dev/pci/ixgbe/ixgbe_api.c
110
status = ixgbe_init_ops_X540(hw);
sys/dev/pci/ixgbe/ixgbe_api.c
113
status = ixgbe_init_ops_X550(hw);
sys/dev/pci/ixgbe/ixgbe_api.c
116
status = ixgbe_init_ops_X550EM_x(hw);
sys/dev/pci/ixgbe/ixgbe_api.c
119
status = ixgbe_init_ops_X550EM_a(hw);
sys/dev/pci/ixgbe/ixgbe_api.c
122
status = IXGBE_ERR_DEVICE_NOT_SUPPORTED;
sys/dev/pci/ixgbe/ixgbe_api.c
127
return status;
sys/dev/pci/ixgbe/ixgbe_api.c
1375
s32 ixgbe_bypass_rw(struct ixgbe_hw *hw, u32 cmd, u32 *status)
sys/dev/pci/ixgbe/ixgbe_api.c
1377
return ixgbe_call_func(hw, hw->mac.ops.bypass_rw, (hw, cmd, status),
sys/dev/pci/ixgbe/ixgbe_api.c
480
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_api.c
483
status = ixgbe_call_func(hw, hw->phy.ops.identify, (hw),
sys/dev/pci/ixgbe/ixgbe_api.c
487
return status;
sys/dev/pci/ixgbe/ixgbe_api.c
496
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_api.c
500
status = IXGBE_ERR_PHY;
sys/dev/pci/ixgbe/ixgbe_api.c
503
if (status == IXGBE_SUCCESS) {
sys/dev/pci/ixgbe/ixgbe_api.c
504
status = ixgbe_call_func(hw, hw->phy.ops.reset, (hw),
sys/dev/pci/ixgbe/ixgbe_api.c
507
return status;
sys/dev/pci/ixgbe/ixgbe_api.c
517
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_api.c
519
status = ixgbe_call_func(hw, hw->phy.ops.get_firmware_version,
sys/dev/pci/ixgbe/ixgbe_api.c
522
return status;
sys/dev/pci/ixgbe/ixgbe_api.c
93
s32 status;
sys/dev/pci/ixgbe/ixgbe_api.h
203
s32 ixgbe_bypass_rw(struct ixgbe_hw *hw, u32 cmd, u32 *status);
sys/dev/pci/ixgbe/ixgbe_common.c
1334
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_common.c
1342
status = IXGBE_ERR_INVALID_ARGUMENT;
sys/dev/pci/ixgbe/ixgbe_common.c
1347
status = IXGBE_ERR_EEPROM;
sys/dev/pci/ixgbe/ixgbe_common.c
1367
status = ixgbe_write_eeprom_buffer_bit_bang(hw, offset + i,
sys/dev/pci/ixgbe/ixgbe_common.c
1370
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_common.c
1375
return status;
sys/dev/pci/ixgbe/ixgbe_common.c
1391
s32 status;
sys/dev/pci/ixgbe/ixgbe_common.c
1400
status = ixgbe_acquire_eeprom(hw);
sys/dev/pci/ixgbe/ixgbe_common.c
1402
if (status == IXGBE_SUCCESS) {
sys/dev/pci/ixgbe/ixgbe_common.c
1405
status = IXGBE_ERR_EEPROM;
sys/dev/pci/ixgbe/ixgbe_common.c
1409
if (status == IXGBE_SUCCESS) {
sys/dev/pci/ixgbe/ixgbe_common.c
1458
return status;
sys/dev/pci/ixgbe/ixgbe_common.c
1472
s32 status;
sys/dev/pci/ixgbe/ixgbe_common.c
1479
status = IXGBE_ERR_EEPROM;
sys/dev/pci/ixgbe/ixgbe_common.c
1483
status = ixgbe_write_eeprom_buffer_bit_bang(hw, offset, 1, &data);
sys/dev/pci/ixgbe/ixgbe_common.c
1486
return status;
sys/dev/pci/ixgbe/ixgbe_common.c
1501
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_common.c
1509
status = IXGBE_ERR_INVALID_ARGUMENT;
sys/dev/pci/ixgbe/ixgbe_common.c
1514
status = IXGBE_ERR_EEPROM;
sys/dev/pci/ixgbe/ixgbe_common.c
1527
status = ixgbe_read_eeprom_buffer_bit_bang(hw, offset + i,
sys/dev/pci/ixgbe/ixgbe_common.c
1530
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_common.c
1535
return status;
sys/dev/pci/ixgbe/ixgbe_common.c
1550
s32 status;
sys/dev/pci/ixgbe/ixgbe_common.c
1558
status = ixgbe_acquire_eeprom(hw);
sys/dev/pci/ixgbe/ixgbe_common.c
1560
if (status == IXGBE_SUCCESS) {
sys/dev/pci/ixgbe/ixgbe_common.c
1563
status = IXGBE_ERR_EEPROM;
sys/dev/pci/ixgbe/ixgbe_common.c
1567
if (status == IXGBE_SUCCESS) {
sys/dev/pci/ixgbe/ixgbe_common.c
1593
return status;
sys/dev/pci/ixgbe/ixgbe_common.c
1607
s32 status;
sys/dev/pci/ixgbe/ixgbe_common.c
1614
status = IXGBE_ERR_EEPROM;
sys/dev/pci/ixgbe/ixgbe_common.c
1618
status = ixgbe_read_eeprom_buffer_bit_bang(hw, offset, 1, data);
sys/dev/pci/ixgbe/ixgbe_common.c
1621
return status;
sys/dev/pci/ixgbe/ixgbe_common.c
1637
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_common.c
1645
status = IXGBE_ERR_INVALID_ARGUMENT;
sys/dev/pci/ixgbe/ixgbe_common.c
1651
status = IXGBE_ERR_EEPROM;
sys/dev/pci/ixgbe/ixgbe_common.c
1661
status = ixgbe_poll_eerd_eewr_done(hw, IXGBE_NVM_POLL_READ);
sys/dev/pci/ixgbe/ixgbe_common.c
1663
if (status == IXGBE_SUCCESS) {
sys/dev/pci/ixgbe/ixgbe_common.c
1672
return status;
sys/dev/pci/ixgbe/ixgbe_common.c
1688
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_common.c
1697
status = ixgbe_write_eeprom_buffer_bit_bang(hw, offset,
sys/dev/pci/ixgbe/ixgbe_common.c
1700
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_common.c
1703
status = ixgbe_read_eeprom_buffer_bit_bang(hw, offset, 1, data);
sys/dev/pci/ixgbe/ixgbe_common.c
1704
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_common.c
1716
return status;
sys/dev/pci/ixgbe/ixgbe_common.c
1745
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_common.c
1753
status = IXGBE_ERR_INVALID_ARGUMENT;
sys/dev/pci/ixgbe/ixgbe_common.c
1759
status = IXGBE_ERR_EEPROM;
sys/dev/pci/ixgbe/ixgbe_common.c
1769
status = ixgbe_poll_eerd_eewr_done(hw, IXGBE_NVM_POLL_WRITE);
sys/dev/pci/ixgbe/ixgbe_common.c
1770
if (status != IXGBE_SUCCESS) {
sys/dev/pci/ixgbe/ixgbe_common.c
1777
status = ixgbe_poll_eerd_eewr_done(hw, IXGBE_NVM_POLL_WRITE);
sys/dev/pci/ixgbe/ixgbe_common.c
1778
if (status != IXGBE_SUCCESS) {
sys/dev/pci/ixgbe/ixgbe_common.c
1785
return status;
sys/dev/pci/ixgbe/ixgbe_common.c
1813
s32 status = IXGBE_ERR_EEPROM;
sys/dev/pci/ixgbe/ixgbe_common.c
1824
status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_common.c
1834
return status;
sys/dev/pci/ixgbe/ixgbe_common.c
1846
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_common.c
1854
status = IXGBE_ERR_SWFW_SYNC;
sys/dev/pci/ixgbe/ixgbe_common.c
1856
if (status == IXGBE_SUCCESS) {
sys/dev/pci/ixgbe/ixgbe_common.c
1877
status = IXGBE_ERR_EEPROM;
sys/dev/pci/ixgbe/ixgbe_common.c
1881
if (status == IXGBE_SUCCESS) {
sys/dev/pci/ixgbe/ixgbe_common.c
1889
return status;
sys/dev/pci/ixgbe/ixgbe_common.c
1900
s32 status = IXGBE_ERR_EEPROM;
sys/dev/pci/ixgbe/ixgbe_common.c
1915
status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_common.c
1940
status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_common.c
1944
if (status == IXGBE_SUCCESS) {
sys/dev/pci/ixgbe/ixgbe_common.c
1971
status = IXGBE_ERR_EEPROM;
sys/dev/pci/ixgbe/ixgbe_common.c
1979
return status;
sys/dev/pci/ixgbe/ixgbe_common.c
2008
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_common.c
2037
status = IXGBE_ERR_EEPROM;
sys/dev/pci/ixgbe/ixgbe_common.c
2040
return status;
sys/dev/pci/ixgbe/ixgbe_common.c
2301
s32 status;
sys/dev/pci/ixgbe/ixgbe_common.c
2311
status = hw->eeprom.ops.read(hw, 0, &checksum);
sys/dev/pci/ixgbe/ixgbe_common.c
2312
if (status) {
sys/dev/pci/ixgbe/ixgbe_common.c
2314
return status;
sys/dev/pci/ixgbe/ixgbe_common.c
2317
status = hw->eeprom.ops.calc_checksum(hw);
sys/dev/pci/ixgbe/ixgbe_common.c
2318
if (status < 0)
sys/dev/pci/ixgbe/ixgbe_common.c
2319
return status;
sys/dev/pci/ixgbe/ixgbe_common.c
2321
checksum = (u16)(status & 0xffff);
sys/dev/pci/ixgbe/ixgbe_common.c
2323
status = hw->eeprom.ops.read(hw, IXGBE_EEPROM_CHECKSUM, &read_checksum);
sys/dev/pci/ixgbe/ixgbe_common.c
2324
if (status) {
sys/dev/pci/ixgbe/ixgbe_common.c
2326
return status;
sys/dev/pci/ixgbe/ixgbe_common.c
2333
status = IXGBE_ERR_EEPROM_CHECKSUM;
sys/dev/pci/ixgbe/ixgbe_common.c
2339
return status;
sys/dev/pci/ixgbe/ixgbe_common.c
2348
s32 status;
sys/dev/pci/ixgbe/ixgbe_common.c
2357
status = hw->eeprom.ops.read(hw, 0, &checksum);
sys/dev/pci/ixgbe/ixgbe_common.c
2358
if (status) {
sys/dev/pci/ixgbe/ixgbe_common.c
2360
return status;
sys/dev/pci/ixgbe/ixgbe_common.c
2363
status = hw->eeprom.ops.calc_checksum(hw);
sys/dev/pci/ixgbe/ixgbe_common.c
2364
if (status < 0)
sys/dev/pci/ixgbe/ixgbe_common.c
2365
return status;
sys/dev/pci/ixgbe/ixgbe_common.c
2367
checksum = (u16)(status & 0xffff);
sys/dev/pci/ixgbe/ixgbe_common.c
2369
status = hw->eeprom.ops.write(hw, IXGBE_EEPROM_CHECKSUM, checksum);
sys/dev/pci/ixgbe/ixgbe_common.c
2371
return status;
sys/dev/pci/ixgbe/ixgbe_common.c
2382
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_common.c
2388
status = IXGBE_ERR_INVALID_MAC_ADDR;
sys/dev/pci/ixgbe/ixgbe_common.c
2391
status = IXGBE_ERR_INVALID_MAC_ADDR;
sys/dev/pci/ixgbe/ixgbe_common.c
2395
status = IXGBE_ERR_INVALID_MAC_ADDR;
sys/dev/pci/ixgbe/ixgbe_common.c
2397
return status;
sys/dev/pci/ixgbe/ixgbe_common.c
3247
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_common.c
3298
status = IXGBE_ERR_PRIMARY_REQUESTS_PENDING;
sys/dev/pci/ixgbe/ixgbe_common.c
3301
return status;
sys/dev/pci/ixgbe/ixgbe_common.c
4417
s32 status;
sys/dev/pci/ixgbe/ixgbe_common.c
4426
status = hw->eeprom.ops.read(hw, offset, &caps);
sys/dev/pci/ixgbe/ixgbe_common.c
4427
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_common.c
4434
status = hw->eeprom.ops.read(hw, IXGBE_ISCSI_FCOE_BLK_PTR, &offset);
sys/dev/pci/ixgbe/ixgbe_common.c
4435
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_common.c
4443
status = hw->eeprom.ops.read(hw, offset, &flags);
sys/dev/pci/ixgbe/ixgbe_common.c
4444
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_common.c
4453
return status;
sys/dev/pci/ixgbe/ixgbe_common.c
4677
s32 status;
sys/dev/pci/ixgbe/ixgbe_common.c
4689
status = hw->mac.ops.acquire_swfw_sync(hw, IXGBE_GSSR_SW_MNG_SM);
sys/dev/pci/ixgbe/ixgbe_common.c
4690
if (status)
sys/dev/pci/ixgbe/ixgbe_common.c
4691
return status;
sys/dev/pci/ixgbe/ixgbe_common.c
4693
status = ixgbe_hic_unlocked(hw, buffer, length, timeout);
sys/dev/pci/ixgbe/ixgbe_common.c
4694
if (status)
sys/dev/pci/ixgbe/ixgbe_common.c
4732
status = IXGBE_ERR_HOST_INTERFACE_COMMAND;
sys/dev/pci/ixgbe/ixgbe_common.c
4748
return status;
sys/dev/pci/ixgbe/ixgbe_common.c
4941
s32 ixgbe_bypass_rw_generic(struct ixgbe_hw *hw, u32 cmd, u32 *status)
sys/dev/pci/ixgbe/ixgbe_common.c
4947
if (!status)
sys/dev/pci/ixgbe/ixgbe_common.c
4950
*status = 0;
sys/dev/pci/ixgbe/ixgbe_common.c
501
s32 status;
sys/dev/pci/ixgbe/ixgbe_common.c
5020
*status = (*status << 1) | 0x01;
sys/dev/pci/ixgbe/ixgbe_common.c
5022
*status = (*status << 1) | 0x00;
sys/dev/pci/ixgbe/ixgbe_common.c
5038
*status = (*status & 0x3fffffff) | (cmd & 0xc0000000);
sys/dev/pci/ixgbe/ixgbe_common.c
506
status = hw->mac.ops.reset_hw(hw);
sys/dev/pci/ixgbe/ixgbe_common.c
508
if (status == IXGBE_SUCCESS || status == IXGBE_ERR_SFP_NOT_PRESENT) {
sys/dev/pci/ixgbe/ixgbe_common.c
510
status = hw->mac.ops.start_hw(hw);
sys/dev/pci/ixgbe/ixgbe_common.c
5154
u32 status;
sys/dev/pci/ixgbe/ixgbe_common.c
5160
if (ixgbe_bypass_rw_generic(hw, cmd, &status))
sys/dev/pci/ixgbe/ixgbe_common.c
5168
if (ixgbe_bypass_rw_generic(hw, cmd, &status))
sys/dev/pci/ixgbe/ixgbe_common.c
517
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_common.c
5171
*value = status & BYPASS_CTL2_DATA_M;
sys/dev/pci/ixgbe/ixgbe_common.c
518
DEBUGOUT1("Failed to initialize HW, STATUS = %d\n", status);
sys/dev/pci/ixgbe/ixgbe_common.c
520
return status;
sys/dev/pci/ixgbe/ixgbe_common.c
5402
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_common.c
5410
status = ixgbe_get_link_capabilities(hw, &link_speed, &autoneg);
sys/dev/pci/ixgbe/ixgbe_common.c
5411
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_common.c
5412
return status;
sys/dev/pci/ixgbe/ixgbe_common.c
5441
status = ixgbe_setup_mac_link(hw,
sys/dev/pci/ixgbe/ixgbe_common.c
5444
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_common.c
5445
return status;
sys/dev/pci/ixgbe/ixgbe_common.c
5459
status = ixgbe_check_link(hw, &link_speed,
sys/dev/pci/ixgbe/ixgbe_common.c
5461
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_common.c
5462
return status;
sys/dev/pci/ixgbe/ixgbe_common.c
5492
status = ixgbe_setup_mac_link(hw,
sys/dev/pci/ixgbe/ixgbe_common.c
5495
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_common.c
5496
return status;
sys/dev/pci/ixgbe/ixgbe_common.c
5505
status = ixgbe_check_link(hw, &link_speed, &link_up, FALSE);
sys/dev/pci/ixgbe/ixgbe_common.c
5506
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_common.c
5507
return status;
sys/dev/pci/ixgbe/ixgbe_common.c
5525
status = ixgbe_setup_mac_link_multispeed_fiber(hw,
sys/dev/pci/ixgbe/ixgbe_common.c
5539
return status;
sys/dev/pci/ixgbe/ixgbe_common.c
5552
s32 status;
sys/dev/pci/ixgbe/ixgbe_common.c
5569
status = hw->phy.ops.read_i2c_byte(hw, IXGBE_SFF_SFF_8472_OSCB,
sys/dev/pci/ixgbe/ixgbe_common.c
5572
if (status) {
sys/dev/pci/ixgbe/ixgbe_common.c
5579
status = hw->phy.ops.write_i2c_byte(hw, IXGBE_SFF_SFF_8472_OSCB,
sys/dev/pci/ixgbe/ixgbe_common.c
5582
if (status) {
sys/dev/pci/ixgbe/ixgbe_common.c
5588
status = hw->phy.ops.read_i2c_byte(hw, IXGBE_SFF_SFF_8472_ESCB,
sys/dev/pci/ixgbe/ixgbe_common.c
5591
if (status) {
sys/dev/pci/ixgbe/ixgbe_common.c
5598
status = hw->phy.ops.write_i2c_byte(hw, IXGBE_SFF_SFF_8472_ESCB,
sys/dev/pci/ixgbe/ixgbe_common.c
5601
if (status) {
sys/dev/pci/ixgbe/ixgbe_common.h
173
s32 ixgbe_bypass_rw_generic(struct ixgbe_hw *hw, u32 cmd, u32 *status);
sys/dev/pci/ixgbe/ixgbe_netmap.c
336
reclaim_tx = txd[nic_i].upper.fields.status & IXGBE_TXD_STAT_DD; // XXX cpu_to_le32 ?
sys/dev/pci/ixgbe/ixgbe_phy.c
1002
return status;
sys/dev/pci/ixgbe/ixgbe_phy.c
1017
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_phy.c
1037
status = hw->phy.ops.read_reg(hw,
sys/dev/pci/ixgbe/ixgbe_phy.c
1053
return status;
sys/dev/pci/ixgbe/ixgbe_phy.c
1064
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_phy.c
1120
return status;
sys/dev/pci/ixgbe/ixgbe_phy.c
1131
return status;
sys/dev/pci/ixgbe/ixgbe_phy.c
1142
s32 status;
sys/dev/pci/ixgbe/ixgbe_phy.c
1146
status = hw->phy.ops.read_reg(hw, TNX_FW_REV,
sys/dev/pci/ixgbe/ixgbe_phy.c
1150
return status;
sys/dev/pci/ixgbe/ixgbe_phy.c
1161
s32 status;
sys/dev/pci/ixgbe/ixgbe_phy.c
1165
status = hw->phy.ops.read_reg(hw, AQ_FW_REV,
sys/dev/pci/ixgbe/ixgbe_phy.c
1169
return status;
sys/dev/pci/ixgbe/ixgbe_phy.c
1326
s32 status = IXGBE_ERR_SFP_NOT_PRESENT;
sys/dev/pci/ixgbe/ixgbe_phy.c
1340
status = ixgbe_identify_sfp_module_generic(hw);
sys/dev/pci/ixgbe/ixgbe_phy.c
1344
status = ixgbe_identify_qsfp_module_generic(hw);
sys/dev/pci/ixgbe/ixgbe_phy.c
1349
status = IXGBE_ERR_SFP_NOT_PRESENT;
sys/dev/pci/ixgbe/ixgbe_phy.c
1353
return status;
sys/dev/pci/ixgbe/ixgbe_phy.c
1364
s32 status = IXGBE_ERR_PHY_ADDR_INVALID;
sys/dev/pci/ixgbe/ixgbe_phy.c
1379
status = IXGBE_ERR_SFP_NOT_PRESENT;
sys/dev/pci/ixgbe/ixgbe_phy.c
1386
status = hw->phy.ops.read_i2c_eeprom(hw,
sys/dev/pci/ixgbe/ixgbe_phy.c
1390
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_phy.c
1396
status = IXGBE_ERR_SFP_NOT_SUPPORTED;
sys/dev/pci/ixgbe/ixgbe_phy.c
1398
status = hw->phy.ops.read_i2c_eeprom(hw,
sys/dev/pci/ixgbe/ixgbe_phy.c
1402
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_phy.c
1405
status = hw->phy.ops.read_i2c_eeprom(hw,
sys/dev/pci/ixgbe/ixgbe_phy.c
1409
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_phy.c
1411
status = hw->phy.ops.read_i2c_eeprom(hw,
sys/dev/pci/ixgbe/ixgbe_phy.c
1415
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_phy.c
1516
status = hw->phy.ops.read_i2c_eeprom(hw,
sys/dev/pci/ixgbe/ixgbe_phy.c
1520
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_phy.c
1523
status = hw->phy.ops.read_i2c_eeprom(hw,
sys/dev/pci/ixgbe/ixgbe_phy.c
1527
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_phy.c
1530
status = hw->phy.ops.read_i2c_eeprom(hw,
sys/dev/pci/ixgbe/ixgbe_phy.c
1534
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_phy.c
1569
status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_phy.c
1592
status = IXGBE_ERR_SFP_NOT_SUPPORTED;
sys/dev/pci/ixgbe/ixgbe_phy.c
1598
status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_phy.c
1612
status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_phy.c
1616
status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_phy.c
1622
status = IXGBE_ERR_SFP_NOT_SUPPORTED;
sys/dev/pci/ixgbe/ixgbe_phy.c
1626
status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_phy.c
1631
if (status == IXGBE_ERR_SFP_NOT_SUPPORTED)
sys/dev/pci/ixgbe/ixgbe_phy.c
1633
return status;
sys/dev/pci/ixgbe/ixgbe_phy.c
1714
s32 status = IXGBE_ERR_PHY_ADDR_INVALID;
sys/dev/pci/ixgbe/ixgbe_phy.c
1731
status = IXGBE_ERR_SFP_NOT_PRESENT;
sys/dev/pci/ixgbe/ixgbe_phy.c
1738
status = hw->phy.ops.read_i2c_eeprom(hw, IXGBE_SFF_IDENTIFIER,
sys/dev/pci/ixgbe/ixgbe_phy.c
1741
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_phy.c
1746
status = IXGBE_ERR_SFP_NOT_SUPPORTED;
sys/dev/pci/ixgbe/ixgbe_phy.c
1752
status = hw->phy.ops.read_i2c_eeprom(hw, IXGBE_SFF_QSFP_10GBE_COMP,
sys/dev/pci/ixgbe/ixgbe_phy.c
1755
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_phy.c
1758
status = hw->phy.ops.read_i2c_eeprom(hw, IXGBE_SFF_QSFP_1GBE_COMP,
sys/dev/pci/ixgbe/ixgbe_phy.c
1761
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_phy.c
1814
status = IXGBE_ERR_SFP_NOT_SUPPORTED;
sys/dev/pci/ixgbe/ixgbe_phy.c
1833
status = hw->phy.ops.read_i2c_eeprom(hw,
sys/dev/pci/ixgbe/ixgbe_phy.c
1837
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_phy.c
1840
status = hw->phy.ops.read_i2c_eeprom(hw,
sys/dev/pci/ixgbe/ixgbe_phy.c
1844
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_phy.c
1847
status = hw->phy.ops.read_i2c_eeprom(hw,
sys/dev/pci/ixgbe/ixgbe_phy.c
1851
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_phy.c
1868
status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_phy.c
1872
status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_phy.c
1877
status = IXGBE_ERR_SFP_NOT_SUPPORTED;
sys/dev/pci/ixgbe/ixgbe_phy.c
1881
status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_phy.c
1888
return status;
sys/dev/pci/ixgbe/ixgbe_phy.c
2074
s32 status;
sys/dev/pci/ixgbe/ixgbe_phy.c
2095
status = ixgbe_clock_out_i2c_byte(hw, dev_addr);
sys/dev/pci/ixgbe/ixgbe_phy.c
2096
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_phy.c
2099
status = ixgbe_get_i2c_ack(hw);
sys/dev/pci/ixgbe/ixgbe_phy.c
2100
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_phy.c
2103
status = ixgbe_clock_out_i2c_byte(hw, byte_offset);
sys/dev/pci/ixgbe/ixgbe_phy.c
2104
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_phy.c
2107
status = ixgbe_get_i2c_ack(hw);
sys/dev/pci/ixgbe/ixgbe_phy.c
2108
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_phy.c
2114
status = ixgbe_clock_out_i2c_byte(hw, (dev_addr | 0x1));
sys/dev/pci/ixgbe/ixgbe_phy.c
2115
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_phy.c
2118
status = ixgbe_get_i2c_ack(hw);
sys/dev/pci/ixgbe/ixgbe_phy.c
2119
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_phy.c
2124
status = ixgbe_clock_out_i2c_bit(hw, nack);
sys/dev/pci/ixgbe/ixgbe_phy.c
2125
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_phy.c
2147
return status;
sys/dev/pci/ixgbe/ixgbe_phy.c
2198
s32 status;
sys/dev/pci/ixgbe/ixgbe_phy.c
2212
status = ixgbe_clock_out_i2c_byte(hw, dev_addr);
sys/dev/pci/ixgbe/ixgbe_phy.c
2213
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_phy.c
2216
status = ixgbe_get_i2c_ack(hw);
sys/dev/pci/ixgbe/ixgbe_phy.c
2217
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_phy.c
2220
status = ixgbe_clock_out_i2c_byte(hw, byte_offset);
sys/dev/pci/ixgbe/ixgbe_phy.c
2221
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_phy.c
2224
status = ixgbe_get_i2c_ack(hw);
sys/dev/pci/ixgbe/ixgbe_phy.c
2225
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_phy.c
2228
status = ixgbe_clock_out_i2c_byte(hw, data);
sys/dev/pci/ixgbe/ixgbe_phy.c
2229
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_phy.c
2232
status = ixgbe_get_i2c_ack(hw);
sys/dev/pci/ixgbe/ixgbe_phy.c
2233
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_phy.c
2253
return status;
sys/dev/pci/ixgbe/ixgbe_phy.c
2391
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_phy.c
2400
status = ixgbe_clock_out_i2c_bit(hw, bit);
sys/dev/pci/ixgbe/ixgbe_phy.c
2402
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_phy.c
2413
return status;
sys/dev/pci/ixgbe/ixgbe_phy.c
2425
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_phy.c
2457
status = IXGBE_ERR_I2C;
sys/dev/pci/ixgbe/ixgbe_phy.c
2465
return status;
sys/dev/pci/ixgbe/ixgbe_phy.c
2511
s32 status;
sys/dev/pci/ixgbe/ixgbe_phy.c
2516
status = ixgbe_set_i2c_data(hw, &i2cctl, data);
sys/dev/pci/ixgbe/ixgbe_phy.c
2517
if (status == IXGBE_SUCCESS) {
sys/dev/pci/ixgbe/ixgbe_phy.c
2530
status = IXGBE_ERR_I2C;
sys/dev/pci/ixgbe/ixgbe_phy.c
2535
return status;
sys/dev/pci/ixgbe/ixgbe_phy.c
2608
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_phy.c
2635
status = IXGBE_ERR_I2C;
sys/dev/pci/ixgbe/ixgbe_phy.c
2641
return status;
sys/dev/pci/ixgbe/ixgbe_phy.c
2719
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_phy.c
2734
status = IXGBE_ERR_OVERTEMP;
sys/dev/pci/ixgbe/ixgbe_phy.c
2737
return status;
sys/dev/pci/ixgbe/ixgbe_phy.c
2747
u32 status;
sys/dev/pci/ixgbe/ixgbe_phy.c
2753
status = hw->phy.ops.read_reg(hw, IXGBE_MDIO_VENDOR_SPECIFIC_1_CONTROL,
sys/dev/pci/ixgbe/ixgbe_phy.c
2756
if (status)
sys/dev/pci/ixgbe/ixgbe_phy.c
2757
return status;
sys/dev/pci/ixgbe/ixgbe_phy.c
2767
status = hw->phy.ops.write_reg(hw, IXGBE_MDIO_VENDOR_SPECIFIC_1_CONTROL,
sys/dev/pci/ixgbe/ixgbe_phy.c
2770
return status;
sys/dev/pci/ixgbe/ixgbe_phy.c
331
s32 status = IXGBE_ERR_PHY_ADDR_INVALID;
sys/dev/pci/ixgbe/ixgbe_phy.c
358
status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_phy.c
367
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_phy.c
370
return status;
sys/dev/pci/ixgbe/ixgbe_phy.c
434
u32 status;
sys/dev/pci/ixgbe/ixgbe_phy.c
440
status = hw->phy.ops.read_reg(hw, IXGBE_MDIO_PHY_ID_HIGH,
sys/dev/pci/ixgbe/ixgbe_phy.c
444
if (status == IXGBE_SUCCESS) {
sys/dev/pci/ixgbe/ixgbe_phy.c
446
status = hw->phy.ops.read_reg(hw, IXGBE_MDIO_PHY_ID_LOW,
sys/dev/pci/ixgbe/ixgbe_phy.c
455
return status;
sys/dev/pci/ixgbe/ixgbe_phy.c
506
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_phy.c
511
status = ixgbe_identify_phy_generic(hw);
sys/dev/pci/ixgbe/ixgbe_phy.c
513
if (status != IXGBE_SUCCESS || hw->phy.type == ixgbe_phy_none)
sys/dev/pci/ixgbe/ixgbe_phy.c
541
status = hw->phy.ops.read_reg(hw,
sys/dev/pci/ixgbe/ixgbe_phy.c
545
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_phy.c
546
return status;
sys/dev/pci/ixgbe/ixgbe_phy.c
553
status = hw->phy.ops.read_reg(hw,
sys/dev/pci/ixgbe/ixgbe_phy.c
557
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_phy.c
558
return status;
sys/dev/pci/ixgbe/ixgbe_phy.c
568
status = IXGBE_ERR_RESET_FAILED;
sys/dev/pci/ixgbe/ixgbe_phy.c
574
return status;
sys/dev/pci/ixgbe/ixgbe_phy.c
670
s32 status;
sys/dev/pci/ixgbe/ixgbe_phy.c
678
status = hw->phy.ops.read_reg_mdi(hw, reg_addr, device_type, phy_data);
sys/dev/pci/ixgbe/ixgbe_phy.c
682
return status;
sys/dev/pci/ixgbe/ixgbe_phy.c
70
s32 status;
sys/dev/pci/ixgbe/ixgbe_phy.c
72
status = ixgbe_clock_out_i2c_byte(hw, byte);
sys/dev/pci/ixgbe/ixgbe_phy.c
73
if (status)
sys/dev/pci/ixgbe/ixgbe_phy.c
74
return status;
sys/dev/pci/ixgbe/ixgbe_phy.c
770
s32 status;
sys/dev/pci/ixgbe/ixgbe_phy.c
776
status = hw->phy.ops.write_reg_mdi(hw, reg_addr, device_type,
sys/dev/pci/ixgbe/ixgbe_phy.c
780
status = IXGBE_ERR_SWFW_SYNC;
sys/dev/pci/ixgbe/ixgbe_phy.c
783
return status;
sys/dev/pci/ixgbe/ixgbe_phy.c
794
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_phy.c
883
return status;
sys/dev/pci/ixgbe/ixgbe_phy.c
895
return status;
sys/dev/pci/ixgbe/ixgbe_phy.c
951
s32 status;
sys/dev/pci/ixgbe/ixgbe_phy.c
954
status = hw->phy.ops.read_reg(hw, IXGBE_MDIO_PHY_SPEED_ABILITY,
sys/dev/pci/ixgbe/ixgbe_phy.c
957
if (status)
sys/dev/pci/ixgbe/ixgbe_phy.c
958
return status;
sys/dev/pci/ixgbe/ixgbe_phy.c
980
return status;
sys/dev/pci/ixgbe/ixgbe_phy.c
993
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_phy.c
999
status = ixgbe_get_copper_speeds_supported(hw);
sys/dev/pci/ixgbe/ixgbe_type.h
3350
u8 status; /* Descriptor status */
sys/dev/pci/ixgbe/ixgbe_type.h
3367
__le32 status;
sys/dev/pci/ixgbe/ixgbe_type.h
3376
u8 status; /* Descriptor status */
sys/dev/pci/ixgbe/ixgbe_type.h
4106
s32 (*bypass_rw) (struct ixgbe_hw *hw, u32 cmd, u32 *status);
sys/dev/pci/ixgbe/ixgbe_vf.c
174
s32 status = hw->mac.ops.start_hw(hw);
sys/dev/pci/ixgbe/ixgbe_vf.c
178
return status;
sys/dev/pci/ixgbe/ixgbe_x540.c
220
s32 status;
sys/dev/pci/ixgbe/ixgbe_x540.c
227
status = hw->mac.ops.stop_adapter(hw);
sys/dev/pci/ixgbe/ixgbe_x540.c
228
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x540.c
235
status = hw->mac.ops.acquire_swfw_sync(hw, swfw_mask);
sys/dev/pci/ixgbe/ixgbe_x540.c
236
if (status != IXGBE_SUCCESS) {
sys/dev/pci/ixgbe/ixgbe_x540.c
238
"semaphore failed with %d", status);
sys/dev/pci/ixgbe/ixgbe_x540.c
256
status = IXGBE_ERR_RESET_FAILED;
sys/dev/pci/ixgbe/ixgbe_x540.c
310
return status;
sys/dev/pci/ixgbe/ixgbe_x540.c
409
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_x540.c
414
status = ixgbe_read_eerd_generic(hw, offset, data);
sys/dev/pci/ixgbe/ixgbe_x540.c
417
status = IXGBE_ERR_SWFW_SYNC;
sys/dev/pci/ixgbe/ixgbe_x540.c
420
return status;
sys/dev/pci/ixgbe/ixgbe_x540.c
435
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_x540.c
440
status = ixgbe_read_eerd_buffer_generic(hw, offset,
sys/dev/pci/ixgbe/ixgbe_x540.c
444
status = IXGBE_ERR_SWFW_SYNC;
sys/dev/pci/ixgbe/ixgbe_x540.c
447
return status;
sys/dev/pci/ixgbe/ixgbe_x540.c
460
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_x540.c
465
status = ixgbe_write_eewr_generic(hw, offset, data);
sys/dev/pci/ixgbe/ixgbe_x540.c
468
status = IXGBE_ERR_SWFW_SYNC;
sys/dev/pci/ixgbe/ixgbe_x540.c
471
return status;
sys/dev/pci/ixgbe/ixgbe_x540.c
486
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_x540.c
491
status = ixgbe_write_eewr_buffer_generic(hw, offset,
sys/dev/pci/ixgbe/ixgbe_x540.c
495
status = IXGBE_ERR_SWFW_SYNC;
sys/dev/pci/ixgbe/ixgbe_x540.c
498
return status;
sys/dev/pci/ixgbe/ixgbe_x540.c
590
s32 status;
sys/dev/pci/ixgbe/ixgbe_x540.c
600
status = hw->eeprom.ops.read(hw, 0, &checksum);
sys/dev/pci/ixgbe/ixgbe_x540.c
601
if (status) {
sys/dev/pci/ixgbe/ixgbe_x540.c
603
return status;
sys/dev/pci/ixgbe/ixgbe_x540.c
609
status = hw->eeprom.ops.calc_checksum(hw);
sys/dev/pci/ixgbe/ixgbe_x540.c
610
if (status < 0)
sys/dev/pci/ixgbe/ixgbe_x540.c
613
checksum = (u16)(status & 0xffff);
sys/dev/pci/ixgbe/ixgbe_x540.c
618
status = ixgbe_read_eerd_generic(hw, IXGBE_EEPROM_CHECKSUM,
sys/dev/pci/ixgbe/ixgbe_x540.c
620
if (status)
sys/dev/pci/ixgbe/ixgbe_x540.c
629
status = IXGBE_ERR_EEPROM_CHECKSUM;
sys/dev/pci/ixgbe/ixgbe_x540.c
639
return status;
sys/dev/pci/ixgbe/ixgbe_x540.c
652
s32 status;
sys/dev/pci/ixgbe/ixgbe_x540.c
661
status = hw->eeprom.ops.read(hw, 0, &checksum);
sys/dev/pci/ixgbe/ixgbe_x540.c
662
if (status) {
sys/dev/pci/ixgbe/ixgbe_x540.c
664
return status;
sys/dev/pci/ixgbe/ixgbe_x540.c
670
status = hw->eeprom.ops.calc_checksum(hw);
sys/dev/pci/ixgbe/ixgbe_x540.c
671
if (status < 0)
sys/dev/pci/ixgbe/ixgbe_x540.c
674
checksum = (u16)(status & 0xffff);
sys/dev/pci/ixgbe/ixgbe_x540.c
679
status = ixgbe_write_eewr_generic(hw, IXGBE_EEPROM_CHECKSUM, checksum);
sys/dev/pci/ixgbe/ixgbe_x540.c
680
if (status)
sys/dev/pci/ixgbe/ixgbe_x540.c
683
status = ixgbe_update_flash_X540(hw);
sys/dev/pci/ixgbe/ixgbe_x540.c
688
return status;
sys/dev/pci/ixgbe/ixgbe_x540.c
701
s32 status;
sys/dev/pci/ixgbe/ixgbe_x540.c
705
status = ixgbe_poll_flash_update_done_X540(hw);
sys/dev/pci/ixgbe/ixgbe_x540.c
706
if (status == IXGBE_ERR_EEPROM) {
sys/dev/pci/ixgbe/ixgbe_x540.c
714
status = ixgbe_poll_flash_update_done_X540(hw);
sys/dev/pci/ixgbe/ixgbe_x540.c
715
if (status == IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x540.c
728
status = ixgbe_poll_flash_update_done_X540(hw);
sys/dev/pci/ixgbe/ixgbe_x540.c
729
if (status == IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x540.c
735
return status;
sys/dev/pci/ixgbe/ixgbe_x540.c
749
s32 status = IXGBE_ERR_EEPROM;
sys/dev/pci/ixgbe/ixgbe_x540.c
756
status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_x540.c
766
return status;
sys/dev/pci/ixgbe/ixgbe_x540.c
901
s32 status = IXGBE_ERR_EEPROM;
sys/dev/pci/ixgbe/ixgbe_x540.c
916
status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_x540.c
923
if (status == IXGBE_SUCCESS) {
sys/dev/pci/ixgbe/ixgbe_x540.c
940
status = IXGBE_ERR_EEPROM;
sys/dev/pci/ixgbe/ixgbe_x540.c
948
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
1401
s32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
1410
status = ixgbe_host_interface_command(hw, (u32 *)&token_cmd,
sys/dev/pci/ixgbe/ixgbe_x550.c
1414
if (status) {
sys/dev/pci/ixgbe/ixgbe_x550.c
1416
status);
sys/dev/pci/ixgbe/ixgbe_x550.c
1417
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
1439
s32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
1448
status = ixgbe_host_interface_command(hw, (u32 *)&token_cmd,
sys/dev/pci/ixgbe/ixgbe_x550.c
1452
if (status)
sys/dev/pci/ixgbe/ixgbe_x550.c
1453
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
1473
s32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
1485
status = ixgbe_host_interface_command(hw, (u32 *)&write_cmd,
sys/dev/pci/ixgbe/ixgbe_x550.c
1489
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
1506
s32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
151
s32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
1517
status = ixgbe_host_interface_command(hw, (u32 *)&hic.cmd,
sys/dev/pci/ixgbe/ixgbe_x550.c
1524
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
153
status = ixgbe_read_i2c_byte_unlocked(hw, reg, IXGBE_PE, value);
sys/dev/pci/ixgbe/ixgbe_x550.c
154
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
156
"port expander access failed with %d\n", status);
sys/dev/pci/ixgbe/ixgbe_x550.c
157
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
170
s32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
172
status = ixgbe_write_i2c_byte_unlocked(hw, reg, IXGBE_PE, value);
sys/dev/pci/ixgbe/ixgbe_x550.c
173
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
175
"port expander access failed with %d\n", status);
sys/dev/pci/ixgbe/ixgbe_x550.c
176
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
1763
s32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
1768
status = ixgbe_identify_module_generic(hw);
sys/dev/pci/ixgbe/ixgbe_x550.c
1770
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
1771
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
1774
status = ixgbe_supported_sfp_modules_X550em(hw, &linear);
sys/dev/pci/ixgbe/ixgbe_x550.c
1776
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
1785
s32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
1791
status = ixgbe_supported_sfp_modules_X550em(hw, &linear);
sys/dev/pci/ixgbe/ixgbe_x550.c
1793
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
1794
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
1809
s32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
1813
status = hw->mac.ops.read_iosf_sb_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
1817
if (status) {
sys/dev/pci/ixgbe/ixgbe_x550.c
1819
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
1823
status = hw->mac.ops.write_iosf_sb_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
1831
status = hw->mac.ops.read_iosf_sb_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
1835
if (status) {
sys/dev/pci/ixgbe/ixgbe_x550.c
1837
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
1841
status = hw->mac.ops.write_iosf_sb_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
1846
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
188
s32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
194
status = ixgbe_read_pe(hw, IXGBE_PE_OUTPUT, ®);
sys/dev/pci/ixgbe/ixgbe_x550.c
195
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
196
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
198
status = ixgbe_write_pe(hw, IXGBE_PE_OUTPUT, reg);
sys/dev/pci/ixgbe/ixgbe_x550.c
199
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
200
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
202
status = ixgbe_read_pe(hw, IXGBE_PE_CONFIG, ®);
sys/dev/pci/ixgbe/ixgbe_x550.c
203
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
204
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
206
status = ixgbe_write_pe(hw, IXGBE_PE_CONFIG, reg);
sys/dev/pci/ixgbe/ixgbe_x550.c
207
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
208
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
210
status = ixgbe_read_pe(hw, IXGBE_PE_OUTPUT, ®);
sys/dev/pci/ixgbe/ixgbe_x550.c
211
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
212
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
2139
u32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
214
status = ixgbe_write_pe(hw, IXGBE_PE_OUTPUT, reg);
sys/dev/pci/ixgbe/ixgbe_x550.c
2145
status = hw->phy.ops.read_reg(hw, IXGBE_MDIO_GLOBAL_CHIP_STD_INT_FLAG,
sys/dev/pci/ixgbe/ixgbe_x550.c
2149
if (status != IXGBE_SUCCESS ||
sys/dev/pci/ixgbe/ixgbe_x550.c
215
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
2151
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
2154
status = hw->phy.ops.read_reg(hw, IXGBE_MDIO_GLOBAL_INT_CHIP_VEN_FLAG,
sys/dev/pci/ixgbe/ixgbe_x550.c
2158
if (status != IXGBE_SUCCESS ||
sys/dev/pci/ixgbe/ixgbe_x550.c
216
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
2161
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
2164
status = hw->phy.ops.read_reg(hw, IXGBE_MDIO_GLOBAL_ALARM_1,
sys/dev/pci/ixgbe/ixgbe_x550.c
2168
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
2169
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
2178
status = hw->phy.ops.read_reg(hw, IXGBE_MDIO_GLOBAL_FAULT_MSG,
sys/dev/pci/ixgbe/ixgbe_x550.c
2182
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
2183
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
2194
status = hw->phy.ops.read_reg(hw, IXGBE_MDIO_GLOBAL_CHIP_STD_INT_FLAG,
sys/dev/pci/ixgbe/ixgbe_x550.c
2197
if (status != IXGBE_SUCCESS ||
sys/dev/pci/ixgbe/ixgbe_x550.c
2199
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
220
status = ixgbe_read_pe(hw, IXGBE_PE_OUTPUT, ®);
sys/dev/pci/ixgbe/ixgbe_x550.c
2202
status = hw->phy.ops.read_reg(hw, IXGBE_MDIO_AUTO_NEG_VENDOR_TX_ALARM2,
sys/dev/pci/ixgbe/ixgbe_x550.c
2205
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
2206
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
221
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
222
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
2226
u32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
2231
status = ixgbe_get_lasi_ext_t_x550em(hw, &lsc);
sys/dev/pci/ixgbe/ixgbe_x550.c
224
status = ixgbe_write_pe(hw, IXGBE_PE_OUTPUT, reg);
sys/dev/pci/ixgbe/ixgbe_x550.c
2244
status = hw->phy.ops.read_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
2248
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
2249
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
225
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
2253
status = hw->phy.ops.write_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
2257
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
2258
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
226
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
2262
status = hw->phy.ops.read_reg(hw, IXGBE_MDIO_GLOBAL_INT_MASK,
sys/dev/pci/ixgbe/ixgbe_x550.c
2266
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
2267
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
2272
status = hw->phy.ops.write_reg(hw, IXGBE_MDIO_GLOBAL_INT_MASK,
sys/dev/pci/ixgbe/ixgbe_x550.c
2276
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
2277
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
2280
status = hw->phy.ops.read_reg(hw, IXGBE_MDIO_GLOBAL_INT_CHIP_VEN_MASK,
sys/dev/pci/ixgbe/ixgbe_x550.c
2284
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
2285
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
2290
status = hw->phy.ops.write_reg(hw, IXGBE_MDIO_GLOBAL_INT_CHIP_VEN_MASK,
sys/dev/pci/ixgbe/ixgbe_x550.c
2294
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
2295
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
2298
status = hw->phy.ops.read_reg(hw, IXGBE_MDIO_GLOBAL_INT_CHIP_STD_MASK,
sys/dev/pci/ixgbe/ixgbe_x550.c
2302
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
2303
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
2307
status = hw->phy.ops.write_reg(hw, IXGBE_MDIO_GLOBAL_INT_CHIP_STD_MASK,
sys/dev/pci/ixgbe/ixgbe_x550.c
231
status = ixgbe_read_cs4227(hw, IXGBE_CS4227_EFUSE_STATUS,
sys/dev/pci/ixgbe/ixgbe_x550.c
2311
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
2324
s32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
2327
status = hw->mac.ops.read_iosf_sb_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
233
if (status == IXGBE_SUCCESS &&
sys/dev/pci/ixgbe/ixgbe_x550.c
2330
if (status)
sys/dev/pci/ixgbe/ixgbe_x550.c
2331
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
2345
status = hw->mac.ops.write_iosf_sb_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
2351
status = hw->mac.ops.read_iosf_sb_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
2355
if (status)
sys/dev/pci/ixgbe/ixgbe_x550.c
2356
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
2364
status = hw->mac.ops.write_iosf_sb_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
244
status = ixgbe_read_cs4227(hw, IXGBE_CS4227_EEPROM_STATUS, &value);
sys/dev/pci/ixgbe/ixgbe_x550.c
245
if (status != IXGBE_SUCCESS ||
sys/dev/pci/ixgbe/ixgbe_x550.c
2608
s32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
261
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_x550.c
2618
status = hw->mac.ops.stop_adapter(hw);
sys/dev/pci/ixgbe/ixgbe_x550.c
2619
if (status != IXGBE_SUCCESS) {
sys/dev/pci/ixgbe/ixgbe_x550.c
2620
DEBUGOUT1("Failed to stop adapter, STATUS = %d\n", status);
sys/dev/pci/ixgbe/ixgbe_x550.c
2621
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
2633
status);
sys/dev/pci/ixgbe/ixgbe_x550.c
2643
status = ixgbe_init_ext_t_x550em(hw);
sys/dev/pci/ixgbe/ixgbe_x550.c
2644
if (status) {
sys/dev/pci/ixgbe/ixgbe_x550.c
2646
status);
sys/dev/pci/ixgbe/ixgbe_x550.c
2647
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
267
status = hw->mac.ops.acquire_swfw_sync(hw, swfw_mask);
sys/dev/pci/ixgbe/ixgbe_x550.c
2679
status = hw->mac.ops.acquire_swfw_sync(hw, swfw_mask);
sys/dev/pci/ixgbe/ixgbe_x550.c
268
if (status != IXGBE_SUCCESS) {
sys/dev/pci/ixgbe/ixgbe_x550.c
2680
if (status != IXGBE_SUCCESS) {
sys/dev/pci/ixgbe/ixgbe_x550.c
2682
"semaphore failed with %d", status);
sys/dev/pci/ixgbe/ixgbe_x550.c
2699
status = IXGBE_ERR_RESET_FAILED;
sys/dev/pci/ixgbe/ixgbe_x550.c
270
"semaphore failed with %d", status);
sys/dev/pci/ixgbe/ixgbe_x550.c
2729
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
2730
DEBUGOUT1("Reset HW failed, STATUS = %d\n", status);
sys/dev/pci/ixgbe/ixgbe_x550.c
2733
status = phy_status;
sys/dev/pci/ixgbe/ixgbe_x550.c
2735
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
2744
u32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
2747
status = hw->phy.ops.read_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
2752
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
2753
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
2759
status = hw->phy.ops.read_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
276
status = ixgbe_read_cs4227(hw, IXGBE_CS4227_SCRATCH, &value);
sys/dev/pci/ixgbe/ixgbe_x550.c
2764
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
2765
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
2769
status = hw->phy.ops.write_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
2774
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
2775
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
2778
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
278
if (status == IXGBE_SUCCESS &&
sys/dev/pci/ixgbe/ixgbe_x550.c
282
if (status != IXGBE_SUCCESS ||
sys/dev/pci/ixgbe/ixgbe_x550.c
2853
s32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
2857
status = mac->ops.read_iosf_sb_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
2860
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
2861
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
2884
status = mac->ops.write_iosf_sb_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
2889
status = ixgbe_restart_an_internal_phy_x550em(hw);
sys/dev/pci/ixgbe/ixgbe_x550.c
2891
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
293
status = hw->mac.ops.acquire_swfw_sync(hw, swfw_mask);
sys/dev/pci/ixgbe/ixgbe_x550.c
294
if (status != IXGBE_SUCCESS) {
sys/dev/pci/ixgbe/ixgbe_x550.c
296
"semaphore failed with %d", status);
sys/dev/pci/ixgbe/ixgbe_x550.c
3008
s32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3012
status = mac->ops.read_iosf_sb_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
3015
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
3016
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3018
status = mac->ops.write_iosf_sb_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
302
status = ixgbe_reset_cs4227(hw);
sys/dev/pci/ixgbe/ixgbe_x550.c
3021
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
3022
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3025
status = mac->ops.read_iosf_sb_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
3028
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
3029
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
303
if (status != IXGBE_SUCCESS) {
sys/dev/pci/ixgbe/ixgbe_x550.c
3033
status = mac->ops.write_iosf_sb_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
3036
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
3037
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3038
status = mac->ops.read_iosf_sb_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
3041
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
3042
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3046
status = mac->ops.write_iosf_sb_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
3049
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
305
"CS4227 reset failed: %d", status);
sys/dev/pci/ixgbe/ixgbe_x550.c
3050
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3053
status = mac->ops.read_iosf_sb_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
3056
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
3057
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3062
status = mac->ops.write_iosf_sb_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
3065
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3079
s32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3087
status = mac->ops.read_iosf_sb_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
3090
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
3091
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3109
status = mac->ops.write_iosf_sb_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
3112
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
3113
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3117
status = ixgbe_setup_ixfi_x550em_x(hw);
sys/dev/pci/ixgbe/ixgbe_x550.c
3118
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
3119
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3123
status = ixgbe_restart_an_internal_phy_x550em(hw);
sys/dev/pci/ixgbe/ixgbe_x550.c
3125
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
316
status = hw->mac.ops.acquire_swfw_sync(hw, swfw_mask);
sys/dev/pci/ixgbe/ixgbe_x550.c
317
if (status != IXGBE_SUCCESS) {
sys/dev/pci/ixgbe/ixgbe_x550.c
3176
u32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3185
status = ixgbe_ext_phy_t_x550em_get_link(hw, &link_up);
sys/dev/pci/ixgbe/ixgbe_x550.c
3186
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
3187
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
319
"semaphore failed with %d", status);
sys/dev/pci/ixgbe/ixgbe_x550.c
3192
status = hw->phy.ops.read_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
3196
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
3197
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3200
status = ixgbe_ext_phy_t_x550em_get_link(hw, &link_up);
sys/dev/pci/ixgbe/ixgbe_x550.c
3201
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
3202
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3237
s32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
324
status = ixgbe_write_cs4227(hw, IXGBE_CS4227_SCRATCH,
sys/dev/pci/ixgbe/ixgbe_x550.c
3241
status = hw->mac.ops.read_iosf_sb_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
3244
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
3245
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3249
status = hw->mac.ops.write_iosf_sb_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
3252
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
3253
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3256
status = hw->mac.ops.read_iosf_sb_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
3259
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
3260
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3263
status = hw->mac.ops.write_iosf_sb_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
3266
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
3267
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3270
status = hw->mac.ops.read_iosf_sb_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
3273
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
3274
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3276
status = hw->mac.ops.write_iosf_sb_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
3279
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
3280
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3283
status = hw->mac.ops.read_iosf_sb_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
3286
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
3287
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3289
status = hw->mac.ops.write_iosf_sb_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
3293
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3309
s32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3325
status = hw->mac.ops.acquire_swfw_sync(hw, mask);
sys/dev/pci/ixgbe/ixgbe_x550.c
3326
if (status)
sys/dev/pci/ixgbe/ixgbe_x550.c
3327
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3329
status = ixgbe_hic_unlocked(hw, (u32 *)&buffer, sizeof(buffer),
sys/dev/pci/ixgbe/ixgbe_x550.c
3331
if (!status) {
sys/dev/pci/ixgbe/ixgbe_x550.c
3337
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3356
s32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3362
status = hw->mac.ops.acquire_swfw_sync(hw, mask);
sys/dev/pci/ixgbe/ixgbe_x550.c
3363
if (status) {
sys/dev/pci/ixgbe/ixgbe_x550.c
3365
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3386
status = ixgbe_hic_unlocked(hw, (u32 *)&buffer, sizeof(buffer),
sys/dev/pci/ixgbe/ixgbe_x550.c
3389
if (status) {
sys/dev/pci/ixgbe/ixgbe_x550.c
3413
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3427
s32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3442
status = ixgbe_host_interface_command(hw, (u32 *)&buffer,
sys/dev/pci/ixgbe/ixgbe_x550.c
3445
if (status != IXGBE_SUCCESS) {
sys/dev/pci/ixgbe/ixgbe_x550.c
3447
offset, status);
sys/dev/pci/ixgbe/ixgbe_x550.c
3448
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3456
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3470
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_x550.c
3476
status = ixgbe_write_ee_hostif_data_X550(hw, offset, data);
sys/dev/pci/ixgbe/ixgbe_x550.c
3480
status = IXGBE_ERR_SWFW_SYNC;
sys/dev/pci/ixgbe/ixgbe_x550.c
3483
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3498
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_x550.c
3504
status = hw->mac.ops.acquire_swfw_sync(hw, IXGBE_GSSR_EEP_SM);
sys/dev/pci/ixgbe/ixgbe_x550.c
3505
if (status != IXGBE_SUCCESS) {
sys/dev/pci/ixgbe/ixgbe_x550.c
3511
status = ixgbe_write_ee_hostif_data_X550(hw, offset + i,
sys/dev/pci/ixgbe/ixgbe_x550.c
3514
if (status != IXGBE_SUCCESS) {
sys/dev/pci/ixgbe/ixgbe_x550.c
3523
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3542
s32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3550
status = ixgbe_read_ee_hostif_buffer_X550(hw, ptr, bufsz, buf);
sys/dev/pci/ixgbe/ixgbe_x550.c
3551
if (status) {
sys/dev/pci/ixgbe/ixgbe_x550.c
3553
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3586
status = ixgbe_read_ee_hostif_buffer_X550(hw, ptr,
sys/dev/pci/ixgbe/ixgbe_x550.c
3588
if (status) {
sys/dev/pci/ixgbe/ixgbe_x550.c
3590
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3610
s32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3620
status = ixgbe_read_ee_hostif_buffer_X550(hw, 0,
sys/dev/pci/ixgbe/ixgbe_x550.c
3623
if (status) {
sys/dev/pci/ixgbe/ixgbe_x550.c
3625
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3670
status = ixgbe_checksum_ptr_x550(hw, pointer, size, &checksum,
sys/dev/pci/ixgbe/ixgbe_x550.c
3672
if (status)
sys/dev/pci/ixgbe/ixgbe_x550.c
3673
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3702
s32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3712
status = hw->eeprom.ops.read(hw, 0, &checksum);
sys/dev/pci/ixgbe/ixgbe_x550.c
3713
if (status) {
sys/dev/pci/ixgbe/ixgbe_x550.c
3715
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3718
status = hw->eeprom.ops.calc_checksum(hw);
sys/dev/pci/ixgbe/ixgbe_x550.c
3719
if (status < 0)
sys/dev/pci/ixgbe/ixgbe_x550.c
3720
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3722
checksum = (u16)(status & 0xffff);
sys/dev/pci/ixgbe/ixgbe_x550.c
3724
status = ixgbe_read_ee_hostif_X550(hw, IXGBE_EEPROM_CHECKSUM,
sys/dev/pci/ixgbe/ixgbe_x550.c
3726
if (status)
sys/dev/pci/ixgbe/ixgbe_x550.c
3727
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3733
status = IXGBE_ERR_EEPROM_CHECKSUM;
sys/dev/pci/ixgbe/ixgbe_x550.c
3742
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3755
s32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3764
status = ixgbe_read_ee_hostif_X550(hw, 0, &checksum);
sys/dev/pci/ixgbe/ixgbe_x550.c
3765
if (status) {
sys/dev/pci/ixgbe/ixgbe_x550.c
3767
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3770
status = ixgbe_calc_eeprom_checksum_X550(hw);
sys/dev/pci/ixgbe/ixgbe_x550.c
3771
if (status < 0)
sys/dev/pci/ixgbe/ixgbe_x550.c
3772
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3774
checksum = (u16)(status & 0xffff);
sys/dev/pci/ixgbe/ixgbe_x550.c
3776
status = ixgbe_write_ee_hostif_X550(hw, IXGBE_EEPROM_CHECKSUM,
sys/dev/pci/ixgbe/ixgbe_x550.c
3778
if (status)
sys/dev/pci/ixgbe/ixgbe_x550.c
3779
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3781
status = ixgbe_update_flash_X550(hw);
sys/dev/pci/ixgbe/ixgbe_x550.c
3783
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3794
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_x550.c
3804
status = ixgbe_host_interface_command(hw, (u32 *)&buffer,
sys/dev/pci/ixgbe/ixgbe_x550.c
3808
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3912
s32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3933
status = ixgbe_host_interface_command(hw, (u32 *)&fw_cmd,
sys/dev/pci/ixgbe/ixgbe_x550.c
3938
if (status) {
sys/dev/pci/ixgbe/ixgbe_x550.c
3959
s32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3974
status = ixgbe_ext_phy_t_x550em_get_link(hw, &link_up);
sys/dev/pci/ixgbe/ixgbe_x550.c
3975
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
3976
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3978
status = ixgbe_read_eeprom(hw, NVM_INIT_CTRL_3, &hw->eeprom.ctrl_word_3);
sys/dev/pci/ixgbe/ixgbe_x550.c
3980
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
3981
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3991
status = ixgbe_get_lcd_t_x550em(hw, &lcd_speed);
sys/dev/pci/ixgbe/ixgbe_x550.c
3993
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
3994
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
4000
status = hw->phy.ops.read_reg(hw, IXGBE_MDIO_AUTO_NEG_VENDOR_STAT,
sys/dev/pci/ixgbe/ixgbe_x550.c
4004
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
4005
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
4008
status = ixgbe_ext_phy_t_x550em_get_link(hw, &link_up);
sys/dev/pci/ixgbe/ixgbe_x550.c
4009
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
4020
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
4023
status = hw->phy.ops.read_reg(hw, IXGBE_MDIO_AUTO_NEG_VENDOR_TX_ALARM,
sys/dev/pci/ixgbe/ixgbe_x550.c
4027
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
4028
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
4030
status = hw->phy.ops.read_reg(hw, IXGBE_MII_10GBASE_T_AUTONEG_CTRL_REG,
sys/dev/pci/ixgbe/ixgbe_x550.c
4034
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
4035
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
4037
status = hw->phy.ops.read_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
4042
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
4043
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
4048
status = hw->mac.ops.setup_link(hw, lcd_speed, FALSE);
sys/dev/pci/ixgbe/ixgbe_x550.c
4053
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
4066
s32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
4071
status = hw->phy.ops.read_reg(hw, IXGBE_AUTO_NEG_LP_STATUS,
sys/dev/pci/ixgbe/ixgbe_x550.c
4075
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
4076
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
4081
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
4087
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
4091
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
4193
s32 status = IXGBE_ERR_FC_NOT_NEGOTIATED;
sys/dev/pci/ixgbe/ixgbe_x550.c
4215
status = hw->mac.ops.read_iosf_sb_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
4219
if (status != IXGBE_SUCCESS ||
sys/dev/pci/ixgbe/ixgbe_x550.c
4222
status = IXGBE_ERR_FC_NOT_NEGOTIATED;
sys/dev/pci/ixgbe/ixgbe_x550.c
4229
status = hw->mac.ops.read_iosf_sb_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
4233
if (status != IXGBE_SUCCESS) {
sys/dev/pci/ixgbe/ixgbe_x550.c
4238
status = hw->mac.ops.read_iosf_sb_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
4242
if (status != IXGBE_SUCCESS) {
sys/dev/pci/ixgbe/ixgbe_x550.c
4247
status = ixgbe_negotiate_fc(hw, an_cntl_1, lp_an_page_low,
sys/dev/pci/ixgbe/ixgbe_x550.c
4254
if (status == IXGBE_SUCCESS) {
sys/dev/pci/ixgbe/ixgbe_x550.c
4281
s32 status = IXGBE_ERR_FC_NOT_NEGOTIATED;
sys/dev/pci/ixgbe/ixgbe_x550.c
4304
status = ixgbe_fw_phy_activity(hw, FW_PHY_ACT_GET_LINK_INFO, &info);
sys/dev/pci/ixgbe/ixgbe_x550.c
4305
if (status != IXGBE_SUCCESS ||
sys/dev/pci/ixgbe/ixgbe_x550.c
4308
status = IXGBE_ERR_FC_NOT_NEGOTIATED;
sys/dev/pci/ixgbe/ixgbe_x550.c
4313
status = ixgbe_negotiate_fc(hw, info[0], info[0],
sys/dev/pci/ixgbe/ixgbe_x550.c
4320
if (status == IXGBE_SUCCESS) {
sys/dev/pci/ixgbe/ixgbe_x550.c
4336
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_x550.c
4355
status = hw->mac.ops.read_iosf_sb_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
4359
if (status != IXGBE_SUCCESS) {
sys/dev/pci/ixgbe/ixgbe_x550.c
4361
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
4406
status = hw->mac.ops.write_iosf_sb_reg(hw,
sys/dev/pci/ixgbe/ixgbe_x550.c
4411
status = ixgbe_restart_an_internal_phy_x550em(hw);
sys/dev/pci/ixgbe/ixgbe_x550.c
4413
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
4445
s32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
4449
status = ixgbe_acquire_swfw_sync_X540(hw, mask);
sys/dev/pci/ixgbe/ixgbe_x550.c
4450
if (status)
sys/dev/pci/ixgbe/ixgbe_x550.c
4451
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
4487
s32 status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_x550.c
4492
status = IXGBE_SUCCESS;
sys/dev/pci/ixgbe/ixgbe_x550.c
4494
status = ixgbe_acquire_swfw_sync_X540(hw, hmask);
sys/dev/pci/ixgbe/ixgbe_x550.c
4495
if (status) {
sys/dev/pci/ixgbe/ixgbe_x550.c
4497
status);
sys/dev/pci/ixgbe/ixgbe_x550.c
4498
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
4503
status = ixgbe_get_phy_token(hw);
sys/dev/pci/ixgbe/ixgbe_x550.c
4504
if (status == IXGBE_ERR_TOKEN_RETRY)
sys/dev/pci/ixgbe/ixgbe_x550.c
4506
status);
sys/dev/pci/ixgbe/ixgbe_x550.c
4508
if (status == IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
4514
if (status != IXGBE_ERR_TOKEN_RETRY) {
sys/dev/pci/ixgbe/ixgbe_x550.c
4516
status);
sys/dev/pci/ixgbe/ixgbe_x550.c
4517
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
4523
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
4560
s32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
4568
status = hw->phy.ops.read_reg_mdi(hw, reg_addr, device_type, phy_data);
sys/dev/pci/ixgbe/ixgbe_x550.c
4572
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
4588
s32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
4594
status = hw->phy.ops.write_reg_mdi(hw, reg_addr, device_type,
sys/dev/pci/ixgbe/ixgbe_x550.c
4598
status = IXGBE_ERR_SWFW_SYNC;
sys/dev/pci/ixgbe/ixgbe_x550.c
4601
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
4618
u32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
4620
status = ixgbe_get_lasi_ext_t_x550em(hw, &lsc);
sys/dev/pci/ixgbe/ixgbe_x550.c
4622
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
4623
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
4646
s32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
4663
status = ixgbe_setup_ixfi_x550em(hw, &force_speed);
sys/dev/pci/ixgbe/ixgbe_x550.c
4665
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
4666
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
4684
u32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
4690
status = ixgbe_check_mac_link_generic(hw, speed, link_up,
sys/dev/pci/ixgbe/ixgbe_x550.c
4694
if (status != IXGBE_SUCCESS || !(*link_up))
sys/dev/pci/ixgbe/ixgbe_x550.c
4695
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
4703
status = hw->phy.ops.read_reg(hw, IXGBE_MDIO_AUTO_NEG_STATUS,
sys/dev/pci/ixgbe/ixgbe_x550.c
4707
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
4708
return status;
sys/dev/pci/ixgbe/ixgbe_x550.c
4724
s32 status;
sys/dev/pci/ixgbe/ixgbe_x550.c
4726
status = ixgbe_reset_phy_generic(hw);
sys/dev/pci/ixgbe/ixgbe_x550.c
4728
if (status != IXGBE_SUCCESS)
sys/dev/pci/ixgbe/ixgbe_x550.c
4729
return status;
sys/dev/pci/ld_twa.c
174
tr->tr_command->command.cmd_pkt_9k.status = 0;
sys/dev/pci/ld_twa.c
202
uint8_t status;
sys/dev/pci/ld_twa.c
209
status = tr->tr_command->command.cmd_pkt_9k.status;
sys/dev/pci/ld_twa.c
211
if (status != 0) {
sys/dev/pci/ld_twa.c
266
generic_cmd->status = 0;
sys/dev/pci/ld_twe.c
102
uint8_t status;
sys/dev/pci/ld_twe.c
141
TWE_PARAM_UNITINFO_Status, &status);
sys/dev/pci/ld_twe.c
142
status &= TWE_PARAM_UNITSTATUS_MASK;
sys/dev/pci/ld_twe.c
147
twe_describe_code(twe_table_unitstate, status)) == NULL) {
sys/dev/pci/ld_twe.c
149
status);
sys/dev/pci/mfii.c
126
u_int8_t status;
sys/dev/pci/mfii.c
2183
u_int32_t status;
sys/dev/pci/mfii.c
2185
status = mfii_read(sc, MFI_OSTS);
sys/dev/pci/mfii.c
2187
DNPRINTF(MFII_D_INTR, "%s: intr status 0x%x\n", DEVNAME(sc), status);
sys/dev/pci/mfii.c
2188
if (ISSET(status, 0x1)) {
sys/dev/pci/mfii.c
2189
mfii_write(sc, MFI_OSTS, status);
sys/dev/pci/mfii.c
2193
return (ISSET(status, MFII_OSTS_INTR_VALID) ? 1 : 0);
sys/dev/pci/mfii.c
2309
xs->status = SCSI_OK;
sys/dev/pci/mfii.c
2383
switch (ctx->status) {
sys/dev/pci/mfii.c
3673
struct mfi_pr_status status;
sys/dev/pci/mfii.c
3744
if (mfii_mgmt(sc, opc, NULL, &status, sizeof(status),
sys/dev/pci/mfii.c
3773
switch (status.state) {
sys/dev/pci/mfii.c
3788
DEVNAME(sc), status.state);
sys/dev/pci/mfii.c
3912
u_int32_t status;
sys/dev/pci/mfii.c
3946
status = le32toh(bbu.fw_status) & mask;
sys/dev/pci/mfii.c
3949
edata->value_cur = (status || soh_bad) ? 0 : 1;
sys/dev/pci/mfii.c
713
u_int32_t status, scpad2, scpad3;
sys/dev/pci/mfii.c
775
status = mfii_fw_state(sc);
sys/dev/pci/mfii.c
778
sc->sc_max_fw_cmds = status & MFI_STATE_MAXCMD_MASK;
sys/dev/pci/mfii.c
809
DEVNAME(sc), status, scpad2, scpad3);
sys/dev/pci/mlx_pci.c
354
mlx_v3_findcomplete(struct mlx_softc *mlx, u_int *slot, u_int *status)
sys/dev/pci/mlx_pci.c
360
*status = mlx_inw(mlx, MLX_V3REG_STATUS);
sys/dev/pci/mlx_pci.c
502
mlx_v4_findcomplete(struct mlx_softc *mlx, u_int *slot, u_int *status)
sys/dev/pci/mlx_pci.c
508
*status = mlx_inw(mlx, MLX_V4REG_STATUS);
sys/dev/pci/mlx_pci.c
613
mlx_v5_findcomplete(struct mlx_softc *mlx, u_int *slot, u_int *status)
sys/dev/pci/mlx_pci.c
619
*status = mlx_inw(mlx, MLX_V5REG_STATUS);
sys/dev/pci/mly.c
1011
if (le32toh(mly->mly_mmbox->mmm_health.status.change_counter) !=
sys/dev/pci/mly.c
1014
le32toh(mly->mly_mmbox->mmm_health.status.change_counter);
sys/dev/pci/mly.c
1016
le32toh(mly->mly_mmbox->mmm_health.status.next_event);
sys/dev/pci/mly.c
1489
slot = le16toh(sp->status.command_id);
sys/dev/pci/mly.c
1492
mc->mc_status = sp->status.status;
sys/dev/pci/mly.c
1493
mc->mc_sense = sp->status.sense_length;
sys/dev/pci/mly.c
1494
mc->mc_resid = le32toh(sp->status.residue);
sys/dev/pci/mly.c
1949
xs->status = mc->mc_status;
sys/dev/pci/mly.c
2005
device_xname(mly->mly_dv), xs->status);
sys/dev/pci/mly.c
2436
rv = copyout(&mly->mly_mmbox->mmm_health.status,
sys/dev/pci/mly.c
837
memcpy(&mly->mly_mmbox->mmm_health.status, mh, sizeof(*mh));
sys/dev/pci/mly.c
920
u_int8_t status;
sys/dev/pci/mly.c
963
status = mc->mc_status;
sys/dev/pci/mly.c
965
if (status != 0)
sys/dev/pci/mly.c
966
printf("mly_ioctl: command status %d\n", status);
sys/dev/pci/mly.c
979
rv = (status != 0 ? EIO : 0);
sys/dev/pci/mlyreg.h
1287
struct mly_status status;
sys/dev/pci/mlyreg.h
1294
struct mly_health_status status;
sys/dev/pci/mlyreg.h
365
u_int8_t status;
sys/dev/pci/mpii.c
3207
KASSERT(xs->status == SCSI_OK);
sys/dev/pci/mpii.c
3241
xs->status = map_scsi_status(sie->scsi_status);
sys/dev/pci/mpii.c
3310
DEVNAME(sc), xs->error, xs->status, xs->datalen, xs->resid);
sys/dev/pci/neo.c
344
int status, x;
sys/dev/pci/neo.c
351
status = (sc->irsz == 2) ?
sys/dev/pci/neo.c
355
if (status & sc->playint) {
sys/dev/pci/neo.c
356
status &= ~sc->playint;
sys/dev/pci/neo.c
370
if (status & sc->recint) {
sys/dev/pci/neo.c
371
status &= ~sc->recint;
sys/dev/pci/neo.c
382
if (status & sc->misc1int) {
sys/dev/pci/neo.c
383
status &= ~sc->misc1int;
sys/dev/pci/neo.c
390
if (status & sc->misc2int) {
sys/dev/pci/neo.c
391
status &= ~sc->misc2int;
sys/dev/pci/neo.c
398
if (status) {
sys/dev/pci/neo.c
399
status &= ~sc->misc2int;
sys/dev/pci/pccbb.c
1191
int status = cb_detect_voltage(sc);
sys/dev/pci/pccbb.c
1192
if (PCCARD_VCC_5V & status) {
sys/dev/pci/pccbb.c
1195
if (PCCARD_VCC_3V & status) {
sys/dev/pci/pccbb.c
1198
if (PCCARD_VCC_XV & status) {
sys/dev/pci/pccbb.c
1201
if (PCCARD_VCC_YV & status) {
sys/dev/pci/pccbb.c
1239
uint32_t status, osock_ctrl, sock_ctrl, reg_ctrl;
sys/dev/pci/pccbb.c
1259
status = bus_space_read_4(memt, memh, CB_SOCKET_STAT);
sys/dev/pci/pccbb.c
1267
if (CB_SOCKET_STAT_5VCARD & status) { /* check 5 V card */
sys/dev/pci/pccbb.c
1278
if (CB_SOCKET_STAT_3VCARD & status) {
sys/dev/pci/pccbb.c
1342
status = bus_space_read_4(memt, memh, CB_SOCKET_STAT);
sys/dev/pci/pccbb.c
1343
if ((status & CB_SOCKET_STAT_PWRCYCLE) != 0 && on)
sys/dev/pci/pccbb.c
1345
if ((status & CB_SOCKET_STAT_PWRCYCLE) == 0 && !on)
sys/dev/pci/pccbb.c
1361
status = bus_space_read_4(memt, memh, CB_SOCKET_STAT);
sys/dev/pci/pccbb.c
1364
if ((status & CB_SOCKET_STAT_PWRCYCLE) == 0)
sys/dev/pci/pccbb.c
1368
if (status & CB_SOCKET_STAT_BADVCC) { /* bad Vcc request */
sys/dev/pci/pccbb.c
1371
sock_ctrl, status);
sys/dev/pci/pccbb.c
1376
status &= ~CB_SOCKET_STAT_BADVCC;
sys/dev/pci/pccbb.c
1377
bus_space_write_4(memt, memh, CB_SOCKET_FORCE, status);
sys/dev/pci/pciide_common.c
848
u_int8_t status;
sys/dev/pci/pciide_common.c
853
status = bus_space_read_1(sc->sc_dma_iot, cp->dma_iohs[IDEDMA_CTL], 0);
sys/dev/pci/pciide_common.c
854
ATADEBUG_PRINT(("pciide_dma_finish: status 0x%x\n", status),
sys/dev/pci/pciide_common.c
857
if (force == WDC_DMAEND_END && (status & IDEDMA_CTL_INTR) == 0)
sys/dev/pci/pciide_common.c
872
if ((status & IDEDMA_CTL_ERR) != 0 && force != WDC_DMAEND_ABRT_QUIET) {
sys/dev/pci/pciide_common.c
875
drive, status);
sys/dev/pci/pciide_common.c
879
if ((status & IDEDMA_CTL_INTR) == 0 && force != WDC_DMAEND_ABRT_QUIET) {
sys/dev/pci/pciide_common.c
883
channel, drive, status);
sys/dev/pci/pciide_common.c
887
if ((status & IDEDMA_CTL_ACT) != 0 && force != WDC_DMAEND_ABRT_QUIET) {
sys/dev/pci/pdcsata.c
513
u_int32_t scr, status, chanbase;
sys/dev/pci/pdcsata.c
527
status = bus_space_read_4(sc->sc_ba5_st, sc->sc_ba5_sh, chanbase);
sys/dev/pci/pdcsata.c
528
if (status & PDC_ERRMASK) {
sys/dev/pci/pdcsata.c
530
status = bus_space_read_4(sc->sc_ba5_st, sc->sc_ba5_sh, chanbase);
sys/dev/pci/pdcsata.c
531
status |= 0x800;
sys/dev/pci/pdcsata.c
532
bus_space_write_4(sc->sc_ba5_st, sc->sc_ba5_sh, chanbase, status);
sys/dev/pci/pdcsata.c
533
status &= ~0x800;
sys/dev/pci/pdcsata.c
534
bus_space_write_4(sc->sc_ba5_st, sc->sc_ba5_sh, chanbase, status);
sys/dev/pci/pdcsata.c
535
status = bus_space_read_4(sc->sc_ba5_st, sc->sc_ba5_sh, chanbase);
sys/dev/pci/pdcsata.c
616
int reset, status, i, chanbase;
sys/dev/pci/pdcsata.c
622
status = bus_space_read_4(sc->sc_ba5_st, sc->sc_ba5_sh, chanbase);
sys/dev/pci/pdcsata.c
623
if (status & reset) break;
sys/dev/pci/pdcsata.c
625
status |= reset;
sys/dev/pci/pdcsata.c
626
bus_space_write_4(sc->sc_ba5_st, sc->sc_ba5_sh, chanbase, status);
sys/dev/pci/pdcsata.c
628
status = bus_space_read_4(sc->sc_ba5_st, sc->sc_ba5_sh, chanbase);
sys/dev/pci/pdcsata.c
629
status &= ~reset;
sys/dev/pci/pdcsata.c
630
bus_space_write_4(sc->sc_ba5_st, sc->sc_ba5_sh, chanbase, status);
sys/dev/pci/pdcsata.c
631
status = bus_space_read_4(sc->sc_ba5_st, sc->sc_ba5_sh, chanbase);
sys/dev/pci/pvscsi.c
1021
xs->status = sdstat;
sys/dev/pci/pvscsi.c
510
uint32_t status;
sys/dev/pci/pvscsi.c
520
status = pvscsi_reg_read(sc, PVSCSI_REG_OFFSET_COMMAND_STATUS);
sys/dev/pci/pvscsi.c
522
if (status != -1) {
sys/dev/pci/pvscsi.c
527
status = pvscsi_reg_read(sc, PVSCSI_REG_OFFSET_COMMAND_STATUS);
sys/dev/pci/pvscsi.c
538
return (status != 0);
sys/dev/pci/pvscsi.c
834
uint32_t status;
sys/dev/pci/pvscsi.c
838
status = pvscsi_reg_read(sc, PVSCSI_REG_OFFSET_COMMAND_STATUS);
sys/dev/pci/pvscsi.c
840
return (status != -1);
sys/dev/pci/qat/qat_hw17.c
189
if (resp->init_resp_hdr.status) {
sys/dev/pci/qat/qat_hw17reg.h
1002
#define FW_COMN_RESP_PKE_STAT_GET(status) \
sys/dev/pci/qat/qat_hw17reg.h
1003
FIELD_GET(status, \
sys/dev/pci/qat/qat_hw17reg.h
1012
#define FW_COMN_RESP_CMP_STAT_GET(status) \
sys/dev/pci/qat/qat_hw17reg.h
1013
FIELD_GET(status, \
sys/dev/pci/qat/qat_hw17reg.h
1022
#define FW_COMN_RESP_XLAT_STAT_GET(status) \
sys/dev/pci/qat/qat_hw17reg.h
1023
FIELD_GET(status, \
sys/dev/pci/qat/qat_hw17reg.h
1033
#define FW_COMN_RESP_XLT_WA_APPLIED_GET(status) \
sys/dev/pci/qat/qat_hw17reg.h
1034
FIELD_GET(status, \
sys/dev/pci/qat/qat_hw17reg.h
1045
#define FW_COMN_RESP_CMP_END_OF_LAST_BLK_FLAG_GET(status) \
sys/dev/pci/qat/qat_hw17reg.h
1046
FIELD_GET(status, \
sys/dev/pci/qat/qat_hw17reg.h
1056
#define FW_COMN_RESP_UNSUPPORTED_REQUEST_STAT_GET(status) \
sys/dev/pci/qat/qat_hw17reg.h
1057
FIELD_GET(status, \
sys/dev/pci/qat/qat_hw17reg.h
111
uint8_t status;
sys/dev/pci/qat/qat_hw17reg.h
121
uint8_t status;
sys/dev/pci/qat/qat_hw17reg.h
992
#define FW_COMN_RESP_CRYPTO_STAT_GET(status) \
sys/dev/pci/qat/qat_hw17reg.h
993
FIELD_GET(status, \
sys/dev/pci/svwsata.c
346
volatile uint32_t status;
sys/dev/pci/svwsata.c
358
__USE(status);
sys/dev/pci/trm.c
2189
xs->status = srb->tastat;
sys/dev/pci/trm.c
2191
DPRINTF(("xs->status = 0x%02x\n", xs->status));
sys/dev/pci/trm.c
2193
switch (xs->status) {
sys/dev/pci/trm.c
2257
device_xname(sc->sc_dev), xs->status);
sys/dev/pci/twa.c
1201
tr->tr_command->command.cmd_pkt_9k.status = EIO;
sys/dev/pci/twa.c
1293
if ((error = tr->tr_command->command.cmd_pkt_9k.status))
sys/dev/pci/twa.c
2059
user_buf->twa_drvr_pkt.status =
sys/dev/pci/twa.c
2063
user_buf->twa_drvr_pkt.status = 0;
sys/dev/pci/twa.c
2067
user_buf->twa_drvr_pkt.status =
sys/dev/pci/twa.c
2071
user_buf->twa_drvr_pkt.status = 0;
sys/dev/pci/twa.c
2088
user_buf->twa_drvr_pkt.status =
sys/dev/pci/twa.c
2092
user_buf->twa_drvr_pkt.status = 0;
sys/dev/pci/twa.c
2095
user_buf->twa_drvr_pkt.status =
sys/dev/pci/twa.c
2099
user_buf->twa_drvr_pkt.status = 0;
sys/dev/pci/twa.c
2110
user_buf->twa_drvr_pkt.status = 0;
sys/dev/pci/twa.c
2119
user_buf->twa_drvr_pkt.status =
sys/dev/pci/twa.c
2126
user_buf->twa_drvr_pkt.status =
sys/dev/pci/twa.c
2141
if (user_buf->twa_drvr_pkt.status ==
sys/dev/pci/twa.c
2145
user_buf->twa_drvr_pkt.status = TWA_ERROR_AEN_NO_EVENTS;
sys/dev/pci/twa.c
2155
user_buf->twa_drvr_pkt.status = 0;
sys/dev/pci/twa.c
2163
user_buf->twa_drvr_pkt.status =
sys/dev/pci/twa.c
2170
user_buf->twa_drvr_pkt.status =
sys/dev/pci/twa.c
2184
if (user_buf->twa_drvr_pkt.status ==
sys/dev/pci/twa.c
2188
user_buf->twa_drvr_pkt.status =
sys/dev/pci/twa.c
2214
user_buf->twa_drvr_pkt.status = 0;
sys/dev/pci/twa.c
2219
user_buf->twa_drvr_pkt.status =
sys/dev/pci/twa.c
2231
user_buf->twa_drvr_pkt.status =
sys/dev/pci/twa.c
2235
user_buf->twa_drvr_pkt.status = 0;
sys/dev/pci/twa.c
2249
user_buf->twa_drvr_pkt.status = 0;
sys/dev/pci/twa.c
2367
if ((rv = cmd->param.status) != 0) {
sys/dev/pci/twa.c
2450
if ((error = cmd->param.status)) {
sys/dev/pci/twa.c
2553
if ((error = init_connect->status)) {
sys/dev/pci/twa.c
2674
twa_wait_status(struct twa_softc *sc, uint32_t status, uint32_t timeout)
sys/dev/pci/twa.c
2689
if ((status_reg & status) == status)
sys/dev/pci/twa.c
2743
if (! cmd->status) {
sys/dev/pci/twa.c
2897
if (tr->tr_command->command.cmd_pkt_9k.status)
sys/dev/pci/twa.c
513
cmd_status = tr->tr_command->command.cmd_pkt_9k.status;
sys/dev/pci/twa.c
516
tr->tr_command->command.cmd_pkt_7k.generic.status;
sys/dev/pci/twa.c
712
tr_9k_cmd->status = 0;
sys/dev/pci/twa.c
769
tr_9k_cmd->status = 0;
sys/dev/pci/twa.c
810
tr_9k_cmd->status = 0;
sys/dev/pci/twaio.h
89
uint32_t status;
sys/dev/pci/twareg.h
254
uint8_t status;
sys/dev/pci/twareg.h
271
uint8_t status;
sys/dev/pci/twareg.h
284
uint8_t status;
sys/dev/pci/twareg.h
298
uint8_t status;
sys/dev/pci/twareg.h
313
uint8_t status;
sys/dev/pci/twareg.h
330
uint8_t status;
sys/dev/pci/twareg.h
344
uint8_t status;
sys/dev/pci/twareg.h
363
uint8_t status;
sys/dev/pci/twareg.h
384
uint8_t status;
sys/dev/pci/twareg.h
438
uint8_t status;
sys/dev/pci/twe.c
1269
u_int status, cmdid;
sys/dev/pci/twe.c
1274
status = twe_inl(sc, TWE_REG_STS);
sys/dev/pci/twe.c
1275
twe_status_check(sc, status);
sys/dev/pci/twe.c
1277
if ((status & TWE_STS_RESP_QUEUE_EMPTY))
sys/dev/pci/twe.c
1317
twe_status_wait(struct twe_softc *sc, u_int32_t status, int timo)
sys/dev/pci/twe.c
1321
if ((twe_inl(sc, TWE_REG_STS) & status) == status)
sys/dev/pci/twe.c
1357
twe_status_check(struct twe_softc *sc, u_int status)
sys/dev/pci/twe.c
1363
if ((status & TWE_STS_EXPECTED_BITS) != TWE_STS_EXPECTED_BITS) {
sys/dev/pci/twe.c
1365
status & ~TWE_STS_EXPECTED_BITS);
sys/dev/pci/twe.c
1369
if ((status & TWE_STS_UNEXPECTED_BITS) != 0) {
sys/dev/pci/twe.c
1371
status & TWE_STS_UNEXPECTED_BITS);
sys/dev/pci/twe.c
1373
if (status & TWE_STS_PCI_PARITY_ERROR) {
sys/dev/pci/twe.c
1378
if (status & TWE_STS_PCI_ABORT) {
sys/dev/pci/twe.c
1671
u_int status;
sys/dev/pci/twe.c
1674
status = twe_inl(sc, TWE_REG_STS);
sys/dev/pci/twe.c
1675
twe_status_check(sc, status);
sys/dev/pci/twe.c
1677
if ((status & TWE_STS_CMD_QUEUE_FULL) == 0) {
sys/dev/pci/twe.c
677
u_int status;
sys/dev/pci/twe.c
730
status = twe_inl(sc, TWE_REG_STS);
sys/dev/pci/twe.c
731
if (twe_status_check(sc, status)) {
sys/dev/pci/twe.c
739
status = twe_inl(sc, TWE_REG_STS);
sys/dev/pci/twe.c
740
if (twe_status_check(sc, status) != 0) {
sys/dev/pci/twe.c
745
if ((status & TWE_STS_RESP_QUEUE_EMPTY) != 0)
sys/dev/pci/twe.c
776
u_int status;
sys/dev/pci/twe.c
781
status = twe_inl(sc, TWE_REG_STS);
sys/dev/pci/twe.c
782
twe_status_check(sc, status);
sys/dev/pci/twe.c
785
if ((status & TWE_STS_HOST_INTR) != 0) {
sys/dev/pci/twe.c
797
if ((status & TWE_STS_ATTN_INTR) != 0) {
sys/dev/pci/twe.c
813
if ((status & TWE_STS_CMD_INTR) != 0) {
sys/dev/pci/twe.c
821
if ((status & TWE_STS_RESP_INTR) != 0) {
sys/dev/pci/vioscsi.c
471
xs->status = vr->vr_res.status;
sys/dev/pci/vioscsi.c
492
xs, xs->error, xs->status, xs->resid));
sys/dev/pci/vioscsi.c
516
xs->status = 0;
sys/dev/pci/vioscsireg.h
69
uint8_t status;
sys/dev/pci/virtio.c
83
virtio_set_status(struct virtio_softc *sc, int status)
sys/dev/pci/virtio.c
85
sc->sc_ops->set_status(sc, status);
sys/dev/pci/virtio_pci.c
685
virtio_pci_set_status_09(struct virtio_softc *sc, int status)
sys/dev/pci/virtio_pci.c
691
if (status != 0) {
sys/dev/pci/virtio_pci.c
696
VIRTIO_CONFIG_DEVICE_STATUS, status|old);
sys/dev/pci/virtio_pci.c
807
virtio_pci_set_status_10(struct virtio_softc *sc, int status)
sys/dev/pci/virtio_pci.c
815
if (status)
sys/dev/pci/virtio_pci.c
818
status | old);
sys/dev/pci/voyager/voyagerfb.c
263
uint8_t status = 0;
sys/dev/pci/voyager/voyagerfb.c
294
status = bus_space_read_1(sc->sc_memt, sc->sc_regh,
sys/dev/pci/voyager/voyagerfb.c
296
if (status & (SM502_I2C_STAT_COMPLETE | SM502_I2C_STAT_ERROR))
sys/dev/pci/voyager/voyagerfb.c
300
sc->sc_i2c_status = status;
sys/dev/pci/voyager/voyagerfb.c
302
if (timo == 0 || (status & SM502_I2C_STAT_ERROR))
sys/dev/pci/voyager/voyagerfb.c
304
if (status & SM502_I2C_STAT_NAK)
sys/dev/pci/xmm7360.c
1242
u32 status;
sys/dev/pci/xmm7360.c
1247
status = xmm->bar2[BAR2_STATUS];
sys/dev/pci/xmm7360.c
1248
if (status == XMM_MODEM_BOOTING) {
sys/dev/pci/xmm7360.c
1251
status = xmm->bar2[BAR2_STATUS];
sys/dev/pci/xmm7360.c
1252
if (status != XMM_MODEM_BOOTING)
sys/dev/pci/xmm7360.c
1258
if (status != XMM_MODEM_READY) {
sys/dev/pci/xmm7360.c
1259
dev_err(xmm->dev, "unknown modem status: 0x%08x\n", status);
sys/dev/pci/xmm7360.c
407
dma_addr_t status;
sys/dev/pci/xmm7360.c
428
volatile struct status status;
sys/dev/pci/xmm7360.c
588
if (xmm->cp->status.code == 0xbadc0ded) {
sys/dev/pci/xmm7360.c
600
if (xmm->cp->status.asleep)
sys/dev/pci/xmm7360.c
648
xmm->cp->ctl.status = xmm->cp_phys + offsetof(struct control_page, status);
sys/dev/pci/yds.c
1045
u_int status;
sys/dev/pci/yds.c
1053
status = YREAD4(sc, YDS_STATUS);
sys/dev/pci/yds.c
1054
DPRINTFN(1, ("yds_intr: status=%08x\n", status));
sys/dev/pci/yds.c
1055
if ((status & (YDS_STAT_INT|YDS_STAT_TINT)) == 0) {
sys/dev/pci/yds.c
1064
if (status & YDS_STAT_TINT) {
sys/dev/pci/yds.c
1082
if (status & YDS_STAT_INT) {
sys/dev/pci/yds.c
1594
sc->pbankp[0]->status =
sys/dev/pci/yds.c
1595
sc->pbankp[1]->status =
sys/dev/pci/yds.c
1596
sc->pbankp[2]->status =
sys/dev/pci/yds.c
1597
sc->pbankp[3]->status = 1;
sys/dev/pci/ydsreg.h
297
uint32_t status;
sys/dev/pckbport/pckbport.c
256
cmd->status = EIO;
sys/dev/pckbport/pckbport.c
278
cmd->status = EIO;
sys/dev/pckbport/pckbport.c
283
cmd->status = EIO;
sys/dev/pckbport/pckbport.c
301
cmd->status = ETIMEDOUT;
sys/dev/pckbport/pckbport.c
326
if (nc.status == 0 && respbuf)
sys/dev/pckbport/pckbport.c
329
return nc.status;
sys/dev/pckbport/pckbport.c
400
if (cmd->status)
sys/dev/pckbport/pckbport.c
444
cmd->status = EIO;
sys/dev/pckbport/pckbport.c
520
res = (sync ? nc->status : 0);
sys/dev/pckbport/pckbport.c
526
res = nc->status;
sys/dev/pckbport/pckbport.c
61
int status, responselen, responseidx;
sys/dev/pcmcia/if_cnw.c
865
int ret, status, rser, tser;
sys/dev/pcmcia/if_cnw.c
876
status = bus_space_read_1(sc->sc_iot, sc->sc_ioh,
sys/dev/pcmcia/if_cnw.c
879
status = bus_space_read_1(sc->sc_memt, sc->sc_memh,
sys/dev/pcmcia/if_cnw.c
882
if (!(status & 0x02))
sys/dev/pcmcia/if_cnw.c
887
status = bus_space_read_1(sc->sc_iot, sc->sc_ioh, CNW_REG_ASR);
sys/dev/pcmcia/if_cnw.c
889
status = bus_space_read_1(sc->sc_memt, sc->sc_memh,
sys/dev/pcmcia/if_cnw.c
894
if (status & CNW_ASR_RXRDY) {
sys/dev/pcmcia/if_cnw.c
900
if (status & CNW_ASR_RXERR) {
sys/dev/pcmcia/if_cnw.c
938
if (status & CNW_ASR_TXDN) {
sys/dev/pcmcia/if_cnw.c
952
sc->sc_stats.nws_txretries[status & 0xf]++;
sys/dev/pcmcia/if_cnwioctl.h
90
u_char status;
sys/dev/pcmcia/if_malo_pcmcia.c
1018
rxdesc->status = le16toh(rxdesc->status);
sys/dev/pcmcia/if_malo_pcmcia.c
1023
rxdesc->status, rxdesc->pkglen, rxdesc->pkgoffset);
sys/dev/pcmcia/if_malo_pcmcia.c
1025
if (rxdesc->status != MALO_RX_STATUS_OK)
sys/dev/pcmcia/if_malo_pcmcia.c
1089
device_xname(sc->sc_dev), txdesc->status, le16toh(txdesc->pkglen),
sys/dev/pcmcia/if_malo_pcmcia.c
1891
if (body->status) {
sys/dev/pcmcia/if_malo_pcmcia.c
1893
device_xname(sc->sc_dev), body->status);
sys/dev/pcmcia/if_malo_pcmciavar.h
202
uint16_t status;
sys/dev/pcmcia/if_malo_pcmciavar.h
326
uint16_t status;
sys/dev/pcmcia/if_malo_pcmciavar.h
340
uint32_t status;
sys/dev/podulebus/oak.c
229
int status;
sys/dev/podulebus/oak.c
232
status = NCR5380_READ(sc, sci_csr);
sys/dev/podulebus/oak.c
233
if ((status & (SCI_CSR_DREQ | SCI_CSR_PHASE_MATCH)) ==
sys/dev/podulebus/oak.c
237
if ((status & SCI_CSR_PHASE_MATCH) == 0 ||
sys/dev/podulebus/oak.c
248
int i, status;
sys/dev/podulebus/oak.c
251
status = bus_space_read_2(pdmat, pdmah, OAK_PDMA_STATUS);
sys/dev/podulebus/oak.c
252
if (status & 0x200)
sys/dev/podulebus/oak.c
254
if (status & 0x100)
sys/dev/podulebus/oak.c
258
device_xname(ncr_sc->sc_dev), status);
sys/dev/ppbus/lpt.c
344
int i, status;
sys/dev/ppbus/lpt.c
352
status = 1; /* assume success */
sys/dev/ppbus/lpt.c
358
status = 0;
sys/dev/ppbus/lpt.c
371
status = 0;
sys/dev/ppbus/lpt.c
387
return status;
sys/dev/ppbus/lpt.c
392
lpt_logstatus(const device_t dev, const unsigned char status)
sys/dev/ppbus/lpt.c
397
if(!(status & LPS_SEL)) {
sys/dev/ppbus/lpt.c
400
else if(!(status & LPS_NBSY)) {
sys/dev/ppbus/lpt.c
403
else if(status & LPS_OUT) {
sys/dev/ppbus/lpt.c
407
else if(!(status & LPS_NERR)) {
sys/dev/ppbus/lpt.c
425
u_int8_t status;
sys/dev/ppbus/lpt.c
461
for(trys = 0, status = ppbus_rstr(ppbus); (status & RDY_MASK)
sys/dev/ppbus/lpt.c
462
!= LP_READY; trys += LPT_STEP, status =
sys/dev/ppbus/lpt.c
487
device_xname(dev), status));
sys/dev/ppbus/lpt.c
488
err = lpt_logstatus(dev, status);
sys/dev/ppbus/ppbus_1284.c
52
do_1284_wait(struct ppbus_softc * bus, char mask, char status)
sys/dev/ppbus/ppbus_1284.c
54
return (ppbus_poll_bus(bus->sc_dev, 4, mask, status,
sys/dev/ppbus/ppbus_1284.c
60
do_peripheral_wait(struct ppbus_softc * bus, char mask, char status)
sys/dev/ppbus/ppbus_1284.c
62
return (ppbus_poll_bus(bus->sc_dev, 100, mask, status,
sys/dev/ppbus/ppbus_base.c
122
ppbus_poll_bus(device_t dev, int maxp, char mask, char status,
sys/dev/ppbus/ppbus_base.c
133
if ((r & mask) == status)
sys/dev/ppbus/ppbus_base.c
140
if ((ppbus_rstr(dev) & mask) == status)
sys/dev/ppbus/ppbus_base.c
344
ppbus_get_status(device_t dev, struct ppbus_status * status)
sys/dev/ppbus/ppbus_base.c
346
register char r = status->status = ppbus_rstr(dev);
sys/dev/ppbus/ppbus_base.c
348
status->timeout = r & TIMEOUT;
sys/dev/ppbus/ppbus_base.c
349
status->error = !(r & nFAULT);
sys/dev/ppbus/ppbus_base.c
350
status->select = r & SELECT;
sys/dev/ppbus/ppbus_base.c
351
status->paper_end = r & PERROR;
sys/dev/ppbus/ppbus_base.c
352
status->ack = !(r & nACK);
sys/dev/ppbus/ppbus_base.c
353
status->busy = !(r & nBUSY);
sys/dev/ppbus/ppbus_base.h
119
unsigned char status;
sys/dev/pud/pud.c
119
pud_putter_releaseout(void *this, void *cookie, int status)
sys/dev/qbus/dhu.c
794
unsigned status;
sys/dev/qbus/dhu.c
807
status = DHU_READ_WORD(DHU_UBA_STAT);
sys/dev/qbus/dhu.c
809
if (status & DHU_STAT_CTS)
sys/dev/qbus/dhu.c
812
if (status & DHU_STAT_DCD)
sys/dev/qbus/dhu.c
815
if (status & DHU_STAT_DSR)
sys/dev/qbus/dhu.c
818
if (status & DHU_STAT_RI)
sys/dev/qbus/if_qt.c
551
short status;
sys/dev/qbus/if_qt.c
553
status = QT_RCSR(CSR_SRR);
sys/dev/qbus/if_qt.c
554
if (status < 0) {
sys/dev/qbus/if_qt.c
556
qtsrr(sc, status);
sys/dev/qbus/qd.c
1000
color_buf[unit]->status = 0;
sys/dev/qbus/qd.c
1284
scroll[unit]->status = 0;
sys/dev/qbus/qd.c
2225
if (adder->status & VSYNC) {
sys/dev/qbus/qd.c
2226
adder->status &= ~VSYNC; /* clear the interrupt */
sys/dev/qbus/qd.c
2228
if (cbuf->status & LOAD_COLOR_MAP) {
sys/dev/qbus/qd.c
2241
cbuf->status &= ~LOAD_COLOR_MAP;
sys/dev/qbus/qd.c
2248
if (adder->status & FRAME_SYNC) {
sys/dev/qbus/qd.c
2249
adder->status &= ~FRAME_SYNC; /* clear the interrupt */
sys/dev/qbus/qd.c
2251
if (scroll[unit]->status & LOAD_REGS) {
sys/dev/qbus/qd.c
2253
for (i = 1000, adder->status = 0; i > 0 &&
sys/dev/qbus/qd.c
2254
!(adder->status&ID_SCROLL_READY); --i)
sys/dev/qbus/qd.c
2270
if (scroll[unit]->status & LOAD_INDEX) {
sys/dev/qbus/qd.c
2278
scroll[unit]->status = 0x00;
sys/dev/qbus/qd.c
2301
u_short status;
sys/dev/qbus/qd.c
2379
if ((status = duart->statusB) & RCV_RDY &&
sys/dev/qbus/qd.c
2382
if (status & 0x70) {
sys/dev/qbus/qd.c
2564
} else if ((status = duart->statusB)&RCV_RDY &&
sys/dev/qbus/qd.c
2569
if (status&0x70) {
sys/dev/qbus/qd.c
3323
DMAheader[unit]->status = 0;
sys/dev/qbus/qd.c
3335
scroll[unit]->status = 0;
sys/dev/qbus/qd.c
3347
color_buf[unit]->status = 0;
sys/dev/qbus/qd.c
3508
for (i = 1000, adder->status = 0;
sys/dev/qbus/qd.c
3509
i > 0 && !(adder->status&ADDRESS_COMPLETE); --i)
sys/dev/qbus/qd.c
3534
for (i = 1000, adder->status = 0; i > 0 &&
sys/dev/qbus/qd.c
3535
!(adder->status&ADDRESS_COMPLETE) ; --i)
sys/dev/qbus/qd.c
3570
for (i = 0, adder->status = 0; i < 10000 && !(adder->status&VSYNC); ++i)
sys/dev/qbus/qd.c
3780
for (i = 10000, adder->status = 0 ; i > 0 &&
sys/dev/qbus/qd.c
3781
!(adder->status&mask) ; --i)
sys/dev/qbus/qd.c
3801
for (i = 100000, adder->status = 0 ;
sys/dev/qbus/qd.c
3802
i > 0 && !(adder->status&ADDRESS_COMPLETE) ; --i)
sys/dev/qbus/qd.c
3808
for (i = 100000, adder->status = 0 ;
sys/dev/qbus/qd.c
3809
i > 0 && !(adder->status&TX_READY) ; --i)
sys/dev/qbus/qdreg.h
226
u_short status; /* ADDER status bits */
sys/dev/qbus/qduser.h
290
short status; /* master DMA status word */
sys/dev/qbus/qduser.h
310
#define DMA_SETACTIVE(header) ((header)->status |= DMA_ACTIVE)
sys/dev/qbus/qduser.h
311
#define DMA_CLRACTIVE(header) ((header)->status &= ~DMA_ACTIVE)
sys/dev/qbus/qduser.h
312
#define DMA_ISACTIVE(header) ((header)->status & DMA_ACTIVE)
sys/dev/qbus/qduser.h
314
#define DMA_SETERROR(header) ((header)->status |= DMA_ERROR)
sys/dev/qbus/qduser.h
315
#define DMA_CLRERROR(header) ((header)->status &= ~DMA_ERROR)
sys/dev/qbus/qduser.h
316
#define DMA_ISERROR(header) ((header)->status & DMA_ERROR)
sys/dev/qbus/qduser.h
318
#define DMA_SETIGNORE(header) ((header)->status |= DMA_IGNORE)
sys/dev/qbus/qduser.h
319
#define DMA_CLRIGNORE(header) ((header)->status &= ~DMA_IGNORE)
sys/dev/qbus/qduser.h
320
#define DMA_ISIGNORE(header) ((header)->status & DMA_IGNORE)
sys/dev/qbus/qduser.h
359
char status; /* load request/service status */
sys/dev/qbus/qduser.h
374
short status;
sys/dev/qbus/ts.c
1025
mtget->mt_erreg = sc->sc_vts->status.xst0;
sys/dev/qbus/ts.c
108
struct status status; /* status packet */
sys/dev/qbus/ts.c
288
if (sc->sc_vts->status.xst2 & TS_SF_TU80) {
sys/dev/qbus/ts.c
303
(sc->sc_vts->status.xst2 & TS_SF_MCRL) >> 2,
sys/dev/qbus/ts.c
304
(sc->sc_vts->status.xst2 & TS_SF_EFES ? "enabled" : "disabled"),
sys/dev/qbus/ts.c
523
sc->sc_vts->chr.sadrl = LOWORD(&sc->sc_bts->status);
sys/dev/qbus/ts.c
524
sc->sc_vts->chr.sadrh = HIWORD(&sc->sc_bts->status);
sys/dev/qbus/ts.c
560
snprintb(buf, sizeof(buf), TS_XST0_BITS, sc->sc_vts->status.xst0);
sys/dev/qbus/ts.c
574
unsigned short mh = sc->sc_vts->status.hdr; /* and msg-header */
sys/dev/qbus/ts.c
677
TS_XST0_BITS, sc->sc_vts->status.xst0);
sys/dev/qbus/ts.c
679
sc->sc_vts->status.xst0, buf);
sys/dev/qbus/ts.c
682
if (sc->sc_vts->status.xst0 & TS_SF_TMK) {
sys/dev/qbus/ts.c
689
if (sc->sc_vts->status.xst0 & TS_SF_EOT) {
sys/dev/qbus/ts.c
698
if (sc->sc_vts->status.xst0 & TS_SF_RLS)
sys/dev/qbus/ts.c
704
TS_XST0_BITS, sc->sc_vts->status.xst0);
sys/dev/qbus/ts.c
706
sc->sc_vts->status.xst0, buf);
sys/dev/qbus/ts.c
723
TS_XST0_BITS, sc->sc_vts->status.xst0);
sys/dev/qbus/ts.c
725
sc->sc_vts->status.xst0, buf);
sys/dev/qbus/ts.c
728
if (sc->sc_vts->status.xst0 & TS_SF_VCK)
sys/dev/qbus/ts.c
730
if (sc->sc_vts->status.xst0 & TS_SF_BOT)
sys/dev/qbus/ts.c
732
if (sc->sc_vts->status.xst0 & TS_SF_WLE)
sys/dev/qbus/ts.c
734
if (sc->sc_vts->status.xst0 & TS_SF_EOT)
sys/dev/qbus/ts.c
815
bp->b_resid = sc->sc_vts->status.rbpcr;
sys/dev/qbus/ts.c
853
if ((flag & FWRITE) && (sc->sc_vts->status.xst0 & TS_SF_WLK)) {
sys/dev/qbus/ts.c
858
if (sc->sc_vts->status.xst0 & TS_SF_VCK) {
sys/dev/qbus/ts.c
867
TS_XST0_BITS, sc->sc_vts->status.xst0);
sys/dev/raidframe/raidframevar.h
400
RF_DiskStatus_t status; /* whether it is up or down */
sys/dev/raidframe/raidframevar.h
435
int status; /* rf_ds_optimal, rf_ds_dist_spared, whatever. */
sys/dev/raidframe/rf_aselect.c
63
(*hdr)->status = rf_enable;
sys/dev/raidframe/rf_chaindecluster.c
257
if ((raidPtr->status == rf_rs_degraded) || (raidPtr->status == rf_rs_reconstructing))
sys/dev/raidframe/rf_compat50.c
66
RF_DiskStatus_t status;
sys/dev/raidframe/rf_compat50.c
90
d50->status = d->status;
sys/dev/raidframe/rf_compat80.c
148
disk80->status = disk->status;
sys/dev/raidframe/rf_compat80.c
56
RF_DiskStatus_t status; /* whether it is up or down */
sys/dev/raidframe/rf_dag.h
154
RF_DagStatus_t status; /* status of this DAG */
sys/dev/raidframe/rf_dag.h
91
RF_NodeStatus_t status; /* current status of this node */
sys/dev/raidframe/rf_dagdegrd.c
841
if (RF_DEAD_DISK(raidPtr->Disks[pda_p->col].status))
sys/dev/raidframe/rf_dagdegrd.c
987
if (RF_DEAD_DISK(raidPtr->Disks[pda_p->col].status))
sys/dev/raidframe/rf_dagdegwr.c
666
if (RF_DEAD_DISK(raidPtr->Disks[pda_p->col].status))
sys/dev/raidframe/rf_dagfuncs.c
109
node->status = rf_good;
sys/dev/raidframe/rf_dagfuncs.c
176
if (node->dagHdr->status == rf_enable) {
sys/dev/raidframe/rf_dagfuncs.c
212
if (node->dagHdr->status == rf_enable) {
sys/dev/raidframe/rf_dagfuncs.c
249
node->status = rf_good;
sys/dev/raidframe/rf_dagfuncs.c
256
node->status = rf_undone;
sys/dev/raidframe/rf_dagfuncs.c
273
RF_IoType_t iotype = (node->dagHdr->status == rf_enable) ? RF_IO_TYPE_READ : RF_IO_TYPE_NOP;
sys/dev/raidframe/rf_dagfuncs.c
302
RF_IoType_t iotype = (node->dagHdr->status == rf_enable) ? RF_IO_TYPE_WRITE : RF_IO_TYPE_NOP;
sys/dev/raidframe/rf_dagfuncs.c
351
rf_GenericWakeupFunc(void *v, int status)
sys/dev/raidframe/rf_dagfuncs.c
355
switch (node->status) {
sys/dev/raidframe/rf_dagfuncs.c
357
if (status)
sys/dev/raidframe/rf_dagfuncs.c
358
node->status = rf_bad;
sys/dev/raidframe/rf_dagfuncs.c
360
node->status = rf_good;
sys/dev/raidframe/rf_dagfuncs.c
364
if (status)
sys/dev/raidframe/rf_dagfuncs.c
365
node->status = rf_panic;
sys/dev/raidframe/rf_dagfuncs.c
367
node->status = rf_undone;
sys/dev/raidframe/rf_dagfuncs.c
371
printf("node->status is %d,", node->status);
sys/dev/raidframe/rf_dagfuncs.c
372
printf("status is %d \n", status);
sys/dev/raidframe/rf_dagfuncs.c
418
if (node->dagHdr->status == rf_enable) {
sys/dev/raidframe/rf_dagfuncs.c
449
if (node->dagHdr->status == rf_enable) {
sys/dev/raidframe/rf_dagfuncs.c
491
if (node->dagHdr->status == rf_enable) {
sys/dev/raidframe/rf_dagutils.c
106
node->status = initstatus;
sys/dev/raidframe/rf_dagutils.c
1249
for (f = 0; ((!RF_DEAD_DISK(raidPtr->Disks[f].status)) && (f < n)); f++)
sys/dev/raidframe/rf_dagutils.c
1345
if (RF_DEAD_DISK(disks[colMirror].status)) {
sys/dev/raidframe/rf_dagutils.c
1348
if (RF_DEAD_DISK(disks[colData].status)) {
sys/dev/raidframe/rf_dagutils.c
1403
if (RF_DEAD_DISK(disks[colMirror].status)) {
sys/dev/raidframe/rf_dagutils.c
1406
if (RF_DEAD_DISK(disks[colData].status)) {
sys/dev/raidframe/rf_dagutils.c
483
switch (node->status) {
sys/dev/raidframe/rf_dagutils.c
598
char *status;
sys/dev/raidframe/rf_dagutils.c
601
switch (dag_h->status) {
sys/dev/raidframe/rf_dagutils.c
603
status = "enable";
sys/dev/raidframe/rf_dagutils.c
606
status = "rollForward";
sys/dev/raidframe/rf_dagutils.c
609
status = "rollBackward";
sys/dev/raidframe/rf_dagutils.c
612
status = "illegal!";
sys/dev/raidframe/rf_dagutils.c
621
status, dag_h->numSuccedents, dag_h->numCommitNodes, dag_h->numCommits);
sys/dev/raidframe/rf_dagutils.c
715
if (node->status != rf_wait) {
sys/dev/raidframe/rf_dagutils.c
825
if (dag_h->status != rf_enable) {
sys/dev/raidframe/rf_dagutils.c
922
RF_ASSERT(raidPtr->status == rf_rs_reconstructing);
sys/dev/raidframe/rf_dagutils.c
96
void (*wakeFunc) (void *node, int status),
sys/dev/raidframe/rf_decluster.c
352
RF_ASSERT(raidPtr->Disks[*col].status == rf_ds_reconstructing || raidPtr->Disks[*col].status == rf_ds_dist_spared);
sys/dev/raidframe/rf_decluster.c
412
RF_ASSERT(raidPtr->Disks[*col].status == rf_ds_reconstructing || raidPtr->Disks[*col].status == rf_ds_dist_spared);
sys/dev/raidframe/rf_desc.h
78
int status; /* pass/fail status of the last operation */
sys/dev/raidframe/rf_diskqueue.c
320
rf_DiskIOComplete(RF_DiskQueue_t *queue, RF_DiskQueueData_t *req, int status)
sys/dev/raidframe/rf_disks.c
1020
if (disks[spare_number].status != rf_ds_optimal) {
sys/dev/raidframe/rf_disks.c
1027
disks[spare_number].status = rf_ds_spare;
sys/dev/raidframe/rf_disks.c
1131
if (disk->status != rf_ds_spare &&
sys/dev/raidframe/rf_disks.c
1132
disk->status != rf_ds_failed) {
sys/dev/raidframe/rf_disks.c
1133
printf("Spare is in use %d\n", disk->status);
sys/dev/raidframe/rf_disks.c
1146
disk->status = rf_ds_failed;
sys/dev/raidframe/rf_disks.c
1201
switch (disk->status) {
sys/dev/raidframe/rf_disks.c
1297
tmp_status = raidPtr->Disks[a].status;
sys/dev/raidframe/rf_disks.c
1298
raidPtr->Disks[a].status = raidPtr->Disks[b].status;
sys/dev/raidframe/rf_disks.c
1299
raidPtr->Disks[b].status = tmp_status;
sys/dev/raidframe/rf_disks.c
137
if (disks[c].status == rf_ds_optimal) {
sys/dev/raidframe/rf_disks.c
144
disks[c].status = rf_ds_failed;
sys/dev/raidframe/rf_disks.c
148
if (disks[c].status != rf_ds_optimal) {
sys/dev/raidframe/rf_disks.c
165
raidPtr->status = rf_rs_degraded;
sys/dev/raidframe/rf_disks.c
172
if (disks[c].status == rf_ds_optimal) {
sys/dev/raidframe/rf_disks.c
204
if (disks[c].status == rf_ds_optimal) {
sys/dev/raidframe/rf_disks.c
257
if (disks[i].status != rf_ds_optimal) {
sys/dev/raidframe/rf_disks.c
261
disks[i].status = rf_ds_spare; /* change status to
sys/dev/raidframe/rf_disks.c
519
disks[c].status = rf_ds_failed;
sys/dev/raidframe/rf_disks.c
529
disks[c].status = rf_ds_failed;
sys/dev/raidframe/rf_disks.c
539
raidPtr->status = rf_rs_degraded;
sys/dev/raidframe/rf_disks.c
596
diskPtr->status = rf_ds_optimal;
sys/dev/raidframe/rf_disks.c
605
diskPtr->status = rf_ds_failed;
sys/dev/raidframe/rf_disks.c
621
diskPtr->status = rf_ds_failed;
sys/dev/raidframe/rf_disks.c
639
if (diskPtr->status == rf_ds_optimal) {
sys/dev/raidframe/rf_disks.c
670
ci_label->clean ? "Yes" : "No", ci_label->status );
sys/dev/raidframe/rf_disks.c
720
if (again && raidPtr->Disks[hosed_column].status == rf_ds_failed)
sys/dev/raidframe/rf_disks.c
723
raidPtr->Disks[hosed_column].status = rf_ds_failed;
sys/dev/raidframe/rf_disks.c
725
raidPtr->status = rf_rs_degraded;
sys/dev/raidframe/rf_disks.c
784
if (raidPtr->Disks[c].status != rf_ds_optimal)
sys/dev/raidframe/rf_disks.c
841
if (raidPtr->Disks[c].status != rf_ds_optimal)
sys/dev/raidframe/rf_disks.c
890
if (raidPtr->Disks[c].status != rf_ds_optimal)
sys/dev/raidframe/rf_disks.c
944
if (raidPtr->Disks[c].status != rf_ds_optimal) {
sys/dev/raidframe/rf_driver.c
351
raidPtr->status = rf_rs_optimal;
sys/dev/raidframe/rf_driver.c
445
if (RF_DEAD_DISK(raidPtr->Disks[col].status)) {
sys/dev/raidframe/rf_driver.c
614
desc->status = 0;
sys/dev/raidframe/rf_driver.c
729
raidPtr->Disks[col].status = rf_ds_dist_spared;
sys/dev/raidframe/rf_driver.c
730
raidPtr->status = rf_rs_reconfigured;
sys/dev/raidframe/rf_driver.c
752
if (raidPtr->Disks[fcol].status != rf_ds_failed) {
sys/dev/raidframe/rf_driver.c
757
raidPtr->Disks[fcol].status = rf_ds_failed;
sys/dev/raidframe/rf_driver.c
758
raidPtr->status = rf_rs_degraded;
sys/dev/raidframe/rf_engine.c
192
switch (node->status) {
sys/dev/raidframe/rf_engine.c
234
switch (node->dagHdr->status) {
sys/dev/raidframe/rf_engine.c
237
if ((node->status == rf_wait) &&
sys/dev/raidframe/rf_engine.c
245
if ((node->status == rf_good) &&
sys/dev/raidframe/rf_engine.c
268
switch (node->status) {
sys/dev/raidframe/rf_engine.c
332
dstat = node->dagHdr->status;
sys/dev/raidframe/rf_engine.c
333
RF_ASSERT((node->status == rf_wait) ||
sys/dev/raidframe/rf_engine.c
334
(node->status == rf_good));
sys/dev/raidframe/rf_engine.c
338
RF_ASSERT(node->status == rf_wait);
sys/dev/raidframe/rf_engine.c
341
node->status = rf_fired;
sys/dev/raidframe/rf_engine.c
346
RF_ASSERT(node->status == rf_good);
sys/dev/raidframe/rf_engine.c
349
node->status = rf_recover;
sys/dev/raidframe/rf_engine.c
355
if ((nodeList[i]->status == rf_fired) ||
sys/dev/raidframe/rf_engine.c
356
(nodeList[i]->status == rf_recover))
sys/dev/raidframe/rf_engine.c
377
dstat = node->dagHdr->status;
sys/dev/raidframe/rf_engine.c
378
RF_ASSERT((node->status == rf_wait) ||
sys/dev/raidframe/rf_engine.c
379
(node->status == rf_good));
sys/dev/raidframe/rf_engine.c
383
RF_ASSERT(node->status == rf_wait);
sys/dev/raidframe/rf_engine.c
386
node->status = rf_fired;
sys/dev/raidframe/rf_engine.c
391
RF_ASSERT(node->status == rf_good);
sys/dev/raidframe/rf_engine.c
394
node->status = rf_recover;
sys/dev/raidframe/rf_engine.c
401
if ((node->status == rf_fired) ||
sys/dev/raidframe/rf_engine.c
402
(node->status == rf_recover))
sys/dev/raidframe/rf_engine.c
449
switch (node->dagHdr->status) {
sys/dev/raidframe/rf_engine.c
454
RF_ASSERT(s->status == rf_wait);
sys/dev/raidframe/rf_engine.c
468
if ((s->antType[j] == rf_trueData) && (s->antecedents[j]->status == rf_bad))
sys/dev/raidframe/rf_engine.c
519
skiplist->status = rf_skipped;
sys/dev/raidframe/rf_engine.c
531
finishlist->status = rf_good;
sys/dev/raidframe/rf_engine.c
556
RF_ASSERT(a->status == rf_good);
sys/dev/raidframe/rf_engine.c
600
finishlist->status = rf_good;
sys/dev/raidframe/rf_engine.c
638
switch (node->status) {
sys/dev/raidframe/rf_engine.c
646
node->dagHdr->status = rf_rollForward;
sys/dev/raidframe/rf_engine.c
654
node->dagHdr->status = rf_rollBackward;
sys/dev/raidframe/rf_engine.c
735
dag->status = rf_enable;
sys/dev/raidframe/rf_engine.c
775
switch (nd->dagHdr->status) {
sys/dev/raidframe/rf_evenodd.c
422
if (rd_dag_h->status != rf_enable) {
sys/dev/raidframe/rf_evenodd.c
483
if (wr_dag_h->status != rf_enable) {
sys/dev/raidframe/rf_evenodd.c
513
if (wr_dag_h->status != rf_enable) {
sys/dev/raidframe/rf_evenodd_dagfuncs.c
165
if (node->dagHdr->status == rf_enable) {
sys/dev/raidframe/rf_evenodd_dagfuncs.c
403
if (node->dagHdr->status == rf_enable) {
sys/dev/raidframe/rf_evenodd_dagfuncs.c
711
if (RF_DEAD_DISK(raidPtr->Disks[npda.col].status))
sys/dev/raidframe/rf_evenodd_dagfuncs.c
884
if (RF_DEAD_DISK(raidPtr->Disks[npda.col].status))
sys/dev/raidframe/rf_map.c
284
if (RF_DEAD_DISK(disks[pda->col].status)) {
sys/dev/raidframe/rf_map.c
291
if (pda && RF_DEAD_DISK(disks[pda->col].status)) {
sys/dev/raidframe/rf_map.c
297
if (pda && RF_DEAD_DISK(disks[pda->col].status)) {
sys/dev/raidframe/rf_map.c
626
if (RF_DEAD_DISK(raidPtr->Disks[diskids[i]].status)) {
sys/dev/raidframe/rf_map.c
627
if (raidPtr->status != rf_rs_reconstructing)
sys/dev/raidframe/rf_map.c
671
if (RF_DEAD_DISK(raidPtr->Disks[tcol].status))
sys/dev/raidframe/rf_map.c
835
dstatus = disks[pda_p->col].status;
sys/dev/raidframe/rf_netbsdkintf.c
1226
if (raidPtr->status == rf_rs_reconstructing) {
sys/dev/raidframe/rf_netbsdkintf.c
1229
if ((raidPtr->Disks[rr->col].status == rf_ds_optimal) &&
sys/dev/raidframe/rf_netbsdkintf.c
1235
if (raidPtr->Disks[rr->col].status == rf_ds_spared) {
sys/dev/raidframe/rf_netbsdkintf.c
1246
raidPtr->Disks[spareCol].status = rf_ds_failed;
sys/dev/raidframe/rf_netbsdkintf.c
1417
printf("raid%d: Status: %d\n", raidid, clabel->status);
sys/dev/raidframe/rf_netbsdkintf.c
1451
if (RF_DEAD_DISK(diskPtr->status))
sys/dev/raidframe/rf_netbsdkintf.c
1494
if ((raidPtr->Disks[column].status == rf_ds_optimal) &&
sys/dev/raidframe/rf_netbsdkintf.c
1508
if (raidPtr->Disks[column].status == rf_ds_reconstructing) {
sys/dev/raidframe/rf_netbsdkintf.c
1519
if (raidPtr->Disks[column].status == rf_ds_spared) {
sys/dev/raidframe/rf_netbsdkintf.c
1546
raidPtr->status != rf_rs_reconstructing) {
sys/dev/raidframe/rf_netbsdkintf.c
1807
if (raidPtr->Disks[column].status != rf_ds_optimal)
sys/dev/raidframe/rf_netbsdkintf.c
2239
if (((queue->raidPtr->Disks[queue->col].status ==
sys/dev/raidframe/rf_netbsdkintf.c
2241
(queue->raidPtr->Disks[queue->col].status ==
sys/dev/raidframe/rf_netbsdkintf.c
2249
queue->raidPtr->Disks[queue->col].status =
sys/dev/raidframe/rf_netbsdkintf.c
2251
queue->raidPtr->status = rf_rs_degraded;
sys/dev/raidframe/rf_netbsdkintf.c
2596
if (RF_DEAD_DISK(raidPtr->Disks[c].status))
sys/dev/raidframe/rf_netbsdkintf.c
2616
if (RF_DEAD_DISK(raidPtr->Disks[c].status))
sys/dev/raidframe/rf_netbsdkintf.c
2645
if (!RF_DEAD_DISK(raidPtr->Disks[c].status)) {
sys/dev/raidframe/rf_netbsdkintf.c
2647
if (clabel->status == rf_ds_spared) {
sys/dev/raidframe/rf_netbsdkintf.c
2660
if (raidPtr->Disks[sparecol].status == rf_ds_used_spare) {
sys/dev/raidframe/rf_netbsdkintf.c
2712
if (raidPtr->Disks[c].status == rf_ds_optimal) {
sys/dev/raidframe/rf_netbsdkintf.c
2715
clabel->status = rf_ds_optimal;
sys/dev/raidframe/rf_netbsdkintf.c
2735
if (raidPtr->Disks[sparecol].status == rf_ds_used_spare) {
sys/dev/raidframe/rf_netbsdkintf.c
2759
clabel->status = rf_ds_optimal;
sys/dev/raidframe/rf_netbsdkintf.c
3259
clabel->clean ? "Yes" : "No", clabel->status);
sys/dev/raidframe/rf_netbsdkintf.c
3537
if (raidPtr->Disks[column].status == rf_ds_optimal) {
sys/dev/raidframe/rf_netbsdkintf.c
3546
if (raidPtr->Disks[sparecol].status == rf_ds_used_spare) {
sys/dev/raidframe/rf_netbsdkintf.c
3564
if (raidPtr->Disks[column].status == rf_ds_optimal) {
sys/dev/raidframe/rf_netbsdkintf.c
3573
if (raidPtr->Disks[sparecol].status == rf_ds_used_spare) {
sys/dev/raidframe/rf_netbsdkintf.c
3634
clabel->status = rf_ds_optimal; /* "It's good!" */
sys/dev/raidframe/rf_netbsdkintf.c
3859
if (!RF_DEAD_DISK(raidPtr->Disks[c].status)) {
sys/dev/raidframe/rf_netbsdkintf.c
3912
if (raidPtr->Disks[c].status == rf_ds_optimal) {
sys/dev/raidframe/rf_netbsdkintf.c
3923
if (raidPtr->Disks[sparecol].status == rf_ds_used_spare) {
sys/dev/raidframe/rf_netbsdkintf.c
3940
if (raidPtr->status != rf_rs_reconstructing) {
sys/dev/raidframe/rf_netbsdkintf.c
4001
if (config->spares[i].status == rf_ds_rebuilding_spare) {
sys/dev/raidframe/rf_netbsdkintf.c
4003
config->spares[i].status = rf_ds_used_spare;
sys/dev/raidframe/rf_netbsdkintf.c
874
if (raidPtr->Disks[c].status == rf_ds_optimal) {
sys/dev/raidframe/rf_netbsdkintf.c
890
if (raidPtr->Disks[sparecol].status == rf_ds_used_spare) {
sys/dev/raidframe/rf_paritylogDiskMgr.c
348
if (fwr_dag_h->status != rf_enable) {
sys/dev/raidframe/rf_paritylogDiskMgr.c
417
if (prd_dag_h->status != rf_enable) {
sys/dev/raidframe/rf_paritylogDiskMgr.c
430
if (rrd_dag_h->status != rf_enable) {
sys/dev/raidframe/rf_paritylogDiskMgr.c
457
if (pwr_dag_h->status != rf_enable) {
sys/dev/raidframe/rf_paritylogging.c
836
rstat = raidPtr->status;
sys/dev/raidframe/rf_paritymap.c
363
if (RF_DEAD_DISK(raidPtr->Disks[col].status))
sys/dev/raidframe/rf_paritymap.c
372
if (clabel->status == rf_ds_spared)
sys/dev/raidframe/rf_paritymap.c
380
if (raidPtr->Disks[raidPtr->numCol+col].status == rf_ds_used_spare) {
sys/dev/raidframe/rf_paritymap.c
640
if (RF_DEAD_DISK(raidPtr->Disks[col].status))
sys/dev/raidframe/rf_paritymap.c
709
if (RF_DEAD_DISK(raidPtr->Disks[col].status))
sys/dev/raidframe/rf_paritymap.c
766
if (RF_DEAD_DISK(raidPtr->Disks[col].status))
sys/dev/raidframe/rf_paritymap.c
773
if (raidPtr->Disks[raidPtr->numCol+col].status != rf_ds_used_spare)
sys/dev/raidframe/rf_paritymap.c
791
if (RF_DEAD_DISK(raidPtr->Disks[col].status))
sys/dev/raidframe/rf_paritymap.c
803
if (raidPtr->Disks[raidPtr->numCol+col].status != rf_ds_used_spare)
sys/dev/raidframe/rf_parityscan.c
277
if (rd_dag_h->status != rf_enable) {
sys/dev/raidframe/rf_parityscan.c
323
if (wr_dag_h->status != rf_enable) {
sys/dev/raidframe/rf_parityscan.c
343
if (raidPtr->Disks[pda->col].status == rf_ds_reconstructing) {
sys/dev/raidframe/rf_parityscan.c
375
if (RF_DEAD_DISK(raidPtr->Disks[pda->col].status))
sys/dev/raidframe/rf_parityscan.c
434
dag_h->status = rf_enable;
sys/dev/raidframe/rf_parityscan.c
91
if (raidPtr->status != rf_rs_optimal) {
sys/dev/raidframe/rf_pqdegdags.c
251
if (RF_DEAD_DISK(raidPtr->Disks[npda.col].status))
sys/dev/raidframe/rf_pqdegdags.c
332
if (RF_DEAD_DISK(raidPtr->Disks[npda.col].status))
sys/dev/raidframe/rf_raid.h
130
RF_RowStatus_t status; /* the status of each row in the array */
sys/dev/raidframe/rf_raid1.c
207
rstat = raidPtr->status;
sys/dev/raidframe/rf_raid1.c
399
if (rd_dag_h->status != rf_enable) {
sys/dev/raidframe/rf_raid1.c
518
if (wr_dag_h->status != rf_enable) {
sys/dev/raidframe/rf_raid5.c
192
rstat = raidPtr->status;
sys/dev/raidframe/rf_reconmap.c
102
p->status = RF_Malloc(p->status_size * sizeof(*p->status));
sys/dev/raidframe/rf_reconmap.c
103
RF_ASSERT(p->status != NULL);
sys/dev/raidframe/rf_reconmap.c
165
if (mapPtr->status[mapPtr->head]!=RU_ALL) {
sys/dev/raidframe/rf_reconmap.c
182
mapPtr->status[mapPtr->head]=RU_NOTHING;
sys/dev/raidframe/rf_reconmap.c
201
p = mapPtr->status[ru];
sys/dev/raidframe/rf_reconmap.c
206
mapPtr->status[ru] = MakeReconMapListElem(mapPtr,startSector, RF_MIN(stopSector, last_in_RU), (p == RU_NOTHING) ? NULL : p);
sys/dev/raidframe/rf_reconmap.c
250
RF_ReconMapListElem_t *p = mapPtr->status[j];
sys/dev/raidframe/rf_reconmap.c
257
mapPtr->status[j] = RU_ALL;
sys/dev/raidframe/rf_reconmap.c
327
p = mapPtr->status[i];
sys/dev/raidframe/rf_reconmap.c
339
RF_Free(mapPtr->status, mapPtr->status_size *
sys/dev/raidframe/rf_reconmap.c
365
if (mapPtr->status[i] == RU_ALL)
sys/dev/raidframe/rf_reconmap.h
64
RF_ReconMapListElem_t **status; /* array of ptrs to list elements */
sys/dev/raidframe/rf_reconstruct.c
1182
int do_new_check = 0, retcode = 0, status;
sys/dev/raidframe/rf_reconstruct.c
1208
status = ComputePSDiskOffsets(raidPtr, ctrl->curPSID, col, &ctrl->diskOffset, &rbuf->failedDiskSectorOffset,
sys/dev/raidframe/rf_reconstruct.c
1210
if (status) {
sys/dev/raidframe/rf_reconstruct.c
1260
int status;
sys/dev/raidframe/rf_reconstruct.c
1281
status = CheckForcedOrBlockedReconstruction(raidPtr, pssPtr, ctrl, col, psid, which_ru);
sys/dev/raidframe/rf_reconstruct.c
1282
if (status == RF_PSS_RECON_BLOCKED) {
sys/dev/raidframe/rf_reconstruct.c
1286
if (status == RF_PSS_FORCED_ON_WRITE) {
sys/dev/raidframe/rf_reconstruct.c
1531
ReconReadDoneProc(void *arg, int status)
sys/dev/raidframe/rf_reconstruct.c
1545
if (status) {
sys/dev/raidframe/rf_reconstruct.c
1546
printf("raid%d: Recon read failed: %d\n", raidPtr->raidid, status);
sys/dev/raidframe/rf_reconstruct.c
1566
ReconWriteDoneProc(void *arg, int status)
sys/dev/raidframe/rf_reconstruct.c
1578
if (status) {
sys/dev/raidframe/rf_reconstruct.c
1579
printf("raid%d: Recon write failed (status %d(0x%x))!\n", rbuf->raidPtr->raidid,status,status);
sys/dev/raidframe/rf_reconstruct.c
1869
ForceReconReadDoneProc(void *arg, int status)
sys/dev/raidframe/rf_reconstruct.c
1880
if (status) {
sys/dev/raidframe/rf_reconstruct.c
256
RF_ASSERT(raidPtr->Disks[col].status == rf_ds_failed);
sys/dev/raidframe/rf_reconstruct.c
259
if (raidPtr->status != rf_rs_degraded) {
sys/dev/raidframe/rf_reconstruct.c
268
if (raidPtr->Disks[scol].status == rf_ds_spare) {
sys/dev/raidframe/rf_reconstruct.c
270
spareDiskPtr->status = rf_ds_rebuilding_spare;
sys/dev/raidframe/rf_reconstruct.c
307
c_label->status = rf_ds_optimal;
sys/dev/raidframe/rf_reconstruct.c
334
raidPtr->Disks[col].status = rf_ds_failed;
sys/dev/raidframe/rf_reconstruct.c
337
spareDiskPtr->status = rf_ds_spare;
sys/dev/raidframe/rf_reconstruct.c
386
if (raidPtr->Disks[col].status != rf_ds_failed) {
sys/dev/raidframe/rf_reconstruct.c
389
raidPtr->Disks[col].status = rf_ds_failed;
sys/dev/raidframe/rf_reconstruct.c
390
raidPtr->status = rf_rs_degraded;
sys/dev/raidframe/rf_reconstruct.c
496
spareDiskPtr->status = rf_ds_rebuilding_spare;
sys/dev/raidframe/rf_reconstruct.c
519
raidPtr->Disks[col].status = rf_ds_optimal;
sys/dev/raidframe/rf_reconstruct.c
520
raidPtr->status = rf_rs_optimal;
sys/dev/raidframe/rf_reconstruct.c
546
raidPtr->Disks[col].status = rf_ds_failed;
sys/dev/raidframe/rf_reconstruct.c
578
int status, done;
sys/dev/raidframe/rf_reconstruct.c
607
raidPtr->status = rf_rs_reconstructing;
sys/dev/raidframe/rf_reconstruct.c
608
raidPtr->Disks[col].status = rf_ds_reconstructing;
sys/dev/raidframe/rf_reconstruct.c
721
status = ProcessReconEvent(raidPtr, event);
sys/dev/raidframe/rf_reconstruct.c
724
if (status == RF_RECON_DONE_READS) {
sys/dev/raidframe/rf_reconstruct.c
726
} else if ((status == RF_RECON_READ_ERROR) ||
sys/dev/raidframe/rf_reconstruct.c
727
(status == RF_RECON_WRITE_ERROR)) {
sys/dev/raidframe/rf_reconstruct.c
736
if (status == RF_RECON_READ_ERROR)
sys/dev/raidframe/rf_reconstruct.c
743
if (status == RF_RECON_WRITE_ERROR) {
sys/dev/raidframe/rf_reconstruct.c
748
} else if (status == RF_RECON_READ_STOPPED) {
sys/dev/raidframe/rf_reconstruct.c
751
} else if (status == RF_RECON_WRITE_DONE) {
sys/dev/raidframe/rf_reconstruct.c
784
status = ProcessReconEvent(raidPtr, event);
sys/dev/raidframe/rf_reconstruct.c
786
if (status == RF_RECON_WRITE_ERROR) {
sys/dev/raidframe/rf_reconstruct.c
791
} else if (status == RF_RECON_WRITE_DONE) {
sys/dev/raidframe/rf_reconstruct.c
827
status = ProcessReconEvent(raidPtr, event);
sys/dev/raidframe/rf_reconstruct.c
829
if (status == RF_RECON_WRITE_ERROR) {
sys/dev/raidframe/rf_reconstruct.c
857
raidPtr->status = rf_rs_degraded;
sys/dev/raidframe/rf_reconstruct.c
882
status = ProcessReconEvent(raidPtr, event);
sys/dev/raidframe/rf_reconstruct.c
884
if (status == RF_RECON_WRITE_ERROR) {
sys/dev/raidframe/rf_reconstruct.c
924
raidPtr->Disks[col].status = (ds) ? rf_ds_dist_spared : rf_ds_spared;
sys/dev/raidframe/rf_reconstruct.c
925
raidPtr->status = (ds) ? rf_rs_reconfigured : rf_rs_optimal;
sys/dev/raidframe/rf_reconstruct.c
932
raidPtr->Disks[col].status = rf_ds_optimal;
sys/dev/raidframe/rf_revent.c
106
int status;
sys/dev/raidframe/rf_revent.c
122
status = rf_sleep("rfrecond", RECON_TIMO,
sys/dev/raidframe/rf_revent.c
124
RF_ASSERT(status == EWOULDBLOCK);
sys/dev/raidframe/rf_states.c
193
if (dag_h->status == rf_rollBackward) {
sys/dev/raidframe/rf_states.c
197
desc->status = 1; /* bad status */
sys/dev/raidframe/rf_states.c
400
raidPtr->status == rf_rs_reconstructing) {
sys/dev/raidframe/rf_states.c
499
desc->status = 0; /* good status */
sys/dev/raidframe/rf_states.c
514
desc->status = 1; /* bad status */
sys/dev/raidframe/rf_states.c
607
if (desc->status) {
sys/dev/sbus/cs4231_sbus.c
494
int status;
sys/dev/sbus/cs4231_sbus.c
520
status = ADREAD(&sc->sc_ad1848, AD1848_STATUS);
sys/dev/sbus/cs4231_sbus.c
522
snprintb(bits, sizeof(bits), AD_R2_BITS, status);
sys/dev/sbus/cs4231_sbus.c
526
if (status & INTERRUPT_STATUS) {
sys/dev/sbus/dbri.c
1038
pipe_receive_fixed(sc, 18, &sc->sc_mm.status);
sys/dev/sbus/dbri.c
1050
while (((sc->sc_mm.status & 0xe4) != CS4215_ONE) && (i > 0)) {
sys/dev/sbus/dbri.c
1057
device_xname(sc->sc_dev), sc->sc_mm.status);
sys/dev/sbus/dbri.c
1062
while (((sc->sc_mm.status & 0xe4) != CS4215_ONE) && (bail < 10)) {
sys/dev/sbus/dbri.c
1074
device_xname(sc->sc_dev), sc->sc_mm.status,
sys/dev/sbus/dbri.c
1344
sc->sc_dma->xmit[i].status = 0;
sys/dev/sbus/dbri.c
1356
sc->sc_dma->xmit[i].status = 0;
sys/dev/sbus/dbri.c
1437
sc->sc_dma->recv[i].status = RX_EOF;
sys/dev/sbus/dbri.c
1449
sc->sc_dma->recv[i].status = RX_EOF;
sys/dev/sbus/dbri.c
545
sc->sc_mm.status = 0;
sys/dev/sbus/dbri.c
749
sc->sc_dma->xmit[td].status = 0;
sys/dev/sbus/dbri.c
905
pipe_receive_fixed(sc, 18, &sc->sc_mm.status);
sys/dev/sbus/dbrivar.h
64
volatile uint32_t status;
sys/dev/sbus/dbrivar.h
71
volatile uint32_t status;
sys/dev/sbus/magma.c
511
int chip, status = 0;
sys/dev/sbus/magma.c
519
status |= cd1400_read_reg(&sc->ms_cd1400[chip], CD1400_SVRR);
sys/dev/sbus/magma.c
521
if( ISSET(status, CD1400_SVRR_RXRDY) ) {
sys/dev/sbus/magma.c
581
if( ISSET(status, CD1400_SVRR_MDMCH) ) {
sys/dev/sbus/magma.c
606
if( ISSET(status, CD1400_SVRR_TXRDY) ) {
sys/dev/sbus/p9100.c
1683
p9100_set_extvga(void *cookie, int status)
sys/dev/sbus/p9100.c
1694
status ? "on" : "off");
sys/dev/sbus/p9100.c
1699
if (status) {
sys/dev/scsipi/atapi_wdc.c
1113
sc_xfer->status = SCSI_CHECK;
sys/dev/scsipi/scsi_iu.h
16
u_int8_t status;
sys/dev/scsipi/scsipi_base.c
1674
if (xs->error == XS_BUSY && xs->status == SCSI_CHECK) {
sys/dev/scsipi/scsipi_base.c
1779
if (xs->error == XS_BUSY && xs->status == SCSI_CHECK) {
sys/dev/scsipi/scsipi_base.c
1834
if (xs->error == XS_BUSY && xs->status == SCSI_QUEUE_FULL) {
sys/dev/scsipi/scsipi_base.c
1945
xs->status = SCSI_OK;
sys/dev/scsipi/scsipi_base.c
2229
xs->status = SCSI_OK;
sys/dev/scsipi/scsipi_ioctl.c
159
screq->status = xs->status;
sys/dev/scsipi/scsipiconf.h
576
u_int8_t status; /* SCSI status */
sys/dev/scsipi/ses.c
1845
uint8_t status, oencstat;
sys/dev/scsipi/ses.c
2204
status = sdata[r+3];
sys/dev/scsipi/ses.c
2205
if ((status & 0x1) == 0) { /* no device */
sys/dev/scsipi/ses.c
2211
if (status & 0x2) {
sys/dev/scsipi/ses.c
2214
if ((status & 0x4) == 0) {
sys/dev/scsipi/ses.c
860
int status;
sys/dev/scsipi/ses.c
862
if ((status = ses_getputstat(ssc, -1, &ComStat, slpflag, 1)) != 0) {
sys/dev/scsipi/ses.c
863
return (status);
sys/dev/scsipi/ses.c
873
int status;
sys/dev/scsipi/ses.c
876
if ((status = ses_getputstat(ssc, -1, &ComStat, slpflag, 0)) != 0) {
sys/dev/scsipi/ses.c
877
return (status);
sys/dev/sdmmc/sbt.c
325
u_int8_t status;
sys/dev/sdmmc/sbt.c
331
status = CSR_READ_1(sc, SBT_REG_ISTAT);
sys/dev/sdmmc/sbt.c
332
CSR_WRITE_1(sc, SBT_REG_ICLR, status);
sys/dev/sdmmc/sbt.c
334
if ((status & ISTAT_INTRD) == 0)
sys/dev/sdmmc/sdhc.c
1954
int status;
sys/dev/sdmmc/sdhc.c
1963
status = sdhc_wait_intr(hp,
sys/dev/sdmmc/sdhc.c
1967
if (status & SDHC_TRANSFER_COMPLETE) {
sys/dev/sdmmc/sdhc.c
1970
if (!status) {
sys/dev/sdmmc/sdhc.c
1980
if ((status & SDHC_DMA_INTERRUPT) == 0) {
sys/dev/sdmmc/sdhc.c
2165
uint16_t status = HREAD2(hp, SDHC_NINTR_STATUS);
sys/dev/sdmmc/sdhc.c
2171
while (datalen > 3 && !ISSET(status, SDHC_TRANSFER_COMPLETE)) {
sys/dev/sdmmc/sdhc.c
2185
status = HREAD2(hp, SDHC_NINTR_STATUS);
sys/dev/sdmmc/sdhc.c
2188
if (datalen > 0 && !ISSET(status, SDHC_TRANSFER_COMPLETE)) {
sys/dev/sdmmc/sdhc.c
2204
uint16_t status = HREAD2(hp, SDHC_NINTR_STATUS);
sys/dev/sdmmc/sdhc.c
2210
while (datalen > 3 && !ISSET(status, SDHC_TRANSFER_COMPLETE)) {
sys/dev/sdmmc/sdhc.c
2220
status = HREAD2(hp, SDHC_NINTR_STATUS);
sys/dev/sdmmc/sdhc.c
2223
if (datalen > 0 && !ISSET(status, SDHC_TRANSFER_COMPLETE)) {
sys/dev/sdmmc/sdhc.c
2289
int status, error, nointr;
sys/dev/sdmmc/sdhc.c
2296
status = hp->intr_status & mask;
sys/dev/sdmmc/sdhc.c
2297
while (status == 0) {
sys/dev/sdmmc/sdhc.c
2303
status = hp->intr_status & mask;
sys/dev/sdmmc/sdhc.c
2307
DPRINTF(2,("%s: intr status %#x error %#x\n", HDEVNAME(hp), status,
sys/dev/sdmmc/sdhc.c
2310
hp->intr_status &= ~status;
sys/dev/sdmmc/sdhc.c
2313
if (ISSET(status, SDHC_ERROR_INTERRUPT)) {
sys/dev/sdmmc/sdhc.c
2350
CLR(status, SDHC_COMMAND_COMPLETE);
sys/dev/sdmmc/sdhc.c
2353
if (ISSET(status, SDHC_TRANSFER_COMPLETE))
sys/dev/sdmmc/sdhc.c
2358
(ISSET(status, SDHC_ERROR_INTERRUPT) && error)) {
sys/dev/sdmmc/sdhc.c
2364
status = 0;
sys/dev/sdmmc/sdhc.c
2367
return status;
sys/dev/sdmmc/sdhc.c
2379
uint16_t status;
sys/dev/sdmmc/sdhc.c
2393
status = xstatus;
sys/dev/sdmmc/sdhc.c
2399
status = xstatus = HREAD4(hp,
sys/dev/sdmmc/sdhc.c
2406
SET(status, SDHC_ERROR_INTERRUPT);
sys/dev/sdmmc/sdhc.c
2410
else if (!ISSET(status, SDHC_NINTR_STATUS_MASK))
sys/dev/sdmmc/sdhc.c
2417
status = HREAD2(hp, SDHC_NINTR_STATUS);
sys/dev/sdmmc/sdhc.c
2418
if (!ISSET(status, SDHC_NINTR_STATUS_MASK))
sys/dev/sdmmc/sdhc.c
2421
HWRITE2(hp, SDHC_NINTR_STATUS, status);
sys/dev/sdmmc/sdhc.c
2422
if (ISSET(status, SDHC_ERROR_INTERRUPT)) {
sys/dev/sdmmc/sdhc.c
2430
status, error));
sys/dev/sdmmc/sdhc.c
2435
if (ISSET(status, SDHC_ERROR_INTERRUPT) &&
sys/dev/sdmmc/sdhc.c
2445
if (ISSET(status, SDHC_CARD_REMOVAL|SDHC_CARD_INSERTION)) {
sys/dev/sdmmc/sdhc.c
2452
status & (SDHC_CARD_REMOVAL|SDHC_CARD_INSERTION));
sys/dev/sdmmc/sdhc.c
2454
status & (SDHC_CARD_REMOVAL|SDHC_CARD_INSERTION));
sys/dev/sdmmc/sdhc.c
2461
if (ISSET(status, SDHC_RETUNING_EVENT)) {
sys/dev/sdmmc/sdhc.c
2469
if (ISSET(status, SDHC_COMMAND_COMPLETE|SDHC_ERROR_INTERRUPT|
sys/dev/sdmmc/sdhc.c
2473
hp->intr_status |= status;
sys/dev/sdmmc/sdhc.c
2477
status & (SDHC_BUFFER_READ_READY|SDHC_BUFFER_WRITE_READY));
sys/dev/sdmmc/sdhc.c
2486
&& ISSET(status, SDHC_CARD_INTERRUPT)) {
sys/dev/sdmmc/sdmmc_mem.c
1857
int function, sdmmc_bitfield512_t *status)
sys/dev/sdmmc/sdmmc_mem.c
1915
memcpy(status, ptr, statlen);
sys/dev/sdmmc/sdmmc_mem.c
1932
sdmmc_be512_to_bitfield512(status);
sys/dev/sdmmc/sdmmc_mem.c
805
sdmmc_bitfield512_t status;
sys/dev/sdmmc/sdmmc_mem.c
841
error = sdmmc_mem_sd_switch(sf, 0, 1, 0, &status);
sys/dev/sdmmc/sdmmc_mem.c
853
support_func = SFUNC_STATUS_GROUP(&status, 1);
sys/dev/sdmmc/sdmmc_mem.c
884
sdmmc_mem_sd_switch(sf, 1, 1, best_func, &status);
sys/dev/sdmmc/sdmmc_mem.c
921
error = sdmmc_mem_send_ssr(sc, sf, &status);
sys/dev/sdmmc/sdmmc_mem.c
927
sdmmc_mem_decode_ssr(sc, sf, &status);
sys/dev/sdmmc/sdmmcreg.h
417
#define SFUNC_STATUS_GROUP(status, group) \
sys/dev/sdmmc/sdmmcreg.h
418
(__bitfield((uint32_t *)(status), 400 + (group - 1) * 16, 16))
sys/dev/sequencer.c
550
int status, chan, unit;
sys/dev/sequencer.c
565
status = MIDI_GET_STATUS(qi.qi_msg[0]);
sys/dev/sequencer.c
567
switch (status) {
sys/dev/smbiosvar.h
231
uint8_t status;
sys/dev/usb/auvitek_dtv.c
323
usbd_status status)
sys/dev/usb/auvitek_dtv.c
338
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/auvitek_dtv.c
339
printf("%s: USB error (%s)\n", __func__, usbd_errstr(status));
sys/dev/usb/auvitek_dtv.c
340
if (status == USBD_STALLED) {
sys/dev/usb/auvitek_dtv.c
344
if (status == USBD_SHORT_XFER) {
sys/dev/usb/auvitek_i2c.c
213
uint8_t status;
sys/dev/usb/auvitek_i2c.c
217
status = auvitek_read_1(sc, AU0828_REG_I2C_STATUS);
sys/dev/usb/auvitek_i2c.c
218
if (!(status & AU0828_I2C_STATUS_BUSY))
sys/dev/usb/auvitek_i2c.c
231
uint8_t status;
sys/dev/usb/auvitek_i2c.c
235
status = auvitek_read_1(sc, AU0828_REG_I2C_STATUS);
sys/dev/usb/auvitek_i2c.c
236
if (!(status & AU0828_I2C_STATUS_NO_RD_ACK))
sys/dev/usb/auvitek_i2c.c
249
uint8_t status;
sys/dev/usb/auvitek_i2c.c
253
status = auvitek_read_1(sc, AU0828_REG_I2C_STATUS);
sys/dev/usb/auvitek_i2c.c
254
if (status & AU0828_I2C_STATUS_RD_DONE)
sys/dev/usb/auvitek_i2c.c
267
uint8_t status;
sys/dev/usb/auvitek_i2c.c
271
status = auvitek_read_1(sc, AU0828_REG_I2C_STATUS);
sys/dev/usb/auvitek_i2c.c
272
if (status & AU0828_I2C_STATUS_WR_DONE)
sys/dev/usb/auvitek_video.c
688
usbd_status status)
sys/dev/usb/auvitek_video.c
700
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/auvitek_video.c
701
if (status == USBD_STALLED) {
sys/dev/usb/auvitek_video.c
716
status = auvitek_isoc_process(sc, buf, isoc->i_frlengths[i]);
sys/dev/usb/auvitek_video.c
717
if (status == USBD_IOERROR)
sys/dev/usb/ehci.c
1000
if (EHCI_QTD_GET_BYTES(status) != 0) {
sys/dev/usb/ehci.c
1120
uint32_t status = 0, nstatus = 0;
sys/dev/usb/ehci.c
1185
status = le32toh(itd->itd->itd_ctl[i]);
sys/dev/usb/ehci.c
1186
len = EHCI_ITD_GET_LEN(status);
sys/dev/usb/ehci.c
1187
if (EHCI_ITD_GET_STATUS(status) != 0)
sys/dev/usb/ehci.c
1228
status = le32toh(sitd->sitd->sitd_trans);
sys/dev/usb/ehci.c
1233
len = EHCI_SITD_GET_LEN(status);
sys/dev/usb/ehci.c
1234
if (status & (EHCI_SITD_ERR|EHCI_SITD_BUFERR|
sys/dev/usb/ehci.c
1282
status = nstatus;
sys/dev/usb/ehci.c
1283
if (EHCI_QTD_GET_PID(status) != EHCI_QTD_PID_SETUP)
sys/dev/usb/ehci.c
1284
actlen += sqtd->len - EHCI_QTD_GET_BYTES(status);
sys/dev/usb/ehci.c
1294
if ((sqtd != lsqtd->nextqtd || EHCI_QTD_GET_BYTES(status)) &&
sys/dev/usb/ehci.c
1297
status, nstatus, 0, 0);
sys/dev/usb/ehci.c
1306
status, 0);
sys/dev/usb/ehci.c
1308
if (status & EHCI_QTD_HALTED) {
sys/dev/usb/ehci.c
1315
EHCI_QTD_GET_CERR(status), EHCI_QTD_GET_PID(status),
sys/dev/usb/ehci.c
1318
status & EHCI_QTD_ACTIVE ? 1 : 0,
sys/dev/usb/ehci.c
1319
status & EHCI_QTD_HALTED ? 1 : 0,
sys/dev/usb/ehci.c
1320
status & EHCI_QTD_BUFERR ? 1 : 0,
sys/dev/usb/ehci.c
1321
status & EHCI_QTD_BABBLE ? 1 : 0);
sys/dev/usb/ehci.c
1324
status & EHCI_QTD_XACTERR ? 1 : 0,
sys/dev/usb/ehci.c
1325
status & EHCI_QTD_MISSEDMICRO ? 1 : 0,
sys/dev/usb/ehci.c
1326
status & EHCI_QTD_SPLITXSTATE ? 1 : 0,
sys/dev/usb/ehci.c
1327
status & EHCI_QTD_PINGSTATE ? 1 : 0);
sys/dev/usb/ehci.c
1337
status &= EHCI_QTD_STATERRS | EHCI_QTD_PINGSTATE;
sys/dev/usb/ehci.c
1339
status &= EHCI_QTD_STATERRS;
sys/dev/usb/ehci.c
1340
if (status == 0) /* no other errors means a stall */ {
sys/dev/usb/ehci.c
1346
if (status & EHCI_QTD_MISSEDMICRO) {
sys/dev/usb/ehci.c
2227
uint32_t status;
sys/dev/usb/ehci.c
2232
status = sqh->qh->qh_qtd.qtd_status &
sys/dev/usb/ehci.c
2254
sqh->qh->qh_qtd.qtd_status = status;
sys/dev/usb/ehci.c
3506
ehci_abort_isoc_xfer(struct usbd_xfer *xfer, usbd_status status)
sys/dev/usb/ehci.c
3516
KASSERTMSG(status == USBD_CANCELLED,
sys/dev/usb/ehci.c
3517
"invalid status for abort: %d", (int)status);
sys/dev/usb/ehci.c
3543
xfer->ux_status = status;
sys/dev/usb/ehci.c
3615
ehci_soft_qtd_t *setup, *status, *next;
sys/dev/usb/ehci.c
3634
status = exfer->ex_status;
sys/dev/usb/ehci.c
3636
next = status;
sys/dev/usb/ehci.c
3661
status->qtd->qtd_status = htole32(
sys/dev/usb/ehci.c
3666
status->qtd->qtd_buffer[0] = 0;
sys/dev/usb/ehci.c
3667
status->qtd->qtd_buffer_hi[0] = 0;
sys/dev/usb/ehci.c
3668
status->qtd->qtd_next = status->qtd->qtd_altnext = EHCI_NULL;
sys/dev/usb/ehci.c
3669
status->nextqtd = NULL;
sys/dev/usb/ehci.c
3670
status->xfer = xfer;
sys/dev/usb/ehci.c
3671
status->len = 0;
sys/dev/usb/ehci.c
3713
ehci_soft_qtd_t *setup, *status, *next;
sys/dev/usb/ehci.c
3747
status = exfer->ex_status;
sys/dev/usb/ehci.c
3750
(uintptr_t)setup, (uintptr_t)status, (uintptr_t)exfer->ex_data, 0);
sys/dev/usb/ehci.c
3751
KASSERTMSG(setup != NULL && status != NULL,
sys/dev/usb/ehci.c
3753
setup, status);
sys/dev/usb/ehci.c
3776
next = status;
sys/dev/usb/ehci.c
3777
status->qtd->qtd_status &= ~htole32(
sys/dev/usb/ehci.c
3784
status->qtd->qtd_status |= htole32(
sys/dev/usb/ehci.c
3792
KASSERT(status->qtd->qtd_status & htole32(EHCI_QTD_TOGGLE_MASK));
sys/dev/usb/ehci.c
3808
end->nextqtd = status;
sys/dev/usb/ehci.c
3810
htole32(status->physaddr);
sys/dev/usb/ehci.c
3825
KASSERT(status->qtd->qtd_status & htole32(EHCI_QTD_TOGGLE_MASK));
sys/dev/usb/ehci.c
3827
usb_syncmem(&status->dma, status->offs, sizeof(*status->qtd),
sys/dev/usb/ehci.c
951
uint32_t status;
sys/dev/usb/ehci.c
976
status = le32toh(lsqtd->qtd->qtd_status);
sys/dev/usb/ehci.c
980
if (status & EHCI_QTD_ACTIVE) {
sys/dev/usb/ehci.c
989
status = le32toh(sqtd->qtd->qtd_status);
sys/dev/usb/ehci.c
994
if (status & EHCI_QTD_ACTIVE)
sys/dev/usb/ehci.c
997
if (status & EHCI_QTD_HALTED)
sys/dev/usb/emdtv.c
130
status = usbd_set_config_no(sc->sc_udev, 1, 1);
sys/dev/usb/emdtv.c
131
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/emdtv.c
133
", err=%s\n", usbd_errstr(status));
sys/dev/usb/emdtv.c
137
status = usbd_device2interface_handle(sc->sc_udev, 0, &sc->sc_iface);
sys/dev/usb/emdtv.c
138
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/emdtv.c
143
status = usbd_set_interface(sc->sc_iface, 1);
sys/dev/usb/emdtv.c
144
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/emdtv.c
158
usbd_status status;
sys/dev/usb/emdtv.c
173
status = usbd_set_interface(sc->sc_iface, 0);
sys/dev/usb/emdtv.c
174
if (status != USBD_NORMAL_COMPLETION)
sys/dev/usb/emdtv.c
176
"couldn't stop stream: %s\n", usbd_errstr(status));
sys/dev/usb/emdtv.c
325
usbd_status status;
sys/dev/usb/emdtv.c
334
status = usbd_do_request(sc->sc_udev, &request, datap);
sys/dev/usb/emdtv.c
337
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/emdtv.c
339
req, index, usbd_errstr(status));
sys/dev/usb/emdtv.c
346
__func__, status == 0 ? " OK" : "NOK", req, index);
sys/dev/usb/emdtv.c
347
for (i = 0; status == 0 && i < count; i++)
sys/dev/usb/emdtv.c
358
usbd_status status;
sys/dev/usb/emdtv.c
367
status = usbd_do_request(sc->sc_udev, &request, __UNCONST(datap));
sys/dev/usb/emdtv.c
370
if (status != USBD_NORMAL_COMPLETION)
sys/dev/usb/emdtv.c
372
req, index, usbd_errstr(status));
sys/dev/usb/emdtv.c
377
__func__, status == 0 ? " OK" : "NOK",
sys/dev/usb/emdtv.c
86
usbd_status status;
sys/dev/usb/emdtv_dtv.c
106
status = usbd_open_pipe(sc->sc_iface,
sys/dev/usb/emdtv_dtv.c
109
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/emdtv_dtv.c
87
usbd_status status;
sys/dev/usb/emdtv_ir.c
128
usbd_status status)
sys/dev/usb/emdtv_ir.c
134
if (status == USBD_CANCELLED)
sys/dev/usb/emdtv_ir.c
75
usbd_status status;
sys/dev/usb/emdtv_ir.c
92
status = usbd_open_pipe_intr(sc->sc_iface, ed->bEndpointAddress,
sys/dev/usb/emdtv_ir.c
95
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/emdtv_ir.c
97
usbd_errstr(status));
sys/dev/usb/if_athn_usb.c
1198
if (rsp.status != AR_HTC_SVC_SUCCESS) {
sys/dev/usb/if_athn_usb.c
1201
svc_id, rsp.status);
sys/dev/usb/if_athn_usb.c
1229
usbd_status status)
sys/dev/usb/if_athn_usb.c
1235
if (__predict_false(status == USBD_STALLED))
sys/dev/usb/if_athn_usb.c
1934
usbd_status status)
sys/dev/usb/if_athn_usb.c
1941
if (__predict_false(status == USBD_STALLED))
sys/dev/usb/if_athn_usb.c
2081
usbd_status status)
sys/dev/usb/if_athn_usb.c
2095
if (__predict_false(status != USBD_NORMAL_COMPLETION)) {
sys/dev/usb/if_athn_usb.c
2096
DPRINTFN(DBG_INTR, usc, "intr status=%d\n", status);
sys/dev/usb/if_athn_usb.c
2097
if (status == USBD_STALLED)
sys/dev/usb/if_athn_usb.c
2302
usbd_status status)
sys/dev/usb/if_athn_usb.c
2318
if (__predict_false(status != USBD_NORMAL_COMPLETION)) {
sys/dev/usb/if_athn_usb.c
2319
DPRINTFN(DBG_RX, usc, "RX status=%d\n", status);
sys/dev/usb/if_athn_usb.c
2320
if (status == USBD_STALLED)
sys/dev/usb/if_athn_usb.c
2322
if (status != USBD_CANCELLED)
sys/dev/usb/if_athn_usb.c
2414
usbd_status status)
sys/dev/usb/if_athn_usb.c
2433
if (__predict_false(status != USBD_NORMAL_COMPLETION)) {
sys/dev/usb/if_athn_usb.c
2434
DPRINTFN(DBG_TX, sc, "TX status=%d\n", status);
sys/dev/usb/if_athn_usb.c
2435
if (status == USBD_STALLED)
sys/dev/usb/if_athn_usb.h
305
uint8_t status;
sys/dev/usb/if_atu.c
1615
atu_rxeof(struct usbd_xfer *xfer, void *priv, usbd_status status)
sys/dev/usb/if_atu.c
1636
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/if_atu.c
1639
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED) {
sys/dev/usb/if_atu.c
1643
if (status == USBD_IOERROR) {
sys/dev/usb/if_atu.c
1663
device_xname(sc->atu_dev), usbd_errstr(status)));
sys/dev/usb/if_atu.c
1665
if (status == USBD_STALLED)
sys/dev/usb/if_atu.c
1728
atu_txeof(struct usbd_xfer *xfer, void *priv, usbd_status status)
sys/dev/usb/if_atu.c
1737
status));
sys/dev/usb/if_atu.c
1742
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/if_atu.c
1743
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
sys/dev/usb/if_atu.c
1747
device_xname(sc->atu_dev), usbd_errstr(status)));
sys/dev/usb/if_atu.c
1748
if (status == USBD_STALLED)
sys/dev/usb/if_atu.c
349
atu_get_cmd_status(struct atu_softc *sc, uint8_t cmd, uint8_t *status)
sys/dev/usb/if_atu.c
361
0x0000, 6, status);
sys/dev/usb/if_atu.c
365
atu_wait_completion(struct atu_softc *sc, uint8_t cmd, uint8_t *status)
sys/dev/usb/if_atu.c
398
if (status != NULL)
sys/dev/usb/if_atu.c
399
*status = statusreq[5];
sys/dev/usb/if_atu.c
779
uint8_t status = 0; /* XXX: GCC */
sys/dev/usb/if_atu.c
813
err = atu_wait_completion(sc, CMD_JOIN, &status);
sys/dev/usb/if_atu.c
819
if (status != STATUS_COMPLETE) {
sys/dev/usb/if_atu.c
821
device_xname(sc->atu_dev), status));
sys/dev/usb/if_atu.c
822
return status;
sys/dev/usb/if_atu.c
860
u_char state, *ptr = NULL, *firm = NULL, status[6];
sys/dev/usb/if_atu.c
903
status);
sys/dev/usb/if_atu.c
952
err = atu_usb_request(sc, DFU_GETSTATUS, 0, 0, 6, status);
sys/dev/usb/if_aue.c
861
aue_uno_intr(struct usbnet *un, usbd_status status)
sys/dev/usb/if_bwfm_usb.c
454
bwfm_usb_rxeof(struct usbd_xfer *xfer, void *priv, usbd_status status)
sys/dev/usb/if_bwfm_usb.c
464
usbd_errstr(status)));
sys/dev/usb/if_bwfm_usb.c
466
if (__predict_false(status != USBD_NORMAL_COMPLETION)) {
sys/dev/usb/if_bwfm_usb.c
468
if (status != USBD_CANCELLED)
sys/dev/usb/if_bwfm_usb.c
586
bwfm_usb_txeof(struct usbd_xfer *xfer, void *priv, usbd_status status)
sys/dev/usb/if_bwfm_usb.c
594
usbd_errstr(status)));
sys/dev/usb/if_bwfm_usb.c
606
if (__predict_false(status != USBD_NORMAL_COMPLETION)) {
sys/dev/usb/if_bwfm_usb.c
607
if (status == USBD_CANCELLED)
sys/dev/usb/if_gscan.c
184
gscan_rx(struct usbd_xfer *xfer, void *priv, usbd_status status)
sys/dev/usb/if_gscan.c
195
GSCANHIST_CALLARGS("status: %d", status, 0, 0, 0);
sys/dev/usb/if_gscan.c
199
status == USBD_NOT_STARTED || status == USBD_CANCELLED ||
sys/dev/usb/if_gscan.c
200
status == USBD_INVAL) {
sys/dev/usb/if_gscan.c
204
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/if_gscan.c
205
DPRINTF("rx error: %jd", status, 0, 0, 0);
sys/dev/usb/if_gscan.c
206
if (status == USBD_STALLED)
sys/dev/usb/if_gscan.c
276
gscan_tx(struct usbd_xfer *xfer, void *priv, usbd_status status)
sys/dev/usb/if_gscan.c
283
GSCANHIST_CALLARGS("status: %d", status, 0, 0, 0);
sys/dev/usb/if_gscan.c
293
if (status == USBD_NORMAL_COMPLETION)
sys/dev/usb/if_gscan.c
299
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/if_gscan.c
300
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED) {
sys/dev/usb/if_gscan.c
304
DPRINTF("rx error: %jd", status, 0, 0, 0);
sys/dev/usb/if_gscan.c
305
if (status == USBD_STALLED)
sys/dev/usb/if_otus.c
1597
otus_intr(struct usbd_xfer *xfer, void *priv, usbd_status status)
sys/dev/usb/if_otus.c
1612
if (__predict_false(status != USBD_NORMAL_COMPLETION)) {
sys/dev/usb/if_otus.c
1613
DPRINTFN(DBG_INTR, sc, "status=%d\n", status);
sys/dev/usb/if_otus.c
1614
if (status == USBD_STALLED)
sys/dev/usb/if_otus.c
1680
ether_sprintf(tx->macaddr), le16toh(tx->status),
sys/dev/usb/if_otus.c
1698
if (__predict_true(tx->status != 0))
sys/dev/usb/if_otus.c
1809
switch (tail->status & AR_RX_STATUS_MT_MASK) {
sys/dev/usb/if_otus.c
1817
if (tail->status & AR_RX_STATUS_SHPREAMBLE)
sys/dev/usb/if_otus.c
1847
otus_rxeof(struct usbd_xfer *xfer, void *priv, usbd_status status)
sys/dev/usb/if_otus.c
1863
if (__predict_false(status != USBD_NORMAL_COMPLETION)) {
sys/dev/usb/if_otus.c
1864
DPRINTFN(DBG_RX, sc, "RX status=%d\n", status);
sys/dev/usb/if_otus.c
1865
if (status == USBD_STALLED)
sys/dev/usb/if_otus.c
1867
else if (status != USBD_CANCELLED) {
sys/dev/usb/if_otus.c
1869
"otus_rxeof: goto resubmit: status=%d\n", status);
sys/dev/usb/if_otus.c
1905
otus_txeof(struct usbd_xfer *xfer, void *priv, usbd_status status)
sys/dev/usb/if_otus.c
1925
if (__predict_false(status != USBD_NORMAL_COMPLETION)) {
sys/dev/usb/if_otus.c
1926
DPRINTFN(DBG_TX, sc, "TX status=%d\n", status);
sys/dev/usb/if_otus.c
1927
if (status == USBD_STALLED)
sys/dev/usb/if_otus.c
2901
if ((rsp.status & htole32(AR_CAL_ERR_AGC | AR_CAL_ERR_NF_VAL)) != 0) {
sys/dev/usb/if_otus.c
2902
DPRINTFN(DBG_CHAN, sc, "status=%#x\n", le32toh(rsp.status));
sys/dev/usb/if_otus.c
2910
le32toh(rsp.status));
sys/dev/usb/if_otusreg.h
291
uint8_t status;
sys/dev/usb/if_otusreg.h
362
uint32_t status;
sys/dev/usb/if_otusreg.h
392
uint16_t status;
sys/dev/usb/if_rum.c
2253
usbd_status status)
sys/dev/usb/if_rum.c
2258
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/if_rum.c
764
rum_txeof(struct usbd_xfer *xfer, void *priv, usbd_status status)
sys/dev/usb/if_rum.c
771
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/if_rum.c
772
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
sys/dev/usb/if_rum.c
776
device_xname(sc->sc_dev), usbd_errstr(status));
sys/dev/usb/if_rum.c
778
if (status == USBD_STALLED)
sys/dev/usb/if_rum.c
803
rum_rxeof(struct usbd_xfer *xfer, void *priv, usbd_status status)
sys/dev/usb/if_rum.c
815
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/if_rum.c
816
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
sys/dev/usb/if_rum.c
819
if (status == USBD_STALLED)
sys/dev/usb/if_run.c
2429
run_rxeof(struct usbd_xfer *xfer, void *priv, usbd_status status)
sys/dev/usb/if_run.c
2447
if (__predict_false(status != USBD_NORMAL_COMPLETION)) {
sys/dev/usb/if_run.c
2448
DPRINTF(("RX status=%s\n", usbd_errstr(status)));
sys/dev/usb/if_run.c
2449
if (status == USBD_STALLED)
sys/dev/usb/if_run.c
2451
if (status != USBD_CANCELLED)
sys/dev/usb/if_run.c
2486
status = usbd_transfer(xfer);
sys/dev/usb/if_run.c
2487
if (status != USBD_NORMAL_COMPLETION &&
sys/dev/usb/if_run.c
2488
status != USBD_IN_PROGRESS)
sys/dev/usb/if_run.c
2490
usbd_errstr(status));
sys/dev/usb/if_run.c
2494
run_txeof(struct usbd_xfer *xfer, void *priv, usbd_status status)
sys/dev/usb/if_run.c
2506
if (__predict_false(status != USBD_NORMAL_COMPLETION)) {
sys/dev/usb/if_run.c
2507
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
sys/dev/usb/if_run.c
2511
device_xname(sc->sc_dev), usbd_errstr(status)));
sys/dev/usb/if_run.c
2512
if (status == USBD_STALLED)
sys/dev/usb/if_run.c
2544
usbd_status status;
sys/dev/usb/if_run.c
2671
status = usbd_transfer(data->xfer);
sys/dev/usb/if_run.c
2672
if (__predict_false(status != USBD_IN_PROGRESS &&
sys/dev/usb/if_run.c
2673
status != USBD_NORMAL_COMPLETION)) {
sys/dev/usb/if_run.c
2675
usbd_errstr(status));
sys/dev/usb/if_run.c
4706
usbd_status status;
sys/dev/usb/if_run.c
4939
status = usbd_transfer(data->xfer);
sys/dev/usb/if_run.c
4940
if (status != USBD_NORMAL_COMPLETION &&
sys/dev/usb/if_run.c
4941
status != USBD_IN_PROGRESS) {
sys/dev/usb/if_run.c
4943
usbd_errstr(status));
sys/dev/usb/if_umb.c
1300
uint32_t status;
sys/dev/usb/if_umb.c
1302
status = le32toh(resp->status);
sys/dev/usb/if_umb.c
1303
if (status == MBIM_STATUS_SUCCESS) {
sys/dev/usb/if_umb.c
1314
umb_status2str(status));
sys/dev/usb/if_umb.c
1322
uint32_t status;
sys/dev/usb/if_umb.c
1324
status = le32toh(resp->status);
sys/dev/usb/if_umb.c
1325
if (status == MBIM_STATUS_SUCCESS)
sys/dev/usb/if_umb.c
1329
umb_status2str(status));
sys/dev/usb/if_umb.c
1814
umb_rxeof(struct usbd_xfer *xfer, void *priv, usbd_status status)
sys/dev/usb/if_umb.c
1822
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/if_umb.c
1823
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
sys/dev/usb/if_umb.c
1825
DPRINTF("%s: rx error: %s\n", DEVNAM(sc), usbd_errstr(status));
sys/dev/usb/if_umb.c
1826
if (status == USBD_STALLED)
sys/dev/usb/if_umb.c
1888
umb_txeof(struct usbd_xfer *xfer, void *priv, usbd_status status)
sys/dev/usb/if_umb.c
1901
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/if_umb.c
1902
if (status != USBD_NOT_STARTED && status != USBD_CANCELLED) {
sys/dev/usb/if_umb.c
1905
usbd_errstr(status));
sys/dev/usb/if_umb.c
1906
if (status == USBD_STALLED)
sys/dev/usb/if_umb.c
2383
uint32_t status;
sys/dev/usb/if_umb.c
2405
status = le32toh(cmd->status);
sys/dev/usb/if_umb.c
2406
switch (status) {
sys/dev/usb/if_umb.c
2420
umb_cid2str(cid), umb_status2str(status));
sys/dev/usb/if_umb.c
2606
umb_intr(struct usbd_xfer *xfer, void *priv, usbd_status status)
sys/dev/usb/if_umb.c
2612
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/if_umb.c
2614
usbd_errstr(status));
sys/dev/usb/if_umb.c
2615
if (status == USBD_STALLED)
sys/dev/usb/if_umb.c
297
usbd_status status;
sys/dev/usb/if_umb.c
465
status = usbd_set_interface(sc->sc_data_iface, i);
sys/dev/usb/if_umb.c
466
if (status) {
sys/dev/usb/if_umb.c
468
"failed: %s\n", i, data_ifaceno, usbd_errstr(status));
sys/dev/usb/if_upgt.c
1747
le16toh(desc->status),
sys/dev/usb/if_upgt.c
1765
upgt_rx_cb(struct usbd_xfer *xfer, void * priv, usbd_status status)
sys/dev/usb/if_upgt.c
1777
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/if_upgt.c
1778
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
sys/dev/usb/if_upgt.c
1780
if (status == USBD_STALLED)
sys/dev/usb/if_upgt.c
2391
usbd_status status;
sys/dev/usb/if_upgt.c
2393
status = usbd_bulk_transfer(data->xfer, pipeh, flags, UPGT_USB_TIMEOUT,
sys/dev/usb/if_upgt.c
2395
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/if_upgt.c
2397
usbd_errstr(status));
sys/dev/usb/if_upgtvar.h
373
uint16_t status;
sys/dev/usb/if_ural.c
174
usbd_status status);
sys/dev/usb/if_ural.c
2333
usbd_status status)
sys/dev/usb/if_ural.c
2338
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/if_ural.c
854
usbd_status status)
sys/dev/usb/if_ural.c
861
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/if_ural.c
862
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
sys/dev/usb/if_ural.c
866
device_xname(sc->sc_dev), usbd_errstr(status));
sys/dev/usb/if_ural.c
868
if (status == USBD_STALLED)
sys/dev/usb/if_ural.c
895
ural_rxeof(struct usbd_xfer *xfer, void * priv, usbd_status status)
sys/dev/usb/if_ural.c
907
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/if_ural.c
908
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
sys/dev/usb/if_ural.c
911
if (status == USBD_STALLED)
sys/dev/usb/if_urtw.c
2517
usbd_status status)
sys/dev/usb/if_urtw.c
2525
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/if_urtw.c
2526
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
sys/dev/usb/if_urtw.c
2530
device_xname(sc->sc_dev), usbd_errstr(status));
sys/dev/usb/if_urtw.c
2532
if (status == USBD_STALLED)
sys/dev/usb/if_urtw.c
2556
usbd_status status)
sys/dev/usb/if_urtw.c
2564
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/if_urtw.c
2565
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
sys/dev/usb/if_urtw.c
2569
device_xname(sc->sc_dev), usbd_errstr(status));
sys/dev/usb/if_urtw.c
2571
if (status == USBD_STALLED)
sys/dev/usb/if_urtw.c
3053
urtw_rxeof(struct usbd_xfer *xfer, void *priv, usbd_status status)
sys/dev/usb/if_urtw.c
3065
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/if_urtw.c
3066
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
sys/dev/usb/if_urtw.c
3069
if (status == USBD_STALLED)
sys/dev/usb/if_urtwn.c
2558
urtwn_rxeof(struct usbd_xfer *xfer, void *priv, usbd_status status)
sys/dev/usb/if_urtwn.c
2569
DPRINTFN(DBG_RX, "status=%jd", status, 0, 0, 0);
sys/dev/usb/if_urtwn.c
2577
if (__predict_false(status != USBD_NORMAL_COMPLETION)) {
sys/dev/usb/if_urtwn.c
2578
if (status == USBD_STALLED)
sys/dev/usb/if_urtwn.c
2580
else if (status != USBD_CANCELLED)
sys/dev/usb/if_urtwn.c
2661
urtwn_txeof(struct usbd_xfer *xfer, void *priv, usbd_status status)
sys/dev/usb/if_urtwn.c
2670
DPRINTFN(DBG_TX, "status=%jd", status, 0, 0, 0);
sys/dev/usb/if_urtwn.c
2678
if (__predict_false(status != USBD_NORMAL_COMPLETION)) {
sys/dev/usb/if_urtwn.c
2679
if (status != USBD_NOT_STARTED && status != USBD_CANCELLED) {
sys/dev/usb/if_urtwn.c
2680
if (status == USBD_STALLED) {
sys/dev/usb/if_urtwn.c
2685
usbd_errstr(status));
sys/dev/usb/if_zyd.c
1818
zyd_intr(struct usbd_xfer *xfer, void * priv, usbd_status status)
sys/dev/usb/if_zyd.c
1824
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/if_zyd.c
1825
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
sys/dev/usb/if_zyd.c
1828
if (status == USBD_STALLED) {
sys/dev/usb/if_zyd.c
1990
zyd_rxeof(struct usbd_xfer *xfer, void * priv, usbd_status status)
sys/dev/usb/if_zyd.c
1998
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/if_zyd.c
1999
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
sys/dev/usb/if_zyd.c
2002
if (status == USBD_STALLED)
sys/dev/usb/if_zyd.c
2160
zyd_txeof(struct usbd_xfer *xfer, void * priv, usbd_status status)
sys/dev/usb/if_zyd.c
2167
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/if_zyd.c
2168
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
sys/dev/usb/if_zyd.c
2172
device_xname(sc->sc_dev), usbd_errstr(status));
sys/dev/usb/if_zyd.c
2174
if (status == USBD_STALLED) {
sys/dev/usb/mbim.h
229
int32_t status;
sys/dev/usb/mbim.h
237
int32_t status;
sys/dev/usb/motg.c
801
int status, change, totlen = 0;
sys/dev/usb/motg.c
910
status = change = 0;
sys/dev/usb/motg.c
912
status |= UPS_CURRENT_CONNECT_STATUS;
sys/dev/usb/motg.c
918
status |= UPS_PORT_ENABLED;
sys/dev/usb/motg.c
924
status |= UPS_SUSPEND;
sys/dev/usb/motg.c
926
status |= UPS_HIGH_SPEED;
sys/dev/usb/motg.c
927
status |= UPS_PORT_POWER; /* XXX */
sys/dev/usb/motg.c
930
USETW(ps.wPortStatus, status);
sys/dev/usb/slurm.c
211
usbd_status status;
sys/dev/usb/slurm.c
219
status = usbd_get_report(sc->sc_uif, UHID_FEATURE_REPORT,
sys/dev/usb/slurm.c
224
return status;
sys/dev/usb/slurm.c
230
usbd_status status;
sys/dev/usb/slurm.c
239
status = usbd_set_report(sc->sc_uif, UHID_FEATURE_REPORT,
sys/dev/usb/slurm.c
242
return status;
sys/dev/usb/stuirda.c
149
usbd_status status;
sys/dev/usb/stuirda.c
161
status = usbd_get_device_desc(sc->sc_udev, &usbddsc);
sys/dev/usb/stuirda.c
162
if (status) {
sys/dev/usb/stuirda.c
164
device_xname(sc->sc_dev), status);
sys/dev/usb/stuirda.c
165
return status;
sys/dev/usb/u3g.c
506
u3g_intr(struct usbd_xfer *xfer, void *priv, usbd_status status)
sys/dev/usb/u3g.c
516
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/u3g.c
517
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
sys/dev/usb/ualea.c
125
status = usbd_open_pipe(uiaa->uiaa_iface, ed->bEndpointAddress,
sys/dev/usb/ualea.c
127
if (status) {
sys/dev/usb/ualea.c
129
status);
sys/dev/usb/ualea.c
134
status = usbd_create_xfer(sc->sc_pipe, sc->sc_maxpktsize,
sys/dev/usb/ualea.c
136
if (status) {
sys/dev/usb/ualea.c
138
status);
sys/dev/usb/ualea.c
185
usbd_status status;
sys/dev/usb/ualea.c
201
status = usbd_transfer(sc->sc_xfer);
sys/dev/usb/ualea.c
202
KASSERT(status != USBD_NORMAL_COMPLETION); /* asynchronous xfer */
sys/dev/usb/ualea.c
203
if (status != USBD_IN_PROGRESS) {
sys/dev/usb/ualea.c
205
usbd_errstr(status));
sys/dev/usb/ualea.c
227
ualea_xfer_done(struct usbd_xfer *xfer, void *cookie, usbd_status status)
sys/dev/usb/ualea.c
237
if (status) {
sys/dev/usb/ualea.c
239
usbd_errstr(status));
sys/dev/usb/ualea.c
96
usbd_status status;
sys/dev/usb/uatp.c
1300
usbd_status status;
sys/dev/usb/uatp.c
1303
status = usbd_get_report(sc->sc_iface0, UHID_FEATURE_REPORT,
sys/dev/usb/uatp.c
1305
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/uatp.c
1307
"error reading feature report: %s\n", usbd_errstr(status));
sys/dev/usb/uatp.c
1331
status = usbd_set_report(sc->sc_iface0, UHID_FEATURE_REPORT,
sys/dev/usb/uatp.c
1333
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/uatp.c
1335
"error writing feature report: %s\n", usbd_errstr(status));
sys/dev/usb/uaudio.c
3882
usbd_status status)
sys/dev/usb/uaudio.c
3893
if (status == USBD_CANCELLED)
sys/dev/usb/uaudio.c
3896
if (status != USBD_NORMAL_COMPLETION)
sys/dev/usb/uaudio.c
3898
usbd_errstr(status));
sys/dev/usb/uaudio.c
3907
count, cb->size, status);
sys/dev/usb/uaudio.c
3981
usbd_status status)
sys/dev/usb/uaudio.c
3993
if (status == USBD_CANCELLED)
sys/dev/usb/uaudio.c
3996
if (status != USBD_NORMAL_COMPLETION && status != USBD_SHORT_XFER)
sys/dev/usb/uaudio.c
3998
usbd_errstr(status));
sys/dev/usb/uaudio.c
4008
count, cb->size, status);
sys/dev/usb/ubsa_common.c
411
usbd_status status)
sys/dev/usb/ubsa_common.c
421
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/ubsa_common.c
422
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
sys/dev/usb/ubsa_common.c
426
device_xname(sc->sc_dev), usbd_errstr(status)));
sys/dev/usb/ubt.c
1150
usbd_status status;
sys/dev/usb/ubt.c
1187
status = usbd_transfer(sc->sc_cmd_xfer);
sys/dev/usb/ubt.c
1189
KASSERT(status != USBD_NORMAL_COMPLETION);
sys/dev/usb/ubt.c
1191
if (status != USBD_IN_PROGRESS) {
sys/dev/usb/ubt.c
1193
usbd_errstr(status), status);
sys/dev/usb/ubt.c
1202
void * h, usbd_status status)
sys/dev/usb/ubt.c
1208
device_xname(sc->sc_dev), usbd_errstr(status), status);
sys/dev/usb/ubt.c
1223
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/ubt.c
1225
usbd_errstr(status), status);
sys/dev/usb/ubt.c
1259
usbd_status status;
sys/dev/usb/ubt.c
1299
status = usbd_transfer(sc->sc_aclwr_xfer);
sys/dev/usb/ubt.c
1301
KASSERT(status != USBD_NORMAL_COMPLETION);
sys/dev/usb/ubt.c
1303
if (status != USBD_IN_PROGRESS) {
sys/dev/usb/ubt.c
1305
usbd_errstr(status), status);
sys/dev/usb/ubt.c
1314
void * h, usbd_status status)
sys/dev/usb/ubt.c
1319
device_xname(sc->sc_dev), usbd_errstr(status), status);
sys/dev/usb/ubt.c
1331
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/ubt.c
1333
usbd_errstr(status), status);
sys/dev/usb/ubt.c
1337
if (status == USBD_STALLED)
sys/dev/usb/ubt.c
1463
void * h, usbd_status status)
sys/dev/usb/ubt.c
1473
isoc, usbd_errstr(status), status);
sys/dev/usb/ubt.c
1495
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/ubt.c
1497
usbd_errstr(status), status);
sys/dev/usb/ubt.c
1501
if (status == USBD_STALLED)
sys/dev/usb/ubt.c
1538
ubt_recv_event(struct usbd_xfer *xfer, void * h, usbd_status status)
sys/dev/usb/ubt.c
1546
sc, usbd_errstr(status), status);
sys/dev/usb/ubt.c
1548
if (status != USBD_NORMAL_COMPLETION || sc->sc_dying)
sys/dev/usb/ubt.c
1570
usbd_status status;
sys/dev/usb/ubt.c
1593
status = usbd_transfer(sc->sc_aclrd_xfer);
sys/dev/usb/ubt.c
1595
KASSERT(status != USBD_NORMAL_COMPLETION);
sys/dev/usb/ubt.c
1597
if (status != USBD_IN_PROGRESS) {
sys/dev/usb/ubt.c
1599
usbd_errstr(status), status);
sys/dev/usb/ubt.c
1608
void * h, usbd_status status)
sys/dev/usb/ubt.c
1616
sc, usbd_errstr(status), status);
sys/dev/usb/ubt.c
1631
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/ubt.c
1633
usbd_errstr(status), status);
sys/dev/usb/ubt.c
1637
if (status == USBD_STALLED)
sys/dev/usb/ubt.c
1695
void * h, usbd_status status)
sys/dev/usb/ubt.c
1721
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/ubt.c
1723
usbd_errstr(status), status);
sys/dev/usb/ubt.c
1727
if (status == USBD_STALLED) {
sys/dev/usb/uchcom.c
934
usbd_status status)
sys/dev/usb/uchcom.c
942
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/uchcom.c
943
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
sys/dev/usb/uchcom.c
947
device_xname(sc->sc_dev), usbd_errstr(status)));
sys/dev/usb/ucom.c
1766
ucomwritecb(struct usbd_xfer *xfer, void *p, usbd_status status)
sys/dev/usb/ucom.c
1771
ucom_write_status(sc, SIMPLEQ_FIRST(&sc->sc_obuff_full), status);
sys/dev/usb/ucom.c
1964
ucomreadcb(struct usbd_xfer *xfer, void *p, usbd_status status)
sys/dev/usb/ucom.c
1988
if (status == USBD_CANCELLED || status == USBD_IOERROR ||
sys/dev/usb/ucom.c
1991
status, sc->sc_closing, 0, 0);
sys/dev/usb/ucom.c
2005
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/ucom.c
2006
if (status == USBD_STALLED) {
sys/dev/usb/ucom.c
2011
usbd_errstr(status));
sys/dev/usb/ucom.c
2014
DPRINTF("... done (status %jd)", status, 0, 0, 0);
sys/dev/usb/ucom.c
325
ucom_cnput_complete(struct usbd_xfer *xfer, void *priv, usbd_status status)
sys/dev/usb/ucycom.c
631
ucycomwritecb(struct usbd_xfer *xfer, void *p, usbd_status status)
sys/dev/usb/ucycom.c
638
if (status == USBD_CANCELLED || sc->sc_dying)
sys/dev/usb/ucycom.c
641
if (status) {
sys/dev/usb/ucycom.c
642
DPRINTF(("ucycomwritecb: status=%d\n", status));
sys/dev/usb/ucycom.c
649
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/ucycom.c
650
DPRINTFN(4,("ucycomwritecb: status = %d\n", status));
sys/dev/usb/udl.c
1581
usbd_status status)
sys/dev/usb/udl.c
1586
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/udl.c
1588
usbd_errstr(status));
sys/dev/usb/udl.c
1590
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
sys/dev/usb/udl.c
1592
if (status == USBD_STALLED)
sys/dev/usb/udl.c
1635
uint8_t status[4], val;
sys/dev/usb/udl.c
1638
0x0000, 0x0000, status, sizeof(status)) != 0)
sys/dev/usb/udl.c
657
d->status = UDLIO_STATUS_OK;
sys/dev/usb/udsir.c
954
udsir_rd_cb(struct usbd_xfer *xfer, void * priv, usbd_status status)
sys/dev/usb/udsir.c
964
if (status == USBD_CANCELLED || sc->sc_closing) /* this is normal */
sys/dev/usb/udsir.c
966
if (status) {
sys/dev/usb/uep.c
381
uep_intr(struct usbd_xfer *xfer, void *addr, usbd_status status)
sys/dev/usb/uep.c
391
if (status == USBD_CANCELLED)
sys/dev/usb/uep.c
394
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/uep.c
395
aprint_error_dev(sc->sc_dev, "status %d\n", status);
sys/dev/usb/ugen.c
1336
ugenintr(struct usbd_xfer *xfer, void *addr, usbd_status status)
sys/dev/usb/ugen.c
1344
UGENHIST_CALLARGS("xfer %jx status %d", (uintptr_t)xfer, status, 0, 0);
sys/dev/usb/ugen.c
1346
if (status == USBD_CANCELLED)
sys/dev/usb/ugen.c
1349
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/ugen.c
1350
DPRINTF("status=%jd", status, 0, 0, 0);
sys/dev/usb/ugen.c
1351
if (status == USBD_STALLED)
sys/dev/usb/ugen.c
1360
(uintptr_t)xfer, status, count, 0);
sys/dev/usb/ugen.c
1373
usbd_status status)
sys/dev/usb/ugen.c
1382
UGENHIST_CALLARGS("xfer=%jx status=%jd", (uintptr_t)xfer, status, 0, 0);
sys/dev/usb/ugen.c
1385
if (status == USBD_CANCELLED)
sys/dev/usb/ugen.c
1435
usbd_status status)
sys/dev/usb/ugen.c
1444
UGENHIST_CALLARGS("xfer=%jx status=%jd", (uintptr_t)xfer, status, 0, 0);
sys/dev/usb/ugen.c
1447
if (status == USBD_CANCELLED)
sys/dev/usb/ugen.c
1450
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/ugen.c
1451
DPRINTF("status=%jd", status, 0, 0, 0);
sys/dev/usb/ugen.c
1453
if (status == USBD_STALLED)
sys/dev/usb/ugen.c
1504
usbd_status status)
sys/dev/usb/ugen.c
1513
UGENHIST_CALLARGS("xfer=%jx status=%jd", (uintptr_t)xfer, status, 0, 0);
sys/dev/usb/ugen.c
1516
if (status == USBD_CANCELLED)
sys/dev/usb/ugen.c
1519
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/ugen.c
1520
DPRINTF("status=%jd", status, 0, 0, 0);
sys/dev/usb/ugen.c
1522
if (status == USBD_STALLED)
sys/dev/usb/uhci.c
1367
int status;
sys/dev/usb/uhci.c
1381
status = UREAD2(sc, UHCI_STS) & UHCI_STS_ALLINTRS;
sys/dev/usb/uhci.c
1383
if (status == 0)
sys/dev/usb/uhci.c
1391
UWRITE2(sc, UHCI_STS, status); /* acknowledge the ints */
sys/dev/usb/uhci.c
1396
if (status & UHCI_STS_USBINT)
sys/dev/usb/uhci.c
1398
if (status & UHCI_STS_USBEI)
sys/dev/usb/uhci.c
1400
if (status & UHCI_STS_RD) {
sys/dev/usb/uhci.c
1406
if (status & UHCI_STS_HSE) {
sys/dev/usb/uhci.c
1410
if (status & UHCI_STS_HCPE) {
sys/dev/usb/uhci.c
1417
if ((status & UHCI_STS_HCH) && (UREAD2(sc, UHCI_CMD) & UHCI_CMD_RS)) {
sys/dev/usb/uhci.c
1487
uint32_t status;
sys/dev/usb/uhci.c
1525
status = le32toh(lstd->td.td_status);
sys/dev/usb/uhci.c
1532
if (!(status & UHCI_TD_ACTIVE)) {
sys/dev/usb/uhci.c
1550
status = le32toh(std->td.td_status);
sys/dev/usb/uhci.c
1556
if (status & UHCI_TD_ACTIVE) {
sys/dev/usb/uhci.c
1563
if (status & UHCI_TD_STALLED)
sys/dev/usb/uhci.c
1571
if ((status & UHCI_TD_SPD) && ux->ux_type == UX_CTRL) {
sys/dev/usb/uhci.c
1594
if ((status & UHCI_TD_SPD) &&
sys/dev/usb/uhci.c
1595
UHCI_TD_GET_ACTLEN(status) <
sys/dev/usb/uhci.c
1611
uint32_t status = 0, nstatus;
sys/dev/usb/uhci.c
1665
status = le32toh(std->td.td_status);
sys/dev/usb/uhci.c
1666
len = UHCI_TD_GET_ACTLEN(status);
sys/dev/usb/uhci.c
1695
status = nstatus;
sys/dev/usb/uhci.c
1698
actlen += UHCI_TD_GET_ACTLEN(status);
sys/dev/usb/uhci.c
1705
if (status & (UHCI_TD_STALLED | UHCI_TD_NAK))
sys/dev/usb/uhci.c
1706
status &= ~UHCI_TD_CRCTO;
sys/dev/usb/uhci.c
1713
status &= UHCI_TD_ERROR;
sys/dev/usb/uhci.c
1714
DPRINTFN(10, "actlen=%jd, status=%#jx", actlen, status, 0, 0);
sys/dev/usb/uhci.c
1716
if (status != 0) {
sys/dev/usb/uhci.c
1718
DPRINTFN((status == UHCI_TD_STALLED) * 10,
sys/dev/usb/uhci.c
1723
DPRINTFN((status == UHCI_TD_STALLED) * 10,
sys/dev/usb/uhci.c
1725
!!(status & UHCI_TD_BITSTUFF),
sys/dev/usb/uhci.c
1726
!!(status & UHCI_TD_CRCTO),
sys/dev/usb/uhci.c
1727
!!(status & UHCI_TD_NAK),
sys/dev/usb/uhci.c
1728
!!(status & UHCI_TD_BABBLE));
sys/dev/usb/uhci.c
1729
DPRINTFN((status == UHCI_TD_STALLED) * 10,
sys/dev/usb/uhci.c
1731
!!(status & UHCI_TD_DBUFFER),
sys/dev/usb/uhci.c
1732
!!(status & UHCI_TD_STALLED),
sys/dev/usb/uhci.c
1733
!!(status & UHCI_TD_ACTIVE),
sys/dev/usb/uhci.c
1736
if (status == UHCI_TD_STALLED)
sys/dev/usb/uhci.c
2079
uint32_t status;
sys/dev/usb/uhci.c
2094
status = UHCI_TD_ZERO_ACTLEN(UHCI_TD_SET_ERRCNT(3) | UHCI_TD_ACTIVE);
sys/dev/usb/uhci.c
2096
status |= UHCI_TD_LS;
sys/dev/usb/uhci.c
2098
status |= UHCI_TD_SPD;
sys/dev/usb/uhci.c
2127
std->td.td_status = htole32(status);
sys/dev/usb/uhci.c
2158
std->td.td_status = htole32(status);
sys/dev/usb/uhci.c
2527
const uint32_t status = UHCI_TD_ZERO_ACTLEN(
sys/dev/usb/uhci.c
2534
setup->td.td_status = htole32(status);
sys/dev/usb/uhci.c
2543
stat->td.td_status = htole32(status | UHCI_TD_IOC);
sys/dev/usb/uhci.c
2842
uint32_t buf, len, status, offs;
sys/dev/usb/uhci.c
2880
status = UHCI_TD_ZERO_ACTLEN(UHCI_TD_SET_ERRCNT(0) |
sys/dev/usb/uhci.c
2897
status |= UHCI_TD_IOC;
sys/dev/usb/uhci.c
2898
std->td.td_status = htole32(status);
sys/dev/usb/uhci.c
3570
int status, change, totlen = 0;
sys/dev/usb/uhci.c
3708
status = change = 0;
sys/dev/usb/uhci.c
3710
status |= UPS_CURRENT_CONNECT_STATUS;
sys/dev/usb/uhci.c
3714
status |= UPS_PORT_ENABLED;
sys/dev/usb/uhci.c
3718
status |= UPS_OVERCURRENT_INDICATOR;
sys/dev/usb/uhci.c
3722
status |= UPS_SUSPEND;
sys/dev/usb/uhci.c
3724
status |= UPS_LOW_SPEED;
sys/dev/usb/uhci.c
3725
status |= UPS_PORT_POWER;
sys/dev/usb/uhci.c
3728
USETW(ps.wPortStatus, status);
sys/dev/usb/uhidev.c
544
uhidev_intr(struct usbd_xfer *xfer, void *addr, usbd_status status)
sys/dev/usb/uhidev.c
558
DPRINTF(("uhidev_intr: status=%d cc=%d\n", status, cc));
sys/dev/usb/uhidev.c
566
if (status == USBD_CANCELLED)
sys/dev/usb/uhidev.c
569
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/uhidev.c
571
status));
sys/dev/usb/uhso.c
1000
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/uhso.c
1001
DPRINTF(0, "non-normal status %s\n", usbd_errstr(status));
sys/dev/usb/uhso.c
1134
usbd_status status;
sys/dev/usb/uhso.c
1141
status = usbd_open_pipe_intr(hp->hp_ifh, hp->hp_iaddr,
sys/dev/usb/uhso.c
1145
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/uhso.c
1147
usbd_errstr(status));
sys/dev/usb/uhso.c
1153
status = usbd_open_pipe(hp->hp_ifh, hp->hp_raddr, 0, &hp->hp_rpipe);
sys/dev/usb/uhso.c
1154
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/uhso.c
1155
DPRINTF(0, "read pipe open failed: %s\n", usbd_errstr(status));
sys/dev/usb/uhso.c
1159
status = usbd_open_pipe(hp->hp_ifh, hp->hp_waddr, 0, &hp->hp_wpipe);
sys/dev/usb/uhso.c
1160
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/uhso.c
1161
DPRINTF(0, "write pipe open failed: %s\n", usbd_errstr(status));
sys/dev/usb/uhso.c
1235
usbd_status status;
sys/dev/usb/uhso.c
1242
status = usbd_transfer(hp->hp_wxfer);
sys/dev/usb/uhso.c
1243
if (status != USBD_IN_PROGRESS) {
sys/dev/usb/uhso.c
1244
DPRINTF(0, "non-normal status %s\n", usbd_errstr(status));
sys/dev/usb/uhso.c
1256
usbd_status status;
sys/dev/usb/uhso.c
1263
status = usbd_transfer(hp->hp_rxfer);
sys/dev/usb/uhso.c
1264
if (status != USBD_IN_PROGRESS) {
sys/dev/usb/uhso.c
1265
DPRINTF(0, "non-normal status %s\n", usbd_errstr(status));
sys/dev/usb/uhso.c
1278
usbd_status status;
sys/dev/usb/uhso.c
1300
status = usbd_do_request(sc->sc_udev, &req, NULL);
sys/dev/usb/uhso.c
1305
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/uhso.c
1306
DPRINTF(0, "non-normal status %s\n", usbd_errstr(status));
sys/dev/usb/uhso.c
1314
uhso_bulk_intr(struct usbd_xfer *xfer, void * p, usbd_status status)
sys/dev/usb/uhso.c
1322
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/uhso.c
1323
DPRINTF(0, "non-normal status %s\n", usbd_errstr(status));
sys/dev/usb/uhso.c
1397
uhso_tty_write_cb(struct usbd_xfer *xfer, void * p, usbd_status status)
sys/dev/usb/uhso.c
1408
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/uhso.c
1409
DPRINTF(0, "non-normal status %s\n", usbd_errstr(status));
sys/dev/usb/uhso.c
1411
if (status == USBD_STALLED && hp->hp_wpipe != NULL)
sys/dev/usb/uhso.c
1430
uhso_tty_read_cb(struct usbd_xfer *xfer, void * p, usbd_status status)
sys/dev/usb/uhso.c
1442
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/uhso.c
1443
DPRINTF(0, "non-normal status: %s\n", usbd_errstr(status));
sys/dev/usb/uhso.c
1445
if (status == USBD_STALLED && hp->hp_rpipe != NULL)
sys/dev/usb/uhso.c
2006
uhso_ifnet_write_cb(struct usbd_xfer *xfer, void * p, usbd_status status)
sys/dev/usb/uhso.c
2020
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/uhso.c
2021
DPRINTF(0, "non-normal status %s\n", usbd_errstr(status));
sys/dev/usb/uhso.c
2023
if (status == USBD_STALLED && hp->hp_wpipe != NULL)
sys/dev/usb/uhso.c
2047
usbd_status status)
sys/dev/usb/uhso.c
2061
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/uhso.c
2062
DPRINTF(0, "non-normal status: %s\n", usbd_errstr(status));
sys/dev/usb/uhso.c
2064
if (status == USBD_STALLED && hp->hp_rpipe != NULL)
sys/dev/usb/uhso.c
463
usbd_status status;
sys/dev/usb/uhso.c
479
status = usbd_set_config_no(sc->sc_udev, UHSO_CONFIG_NO, 1);
sys/dev/usb/uhso.c
480
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/uhso.c
482
", err=%s\n", usbd_errstr(status));
sys/dev/usb/uhso.c
500
status = usbd_device2interface_handle(sc->sc_udev, i, &ifh);
sys/dev/usb/uhso.c
501
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/uhso.c
504
i, usbd_errstr(status));
sys/dev/usb/uhso.c
592
usbd_status status;
sys/dev/usb/uhso.c
594
status = usbd_device2interface_handle(udev, 0, &ifh);
sys/dev/usb/uhso.c
595
if (status != USBD_NORMAL_COMPLETION)
sys/dev/usb/uhso.c
602
status = usbd_open_pipe(ifh, ed->bEndpointAddress, 0, &pipe);
sys/dev/usb/uhso.c
603
if (status != USBD_NORMAL_COMPLETION)
sys/dev/usb/uhso.c
623
status = usbd_transfer(xfer);
sys/dev/usb/uhso.c
628
return status == USBD_NORMAL_COMPLETION ? 0 : EIO;
sys/dev/usb/uhso.c
637
usbd_status status;
sys/dev/usb/uhso.c
664
status = usbd_do_request(uaa->uaa_device, &req, config);
sys/dev/usb/uhso.c
665
if (status != USBD_NORMAL_COMPLETION)
sys/dev/usb/uhso.c
738
usbd_status status;
sys/dev/usb/uhso.c
779
status = usbd_open_pipe_intr(ifh, addr, USBD_SHORT_XFER_OK, &pipe,
sys/dev/usb/uhso.c
782
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/uhso.c
784
"failed to open interrupt pipe: %s", usbd_errstr(status));
sys/dev/usb/uhso.c
920
usbd_status status;
sys/dev/usb/uhso.c
934
status = usbd_transfer(hp->hp_wxfer);
sys/dev/usb/uhso.c
935
if (status != USBD_IN_PROGRESS) {
sys/dev/usb/uhso.c
936
DPRINTF(0, "non-normal status %s\n", usbd_errstr(status));
sys/dev/usb/uhso.c
949
usbd_status status;
sys/dev/usb/uhso.c
971
status = usbd_transfer(hp->hp_rxfer);
sys/dev/usb/uhso.c
972
if (status != USBD_IN_PROGRESS) {
sys/dev/usb/uhso.c
973
DPRINTF(0, "non-normal status %s\n", usbd_errstr(status));
sys/dev/usb/uhso.c
992
uhso_mux_intr(struct usbd_xfer *xfer, void * p, usbd_status status)
sys/dev/usb/uhub.c
1033
uhub_intr(struct usbd_xfer *xfer, void *addr, usbd_status status)
sys/dev/usb/uhub.c
1038
device_unit(sc->sc_dev), status, 0, 0);
sys/dev/usb/uhub.c
1040
SDT_PROBE2(usb, hub, interrupt, , sc->sc_hub, status);
sys/dev/usb/uhub.c
1042
if (status == USBD_STALLED)
sys/dev/usb/uhub.c
1044
else if (status == USBD_NORMAL_COMPLETION) {
sys/dev/usb/uhub.c
539
int change, status, reconnect, rescan;
sys/dev/usb/uhub.c
582
status = UGETW(hs.wHubStatus);
sys/dev/usb/uhub.c
585
dev, /*portno*/0, status, change, /*reattach*/0);
sys/dev/usb/uhub.c
587
status, change, 0);
sys/dev/usb/uhub.c
605
status = change = 0;
sys/dev/usb/uhub.c
615
status = UGETW(up->up_status.wPortStatus);
sys/dev/usb/uhub.c
619
device_unit(sc->sc_dev), port, status, change);
sys/dev/usb/uhub.c
622
dev, port, status, change, reconnect);
sys/dev/usb/uhub.c
639
} else if (status & UPS_PORT_ENABLED) {
sys/dev/usb/uhub.c
662
if ((status & UPS_CURRENT_CONNECT_STATUS) != 0) {
sys/dev/usb/uhub.c
672
if ((status & UPS_CURRENT_CONNECT_STATUS) != 0) {
sys/dev/usb/uhub.c
720
if (!(status & UPS_CURRENT_CONNECT_STATUS)) {
sys/dev/usb/uhub.c
758
status = UGETW(up->up_status.wPortStatus);
sys/dev/usb/uhub.c
761
dev, port, up, status, change);
sys/dev/usb/uhub.c
763
device_unit(sc->sc_dev), port, status, change);
sys/dev/usb/uhub.c
765
if (!(status & UPS_CURRENT_CONNECT_STATUS)) {
sys/dev/usb/uhub.c
773
if (!(status & UPS_PORT_ENABLED)) {
sys/dev/usb/uhub.c
791
int sts = status;
sys/dev/usb/uhub.c
828
if (!(status & UPS_PORT_POWER_SS))
sys/dev/usb/uhub.c
834
if (!(status & UPS_PORT_POWER))
sys/dev/usb/uirda.c
131
usbd_status status);
sys/dev/usb/uirda.c
844
usbd_status status)
sys/dev/usb/uirda.c
851
if (status == USBD_CANCELLED) /* this is normal */
sys/dev/usb/uirda.c
853
if (status) {
sys/dev/usb/ulpt.c
389
u_char status;
sys/dev/usb/ulpt.c
396
err = usbd_do_request(sc->sc_udev, &req, &status);
sys/dev/usb/ulpt.c
397
DPRINTFN(2, ("ulpt_status: status=0x%02x err=%d\n", status, err));
sys/dev/usb/ulpt.c
399
return status;
sys/dev/usb/ulpt.c
542
ulpt_statusmsg(u_char status, struct ulpt_softc *sc)
sys/dev/usb/ulpt.c
546
status = (status ^ LPS_INVERT) & LPS_MASK;
sys/dev/usb/ulpt.c
547
new = status & ~sc->sc_laststatus;
sys/dev/usb/ulpt.c
548
sc->sc_laststatus = status;
sys/dev/usb/ulpt.c
557
return status;
sys/dev/usb/ulpt.c
840
usbd_status status)
sys/dev/usb/umass.c
1058
umass_transfer_done(struct umass_softc *sc, int residue, int status)
sys/dev/usb/umass.c
1070
status);
sys/dev/usb/umass.c
1071
sc->transfer_cb(sc, sc->transfer_priv, residue, status);
sys/dev/usb/umass.c
1111
umass_bbb_reset(struct umass_softc *sc, int status)
sys/dev/usb/umass.c
1114
SDT_PROBE2(usb, umass, bbb, reset, sc, status);
sys/dev/usb/umass.c
1120
umass_transfer_done(sc, sc->transfer_datalen, status);
sys/dev/usb/umass.c
1143
sc->transfer_status = status;
sys/dev/usb/umass.c
1153
umass_transfer_done(sc, sc->transfer_datalen, status);
sys/dev/usb/umass.c
1630
umass_cbi_reset(struct umass_softc *sc, int status)
sys/dev/usb/umass.c
1633
SDT_PROBE2(usb, umass, bbb, reset, sc, status);
sys/dev/usb/umass.c
1642
umass_transfer_done(sc, sc->transfer_datalen, status);
sys/dev/usb/umass.c
1669
sc->transfer_status = status;
sys/dev/usb/umass.c
1682
umass_transfer_done(sc, sc->transfer_datalen, status);
sys/dev/usb/umass.c
1929
int status;
sys/dev/usb/umass.c
1942
status = STATUS_CMD_OK;
sys/dev/usb/umass.c
1944
status = STATUS_CMD_FAILED;
sys/dev/usb/umass.c
1949
status);
sys/dev/usb/umass.c
1951
int status;
sys/dev/usb/umass.c
1962
status = STATUS_CMD_OK;
sys/dev/usb/umass.c
1966
status = STATUS_CMD_FAILED;
sys/dev/usb/umass.c
1970
status = STATUS_WIRE_FAILED;
sys/dev/usb/umass.c
1976
status);
sys/dev/usb/umass.c
2134
int status = csw->bCSWStatus;
sys/dev/usb/umass.c
2139
res, status, 0, 0);
sys/dev/usb/umass_quirks.c
375
uint8_t status[2];
sys/dev/usb/umass_quirks.c
382
USETW(req.wLength, sizeof(status));
sys/dev/usb/umass_quirks.c
384
return usbd_do_request(sc->sc_udev, &req, &status);
sys/dev/usb/umass_scsipi.c
374
ccb->ccb_h.status = CAM_REQ_INPROG;
sys/dev/usb/umass_scsipi.c
413
umass_null_cb(struct umass_softc *sc, void *priv, int residue, int status)
sys/dev/usb/umass_scsipi.c
419
umass_scsipi_cb(struct umass_softc *sc, void *priv, int residue, int status)
sys/dev/usb/umass_scsipi.c
432
delta, (uintptr_t)xs, residue, status);
sys/dev/usb/umass_scsipi.c
438
switch (status) {
sys/dev/usb/umass_scsipi.c
480
device_xname(sc->sc_dev), status);
sys/dev/usb/umass_scsipi.c
494
int status)
sys/dev/usb/umass_scsipi.c
501
(uintptr_t)sc, (uintptr_t)xs, residue, status);
sys/dev/usb/umass_scsipi.c
504
switch (status) {
sys/dev/usb/umass_scsipi.c
517
(uintptr_t)sc, status, 0, 0);
sys/dev/usb/umcs.c
861
usbd_status status)
sys/dev/usb/umcs.c
871
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED
sys/dev/usb/umcs.c
872
|| status == USBD_IOERROR)
sys/dev/usb/umcs.c
875
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/umcs.c
878
usbd_errstr(status));
sys/dev/usb/umct.c
585
usbd_status status)
sys/dev/usb/umct.c
594
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/umct.c
595
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
sys/dev/usb/umct.c
599
usbd_errstr(status)));
sys/dev/usb/umidi.c
1825
usbd_status status)
sys/dev/usb/umidi.c
1900
usbd_status status)
sys/dev/usb/umidi.c
558
umidi_channelmsg(void *addr, int status, int channel, u_char *msg,
sys/dev/usb/umidi.c
568
return out_jack_output(mididev->out_jack, msg, len, (status>>4)&0xf);
sys/dev/usb/umidi.c
572
umidi_commonmsg(void *addr, int status, u_char *msg, int len)
sys/dev/usb/umodem_common.c
339
usbd_status status)
sys/dev/usb/umodem_common.c
347
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/umodem_common.c
348
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
sys/dev/usb/umodem_common.c
351
usbd_errstr(status));
sys/dev/usb/umodem_common.c
352
if (status == USBD_STALLED)
sys/dev/usb/uplcom.c
922
uplcom_intr(struct usbd_xfer *xfer, void *priv, usbd_status status)
sys/dev/usb/uplcom.c
933
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/uplcom.c
934
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
sys/dev/usb/uplcom.c
937
DPRINTF("abnormal status: %ju", status, 0, 0, 0);
sys/dev/usb/usbdi.c
762
void **buffer, uint32_t *count, usbd_status *status)
sys/dev/usb/usbdi.c
770
if (status != NULL)
sys/dev/usb/usbdi.c
771
*status = xfer->ux_status;
sys/dev/usb/usbnet.c
247
uno_intr(struct usbnet *un, usbd_status status)
sys/dev/usb/usbnet.c
250
(*un->un_ops->uno_intr)(un, status);
sys/dev/usb/usbnet.c
352
usbnet_rxeof(struct usbd_xfer *xfer, void *priv, usbd_status status)
sys/dev/usb/usbnet.c
361
unp->unp_number, status, (uintptr_t)xfer, 0);
sys/dev/usb/usbnet.c
366
status == USBD_INVAL || status == USBD_NOT_STARTED ||
sys/dev/usb/usbnet.c
367
status == USBD_CANCELLED)
sys/dev/usb/usbnet.c
370
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/usbnet.c
373
usbd_errstr(status));
sys/dev/usb/usbnet.c
374
if (status == USBD_STALLED)
sys/dev/usb/usbnet.c
408
usbnet_txeof(struct usbd_xfer *xfer, void *priv, usbd_status status)
sys/dev/usb/usbnet.c
418
unp->unp_number, status, (uintptr_t)xfer, 0);
sys/dev/usb/usbnet.c
431
switch (status) {
sys/dev/usb/usbnet.c
445
usbd_errstr(status));
sys/dev/usb/usbnet.c
446
if (status == USBD_STALLED)
sys/dev/usb/usbnet.c
453
if (status == USBD_NORMAL_COMPLETION && !IFQ_IS_EMPTY(&ifp->if_snd))
sys/dev/usb/usbnet.c
458
usbnet_pipe_intr(struct usbd_xfer *xfer, void *priv, usbd_status status)
sys/dev/usb/usbnet.c
466
status == USBD_INVAL || status == USBD_NOT_STARTED ||
sys/dev/usb/usbnet.c
467
status == USBD_CANCELLED) {
sys/dev/usb/usbnet.c
470
usbnet_isdying(un), status);
sys/dev/usb/usbnet.c
474
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/usbnet.c
477
usbd_errstr(status));
sys/dev/usb/usbnet.c
479
if (status == USBD_STALLED)
sys/dev/usb/usbnet.c
482
unp->unp_number, status, 0, 0);
sys/dev/usb/usbnet.c
486
uno_intr(un, status);
sys/dev/usb/uslsa.c
279
uslsa_usbd_errno(usbd_status status)
sys/dev/usb/uslsa.c
281
switch (status) {
sys/dev/usb/uslsa.c
296
usbd_status status;
sys/dev/usb/uslsa.c
312
status = usbd_do_request(sc->sc_udev, &req, &mdmsts);
sys/dev/usb/uslsa.c
313
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/uslsa.c
315
__func__, usbd_errstr(status));
sys/dev/usb/uslsa.c
374
usbd_status status;
sys/dev/usb/uslsa.c
393
status = usbd_do_request(sc->sc_udev, &req, &baud);
sys/dev/usb/uslsa.c
394
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/uslsa.c
399
__func__, baud, usbd_errstr(status));
sys/dev/usb/uslsa.c
513
usbd_status status;
sys/dev/usb/uslsa.c
521
status = usbd_do_request(sc->sc_udev, &req, NULL);
sys/dev/usb/uslsa.c
523
return uslsa_usbd_errno(status);
sys/dev/usb/uslsa.c
533
usbd_status status;
sys/dev/usb/uslsa.c
543
status = usbd_do_request(sc->sc_udev, &req, &fcs);
sys/dev/usb/uslsa.c
544
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/uslsa.c
546
__func__, usbd_errstr(status));
sys/dev/usb/uslsa.c
547
return uslsa_usbd_errno(status);
sys/dev/usb/uslsa.c
571
status = usbd_do_request(sc->sc_udev, &req, &fcs);
sys/dev/usb/uslsa.c
573
return uslsa_usbd_errno(status);
sys/dev/usb/usscanner.c
478
usscanner_intr_cb(struct usbd_xfer *xfer, void *priv, usbd_status status)
sys/dev/usb/usscanner.c
483
DPRINTFN(10, ("usscanner_data_cb status=%d\n", status));
sys/dev/usb/usscanner.c
506
usscanner_data_cb(struct usbd_xfer *xfer, void *priv, usbd_status status)
sys/dev/usb/usscanner.c
512
DPRINTFN(10, ("usscanner_data_cb status=%d\n", status));
sys/dev/usb/usscanner.c
524
switch (status) {
sys/dev/usb/usscanner.c
545
usscanner_sensedata_cb(struct usbd_xfer *xfer, void *priv, usbd_status status)
sys/dev/usb/usscanner.c
551
DPRINTFN(10, ("usscanner_sensedata_cb status=%d\n", status));
sys/dev/usb/usscanner.c
561
switch (status) {
sys/dev/usb/usscanner.c
598
usscanner_sensecmd_cb(struct usbd_xfer *xfer, void *priv, usbd_status status)
sys/dev/usb/usscanner.c
604
DPRINTFN(10, ("usscanner_sensecmd_cb status=%d\n", status));
sys/dev/usb/usscanner.c
617
switch (status) {
sys/dev/usb/usscanner.c
641
usscanner_cmd_cb(struct usbd_xfer *xfer, void *priv, usbd_status status)
sys/dev/usb/usscanner.c
648
DPRINTFN(10, ("usscanner_cmd_cb status=%d\n", status));
sys/dev/usb/usscanner.c
661
switch (status) {
sys/dev/usb/ustir.c
564
usbd_status status)
sys/dev/usb/ustir.c
574
if (status == USBD_CANCELLED || sc->sc_closing) /* this is normal */
sys/dev/usb/ustir.c
576
if (status) {
sys/dev/usb/uvideo.c
1911
usbd_status status)
sys/dev/usb/uvideo.c
1924
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/uvideo.c
1926
usbd_errstr(status), status));
sys/dev/usb/uvideo.c
1928
if (status == USBD_STALLED)
sys/dev/usb/uvideo.c
1945
status = uvideo_stream_recv_process(vs, buf,
sys/dev/usb/uvideo.c
1947
if (status == USBD_IOERROR)
sys/dev/usb/uvscom.c
800
usbd_status status)
sys/dev/usb/uvscom.c
809
if (status != USBD_NORMAL_COMPLETION) {
sys/dev/usb/uvscom.c
810
if (status == USBD_NOT_STARTED || status == USBD_CANCELLED)
sys/dev/usb/uvscom.c
815
usbd_errstr(status));
sys/dev/usb/vhci.c
1054
if (!(port->status & UPS_PORT_ENABLED)) {
sys/dev/usb/vhci.c
1128
if (!(port->status & UPS_PORT_ENABLED)) {
sys/dev/usb/vhci.c
207
int status;
sys/dev/usb/vhci.c
523
port->status |= UPS_C_PORT_RESET;
sys/dev/usb/vhci.c
542
port->status &= ~UPS_PORT_ENABLED;
sys/dev/usb/vhci.c
574
USETW(ps.wPortStatus, port->status);
sys/dev/usb/vhci.c
628
if (port->status & UPS_PORT_ENABLED) {
sys/dev/usb/vhci.c
796
port->status = UPS_CURRENT_CONNECT_STATUS | UPS_PORT_ENABLED |
sys/dev/usb/vhci.c
892
port->status = 0;
sys/dev/usb/vhci.c
924
args->status = port->status;
sys/dev/usb/vhci.h
51
int status;
sys/dev/usb/xhci.c
3125
uint32_t status;
sys/dev/usb/xhci.c
3170
status = 0;
sys/dev/usb/xhci.c
3180
status = trbs[i].trb_2;
sys/dev/usb/xhci.c
3204
xhci_trb_put(&xr->xr_trb[oldri], parameter, status, control);
sys/dev/usb/xhci.c
4485
uint32_t status;
sys/dev/usb/xhci.c
4509
status = XHCI_TRB_2_IRQ_SET(0) | XHCI_TRB_2_BYTES_SET(sizeof(*req));
sys/dev/usb/xhci.c
4514
xhci_xfer_put_trb(xx, i++, parameter, status, control);
sys/dev/usb/xhci.c
4520
status = XHCI_TRB_2_IRQ_SET(0) |
sys/dev/usb/xhci.c
4527
xhci_xfer_put_trb(xx, i++, parameter, status, control);
sys/dev/usb/xhci.c
4534
status = XHCI_TRB_2_IRQ_SET(0);
sys/dev/usb/xhci.c
4539
xhci_xfer_put_trb(xx, i++, parameter, status, control);
sys/dev/usb/xhci.c
4614
uint32_t status;
sys/dev/usb/xhci.c
4671
status = XHCI_TRB_2_IRQ_SET(0) |
sys/dev/usb/xhci.c
4692
xhci_xfer_put_trb(xx, i, parameter, status, control);
sys/dev/usb/xhci.c
4769
uint32_t status;
sys/dev/usb/xhci.c
4806
status = XHCI_TRB_2_IRQ_SET(0) |
sys/dev/usb/xhci.c
4812
xhci_xfer_put_trb(xx, i++, parameter, status, control);
sys/dev/usb/xhci.c
4815
status = XHCI_TRB_2_IRQ_SET(0) |
sys/dev/usb/xhci.c
4818
xhci_xfer_put_trb(xx, i++, parameter, status, control);
sys/dev/usb/xhci.c
4900
uint32_t status;
sys/dev/usb/xhci.c
4925
status = XHCI_TRB_2_IRQ_SET(0) |
sys/dev/usb/xhci.c
4930
xhci_xfer_put_trb(xx, i++, parameter, status, control);
sys/dev/usb/xhci.c
543
uint64_t parameter, uint32_t status, uint32_t control)
sys/dev/usb/xhci.c
547
xx->xx_trb[idx].trb_2 = status;
sys/dev/usb/xhci.c
552
xhci_trb_put(struct xhci_trb * const trb, uint64_t parameter, uint32_t status,
sys/dev/usb/xhci.c
556
trb->trb_2 = htole32(status);
sys/dev/video.c
1103
vi->status = 0;
sys/dev/video.c
1104
if (input->status & V4L2_IN_ST_NO_POWER)
sys/dev/video.c
1105
vi->status |= VIDEO_STATUS_NO_POWER;
sys/dev/video.c
1106
if (input->status & V4L2_IN_ST_NO_SIGNAL)
sys/dev/video.c
1107
vi->status |= VIDEO_STATUS_NO_SIGNAL;
sys/dev/video.c
1108
if (input->status & V4L2_IN_ST_NO_COLOR)
sys/dev/video.c
1109
vi->status |= VIDEO_STATUS_NO_COLOR;
sys/dev/video.c
1110
if (input->status & V4L2_IN_ST_NO_H_LOCK)
sys/dev/video.c
1111
vi->status |= VIDEO_STATUS_NO_HLOCK;
sys/dev/video.c
1112
if (input->status & V4L2_IN_ST_MACROVISION)
sys/dev/video.c
1113
vi->status |= VIDEO_STATUS_MACROVISION;
sys/dev/video.c
1133
input->status = 0;
sys/dev/video.c
1134
if (vi->status & VIDEO_STATUS_NO_POWER)
sys/dev/video.c
1135
input->status |= V4L2_IN_ST_NO_POWER;
sys/dev/video.c
1136
if (vi->status & VIDEO_STATUS_NO_SIGNAL)
sys/dev/video.c
1137
input->status |= V4L2_IN_ST_NO_SIGNAL;
sys/dev/video.c
1138
if (vi->status & VIDEO_STATUS_NO_COLOR)
sys/dev/video.c
1139
input->status |= V4L2_IN_ST_NO_COLOR;
sys/dev/video.c
1140
if (vi->status & VIDEO_STATUS_NO_HLOCK)
sys/dev/video.c
1141
input->status |= V4L2_IN_ST_NO_H_LOCK;
sys/dev/video.c
1142
if (vi->status & VIDEO_STATUS_MACROVISION)
sys/dev/video.c
1143
input->status |= V4L2_IN_ST_MACROVISION;
sys/dev/video_if.h
443
uint32_t status; /* input status */
sys/dev/virtio/virtio_mmio.c
244
virtio_mmio_set_status(struct virtio_softc *vsc, int status)
sys/dev/virtio/virtio_mmio.c
249
if (status != 0)
sys/dev/virtio/virtio_mmio.c
251
virtio_mmio_reg_write(sc, VIRTIO_MMIO_STATUS, status|old);
sys/dev/vme/if_ie_vme.c
189
uint16_t status; /* see below for bits */
sys/dev/vme/if_ie_vme.c
258
write_iev(vsc, status, IEVME_RESET);
sys/dev/vme/if_ie_vme.c
260
write_iev(vsc, status, 0);
sys/dev/vme/if_ie_vme.c
269
write_iev(vsc, status, read_iev(vsc, status) | IEVME_ATTEN);
sys/dev/vme/if_ie_vme.c
271
write_iev(vsc, status, read_iev(vsc, status) & ~IEVME_ATTEN);
sys/dev/vme/if_ie_vme.c
279
write_iev(vsc, status, read_iev(vsc, status)
sys/dev/vme/if_ie_vme.c
294
if (read_iev(vsc, status) & IEVME_PERR) {
sys/dev/vme/if_ie_vme.c
505
rampaddr = rampaddr | ((read_iev(vsc, status) & IEVME_HADDR) << 16);
sys/dev/vme/xd.c
1376
iopb->errnum = iopb->status = 0;
sys/dev/vme/xdreg.h
140
volatile u_char status; /* status byte 2 (see below) */
sys/dev/wscons/wsdisplay_vcons_util.c
52
int status = scr->scr_status;
sys/dev/wscons/wsdisplay_vcons_util.c
66
scr->scr_status = status;
sys/dist/pf/net/if_pfsync.c
1421
pfsync_send_bus(struct pfsync_softc *sc, u_int8_t status)
sys/dist/pf/net/if_pfsync.c
1434
bus->status = status;
sys/dist/pf/net/if_pfsync.c
821
switch (bus->status) {
sys/dist/pf/net/if_pfsync.h
85
u_int8_t status;
sys/fs/msdosfs/msdosfs_vnops.c
1242
int status;
sys/fs/msdosfs/msdosfs_vnops.c
1248
status = msdosfs_pcbmap(dep, ap->a_bn, ap->a_bnp, 0, 0);
sys/fs/msdosfs/msdosfs_vnops.c
1275
return status;
sys/fs/puffs/puffs_msgif.c
720
puffs_msgif_releaseout(void *ctx, void *parkptr, int status)
sys/fs/puffs/puffs_msgif.c
726
park, status));
sys/fs/puffs/puffs_msgif.c
730
if (status == 0) {
sys/fs/puffs/puffs_msgif.c
737
park->park_preq->preq_rv = status;
sys/kern/kern_exit.c
662
do_sys_waitid(idtype_t idtype, id_t id, int *pid, int *status, int options,
sys/kern/kern_exit.c
680
*status = 0;
sys/kern/kern_exit.c
687
*status = P_WAITSTATUS(child);
sys/kern/kern_exit.c
696
*status = (child->p_xsig == SIGCONT && child->p_stat != SSTOP) ?
sys/kern/kern_exit.c
704
do_sys_wait(int *pid, int *status, int options, struct rusage *ru)
sys/kern/kern_exit.c
727
ret = do_sys_waitid(idtype, id, pid, status, options, ru ? &wru : NULL,
sys/kern/kern_exit.c
744
int error, status, pid = SCARG(uap, pid);
sys/kern/kern_exit.c
747
error = do_sys_wait(&pid, &status, SCARG(uap, options),
sys/kern/kern_exit.c
754
if (SCARG(uap, status)) {
sys/kern/kern_exit.c
755
error = copyout(&status, SCARG(uap, status), sizeof(status));
sys/kern/kern_exit.c
779
int error, status;
sys/kern/kern_exit.c
798
error = do_sys_waitid(idtype, id, &pid, &status, SCARG(uap, options),
sys/kern/kern_exit.c
813
if (SCARG(uap, status) != NULL && error == 0)
sys/kern/kern_exit.c
814
error = copyout(&status, SCARG(uap, status), sizeof(status));
sys/kern/kern_ntptime.c
307
if (time_status & STA_PLL && !(ntv->status & STA_PLL)) {
sys/kern/kern_ntptime.c
315
time_status |= ntv->status & ~STA_RONLY;
sys/kern/kern_ntptime.c
390
ntv->status = time_status;
sys/kern/kern_veriexec.c
1116
vfe->status = FINGERPRINT_NOTEVAL;
sys/kern/kern_veriexec.c
1125
u_char status;
sys/kern/kern_veriexec.c
1128
vfe, &status);
sys/kern/kern_veriexec.c
1131
vfe->status = status;
sys/kern/kern_veriexec.c
1143
vfe->status == ovfe->status &&
sys/kern/kern_veriexec.c
1225
prop_dictionary_set_uint8(rdict, "status", vfe->status);
sys/kern/kern_veriexec.c
489
struct veriexec_file_entry *vfe, u_char *status)
sys/kern/kern_veriexec.c
503
*status = FINGERPRINT_VALID;
sys/kern/kern_veriexec.c
505
*status = FINGERPRINT_NOMATCH;
sys/kern/kern_veriexec.c
585
#define VFE_NEEDS_EVAL(vfe) ((vfe->status == FINGERPRINT_NOTEVAL) || \
sys/kern/kern_veriexec.c
631
u_char status;
sys/kern/kern_veriexec.c
633
error = veriexec_fp_status(l, vp, file_lock_state, vfe, &status);
sys/kern/kern_veriexec.c
640
vfe->status = status;
sys/kern/kern_veriexec.c
655
switch (vfe->status) {
sys/kern/kern_veriexec.c
873
vfe->status = FINGERPRINT_NOTEVAL;
sys/kern/kern_veriexec.c
97
u_char status; /* Evaluation status. */
sys/kern/systrace_args.c
3421
uarg[1] = (intptr_t) SCARG(p, status); /* int * */
sys/kern/systrace_args.c
3724
uarg[2] = (intptr_t) SCARG(p, status); /* int * */
sys/kern/systrace_args.c
73
uarg[1] = (intptr_t) SCARG(p, status); /* int * */
sys/net/agr/if_agrmonitor.c
47
u_int status;
sys/net/agr/if_agrmonitor.c
50
status = IFM_AVALID;
sys/net/agr/if_agrmonitor.c
54
error = agr_port_getmedia(port, &media, &status);
sys/net/agr/if_agrmonitor.c
62
if ((status & (IFM_AVALID | IFM_ACTIVE)) == IFM_AVALID)
sys/net/agr/if_agrsubr.c
257
agr_port_getmedia(struct agr_port *port, u_int *media, u_int *status)
sys/net/agr/if_agrsubr.c
268
*status = ifmr.ifm_status;
sys/net/bpfjit.c
1000
int status;
sys/net/bpfjit.c
1020
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
1024
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
1025
return status;
sys/net/bpfjit.c
1050
status = emit_xcall(compiler, hints, pc, BJ_TMP1REG,
sys/net/bpfjit.c
1052
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
1053
return status;
sys/net/bpfjit.c
1062
status = sljit_emit_op2(compiler,
sys/net/bpfjit.c
1067
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
1068
return status;
sys/net/bpfjit.c
1071
status = sljit_emit_op2(compiler,
sys/net/bpfjit.c
1076
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
1077
return status;
sys/net/bpfjit.c
1090
int status = SLJIT_SUCCESS;
sys/net/bpfjit.c
1095
status = sljit_emit_op2(compiler,
sys/net/bpfjit.c
1113
status = sljit_emit_op2(compiler,
sys/net/bpfjit.c
1121
return status;
sys/net/bpfjit.c
1147
int status;
sys/net/bpfjit.c
1159
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
1163
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
1164
return status;
sys/net/bpfjit.c
1167
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
1172
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
1173
return status;
sys/net/bpfjit.c
1176
status = sljit_emit_op0(compiler, SLJIT_UDIV|SLJIT_I32_OP);
sys/net/bpfjit.c
1180
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
1188
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
1195
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
1196
return status;
sys/net/bpfjit.c
1198
status = sljit_emit_ijump(compiler,
sys/net/bpfjit.c
1204
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
1208
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
1209
return status;
sys/net/bpfjit.c
1213
return status;
sys/net/bpfjit.c
1714
int status, cond, op2;
sys/net/bpfjit.c
1803
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
1807
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
1817
status = emit_memload(compiler,
sys/net/bpfjit.c
1819
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
1827
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
1832
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
1845
status = emit_pkt_read(compiler, hints, pc,
sys/net/bpfjit.c
1847
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
1859
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
1863
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
1873
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
1878
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
1890
status = emit_memload(compiler,
sys/net/bpfjit.c
1892
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
1905
status = emit_msh(compiler, hints, pc,
sys/net/bpfjit.c
1907
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
1918
status = emit_memstore(compiler,
sys/net/bpfjit.c
1920
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
1931
status = emit_memstore(compiler,
sys/net/bpfjit.c
1933
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
1940
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
1944
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
1955
status = sljit_emit_op2(compiler,
sys/net/bpfjit.c
1958
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
1987
status = emit_moddiv(compiler, pc);
sys/net/bpfjit.c
1988
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
1992
status = emit_moddiv(compiler, pc);
sys/net/bpfjit.c
1994
status = emit_pow2_moddiv(compiler, pc);
sys/net/bpfjit.c
1996
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
2023
status = sljit_emit_op2(compiler,
sys/net/bpfjit.c
2028
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
2058
status = sljit_emit_return(compiler,
sys/net/bpfjit.c
2061
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
2066
status = sljit_emit_return(compiler,
sys/net/bpfjit.c
2069
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
2086
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
2090
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
2096
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
2100
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
2114
status = emit_cop(compiler, hints, bc, pc,
sys/net/bpfjit.c
2116
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
2136
status = sljit_emit_return(compiler,
sys/net/bpfjit.c
2139
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
2159
int status;
sys/net/bpfjit.c
2211
status = sljit_emit_enter(compiler, 0, 2, nscratches(hints),
sys/net/bpfjit.c
2213
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
2218
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
2223
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
2232
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
2236
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
2239
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
2244
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
2265
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
2269
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
2276
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
2280
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
2286
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
2290
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
2294
status = load_buf_buflen(compiler);
sys/net/bpfjit.c
2295
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
300
int status;
sys/net/bpfjit.c
302
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
307
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
308
return status;
sys/net/bpfjit.c
310
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
316
return status;
sys/net/bpfjit.c
372
int status;
sys/net/bpfjit.c
377
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
381
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
382
return status;
sys/net/bpfjit.c
385
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
389
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
390
return status;
sys/net/bpfjit.c
393
status = sljit_emit_op2(compiler,
sys/net/bpfjit.c
398
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
399
return status;
sys/net/bpfjit.c
402
status = sljit_emit_op2(compiler,
sys/net/bpfjit.c
407
return status;
sys/net/bpfjit.c
416
int status;
sys/net/bpfjit.c
421
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
425
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
426
return status;
sys/net/bpfjit.c
429
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
433
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
434
return status;
sys/net/bpfjit.c
437
status = sljit_emit_op2(compiler,
sys/net/bpfjit.c
442
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
443
return status;
sys/net/bpfjit.c
446
status = sljit_emit_op2(compiler,
sys/net/bpfjit.c
451
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
452
return status;
sys/net/bpfjit.c
455
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
459
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
460
return status;
sys/net/bpfjit.c
463
status = sljit_emit_op2(compiler,
sys/net/bpfjit.c
468
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
469
return status;
sys/net/bpfjit.c
472
status = sljit_emit_op2(compiler,
sys/net/bpfjit.c
477
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
478
return status;
sys/net/bpfjit.c
481
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
485
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
486
return status;
sys/net/bpfjit.c
489
status = sljit_emit_op2(compiler,
sys/net/bpfjit.c
494
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
495
return status;
sys/net/bpfjit.c
498
status = sljit_emit_op2(compiler,
sys/net/bpfjit.c
503
return status;
sys/net/bpfjit.c
532
int status;
sys/net/bpfjit.c
538
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
543
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
544
return status;
sys/net/bpfjit.c
550
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
554
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
555
return status;
sys/net/bpfjit.c
560
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
564
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
565
return status;
sys/net/bpfjit.c
578
status = sljit_emit_op2(compiler,
sys/net/bpfjit.c
583
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
584
return status;
sys/net/bpfjit.c
588
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
592
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
593
return status;
sys/net/bpfjit.c
599
status = sljit_get_local_base(compiler,
sys/net/bpfjit.c
602
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
603
return status;
sys/net/bpfjit.c
606
status = sljit_emit_ijump(compiler,
sys/net/bpfjit.c
609
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
610
return status;
sys/net/bpfjit.c
614
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
618
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
619
return status;
sys/net/bpfjit.c
636
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
641
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
642
return status;
sys/net/bpfjit.c
670
int status;
sys/net/bpfjit.c
676
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
681
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
682
return status;
sys/net/bpfjit.c
700
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
705
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
706
return status;
sys/net/bpfjit.c
709
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
714
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
715
return status;
sys/net/bpfjit.c
718
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
722
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
723
return status;
sys/net/bpfjit.c
728
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
733
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
734
return status;
sys/net/bpfjit.c
741
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
745
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
746
return status;
sys/net/bpfjit.c
749
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
754
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
755
return status;
sys/net/bpfjit.c
757
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
761
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
762
return status;
sys/net/bpfjit.c
764
status = sljit_emit_ijump(compiler,
sys/net/bpfjit.c
766
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
767
return status;
sys/net/bpfjit.c
770
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
774
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
775
return status;
sys/net/bpfjit.c
780
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
785
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
786
return status;
sys/net/bpfjit.c
806
int status = SLJIT_ERR_ALLOC_FAILED;
sys/net/bpfjit.c
835
status = sljit_emit_op2(compiler,
sys/net/bpfjit.c
840
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
841
return status;
sys/net/bpfjit.c
845
status = sljit_emit_op2(compiler,
sys/net/bpfjit.c
850
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
851
return status;
sys/net/bpfjit.c
872
status = emit_read32(compiler, ld_reg, k);
sys/net/bpfjit.c
875
status = emit_read16(compiler, ld_reg, k);
sys/net/bpfjit.c
878
status = emit_read8(compiler, ld_reg, k);
sys/net/bpfjit.c
882
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
883
return status;
sys/net/bpfjit.c
911
status = emit_xcall(compiler, hints, pc, BJ_AREG,
sys/net/bpfjit.c
915
status = emit_xcall(compiler, hints, pc, BJ_AREG,
sys/net/bpfjit.c
919
status = emit_xcall(compiler, hints, pc, BJ_AREG,
sys/net/bpfjit.c
924
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
925
return status;
sys/net/bpfjit.c
940
int status;
sys/net/bpfjit.c
951
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
956
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
957
return status;
sys/net/bpfjit.c
968
int status;
sys/net/bpfjit.c
979
status = sljit_emit_op1(compiler,
sys/net/bpfjit.c
984
if (status != SLJIT_SUCCESS)
sys/net/bpfjit.c
985
return status;
sys/net/if_spppsubr.c
6075
struct spppstatus *status = (struct spppstatus *)data;
sys/net/if_spppsubr.c
6078
status->phase = sp->pp_phase;
sys/net/if_spppsubr.c
6084
struct spppstatusncp *status = (struct spppstatusncp *)data;
sys/net/if_spppsubr.c
6087
status->phase = sp->pp_phase;
sys/net/if_spppsubr.c
6088
status->ncpup = sppp_cp_check(sp, CP_NCP);
sys/net/if_spppsubr.c
6185
struct sppplcpstatus *status =
sys/net/if_spppsubr.c
6189
status->state = sp->scp[IDX_LCP].state;
sys/net/if_spppsubr.c
6190
status->opts = sp->lcp.opts;
sys/net/if_spppsubr.c
6191
status->magic = sp->lcp.magic;
sys/net/if_spppsubr.c
6192
status->mru = sp->lcp.mru;
sys/net/if_spppsubr.c
6198
struct spppipcpstatus *status =
sys/net/if_spppsubr.c
6203
status->state = sp->scp[IDX_IPCP].state;
sys/net/if_spppsubr.c
6204
status->opts = sp->ipcp.opts;
sys/net/if_spppsubr.c
6210
status->myaddr = ntohl(myaddr);
sys/net/if_spppsubr.c
6216
struct spppipv6cpstatus *status =
sys/net/if_spppsubr.c
6220
status->state = sp->scp[IDX_IPV6CP].state;
sys/net/if_spppsubr.c
6221
memcpy(status->my_ifid, sp->ipv6cp.my_ifid,
sys/net/if_spppsubr.c
6222
sizeof(status->my_ifid));
sys/net/if_spppsubr.c
6223
memcpy(status->his_ifid, sp->ipv6cp.his_ifid,
sys/net/if_spppsubr.c
6224
sizeof(status->his_ifid));
sys/net/zlib.c
1058
(s->status == FINISH_STATE && flush != Z_FINISH)) {
sys/net/zlib.c
1068
if (s->status == INIT_STATE) {
sys/net/zlib.c
1078
s->status = BUSY_STATE;
sys/net/zlib.c
1113
if (s->status == FINISH_STATE && strm->avail_in != 0) {
sys/net/zlib.c
1120
(flush != Z_NO_FLUSH && s->status != FINISH_STATE)) {
sys/net/zlib.c
1126
s->status = FINISH_STATE;
sys/net/zlib.c
1183
int status;
sys/net/zlib.c
1189
status = s->status;
sys/net/zlib.c
1190
if (status != INIT_STATE && status != BUSY_STATE &&
sys/net/zlib.c
1191
status != FINISH_STATE) {
sys/net/zlib.c
1204
return status == BUSY_STATE ? Z_DATA_ERROR : Z_OK;
sys/net/zlib.c
1245
ds->status = INIT_STATE;
sys/net/zlib.c
370
int status; /* as the name implies */
sys/net/zlib.c
882
s->status = INIT_STATE;
sys/net/zlib.c
911
if (s->status != INIT_STATE) return Z_STREAM_ERROR;
sys/net/zlib.c
959
s->status = s->noheader ? BUSY_STATE : INIT_STATE;
sys/net80211/ieee80211_crypto.c
465
int status;
sys/net80211/ieee80211_crypto.c
468
status = _ieee80211_crypto_delkey(ic, key);
sys/net80211/ieee80211_crypto.c
470
return status;
sys/net80211/ieee80211_input.c
1093
u_int16_t seq, u_int16_t status)
sys/net80211/ieee80211_input.c
1167
if (status != 0) {
sys/net80211/ieee80211_input.c
1172
status);
sys/net80211/ieee80211_input.c
1239
u_int32_t rstamp, u_int16_t seq, u_int16_t status)
sys/net80211/ieee80211_input.c
1435
if (status != 0) {
sys/net80211/ieee80211_input.c
1441
status);
sys/net80211/ieee80211_input.c
2459
u_int16_t algo, seq, status;
sys/net80211/ieee80211_input.c
2475
status = le16toh(*(u_int16_t *)(frm + 4));
sys/net80211/ieee80211_input.c
2513
rstamp, seq, status);
sys/net80211/ieee80211_input.c
2515
ieee80211_auth_open(ic, wh, ni, rssi, rstamp, seq, status);
sys/net80211/ieee80211_input.c
2784
u_int16_t status;
sys/net80211/ieee80211_input.c
2809
status = le16toh(*(u_int16_t *)frm);
sys/net80211/ieee80211_input.c
2811
if (status != 0) {
sys/net80211/ieee80211_input.c
2815
ISREASSOC(subtype) ? "re" : "", status);
sys/net80211/ieee80211_node.c
1813
int isowned, status;
sys/net80211/ieee80211_node.c
1831
status = ieee80211_crypto_delkey(ic, &ni->ni_ucastkey);
sys/net80211/ieee80211_node.c
1849
return status;
sys/net80211/ieee80211_output.c
1418
int ret, timer, status;
sys/net80211/ieee80211_output.c
1544
status = arg >> 16;
sys/net80211/ieee80211_output.c
1564
has_challenge && (status == IEEE80211_STATUS_SUCCESS);
sys/net80211/ieee80211_output.c
1578
((u_int16_t *)frm)[2] = htole16(status);/* status */
sys/net80211/ieee80211_output.c
1598
if (status == IEEE80211_STATUS_SUCCESS)
sys/netbt/hci.h
1039
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1047
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1072
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1087
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1099
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1115
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1123
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1139
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1155
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1171
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1189
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1207
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1224
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1241
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1257
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1276
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1289
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1297
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1313
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1333
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1342
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1390
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1403
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1411
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1419
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1440
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1458
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1484
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1501
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1518
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1535
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1552
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1579
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1596
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1606
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1623
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1652
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1668
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1680
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1688
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1699
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1709
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1721
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1729
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1748
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1760
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1771
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1783
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1795
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1809
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1822
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1839
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1891
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1911
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1927
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1934
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1940
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1947
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1954
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1960
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1967
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1974
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
1983
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
2002
uint8_t status; /* 0x00 - pending */
sys/netbt/hci.h
2019
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
2034
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
2081
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
2088
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
2113
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
2141
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
2150
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
2163
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
2173
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
2195
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
2230
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
474
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
552
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
580
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
591
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
604
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
615
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
673
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
713
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
763
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
774
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
785
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
797
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
808
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
821
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
832
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
844
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
919
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
939
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
952
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
960
uint8_t status; /* 0x00 - success */
sys/netbt/hci.h
996
uint8_t status; /* 0x00 - success */
sys/netbt/hci_event.c
1095
if (rp.status > 0)
sys/netbt/hci_event.c
1148
if (rp.status != 0)
sys/netbt/hci_event.c
1177
if (rp.status != 0)
sys/netbt/hci_event.c
1205
if (rp.status != 0)
sys/netbt/hci_event.c
1211
rp.con_handle, rp.status, rp.size);
sys/netbt/hci_event.c
1222
if (rp.status == 0) {
sys/netbt/hci_event.c
1259
if (rp.status != 0)
sys/netbt/hci_event.c
1306
hci_cmd_create_con(struct hci_unit *unit, uint8_t status)
sys/netbt/hci_event.c
1316
switch(status) {
sys/netbt/hci_event.c
265
ep.status,
sys/netbt/hci_event.c
275
hci_cmd_create_con(unit, ep.status);
sys/netbt/hci_event.c
279
if (ep.status == 0)
sys/netbt/hci_event.c
285
ep.status);
sys/netbt/hci_event.c
322
if (rp.status > 0)
sys/netbt/hci_event.c
326
rp.status);
sys/netbt/hci_event.c
591
ep.status);
sys/netbt/hci_event.c
595
if (ep.status) {
sys/netbt/hci_event.c
597
switch (ep.status) {
sys/netbt/hci_event.c
68
static void hci_cmd_create_con(struct hci_unit *unit, uint8_t status);
sys/netbt/hci_event.c
685
DPRINTFN(1, "handle #%d, status=0x%x\n", ep.con_handle, ep.status);
sys/netbt/hci_event.c
763
DPRINTFN(1, "handle #%d, status=0x%x\n", ep.con_handle, ep.status);
sys/netbt/hci_event.c
769
if (ep.status == 0) {
sys/netbt/hci_event.c
807
con_handle, ep.status, ep.encryption_enable);
sys/netbt/hci_event.c
813
if (ep.status == 0) {
sys/netbt/hci_event.c
859
DPRINTFN(1, "handle #%d, status=0x%x\n", ep.con_handle, ep.status);
sys/netbt/hci_event.c
867
if (ep.status == 0) {
sys/netbt/hci_event.c
900
le16toh(ep.con_handle), le16toh(ep.clock_offset), ep.status);
sys/netbt/hci_event.c
907
if (ep.status == 0)
sys/netbt/hci_event.c
925
if (rp.status > 0)
sys/netbt/hci_event.c
952
if (rp.status > 0)
sys/netbt/hci_event.c
984
if (rp.status > 0)
sys/netbt/hci_le.h
105
uint8_t status; /* status 0x00 = success */
sys/netbt/hci_le.h
188
uint8_t status; /* status 0x00 = success */
sys/netbt/hci_le.h
245
uint8_t status; /* status 0x00 = success */
sys/netbt/hci_le.h
265
uint8_t status; /* status 0x00 = success */
sys/netbt/hci_le.h
274
uint8_t status; /* status 0x00 = success */
sys/netbt/hci_le.h
296
uint8_t status; /* status 0x00 = success */
sys/netbt/hci_le.h
307
uint8_t status; /* status 0x00 = success */
sys/netbt/hci_le.h
320
uint8_t status; /* status 0x00 = success */
sys/netbt/hci_le.h
335
uint8_t status; /* status 0x00 = success */
sys/netbt/hci_le.h
343
uint8_t status; /* status 0x00 = success */
sys/netbt/hci_le.h
358
uint8_t status; /* status 0x00 = success */
sys/netbt/hci_le.h
63
uint8_t status; /* status 0x00 = success */
sys/netbt/hci_le.h
73
uint8_t status; /* status 0x00 = success */
sys/netbt/l2cap.h
262
uint16_t status; /* more info if result != 0x00 */
sys/netbt/rfcomm.h
192
uint8_t status;
sys/netbt/rfcomm_session.c
1305
rls.status &= 0x0f; /* only 4 bits valid */
sys/netinet/sctp_asconf.c
1600
int status;
sys/netinet/sctp_asconf.c
1766
status = sctp_asconf_queue_add(stcb, ifa, type);
sys/netinet/sctp_asconf.c
1774
if (status == 0 &&
sys/netinet/sctp_asconf.c
2534
int status;
sys/netinet/sctp_asconf.c
2539
status = sctp_asconf_queue_add_sa(stcb, sa,
sys/netinet/sctp_asconf.c
2545
if (status == 0 &&
sys/opencrypto/cryptodev.c
1150
cnop[req].status = SET_ERROR(EINVAL);
sys/opencrypto/cryptodev.c
1156
cnop[req].status = SET_ERROR(EINVAL);
sys/opencrypto/cryptodev.c
1165
cnop[req].status = SET_ERROR(EINVAL);
sys/opencrypto/cryptodev.c
1173
cnop[req].status = SET_ERROR(EINVAL);
sys/opencrypto/cryptodev.c
1179
cnop[req].status = SET_ERROR(ENOMEM);
sys/opencrypto/cryptodev.c
1187
cnop[req].status = SET_ERROR(ENOMEM);
sys/opencrypto/cryptodev.c
1222
cnop[req].status = SET_ERROR(EINVAL);
sys/opencrypto/cryptodev.c
1278
cnop[req].status = SET_ERROR(EINVAL);
sys/opencrypto/cryptodev.c
1305
cnop[req].status = SET_ERROR(EINVAL);
sys/opencrypto/cryptodev.c
1309
cnop[req].status = SET_ERROR(EINVAL);
sys/opencrypto/cryptodev.c
1314
cnop[req].status = SET_ERROR(EINVAL);
sys/opencrypto/cryptodev.c
1334
cnop[req].status = SET_ERROR(EINVAL);
sys/opencrypto/cryptodev.c
1344
cnop[req].status = 0;
sys/opencrypto/cryptodev.c
1347
if (cnop[req].status) {
sys/opencrypto/cryptodev.c
1348
DPRINTF("%zu status %d\n", req, cnop[req].status);
sys/opencrypto/cryptodev.c
1749
sn_ops->status = cryptodev_session(fcr, &s_op);
sys/opencrypto/cryptodev.c
1750
if (sn_ops->status) {
sys/opencrypto/cryptodev.c
1751
DPRINTF("%zu: create failed %d\n", i, sn_ops->status);
sys/opencrypto/cryptodev.c
1803
crypt_res[req].status = 0;
sys/opencrypto/cryptodev.c
1807
crypt_res[req].status = 0;
sys/opencrypto/cryptodev.c
1823
if (crypt_res[req].status != 0) {
sys/opencrypto/cryptodev.c
1832
crypt_res[req].status = crp->crp_etype;
sys/opencrypto/cryptodev.c
1836
if (crp->dst && (crypt_res[req].status =
sys/opencrypto/cryptodev.c
1841
if (crp->mac && (crypt_res[req].status =
sys/opencrypto/cryptodev.c
1863
crypt_res[req].status = krp->krp_status;
sys/opencrypto/cryptodev.c
1873
crypt_res[req].status = copyout
sys/opencrypto/cryptodev.c
1876
if (crypt_res[req].status) {
sys/opencrypto/cryptodev.c
1880
crypt_res[req].status);
sys/opencrypto/cryptodev.c
1922
crypt_res->status = crp->crp_etype;
sys/opencrypto/cryptodev.c
1926
if (crp->dst && (crypt_res->status =
sys/opencrypto/cryptodev.c
1931
if (crp->mac && (crypt_res->status =
sys/opencrypto/cryptodev.c
1951
crypt_res[req].status = krp->krp_status;
sys/opencrypto/cryptodev.c
1960
crypt_res[req].status = copyout(
sys/opencrypto/cryptodev.c
1963
if (crypt_res[req].status) {
sys/opencrypto/cryptodev.c
1967
crypt_res[req].status);
sys/opencrypto/cryptodev.h
187
int status;
sys/opencrypto/cryptodev.h
232
int status; /* status of request -accepted or not */
sys/opencrypto/cryptodev.h
318
uint32_t status; /* status of request: 0 if successful */
sys/opencrypto/ocryptodev.c
230
cnop.status = ocnop->status;
sys/opencrypto/ocryptodev.c
243
ocnop->status = cnop.status;
sys/opencrypto/ocryptodev.c
286
osn_ops->status = ocryptodev_session(fcr, &os_op);
sys/opencrypto/ocryptodev.h
120
int status;
sys/opencrypto/ocryptodev.h
155
int status; /* status of request -accepted or not */
sys/stand/efiboot/boot.c
450
EFI_STATUS status;
sys/stand/efiboot/boot.c
461
status = LibSetNVVariable(L"OsIndications", &EfiGlobalVariable, sizeof(osind), &osind);
sys/stand/efiboot/boot.c
462
if (EFI_ERROR(status)) {
sys/stand/efiboot/boot.c
463
printf("Failed to set OsIndications variable: %lu\n", (u_long)status);
sys/stand/efiboot/console.c
37
EFI_STATUS status;
sys/stand/efiboot/console.c
44
status = uefi_call_wrapper(ST->ConIn->ReadKeyStroke, 2, ST->ConIn, &key);
sys/stand/efiboot/console.c
45
while (status == EFI_NOT_READY) {
sys/stand/efiboot/console.c
48
status = uefi_call_wrapper(ST->ConIn->ReadKeyStroke, 2, ST->ConIn, &key);
sys/stand/efiboot/console.c
68
EFI_STATUS status;
sys/stand/efiboot/console.c
73
status = uefi_call_wrapper(ST->ConIn->ReadKeyStroke, 2, ST->ConIn, &key);
sys/stand/efiboot/console.c
74
if (status == EFI_SUCCESS) {
sys/stand/efiboot/console.c
80
status = uefi_call_wrapper(BS->CheckEvent, 1, ST->ConIn->WaitForKey);
sys/stand/efiboot/console.c
81
return status == EFI_SUCCESS;
sys/stand/efiboot/efiacpi.c
60
EFI_STATUS status;
sys/stand/efiboot/efiacpi.c
62
status = LibGetSystemConfigurationTable(&Acpi20TableGuid, &acpi_root);
sys/stand/efiboot/efiacpi.c
63
if (EFI_ERROR(status))
sys/stand/efiboot/efiacpi.c
66
status = LibGetSystemConfigurationTable(&Smbios3TableGuid, &smbios_table);
sys/stand/efiboot/efiacpi.c
67
if (EFI_ERROR(status)) {
sys/stand/efiboot/efiacpi.c
68
status = LibGetSystemConfigurationTable(&SmbiosTableGuid, &smbios_table);
sys/stand/efiboot/efiacpi.c
70
if (EFI_ERROR(status)) {
sys/stand/efiboot/efiblock.c
129
EFI_STATUS status;
sys/stand/efiboot/efiblock.c
158
status = uefi_call_wrapper(bdev->bio->ReadBlocks, 5, bdev->bio,
sys/stand/efiboot/efiblock.c
160
if (EFI_ERROR(status)) {
sys/stand/efiboot/efiblock.c
168
return status;
sys/stand/efiboot/efiblock.c
198
EFI_STATUS status;
sys/stand/efiboot/efiblock.c
217
status = efi_block_do_read(bdev, off, efi_ra_buffer, len);
sys/stand/efiboot/efiblock.c
218
if (EFI_ERROR(status)) {
sys/stand/efiboot/efiblock.c
220
return status;
sys/stand/efiboot/efiblock.c
247
EFI_STATUS status;
sys/stand/efiboot/efiblock.c
251
status = efi_block_read(bdev,
sys/stand/efiboot/efiblock.c
253
if (EFI_ERROR(status)) {
sys/stand/efiboot/efiblock.c
292
EFI_STATUS status;
sys/stand/efiboot/efiblock.c
295
status = efi_block_read(bdev,
sys/stand/efiboot/efiblock.c
297
if (EFI_ERROR(status) || getdisklabel(buf, &d) != NULL)
sys/stand/efiboot/efiblock.c
338
EFI_STATUS status;
sys/stand/efiboot/efiblock.c
341
status = efi_block_read(bdev, 0, &mbr, sizeof(mbr));
sys/stand/efiboot/efiblock.c
342
if (EFI_ERROR(status))
sys/stand/efiboot/efiblock.c
416
EFI_STATUS status;
sys/stand/efiboot/efiblock.c
421
status = efi_block_read(bdev, (EFI_LBA)GPT_HDR_BLKNO * bdev->bio->Media->BlockSize, &hdr,
sys/stand/efiboot/efiblock.c
423
if (EFI_ERROR(status)) {
sys/stand/efiboot/efiblock.c
437
status = efi_block_read(bdev,
sys/stand/efiboot/efiblock.c
439
if (EFI_ERROR(status)) {
sys/stand/efiboot/efiblock.c
476
EFI_STATUS status;
sys/stand/efiboot/efiblock.c
481
status = LibLocateHandle(ByProtocol, &BlockIoProtocol, NULL, &efi_nblock, &efi_block);
sys/stand/efiboot/efiblock.c
482
if (EFI_ERROR(status))
sys/stand/efiboot/efiblock.c
495
status = uefi_call_wrapper(BS->HandleProtocol, 3, efi_block[n],
sys/stand/efiboot/efiblock.c
497
if (EFI_ERROR(status) || !bio->Media->MediaPresent)
sys/stand/efiboot/efiblock.c
505
status = uefi_call_wrapper(BS->HandleProtocol, 3, efi_block[n],
sys/stand/efiboot/efiblock.c
507
if (EFI_ERROR(status)) {
sys/stand/efiboot/efiblock.c
685
EFI_STATUS status;
sys/stand/efiboot/efiblock.c
707
status = efi_block_read(bpart->bdev, off, buf, size);
sys/stand/efiboot/efiblock.c
708
if (EFI_ERROR(status))
sys/stand/efiboot/efiboot.c
121
EFI_STATUS status;
sys/stand/efiboot/efiboot.c
128
status = uefi_call_wrapper(BS->ExitBootServices, 2, IH, mapkey);
sys/stand/efiboot/efiboot.c
129
if (EFI_ERROR(status)) {
sys/stand/efiboot/efiboot.c
142
EFI_STATUS status;
sys/stand/efiboot/efiboot.c
144
status = uefi_call_wrapper(BS->Exit, 4, IH, EFI_ABORTED, 0, NULL);
sys/stand/efiboot/efiboot.c
145
if (EFI_ERROR(status))
sys/stand/efiboot/efiboot.c
160
EFI_STATUS status;
sys/stand/efiboot/efiboot.c
164
status = uefi_call_wrapper(BS->CreateEvent, 5, EVT_TIMER, TPL_APPLICATION, 0, 0, &delay_ev);
sys/stand/efiboot/efiboot.c
165
if (EFI_ERROR(status))
sys/stand/efiboot/efiboot.c
67
EFI_STATUS status;
sys/stand/efiboot/efiboot.c
78
status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateAnyPages, EfiLoaderData, sz, &heap_start);
sys/stand/efiboot/efiboot.c
79
if (EFI_ERROR(status))
sys/stand/efiboot/efiboot.c
80
return status;
sys/stand/efiboot/efiboot.c
83
status = uefi_call_wrapper(BS->HandleProtocol, 3, imageHandle, &LoadedImageProtocol, (void **)&efi_li);
sys/stand/efiboot/efiboot.c
84
if (EFI_ERROR(status))
sys/stand/efiboot/efiboot.c
85
return status;
sys/stand/efiboot/efiboot.c
86
status = uefi_call_wrapper(BS->HandleProtocol, 3, efi_li->DeviceHandle, &DevicePathProtocol, (void **)&efi_bootdp);
sys/stand/efiboot/efiboot.c
87
if (EFI_ERROR(status))
sys/stand/efiboot/efifdt.c
332
EFI_STATUS status;
sys/stand/efiboot/efifdt.c
340
status = LibLocateHandle(ByProtocol, &GraphicsOutputProtocol, NULL, &ngop_handle, &gop_handle);
sys/stand/efiboot/efifdt.c
341
if (EFI_ERROR(status) || ngop_handle == 0)
sys/stand/efiboot/efifdt.c
345
status = uefi_call_wrapper(BS->HandleProtocol, 3, gop_handle[n], &GraphicsOutputProtocol, (void **)&gop);
sys/stand/efiboot/efifdt.c
346
if (EFI_ERROR(status))
sys/stand/efiboot/efifdt.c
752
EFI_STATUS status;
sys/stand/efiboot/efifdt.c
810
status = uefi_call_wrapper(RT->SetVirtualAddressMap, 4, nrt * descsize,
sys/stand/efiboot/efifdt.c
812
if (EFI_ERROR(status)) {
sys/stand/efiboot/efifdt.c
84
EFI_STATUS status;
sys/stand/efiboot/efifdt.c
86
status = LibGetSystemConfigurationTable(&FdtTableGuid, &fdt_data);
sys/stand/efiboot/efifdt.c
87
if (EFI_ERROR(status))
sys/stand/efiboot/efifile.c
104
status = OpenSimpleReadFile(FALSE, NULL, 0, &dp, &device, srf);
sys/stand/efiboot/efifile.c
106
if (EFI_ERROR(status)) {
sys/stand/efiboot/efifile.c
108
return status == EFI_NOT_FOUND ? ENOENT : EIO;
sys/stand/efiboot/efifile.c
143
EFI_STATUS status;
sys/stand/efiboot/efifile.c
150
status = ReadSimpleReadFile(*srf, f->f_offset, &len, buf);
sys/stand/efiboot/efifile.c
151
if (EFI_ERROR(status))
sys/stand/efiboot/efifile.c
60
EFI_STATUS status;
sys/stand/efiboot/efifile.c
62
status = LibLocateHandle(ByProtocol, &FileSystemProtocol, NULL, &efi_nvol, &efi_vol);
sys/stand/efiboot/efifile.c
63
if (EFI_ERROR(status))
sys/stand/efiboot/efifile.c
73
EFI_STATUS status;
sys/stand/efiboot/efigetsecs.c
67
EFI_STATUS status;
sys/stand/efiboot/efigetsecs.c
70
status = uefi_call_wrapper(BS->CreateEvent, 5, EVT_TIMER | EVT_NOTIFY_SIGNAL, TPL_CALLBACK,
sys/stand/efiboot/efigetsecs.c
72
if (EFI_ERROR(status))
sys/stand/efiboot/efigetsecs.c
73
panic("%s: couldn't create event timer: 0x%lx", __func__, (u_long)status);
sys/stand/efiboot/efigetsecs.c
74
status = uefi_call_wrapper(BS->SetTimer, 3, getsecs_ev, TimerPeriodic, 10000000); /* 1s in "100ns" units */
sys/stand/efiboot/efigetsecs.c
75
if (EFI_ERROR(status))
sys/stand/efiboot/efigetsecs.c
76
panic("%s: couldn't start event timer: 0x%lx", __func__, (u_long)status);
sys/stand/efiboot/efigop.c
103
EFI_STATUS status;
sys/stand/efiboot/efigop.c
112
status = uefi_call_wrapper(gop->QueryMode, 4, gop, mode,
sys/stand/efiboot/efigop.c
114
if (EFI_ERROR(status)) {
sys/stand/efiboot/efigop.c
134
EFI_STATUS status;
sys/stand/efiboot/efigop.c
140
status = uefi_call_wrapper(gop->SetMode, 2, gop, mode);
sys/stand/efiboot/efigop.c
141
if (EFI_ERROR(status)) {
sys/stand/efiboot/efigop.c
142
printf("Failed to set video mode: %ld\n", (long)status);
sys/stand/efiboot/efigop.c
38
EFI_STATUS status;
sys/stand/efiboot/efigop.c
40
status = LibLocateHandle(ByProtocol, &GraphicsOutputProtocol, NULL,
sys/stand/efiboot/efigop.c
42
if (EFI_ERROR(status) || ngop_handle == 0) {
sys/stand/efiboot/efigop.c
47
status = uefi_call_wrapper(BS->HandleProtocol, 3,
sys/stand/efiboot/efigop.c
49
if (EFI_ERROR(status) || gop->Mode == NULL) {
sys/stand/efiboot/efinet.c
171
EFI_STATUS status;
sys/stand/efiboot/efinet.c
182
status = uefi_call_wrapper(net->Transmit, 7, net, 0, (UINTN)len, ptr, NULL,
sys/stand/efiboot/efinet.c
184
if (EFI_ERROR(status))
sys/stand/efiboot/efinet.c
190
status = uefi_call_wrapper(net->GetStatus, 3, net, NULL, &buf);
sys/stand/efiboot/efinet.c
195
} while (!EFI_ERROR(status) && buf == NULL);
sys/stand/efiboot/efinet.c
198
return EFI_ERROR(status) ? -1 : len;
sys/stand/efiboot/efinet.c
207
EFI_STATUS status;
sys/stand/efiboot/efinet.c
231
status = uefi_call_wrapper(net->Receive, 7, net, NULL, &rsz, ptr,
sys/stand/efiboot/efinet.c
233
if (!EFI_ERROR(status)) {
sys/stand/efiboot/efinet.c
240
if (status != EFI_NOT_READY)
sys/stand/efiboot/efinet.c
253
EFI_STATUS status;
sys/stand/efiboot/efinet.c
265
status = uefi_call_wrapper(net->Start, 1, net);
sys/stand/efiboot/efinet.c
266
if (EFI_ERROR(status)) {
sys/stand/efiboot/efinet.c
268
PRIxMAX ")\n", nif->nif_unit, (uintmax_t)status);
sys/stand/efiboot/efinet.c
274
status = uefi_call_wrapper(net->Initialize, 3, net, 0, 0);
sys/stand/efiboot/efinet.c
275
if (EFI_ERROR(status)) {
sys/stand/efiboot/efinet.c
277
PRIxMAX ")\n", nif->nif_unit, (uintmax_t)status);
sys/stand/efiboot/efinet.c
285
status = uefi_call_wrapper(net->ReceiveFilters, 6, net, mask, 0, FALSE,
sys/stand/efiboot/efinet.c
287
if (EFI_ERROR(status) && status != EFI_INVALID_PARAMETER && status != EFI_UNSUPPORTED) {
sys/stand/efiboot/efinet.c
289
nif->nif_unit, (uintmax_t)status);
sys/stand/efiboot/efinet.c
333
EFI_STATUS status;
sys/stand/efiboot/efinet.c
338
status = LibLocateHandle(ByProtocol, &SimpleNetworkProtocol, NULL,
sys/stand/efiboot/efinet.c
340
if (EFI_ERROR(status) || nhandles == 0)
sys/stand/efiboot/efinet.c
364
status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i],
sys/stand/efiboot/efinet.c
366
if (EFI_ERROR(status))
sys/stand/efiboot/efinet.c
380
status = uefi_call_wrapper(BS->OpenProtocol, 6, handles[i],
sys/stand/efiboot/efinet.c
383
if (EFI_ERROR(status)) {
sys/stand/efiboot/efinet.c
386
(uintmax_t)i, (uintmax_t)status);
sys/stand/efiboot/efipxe.c
49
EFI_STATUS status;
sys/stand/efiboot/efipxe.c
56
status = LibLocateHandle(ByProtocol, &PxeBaseCodeProtocol, NULL,
sys/stand/efiboot/efipxe.c
58
if (EFI_ERROR(status))
sys/stand/efiboot/efipxe.c
62
status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i],
sys/stand/efiboot/efipxe.c
64
if (EFI_ERROR(status))
sys/stand/efiboot/efipxe.c
72
status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i],
sys/stand/efiboot/efipxe.c
74
if (EFI_ERROR(status))
sys/stand/efiboot/efipxe.c
81
status = uefi_call_wrapper(BS->HandleProtocol, 3, handles[i],
sys/stand/efiboot/efipxe.c
83
if (EFI_ERROR(status))
sys/stand/efiboot/efirng.c
121
EFI_STATUS status;
sys/stand/efiboot/efirng.c
126
status = uefi_call_wrapper(rng->GetRNG, 4, rng, &RngAlgorithmRawGuid,
sys/stand/efiboot/efirng.c
128
if (status == EFI_UNSUPPORTED) {
sys/stand/efiboot/efirng.c
133
status = uefi_call_wrapper(rng->GetRNG, 4, rng, NULL, len, buf);
sys/stand/efiboot/efirng.c
135
if (EFI_ERROR(status)) {
sys/stand/efiboot/efirng.c
136
DPRINT(L"efirng: GetRNG: %r\n", status);
sys/stand/efiboot/efirng.c
67
EFI_STATUS status;
sys/stand/efiboot/efirng.c
70
status = LibLocateProtocol(&RngProtocolGuid, (void **)&rng);
sys/stand/efiboot/efirng.c
71
if (EFI_ERROR(status)) {
sys/stand/efiboot/efirng.c
72
DPRINT(L"efirng: protocol: %r\n", status);
sys/stand/efiboot/efirng.c
83
EFI_STATUS status;
sys/stand/efiboot/efirng.c
91
status = uefi_call_wrapper(rng->GetInfo, 3, rng, &alglistsz, alglist);
sys/stand/efiboot/efirng.c
92
if (EFI_ERROR(status)) {
sys/stand/efiboot/efirng.c
93
Print(L"GetInfo: %r\n", status);
sys/stand/efiboot/exec.c
130
EFI_STATUS status;
sys/stand/efiboot/exec.c
142
status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateMaxAddress,
sys/stand/efiboot/exec.c
146
status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateAnyPages,
sys/stand/efiboot/exec.c
149
if (EFI_ERROR(status)) {
sys/stand/efiboot/exec.c
151
status);
sys/stand/efiboot/exec.c
172
EFI_STATUS status;
sys/stand/efiboot/exec.c
194
status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateMaxAddress, EfiLoaderData,
sys/stand/efiboot/exec.c
198
status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateAnyPages, EfiLoaderData,
sys/stand/efiboot/exec.c
201
if (EFI_ERROR(status)) {
sys/stand/efiboot/exec.c
203
alloc_size, (u_long)status);
sys/stand/efiboot/exec.c
54
EFI_STATUS status;
sys/stand/efiboot/exec.c
89
status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateMaxAddress, EfiLoaderData,
sys/stand/efiboot/exec.c
93
status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateAnyPages, EfiLoaderData,
sys/stand/efiboot/exec.c
96
if (EFI_ERROR(status)) {
sys/stand/efiboot/exec.c
98
*psize, path, (u_long)status);
sys/stand/efiboot/smbios.h
226
uint8_t status;
sys/sys/midiio.h
549
uint8_t status;
sys/sys/scsiio.h
23
u_char status; /* what the scsi status was from the adapter */
sys/sys/syscallargs.h
2955
syscallarg(int *) status;
sys/sys/syscallargs.h
3204
syscallarg(int *) status;
sys/sys/syscallargs.h
89
syscallarg(int *) status;
sys/sys/timex.h
219
int status; /* clock status bits (rw) */
sys/sys/videoio.h
2507
u_int32_t status;
sys/ufs/ufs/ufs_lookup.c
104
} status;
sys/ufs/ufs/ufs_lookup.c
125
slot->status = FOUND;
sys/ufs/ufs/ufs_lookup.c
134
if (slot->status == FOUND)
sys/ufs/ufs/ufs_lookup.c
141
slot->status = COMPACT;
sys/ufs/ufs/ufs_lookup.c
153
slot->status = FOUND;
sys/ufs/ufs/ufs_lookup.c
163
slot->status = FOUND;
sys/ufs/ufs/ufs_lookup.c
166
} else if (slot->status == NONE) {
sys/ufs/ufs/ufs_lookup.c
171
slot->status = COMPACT;
sys/ufs/ufs/ufs_lookup.c
189
if (slot->status == NONE) {
sys/ufs/ufs/ufs_lookup.c
428
slot.status = NONE;
sys/ufs/ufs/ufs_lookup.c
515
if (slot.status == NONE &&
sys/ufs/ufs/ufs_lookup.c
545
if (slot.status != FOUND) {
sys/uvm/uvm_page.c
1468
const unsigned status = uvm_pagegetdirty(pg);
sys/uvm/uvm_page.c
1470
cpu_count(CPU_COUNT_ANONUNKNOWN + status, -1);
sys/uvm/uvm_page.c
1506
const unsigned int status = uvm_pagegetdirty(pg);
sys/uvm/uvm_page.c
1509
cpu_count(CPU_COUNT_ANONUNKNOWN + status, -1);
sys/uvm/uvm_page.c
216
const unsigned int status = pg->flags & (PG_CLEAN | PG_DIRTY);
sys/uvm/uvm_page.c
230
cpu_count(CPU_COUNT_FILEUNKNOWN + status, 1);
sys/uvm/uvm_page.c
232
cpu_count(CPU_COUNT_ANONUNKNOWN + status, 1);
sys/uvm/uvm_page.c
275
const unsigned int status = pg->flags & (PG_CLEAN | PG_DIRTY);
sys/uvm/uvm_page.c
289
cpu_count(CPU_COUNT_FILEUNKNOWN + status, -1);
sys/uvm/uvm_page.c
291
cpu_count(CPU_COUNT_ANONUNKNOWN + status, -1);
tests/compat/linux/h_linux.h
46
#define exit(status) (void)syscall(LINUX_SYS_exit_group, status)
tests/dev/audio/audiotest.c
2438
int status;
tests/dev/audio/audiotest.c
2480
waitpid(pid, &status, 0);
tests/dev/audio/audiotest.c
4327
int status;
tests/dev/audio/audiotest.c
4423
waitpid(pid, &status, 0);
tests/dev/sysmon/t_swwdog.c
138
int status;
tests/dev/sysmon/t_swwdog.c
142
status = testbody(1);
tests/dev/sysmon/t_swwdog.c
144
ATF_REQUIRE(WIFEXITED(status));
tests/dev/sysmon/t_swwdog.c
145
ATF_REQUIRE_EQ(WEXITSTATUS(status), 0);
tests/dev/sysmon/t_swwdog.c
158
int status;
tests/dev/sysmon/t_swwdog.c
162
status = testbody(1);
tests/dev/sysmon/t_swwdog.c
164
ATF_REQUIRE(WIFSIGNALED(status));
tests/dev/sysmon/t_swwdog.c
165
ATF_REQUIRE_EQ(WTERMSIG(status), SIGABRT);
tests/dev/sysmon/t_swwdog.c
177
int status;
tests/dev/sysmon/t_swwdog.c
179
status = testbody(2);
tests/dev/sysmon/t_swwdog.c
181
ATF_REQUIRE(WIFEXITED(status));
tests/dev/sysmon/t_swwdog.c
182
ATF_REQUIRE_EQ(WEXITSTATUS(status), 2);
tests/dev/sysmon/t_swwdog.c
70
int status;
tests/dev/sysmon/t_swwdog.c
82
p2 = wait(&status);
tests/dev/sysmon/t_swwdog.c
85
return status;
tests/fs/common/fstest_nfs.c
263
wait(&status);
tests/fs/common/fstest_nfs.c
290
int status, i, sverrno;
tests/fs/common/fstest_nfs.c
301
if ((status = rump_sys_unmount(path, flags)) == 0)
tests/fs/common/fstest_nfs.c
308
if (status == -1)
tests/fs/common/fstest_nfs.c
64
childfail(int status)
tests/fs/common/fstest_puffs.c
426
int status;
tests/fs/common/fstest_puffs.c
439
if (waitpid(pargs->pta_childpid, &status, WNOHANG) > 0)
tests/fs/common/fstest_puffs.c
443
if (waitpid(pargs->pta_childpid, &status, WNOHANG) > 0)
tests/fs/common/fstest_puffs.c
447
wait(&status);
tests/fs/fifofs/t_fifo.c
197
while (waitpid(pid, &status, 0) == -1)
tests/fs/fifofs/t_fifo.c
96
int fd, status;
tests/fs/lfs/t_orphan.c
139
waitpid(childpid, &status, 0);
tests/fs/lfs/t_orphan.c
142
if (WEXITSTATUS(status))
tests/fs/lfs/t_orphan.c
143
exit(WEXITSTATUS(status));
tests/fs/lfs/t_orphan.c
71
int fd, status;
tests/fs/vfs/t_union.c
100
RL(rump_sys_mount(MOUNT_RUMPFS, "/", status | MNT_UPDATE, NULL, 0));
tests/fs/vfs/t_union.c
95
static int status;
tests/fs/vfs/t_union.c
97
status ^= MNT_RDONLY;
tests/fs/vfs/t_union.c
99
printf("0x%x\n", status);
tests/kernel/h_fpufork.c
45
int status;
tests/kernel/h_fpufork.c
57
if ((child = wait(&status)) == -1)
tests/kernel/h_fpufork.c
59
if (WIFSIGNALED(status))
tests/kernel/h_fpufork.c
60
errx(1, "child exited on signal %d", WTERMSIG(status));
tests/kernel/h_fpufork.c
61
if (!WIFEXITED(status))
tests/kernel/h_fpufork.c
63
return WEXITSTATUS(status);
tests/kernel/kqueue/read/t_file.c
129
(void)waitpid(pid, &status, 0);
tests/kernel/kqueue/read/t_file.c
90
int fd, kq, n, num, status;
tests/kernel/kqueue/read/t_ttypty.c
115
(void)waitpid(child, &status, 0);
tests/kernel/kqueue/read/t_ttypty.c
59
int kq, n, status;
tests/kernel/kqueue/t_proc1.c
102
int kq, status;
tests/kernel/kqueue/t_proc1.c
147
(void)waitpid(pid, &status, 0);
tests/kernel/kqueue/t_proc1.c
60
int status;
tests/kernel/kqueue/t_proc1.c
82
wait(&status);
tests/kernel/kqueue/t_proc2.c
123
RL(waitpid(pid, &status, 0));
tests/kernel/kqueue/t_proc2.c
124
ATF_REQUIRE(WIFEXITED(status));
tests/kernel/kqueue/t_proc2.c
125
ATF_REQUIRE_EQ(WEXITSTATUS(status), EXIT_SUCCESS);
tests/kernel/kqueue/t_proc2.c
93
int kq, status;
tests/kernel/kqueue/t_proc3.c
60
int kq, status;
tests/kernel/kqueue/t_proc3.c
76
RL(waitpid(pid, &status, 0));
tests/kernel/kqueue/t_proc3.c
77
ATF_REQUIRE(WIFEXITED(status));
tests/kernel/kqueue/t_proc3.c
78
ATF_REQUIRE_EQ(WEXITSTATUS(status), EXIT_SUCCESS);
tests/kernel/kqueue/t_proc4.c
123
status = (int)event.data;
tests/kernel/kqueue/t_proc4.c
124
ATF_REQUIRE(WIFEXITED(status));
tests/kernel/kqueue/t_proc4.c
125
ATF_REQUIRE(WEXITSTATUS(status) == EXIT_CHILD ||
tests/kernel/kqueue/t_proc4.c
126
WEXITSTATUS(status) == EXIT_GRANDCHILD);
tests/kernel/kqueue/t_proc4.c
127
if (WEXITSTATUS(status) == EXIT_CHILD) {
tests/kernel/kqueue/t_proc4.c
131
&status,
tests/kernel/kqueue/t_proc4.c
134
ATF_REQUIRE(status == (int)event.data);
tests/kernel/kqueue/t_proc4.c
57
int i, status;
tests/kernel/kqueue/t_proc4.c
69
ATF_REQUIRE((pid = wait(&status)) != -1);
tests/kernel/kqueue/t_proc4.c
86
int kq, status;
tests/kernel/kqueue/t_sig.c
124
(void)waitpid(child, &status, 0);
tests/kernel/kqueue/t_sig.c
67
int kq, n, num, status;
tests/kernel/kqueue/write/t_pipe.c
111
(void)waitpid(child, &status, 0);
tests/kernel/kqueue/write/t_pipe.c
85
int status;
tests/kernel/kqueue/write/t_ttypty.c
100
(void)waitpid(child, &status, 0);
tests/kernel/kqueue/write/t_ttypty.c
60
int status, kq, n;
tests/kernel/t_cloexec.c
277
int status;
tests/kernel/t_cloexec.c
296
RL(waitedpid = waitpid(child, &status, 0));
tests/kernel/t_cloexec.c
303
if (WIFSIGNALED(status)) {
tests/kernel/t_cloexec.c
305
WTERMSIG(status));
tests/kernel/t_cloexec.c
307
} else if (!WIFEXITED(status)) {
tests/kernel/t_cloexec.c
309
status);
tests/kernel/t_cloexec.c
319
switch (WEXITSTATUS(status)) {
tests/kernel/t_cloexec.c
330
WEXITSTATUS(status));
tests/kernel/t_clofork.c
254
int status;
tests/kernel/t_clofork.c
273
RL(waitedpid = waitpid(child, &status, 0));
tests/kernel/t_clofork.c
280
if (WIFSIGNALED(status)) {
tests/kernel/t_clofork.c
282
WTERMSIG(status));
tests/kernel/t_clofork.c
284
} else if (!WIFEXITED(status)) {
tests/kernel/t_clofork.c
286
status);
tests/kernel/t_clofork.c
296
switch (WEXITSTATUS(status)) {
tests/kernel/t_clofork.c
307
WEXITSTATUS(status));
tests/kernel/t_execregs.c
105
RL(waitpid(child, &status, 0));
tests/kernel/t_execregs.c
106
if (WIFSIGNALED(status)) {
tests/kernel/t_execregs.c
108
WTERMSIG(status), strsignal(WTERMSIG(status)));
tests/kernel/t_execregs.c
109
} else if (!WIFEXITED(status)) {
tests/kernel/t_execregs.c
112
status);
tests/kernel/t_execregs.c
114
ATF_CHECK_MSG(WEXITSTATUS(status) == 0,
tests/kernel/t_execregs.c
115
"child exited with code %d", WEXITSTATUS(status));
tests/kernel/t_execregs.c
99
int status;
tests/kernel/t_lockf.c
124
int status;
tests/kernel/t_lockf.c
171
ATF_REQUIRE_MSG(waitpid(pid[i], &status, WUNTRACED) >= 0,
tests/kernel/t_lockf.c
184
waitpid(pid[i], &status, 0);
tests/kernel/t_lockf.c
185
printf(" status %d\n", status);
tests/kernel/t_lua.c
189
int status;
tests/kernel/t_lua.c
217
RL(waitpid(child, &status, 0));
tests/kernel/t_lua.c
218
ATF_REQUIRE_MSG(!WIFSIGNALED(status),
tests/kernel/t_lua.c
219
"child terminated on signal %d", WTERMSIG(status));
tests/kernel/t_lua.c
220
ATF_REQUIRE_MSG(WIFEXITED(status),
tests/kernel/t_lua.c
221
"child exited unexpectedly, status=0x%x", status);
tests/kernel/t_lua.c
222
ATF_REQUIRE_MSG(WEXITSTATUS(status) == 0,
tests/kernel/t_lua.c
223
"child exited with code %d", WEXITSTATUS(status));
tests/kernel/t_mqueue.c
110
int status;
tests/kernel/t_mqueue.c
124
status = mq_close(mqfd);
tests/kernel/t_mqueue.c
125
ATF_REQUIRE_MSG(status == 0, "mq_close failed: %d", errno);
tests/kernel/t_nanosleep.c
124
int status;
tests/kernel/t_nanosleep.c
135
ATF_REQUIRE((x = wait(&status)) != -1);
tests/kernel/t_nanosleep.c
141
fprintf(stderr, "M exited first, status %#x\n", status);
tests/kernel/t_nanosleep.c
147
"(M=%d V=%d)\n", x, status, m, v);
tests/kernel/t_nanosleep.c
176
ATF_REQUIRE((x = wait(&status)) != -1);
tests/kernel/t_nanosleep.c
180
"(M=%d V=%d)\n", x, status, m, v);
tests/kernel/t_nanosleep.c
185
if (status == 0)
tests/kernel/t_nanosleep.c
192
fprintf(stderr, "Test failed: status from M: %#x\n", status);
tests/kernel/t_proccwd.c
116
int status;
tests/kernel/t_proccwd.c
142
wpid = waitpid(child, &status, WEXITED);
tests/kernel/t_proccwd.c
144
ATF_REQUIRE_EQ(WEXITSTATUS(status), EXIT_SUCCESS);
tests/kernel/t_pty.c
100
if (!WIFEXITED(status) || WEXITSTATUS(status) != 0)
tests/kernel/t_pty.c
61
int status;
tests/kernel/t_pty.c
98
if (waitpid(child, &status, 0) == -1)
tests/kernel/t_semtimedop.c
114
int status;
tests/kernel/t_semtimedop.c
150
waitpid(pid, &status, 0);
tests/kernel/t_semtimedop.c
151
ATF_REQUIRE(WIFEXITED(status));
tests/kernel/t_semtimedop.c
152
ATF_REQUIRE_EQ(WEXITSTATUS(status), 0);
tests/kernel/t_signal_and_sp.c
134
RL(waitpid(pid, &status, 0));
tests/kernel/t_signal_and_sp.c
135
if (WIFSIGNALED(status)) {
tests/kernel/t_signal_and_sp.c
137
WTERMSIG(status), strsignal(WTERMSIG(status)));
tests/kernel/t_signal_and_sp.c
138
} else if (!WIFEXITED(status)) {
tests/kernel/t_signal_and_sp.c
139
atf_tc_fail_nonfatal("child exited status=0x%x", status);
tests/kernel/t_signal_and_sp.c
141
ATF_CHECK_MSG(WEXITSTATUS(status) == 0,
tests/kernel/t_signal_and_sp.c
143
WEXITSTATUS(status));
tests/kernel/t_signal_and_sp.c
76
int status;
tests/kernel/t_zombie.c
129
int status;
tests/kernel/t_zombie.c
161
pid = waitpid(child2, &status, WEXITED);
tests/kernel/t_zombie.c
163
ATF_REQUIRE(WIFEXITED(status));
tests/kernel/t_zombie.c
164
ATF_REQUIRE(!WIFCONTINUED(status));
tests/kernel/t_zombie.c
165
ATF_REQUIRE(!WIFSIGNALED(status));
tests/kernel/t_zombie.c
166
ATF_REQUIRE(!WIFSTOPPED(status));
tests/kernel/t_zombie.c
167
ATF_REQUIRE_EQ(WEXITSTATUS(status), 0);
tests/kernel/t_zombie.c
187
pid = waitpid(child1, &status, WEXITED);
tests/kernel/t_zombie.c
189
ATF_REQUIRE(WIFEXITED(status));
tests/kernel/t_zombie.c
190
ATF_REQUIRE(!WIFCONTINUED(status));
tests/kernel/t_zombie.c
191
ATF_REQUIRE(!WIFSIGNALED(status));
tests/kernel/t_zombie.c
192
ATF_REQUIRE(!WIFSTOPPED(status));
tests/kernel/t_zombie.c
193
ATF_REQUIRE_EQ(WEXITSTATUS(status), 0);
tests/lib/libc/c063/t_fexecve.c
55
int status;
tests/lib/libc/c063/t_fexecve.c
78
ATF_REQUIRE(waitpid(pid, &status, 0) != -1);
tests/lib/libc/c063/t_fexecve.c
79
if (!WIFEXITED(status))
tests/lib/libc/c063/t_fexecve.c
81
if (WEXITSTATUS(status) == 76)
tests/lib/libc/c063/t_fexecve.c
84
ATF_REQUIRE(WEXITSTATUS(status) == EXIT_SUCCESS);
tests/lib/libc/gen/execve/t_execve.c
100
WTERMSIG(status), strsignal(WTERMSIG(status)));
tests/lib/libc/gen/execve/t_execve.c
81
int status;
tests/lib/libc/gen/execve/t_execve.c
95
RL(waitpid(pid, &status, 0));
tests/lib/libc/gen/execve/t_execve.c
96
ATF_REQUIRE_MSG(WIFSIGNALED(status),
tests/lib/libc/gen/execve/t_execve.c
97
"child exited with status 0x%x", status);
tests/lib/libc/gen/execve/t_execve.c
98
ATF_REQUIRE_EQ_MSG(WTERMSIG(status), SIGTERM,
tests/lib/libc/gen/posix_spawn/t_fileactions.c
124
RL(waitpid(pid, &status, 0));
tests/lib/libc/gen/posix_spawn/t_fileactions.c
125
ATF_REQUIRE_MSG((WIFEXITED(status) &&
tests/lib/libc/gen/posix_spawn/t_fileactions.c
126
WEXITSTATUS(status) == EXIT_SUCCESS),
tests/lib/libc/gen/posix_spawn/t_fileactions.c
127
"status=0x%x", status);
tests/lib/libc/gen/posix_spawn/t_fileactions.c
152
RL(waitpid(pid, &status, 0));
tests/lib/libc/gen/posix_spawn/t_fileactions.c
153
ATF_REQUIRE_MSG((WIFEXITED(status) &&
tests/lib/libc/gen/posix_spawn/t_fileactions.c
154
WEXITSTATUS(status) == EXIT_FAILURE),
tests/lib/libc/gen/posix_spawn/t_fileactions.c
155
"status=0x%x", status);
tests/lib/libc/gen/posix_spawn/t_fileactions.c
175
int status;
tests/lib/libc/gen/posix_spawn/t_fileactions.c
193
RL(waitpid(pid, &status, 0));
tests/lib/libc/gen/posix_spawn/t_fileactions.c
194
ATF_REQUIRE_MSG((WIFEXITED(status) &&
tests/lib/libc/gen/posix_spawn/t_fileactions.c
195
WEXITSTATUS(status) == EXIT_SUCCESS),
tests/lib/libc/gen/posix_spawn/t_fileactions.c
196
"status=0x%x", status);
tests/lib/libc/gen/posix_spawn/t_fileactions.c
208
int err, status;
tests/lib/libc/gen/posix_spawn/t_fileactions.c
222
waitpid(pid, &status, 0);
tests/lib/libc/gen/posix_spawn/t_fileactions.c
223
ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == 127);
tests/lib/libc/gen/posix_spawn/t_fileactions.c
277
int fd1, fd2, fd3, status;
tests/lib/libc/gen/posix_spawn/t_fileactions.c
305
RL(waitpid(pid, &status, 0));
tests/lib/libc/gen/posix_spawn/t_fileactions.c
306
ATF_REQUIRE_MSG((WIFEXITED(status) &&
tests/lib/libc/gen/posix_spawn/t_fileactions.c
307
WEXITSTATUS(status) == EXIT_SUCCESS),
tests/lib/libc/gen/posix_spawn/t_fileactions.c
308
"status=0x%x", status);
tests/lib/libc/gen/posix_spawn/t_fileactions.c
321
int status, fd;
tests/lib/libc/gen/posix_spawn/t_fileactions.c
347
RL(waitpid(pid, &status, 0));
tests/lib/libc/gen/posix_spawn/t_fileactions.c
348
ATF_REQUIRE_MSG((WIFEXITED(status) &&
tests/lib/libc/gen/posix_spawn/t_fileactions.c
349
WEXITSTATUS(status) == EXIT_SUCCESS),
tests/lib/libc/gen/posix_spawn/t_fileactions.c
350
"status=0x%x", status);
tests/lib/libc/gen/posix_spawn/t_fileactions.c
364
int status, fd;
tests/lib/libc/gen/posix_spawn/t_fileactions.c
394
RL(waitpid(pid, &status, 0));
tests/lib/libc/gen/posix_spawn/t_fileactions.c
395
ATF_REQUIRE_MSG((WIFEXITED(status) &&
tests/lib/libc/gen/posix_spawn/t_fileactions.c
396
WEXITSTATUS(status) == EXIT_SUCCESS),
tests/lib/libc/gen/posix_spawn/t_fileactions.c
397
"status=0x%x", status);
tests/lib/libc/gen/posix_spawn/t_fileactions.c
409
int status;
tests/lib/libc/gen/posix_spawn/t_fileactions.c
429
RL(waitpid(pid, &status, 0));
tests/lib/libc/gen/posix_spawn/t_fileactions.c
430
ATF_REQUIRE_MSG((WIFEXITED(status) &&
tests/lib/libc/gen/posix_spawn/t_fileactions.c
431
WEXITSTATUS(status) == EXIT_SUCCESS),
tests/lib/libc/gen/posix_spawn/t_fileactions.c
432
"status=0x%x", status);
tests/lib/libc/gen/posix_spawn/t_fileactions.c
76
int status;
tests/lib/libc/gen/posix_spawn/t_fileactions.c
96
RL(waitpid(pid, &status, 0));
tests/lib/libc/gen/posix_spawn/t_fileactions.c
97
ATF_REQUIRE_MSG((WIFEXITED(status) &&
tests/lib/libc/gen/posix_spawn/t_fileactions.c
98
WEXITSTATUS(status) == EXIT_SUCCESS),
tests/lib/libc/gen/posix_spawn/t_fileactions.c
99
"status=0x%x", status);
tests/lib/libc/gen/posix_spawn/t_spawn.c
144
int status;
tests/lib/libc/gen/posix_spawn/t_spawn.c
154
RL(waitpid(pid, &status, 0));
tests/lib/libc/gen/posix_spawn/t_spawn.c
155
ATF_REQUIRE_MSG((WIFEXITED(status) &&
tests/lib/libc/gen/posix_spawn/t_spawn.c
156
WEXITSTATUS(status) == rets[i]),
tests/lib/libc/gen/posix_spawn/t_spawn.c
157
"status=0x%x", status);
tests/lib/libc/gen/posix_spawn/t_spawn.c
208
int error, fd = -1, status;
tests/lib/libc/gen/posix_spawn/t_spawn.c
260
RL(waitpid(pid, &status, 0));
tests/lib/libc/gen/posix_spawn/t_spawn.c
261
ATF_REQUIRE_MSG((WIFEXITED(status) &&
tests/lib/libc/gen/posix_spawn/t_spawn.c
262
WEXITSTATUS(status) == EXIT_SUCCESS),
tests/lib/libc/gen/posix_spawn/t_spawn.c
536
int status;
tests/lib/libc/gen/posix_spawn/t_spawn.c
546
RL(waitpid(pid, &status, 0));
tests/lib/libc/gen/posix_spawn/t_spawn.c
547
ATF_REQUIRE_MSG(WIFSIGNALED(status),
tests/lib/libc/gen/posix_spawn/t_spawn.c
548
"child exited with status 0x%x", status);
tests/lib/libc/gen/posix_spawn/t_spawn.c
549
ATF_REQUIRE_EQ_MSG(WTERMSIG(status), SIGTERM,
tests/lib/libc/gen/posix_spawn/t_spawn.c
551
WTERMSIG(status), strsignal(WTERMSIG(status)));
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
108
int pid, scheduler, child_scheduler, priority, status, pfd[2];
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
166
RL(waitpid(pid, &status, 0));
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
167
ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == EXIT_SUCCESS);
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
187
int status;
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
198
RL(waitpid(pid, &status, 0));
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
199
ATF_REQUIRE_MSG(WIFEXITED(status) && WEXITSTATUS(status) == 0,
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
200
"status=0x%x", status);
tests/lib/libc/gen/t_arc4random.c
294
int status;
tests/lib/libc/gen/t_arc4random.c
331
RL(waitpid(pid, &status, 0));
tests/lib/libc/gen/t_arc4random.c
332
ATF_CHECK_MSG(WIFEXITED(status) && WEXITSTATUS(status) == 0,
tests/lib/libc/gen/t_arc4random.c
333
"child exited status 0x%x", status);
tests/lib/libc/gen/t_arc4random.c
345
int status;
tests/lib/libc/gen/t_arc4random.c
379
RL(waitpid(pid, &status, 0));
tests/lib/libc/gen/t_arc4random.c
380
ATF_CHECK_MSG(WIFEXITED(status) && WEXITSTATUS(status) == 0,
tests/lib/libc/gen/t_arc4random.c
381
"child exited status 0x%x", status);
tests/lib/libc/gen/t_arc4random.c
398
int status;
tests/lib/libc/gen/t_arc4random.c
429
status = 0;
tests/lib/libc/gen/t_arc4random.c
436
status = 1;
tests/lib/libc/gen/t_arc4random.c
440
status = 1;
tests/lib/libc/gen/t_arc4random.c
449
status = 1;
tests/lib/libc/gen/t_arc4random.c
458
status = 1;
tests/lib/libc/gen/t_arc4random.c
460
_exit(status);
tests/lib/libc/gen/t_arc4random.c
491
RL(pid = waitpid(child, &status, 0));
tests/lib/libc/gen/t_arc4random.c
492
ATF_CHECK_EQ_MSG(status, 0, "child exited with nonzero status=%d",
tests/lib/libc/gen/t_arc4random.c
493
status);
tests/lib/libc/gen/t_ctype.c
807
int status;
tests/lib/libc/gen/t_ctype.c
829
RL(waitpid(pid, &status, 0));
tests/lib/libc/gen/t_ctype.c
830
if (WIFSIGNALED(status)) {
tests/lib/libc/gen/t_ctype.c
832
WTERMSIG(status), strsignal(WTERMSIG(status)));
tests/lib/libc/gen/t_ctype.c
833
} else if (!WIFEXITED(status)) {
tests/lib/libc/gen/t_ctype.c
834
atf_tc_fail_nonfatal("child exited status=0x%x", status);
tests/lib/libc/gen/t_ctype.c
836
ATF_CHECK_MSG(WEXITSTATUS(status) == 0,
tests/lib/libc/gen/t_ctype.c
838
WEXITSTATUS(status));
tests/lib/libc/gen/t_siginfo.c
153
ATF_REQUIRE_EQ(WEXITSTATUS(info->si_status), status);
tests/lib/libc/gen/t_siginfo.c
155
ATF_REQUIRE_EQ(WSTOPSIG(info->si_status), status);
tests/lib/libc/gen/t_siginfo.c
157
ATF_REQUIRE_EQ(WTERMSIG(info->si_status), status);
tests/lib/libc/gen/t_siginfo.c
201
status = 25;
tests/lib/libc/gen/t_siginfo.c
207
exit(status);
tests/lib/libc/gen/t_siginfo.c
231
status = SIGSEGV;
tests/lib/libc/gen/t_siginfo.c
263
status = SIGPIPE;
tests/lib/libc/gen/t_siginfo.c
63
int status;
tests/lib/libc/misc/t_ubsan.c
102
ATF_REQUIRE(wait(&status) == pid);
tests/lib/libc/misc/t_ubsan.c
103
ATF_REQUIRE(!WIFEXITED(status));
tests/lib/libc/misc/t_ubsan.c
104
ATF_REQUIRE(WIFSIGNALED(status));
tests/lib/libc/misc/t_ubsan.c
105
ATF_REQUIRE(!WIFSTOPPED(status));
tests/lib/libc/misc/t_ubsan.c
106
ATF_REQUIRE(!WIFCONTINUED(status));
tests/lib/libc/misc/t_ubsan.c
76
int status;
tests/lib/libc/regex/main.c
115
exit(status);
tests/lib/libc/regex/main.c
123
exit(status);
tests/lib/libc/regex/main.c
129
exit(status);
tests/lib/libc/regex/main.c
141
exit(status);
tests/lib/libc/regex/main.c
159
exit(status);
tests/lib/libc/regex/main.c
209
status = 1;
tests/lib/libc/regex/main.c
216
status = 1;
tests/lib/libc/regex/main.c
222
status = 1;
tests/lib/libc/regex/main.c
231
status = 1;
tests/lib/libc/regex/main.c
235
status = 1;
tests/lib/libc/regex/main.c
273
status = 1;
tests/lib/libc/regex/main.c
278
status = 1;
tests/lib/libc/regex/main.c
304
status = 1;
tests/lib/libc/regex/main.c
311
status = 1;
tests/lib/libc/regex/main.c
317
status = 1;
tests/lib/libc/regex/main.c
338
status = 1;
tests/lib/libc/regex/main.c
43
int status = 0;
tests/lib/libc/sys/t_fork.c
140
int rv, status;
tests/lib/libc/sys/t_fork.c
181
wpid = waitpid(watcher, &status, 0);
tests/lib/libc/sys/t_fork.c
185
ATF_REQUIRE(WIFEXITED(status));
tests/lib/libc/sys/t_fork.c
186
ATF_REQUIRE(!WIFCONTINUED(status));
tests/lib/libc/sys/t_fork.c
187
ATF_REQUIRE(!WIFSIGNALED(status));
tests/lib/libc/sys/t_fork.c
188
ATF_REQUIRE(!WIFSTOPPED(status));
tests/lib/libc/sys/t_fork.c
189
ATF_REQUIRE_EQ(WEXITSTATUS(status), 0);
tests/lib/libc/sys/t_fork.c
199
wpid = waitpid(child, &status, 0);
tests/lib/libc/sys/t_fork.c
207
ATF_REQUIRE(!WIFEXITED(status));
tests/lib/libc/sys/t_fork.c
208
ATF_REQUIRE(!WIFCONTINUED(status));
tests/lib/libc/sys/t_fork.c
209
ATF_REQUIRE(WIFSIGNALED(status));
tests/lib/libc/sys/t_fork.c
210
ATF_REQUIRE(!WIFSTOPPED(status));
tests/lib/libc/sys/t_fork.c
211
ATF_REQUIRE_EQ(WTERMSIG(status), sig);
tests/lib/libc/sys/t_fork.c
212
ATF_REQUIRE_EQ(!!WCOREDUMP(status), expect_core);
tests/lib/libc/sys/t_fork.c
220
ATF_REQUIRE(WIFEXITED(status));
tests/lib/libc/sys/t_fork.c
221
ATF_REQUIRE(!WIFCONTINUED(status));
tests/lib/libc/sys/t_fork.c
222
ATF_REQUIRE(!WIFSIGNALED(status));
tests/lib/libc/sys/t_fork.c
223
ATF_REQUIRE(!WIFSTOPPED(status));
tests/lib/libc/sys/t_fork.c
224
ATF_REQUIRE_EQ(WEXITSTATUS(status), 0);
tests/lib/libc/sys/t_fork.c
232
ATF_REQUIRE(!WIFEXITED(status));
tests/lib/libc/sys/t_fork.c
233
ATF_REQUIRE(!WIFCONTINUED(status));
tests/lib/libc/sys/t_fork.c
234
ATF_REQUIRE(WIFSIGNALED(status));
tests/lib/libc/sys/t_fork.c
235
ATF_REQUIRE(!WIFSTOPPED(status));
tests/lib/libc/sys/t_fork.c
236
ATF_REQUIRE_EQ(WTERMSIG(status), SIGKILL);
tests/lib/libc/sys/t_fork.c
237
ATF_REQUIRE_EQ(!!WCOREDUMP(status), 0);
tests/lib/libc/sys/t_fork.c
277
int status;
tests/lib/libc/sys/t_fork.c
312
wpid = waitpid(child2, &status, 0);
tests/lib/libc/sys/t_fork.c
314
ASSERT_EQ(!!WIFEXITED(status), true);
tests/lib/libc/sys/t_fork.c
315
ASSERT_EQ(!!WIFCONTINUED(status), false);
tests/lib/libc/sys/t_fork.c
316
ASSERT_EQ(!!WIFSIGNALED(status), false);
tests/lib/libc/sys/t_fork.c
317
ASSERT_EQ(!!WIFSTOPPED(status), false);
tests/lib/libc/sys/t_fork.c
318
ASSERT_EQ(WEXITSTATUS(status), 0);
tests/lib/libc/sys/t_fork.c
322
wpid = waitpid(child, &status, 0);
tests/lib/libc/sys/t_fork.c
325
ATF_REQUIRE_EQ(!!WIFEXITED(status), true);
tests/lib/libc/sys/t_fork.c
326
ATF_REQUIRE_EQ(!!WIFCONTINUED(status), false);
tests/lib/libc/sys/t_fork.c
327
ATF_REQUIRE_EQ(!!WIFSIGNALED(status), false);
tests/lib/libc/sys/t_fork.c
328
ATF_REQUIRE_EQ(!!WIFSTOPPED(status), false);
tests/lib/libc/sys/t_fork.c
329
ATF_REQUIRE_EQ(WEXITSTATUS(status), 0);
tests/lib/libc/sys/t_futex_ops.c
147
int status;
tests/lib/libc/sys/t_futex_ops.c
149
RL(pid = waitpid(d->child, &status, 0));
tests/lib/libc/sys/t_futex_ops.c
152
ATF_CHECK_MSG(WIFEXITED(status), "status=0x%x", status);
tests/lib/libc/sys/t_futex_ops.c
153
ATF_CHECK_EQ_MSG(WEXITSTATUS(status), 0, "status=0x%x", status);
tests/lib/libc/sys/t_kevent.c
138
waitpid(child, &status, 0);
tests/lib/libc/sys/t_kevent.c
139
ATF_CHECK(WIFEXITED(status) && WEXITSTATUS(status)==0);
tests/lib/libc/sys/t_kevent.c
80
int s[2], storage, status, kq;
tests/lib/libc/sys/t_minherit.c
131
int status;
tests/lib/libc/sys/t_minherit.c
135
ATF_REQUIRE(wait(&status) != -1);
tests/lib/libc/sys/t_minherit.c
136
ATF_REQUIRE(WEXITSTATUS(status) == SIGSEGV);
tests/lib/libc/sys/t_poll.c
108
int status, i;
tests/lib/libc/sys/t_poll.c
150
RL(wait(&status));
tests/lib/libc/sys/t_poll.c
714
int status;
tests/lib/libc/sys/t_poll.c
743
RL(waitpid(pid, &status, 0));
tests/lib/libc/sys/t_poll.c
744
ATF_CHECK_EQ_MSG(status, 0, "child exited with status 0x%x", status);
tests/lib/libc/sys/t_ptrace_amd64_wait.h
106
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_amd64_wait.h
108
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_amd64_wait.h
111
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_amd64_wait.h
46
int status;
tests/lib/libc/sys/t_ptrace_amd64_wait.h
65
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_amd64_wait.h
67
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
280
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
282
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
316
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0),
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
319
validate_status_signaled(status, SIGKILL, 0);
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
436
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
438
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
441
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
526
int status;
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
564
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
566
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
662
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0),
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
666
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
705
int status;
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
741
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
743
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
77
int status;
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
815
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0),
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
819
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_clone_wait.h
110
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0),
tests/lib/libc/sys/t_ptrace_clone_wait.h
113
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_clone_wait.h
131
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child2, &status, 0),
tests/lib/libc/sys/t_ptrace_clone_wait.h
134
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_clone_wait.h
164
wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_clone_wait.h
166
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_clone_wait.h
187
wpid = TWAIT_GENERIC(child2, &status, 0), child2);
tests/lib/libc/sys/t_ptrace_clone_wait.h
189
validate_status_exited(status, exitval2);
tests/lib/libc/sys/t_ptrace_clone_wait.h
194
wpid = TWAIT_GENERIC(child2, &status, 0));
tests/lib/libc/sys/t_ptrace_clone_wait.h
200
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_clone_wait.h
202
validate_status_stopped(status, SIGCHLD);
tests/lib/libc/sys/t_ptrace_clone_wait.h
210
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_clone_wait.h
212
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_clone_wait.h
216
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_clone_wait.h
326
int status;
tests/lib/libc/sys/t_ptrace_clone_wait.h
38
int status;
tests/lib/libc/sys/t_ptrace_clone_wait.h
385
(wpid = TWAIT_GENERIC(child2, &status, WALLSIG), child2);
tests/lib/libc/sys/t_ptrace_clone_wait.h
387
forkee_status_exited(status, exitval2);
tests/lib/libc/sys/t_ptrace_clone_wait.h
395
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_clone_wait.h
397
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_clone_wait.h
430
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0),
tests/lib/libc/sys/t_ptrace_clone_wait.h
433
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_clone_wait.h
488
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child2, &status, 0),
tests/lib/libc/sys/t_ptrace_clone_wait.h
491
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_clone_wait.h
555
wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_clone_wait.h
557
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_clone_wait.h
618
wpid = TWAIT_GENERIC(child2, &status, 0), child2);
tests/lib/libc/sys/t_ptrace_clone_wait.h
620
validate_status_exited(status, exitval2);
tests/lib/libc/sys/t_ptrace_clone_wait.h
625
wpid = TWAIT_GENERIC(child2, &status, 0));
tests/lib/libc/sys/t_ptrace_clone_wait.h
629
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_clone_wait.h
631
validate_status_stopped(status, SIGCHLD);
tests/lib/libc/sys/t_ptrace_clone_wait.h
639
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_clone_wait.h
641
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_clone_wait.h
645
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_clone_wait.h
687
int status;
tests/lib/libc/sys/t_ptrace_clone_wait.h
717
(wpid = TWAIT_GENERIC(child2, &status, WALLSIG), child2);
tests/lib/libc/sys/t_ptrace_clone_wait.h
719
forkee_status_exited(status, exitval2);
tests/lib/libc/sys/t_ptrace_clone_wait.h
728
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_clone_wait.h
730
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_clone_wait.h
734
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_clone_wait.h
74
(wpid = TWAIT_GENERIC(child2, &status, WALLSIG), child2);
tests/lib/libc/sys/t_ptrace_clone_wait.h
76
forkee_status_exited(status, exitval2);
tests/lib/libc/sys/t_ptrace_clone_wait.h
84
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_clone_wait.h
86
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_core_wait.h
154
int status;
tests/lib/libc/sys/t_ptrace_core_wait.h
175
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_core_wait.h
177
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_core_wait.h
230
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_core_wait.h
232
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_core_wait.h
235
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_eventmask_wait.h
36
int status;
tests/lib/libc/sys/t_ptrace_eventmask_wait.h
56
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_eventmask_wait.h
58
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_eventmask_wait.h
74
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_eventmask_wait.h
76
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_eventmask_wait.h
79
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_exec_wait.h
148
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_exec_wait.h
151
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_exec_wait.h
182
int status;
tests/lib/libc/sys/t_ptrace_exec_wait.h
224
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_exec_wait.h
226
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_exec_wait.h
294
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_exec_wait.h
297
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_exec_wait.h
35
int status;
tests/lib/libc/sys/t_ptrace_exec_wait.h
78
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_exec_wait.h
80
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1000
wpid = TWAIT_GENERIC(tracee, &status, 0), tracee);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1002
forkee_status_stopped(status, SIGSTOP);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1028
wpid = TWAIT_GENERIC(tracee, &status, 0), tracee);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1030
forkee_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1055
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(tracee, &status, 0), tracee);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1057
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1082
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(tracee2, &status, 0), tracee2);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1084
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1107
wpid = TWAIT_GENERIC(tracee, &status, 0), tracee);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1109
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1127
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(tracee2, &status, 0), tracee2);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1129
validate_status_exited(status, exitval2);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1133
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(tracee2, &status, 0));
tests/lib/libc/sys/t_ptrace_fork_wait.h
1138
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(tracee, &status, 0), tracee);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1140
validate_status_signaled(status, SIGKILL, 0);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1153
wpid = TWAIT_GENERIC(tracer, &status, 0), tracer);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1155
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1173
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(tracee, &status, 0), tracee);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1176
validate_status_signaled(status, SIGKILL, 0);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1178
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1222
int status;
tests/lib/libc/sys/t_ptrace_fork_wait.h
1237
(wpid = TWAIT_GENERIC(child2, &status, 0), child2);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1239
forkee_status_exited(status, exitval2);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1248
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1250
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1254
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_fork_wait.h
1285
int status;
tests/lib/libc/sys/t_ptrace_fork_wait.h
132
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0),
tests/lib/libc/sys/t_ptrace_fork_wait.h
1341
(wpid = TWAIT_GENERIC(child2, &status, 0), child2);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1343
forkee_status_exited(status, exitval2);
tests/lib/libc/sys/t_ptrace_fork_wait.h
135
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1351
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1353
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1412
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0),
tests/lib/libc/sys/t_ptrace_fork_wait.h
1415
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1474
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child2, &status, 0),
tests/lib/libc/sys/t_ptrace_fork_wait.h
1477
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1548
wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1550
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_fork_wait.h
158
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child2, &status, 0),
tests/lib/libc/sys/t_ptrace_fork_wait.h
161
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1613
wpid = TWAIT_GENERIC(child2, &status, 0), child2);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1615
validate_status_exited(status, exitval2);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1620
wpid = TWAIT_GENERIC(child2, &status, 0));
tests/lib/libc/sys/t_ptrace_fork_wait.h
1625
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1627
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1631
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_fork_wait.h
196
wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_fork_wait.h
198
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_fork_wait.h
220
wpid = TWAIT_GENERIC(child2, &status, 0), child2);
tests/lib/libc/sys/t_ptrace_fork_wait.h
222
validate_status_exited(status, exitval2);
tests/lib/libc/sys/t_ptrace_fork_wait.h
227
wpid = TWAIT_GENERIC(child2, &status, 0));
tests/lib/libc/sys/t_ptrace_fork_wait.h
233
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_fork_wait.h
235
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_fork_wait.h
239
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_fork_wait.h
360
int status;
tests/lib/libc/sys/t_ptrace_fork_wait.h
38
int status;
tests/lib/libc/sys/t_ptrace_fork_wait.h
404
(wpid = TWAIT_GENERIC(tracee2, &status, 0), tracee2);
tests/lib/libc/sys/t_ptrace_fork_wait.h
406
forkee_status_exited(status, exitval2);
tests/lib/libc/sys/t_ptrace_fork_wait.h
426
wpid = TWAIT_GENERIC(tracee, &status, 0), tracee);
tests/lib/libc/sys/t_ptrace_fork_wait.h
428
forkee_status_stopped(status, SIGSTOP);
tests/lib/libc/sys/t_ptrace_fork_wait.h
454
wpid = TWAIT_GENERIC(tracee, &status, 0), tracee);
tests/lib/libc/sys/t_ptrace_fork_wait.h
456
forkee_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_fork_wait.h
512
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(tracee, &status, 0),
tests/lib/libc/sys/t_ptrace_fork_wait.h
515
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_fork_wait.h
538
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(tracee2, &status, 0),
tests/lib/libc/sys/t_ptrace_fork_wait.h
541
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_fork_wait.h
575
wpid = TWAIT_GENERIC(tracee, &status, 0), tracee);
tests/lib/libc/sys/t_ptrace_fork_wait.h
577
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_fork_wait.h
598
wpid = TWAIT_GENERIC(tracee2, &status, 0), tracee2);
tests/lib/libc/sys/t_ptrace_fork_wait.h
600
validate_status_exited(status, exitval2);
tests/lib/libc/sys/t_ptrace_fork_wait.h
605
wpid = TWAIT_GENERIC(tracee2, &status, 0));
tests/lib/libc/sys/t_ptrace_fork_wait.h
610
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(tracee, &status, 0), tracee);
tests/lib/libc/sys/t_ptrace_fork_wait.h
612
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_fork_wait.h
624
wpid = TWAIT_GENERIC(tracer, &status, 0), tracer);
tests/lib/libc/sys/t_ptrace_fork_wait.h
626
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_fork_wait.h
644
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(tracee, &status, 0), tracee);
tests/lib/libc/sys/t_ptrace_fork_wait.h
646
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_fork_wait.h
747
int status;
tests/lib/libc/sys/t_ptrace_fork_wait.h
782
(wpid = TWAIT_GENERIC(child2, &status, 0), child2);
tests/lib/libc/sys/t_ptrace_fork_wait.h
784
forkee_status_exited(status, exitval2);
tests/lib/libc/sys/t_ptrace_fork_wait.h
79
(wpid = TWAIT_GENERIC(child2, &status, 0), child2);
tests/lib/libc/sys/t_ptrace_fork_wait.h
792
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_fork_wait.h
794
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_fork_wait.h
806
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_fork_wait.h
808
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_fork_wait.h
81
forkee_status_exited(status, exitval2);
tests/lib/libc/sys/t_ptrace_fork_wait.h
834
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child2, &status, 0), child2);
tests/lib/libc/sys/t_ptrace_fork_wait.h
836
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_fork_wait.h
859
wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_fork_wait.h
861
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_fork_wait.h
879
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child2, &status, 0), child2);
tests/lib/libc/sys/t_ptrace_fork_wait.h
881
validate_status_exited(status, exitval2);
tests/lib/libc/sys/t_ptrace_fork_wait.h
885
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child2, &status, 0));
tests/lib/libc/sys/t_ptrace_fork_wait.h
889
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_fork_wait.h
89
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_fork_wait.h
892
validate_status_signaled(status, SIGKILL, 0);
tests/lib/libc/sys/t_ptrace_fork_wait.h
894
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_fork_wait.h
899
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_fork_wait.h
91
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_fork_wait.h
941
int status;
tests/lib/libc/sys/t_ptrace_fork_wait.h
978
(wpid = TWAIT_GENERIC(tracee2, &status, 0), tracee2);
tests/lib/libc/sys/t_ptrace_fork_wait.h
980
forkee_status_exited(status, exitval2);
tests/lib/libc/sys/t_ptrace_i386_wait.h
101
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_i386_wait.h
43
int status;
tests/lib/libc/sys/t_ptrace_i386_wait.h
62
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_i386_wait.h
64
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_i386_wait.h
96
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_i386_wait.h
98
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_kill.c
120
SYSCALL(waitpid(pid, &status, 0), pid);
tests/lib/libc/sys/t_ptrace_kill.c
121
ATF_REQUIRE(status == 9);
tests/lib/libc/sys/t_ptrace_kill.c
77
int status = 0;
tests/lib/libc/sys/t_ptrace_kill.c
82
while ((rpid = waitpid(pid, &status, 0)) != pid) {
tests/lib/libc/sys/t_ptrace_kill.c
83
printf("waitpid %d = %d status = %#x", pid, rpid, status);
tests/lib/libc/sys/t_ptrace_kill.c
85
printf("done waitpid %d = %d status = %#x", pid, rpid, status);
tests/lib/libc/sys/t_ptrace_kill.c
94
int status;
tests/lib/libc/sys/t_ptrace_kill_wait.h
35
int status;
tests/lib/libc/sys/t_ptrace_kill_wait.h
54
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_kill_wait.h
56
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_kill_wait.h
69
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_kill_wait.h
71
validate_status_signaled(status, SIGKILL, 0);
tests/lib/libc/sys/t_ptrace_kill_wait.h
74
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_lwp_wait.h
132
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_lwp_wait.h
134
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_lwp_wait.h
195
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_lwp_wait.h
197
validate_status_stopped(status, sigval2);
tests/lib/libc/sys/t_ptrace_lwp_wait.h
343
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_lwp_wait.h
345
validate_status_signaled(status, SIGKILL, 0);
tests/lib/libc/sys/t_ptrace_lwp_wait.h
348
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_lwp_wait.h
435
int status;
tests/lib/libc/sys/t_ptrace_lwp_wait.h
478
wpid = TWAIT_GENERIC(tracee, &status, 0), tracee);
tests/lib/libc/sys/t_ptrace_lwp_wait.h
480
forkee_status_stopped(status, SIGSTOP);
tests/lib/libc/sys/t_ptrace_lwp_wait.h
527
wpid = TWAIT_GENERIC(tracee, &status, 0), tracee);
tests/lib/libc/sys/t_ptrace_lwp_wait.h
529
forkee_status_stopped(status, SIGINT);
tests/lib/libc/sys/t_ptrace_lwp_wait.h
579
wpid = TWAIT_GENERIC(tracee, &status, 0), tracee);
tests/lib/libc/sys/t_ptrace_lwp_wait.h
581
forkee_status_signaled(status, SIGKILL, 0);
tests/lib/libc/sys/t_ptrace_lwp_wait.h
601
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(tracer, &status, 0),
tests/lib/libc/sys/t_ptrace_lwp_wait.h
604
validate_status_exited(status, exitval_tracer);
tests/lib/libc/sys/t_ptrace_lwp_wait.h
608
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(tracee, &status, WNOHANG),
tests/lib/libc/sys/t_ptrace_lwp_wait.h
611
validate_status_signaled(status, SIGKILL, 0);
tests/lib/libc/sys/t_ptrace_lwp_wait.h
67
int status;
tests/lib/libc/sys/t_ptrace_misc_wait.h
34
int status;
tests/lib/libc/sys/t_ptrace_misc_wait.h
62
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_misc_wait.h
64
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_misc_wait.h
90
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_misc_wait.h
91
validate_status_signaled(status, SIGKILL, 0);
tests/lib/libc/sys/t_ptrace_misc_wait.h
94
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_register_wait.h
142
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0),
tests/lib/libc/sys/t_ptrace_register_wait.h
147
wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_register_wait.h
151
wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_register_wait.h
153
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_register_wait.h
157
wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_register_wait.h
37
int status;
tests/lib/libc/sys/t_ptrace_register_wait.h
72
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_register_wait.h
74
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_siginfo_wait.h
110
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_siginfo_wait.h
112
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_siginfo_wait.h
115
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_siginfo_wait.h
40
int status;
tests/lib/libc/sys/t_ptrace_siginfo_wait.h
69
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_siginfo_wait.h
71
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1002
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1004
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1007
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_signal_wait.h
102
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1055
int status;
tests/lib/libc/sys/t_ptrace_signal_wait.h
106
validate_status_signaled(status, sigval, 0);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1079
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1081
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1100
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1102
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1105
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_signal_wait.h
112
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1143
int status;
tests/lib/libc/sys/t_ptrace_signal_wait.h
1169
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1171
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1190
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1192
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1195
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_signal_wait.h
1232
int status;
tests/lib/libc/sys/t_ptrace_signal_wait.h
1274
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1276
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1295
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1299
validate_status_stopped(status, sigsent);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1319
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0),
tests/lib/libc/sys/t_ptrace_signal_wait.h
1323
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1326
validate_status_signaled(status, sigsent, expect_core);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1331
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_signal_wait.h
1369
int status;
tests/lib/libc/sys/t_ptrace_signal_wait.h
138
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0),
tests/lib/libc/sys/t_ptrace_signal_wait.h
1419
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(watcher, &status, 0),
tests/lib/libc/sys/t_ptrace_signal_wait.h
1422
validate_status_exited(status, exitval_watcher);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1426
wpid = TWAIT_GENERIC(watcher, &status, 0));
tests/lib/libc/sys/t_ptrace_signal_wait.h
144
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_signal_wait.h
1459
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1470
validate_status_signaled(status, sigval, expect_core);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1473
validate_status_signaled(status, SIGKILL, 0);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1479
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1488
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_signal_wait.h
1527
int status;
tests/lib/libc/sys/t_ptrace_signal_wait.h
1572
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1574
validate_status_signaled(status, sig, 1);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1577
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_signal_wait.h
1608
int status;
tests/lib/libc/sys/t_ptrace_signal_wait.h
1658
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1660
validate_status_signaled(status, sig, 1);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1663
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_signal_wait.h
1694
int status;
tests/lib/libc/sys/t_ptrace_signal_wait.h
1746
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1748
validate_status_signaled(status, sig, 1);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1751
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_signal_wait.h
1792
int status;
tests/lib/libc/sys/t_ptrace_signal_wait.h
182
int status;
tests/lib/libc/sys/t_ptrace_signal_wait.h
1878
wpid = TWAIT_GENERIC(tracee, &status, 0), tracee);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1880
forkee_status_stopped(status, SIGSTOP);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1906
wpid = TWAIT_GENERIC(tracee, &status, 0), tracee);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1908
forkee_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1943
wpid = TWAIT_GENERIC(tracee, &status, 0), tracee);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1945
forkee_status_stopped(status, sig);
tests/lib/libc/sys/t_ptrace_signal_wait.h
2041
wpid = TWAIT_GENERIC(tracee, &status, 0), tracee);
tests/lib/libc/sys/t_ptrace_signal_wait.h
2043
forkee_status_signaled(status, SIGKILL, 0);
tests/lib/libc/sys/t_ptrace_signal_wait.h
2055
wpid = TWAIT_GENERIC(tracer, &status, 0), tracer);
tests/lib/libc/sys/t_ptrace_signal_wait.h
2057
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_signal_wait.h
2075
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(tracee, &status, 0), tracee);
tests/lib/libc/sys/t_ptrace_signal_wait.h
2077
validate_status_signaled(status, SIGKILL, 0);
tests/lib/libc/sys/t_ptrace_signal_wait.h
212
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
214
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_signal_wait.h
2178
int status;
tests/lib/libc/sys/t_ptrace_signal_wait.h
2205
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
2207
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_signal_wait.h
2214
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
2216
validate_status_stopped(status, signotmasked);
tests/lib/libc/sys/t_ptrace_signal_wait.h
2223
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
2225
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_signal_wait.h
2228
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_signal_wait.h
233
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
235
validate_status_stopped(status, sigignored);
tests/lib/libc/sys/t_ptrace_signal_wait.h
254
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
256
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_signal_wait.h
259
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_signal_wait.h
296
int status;
tests/lib/libc/sys/t_ptrace_signal_wait.h
326
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
328
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_signal_wait.h
347
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
349
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_signal_wait.h
352
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_signal_wait.h
387
int status;
tests/lib/libc/sys/t_ptrace_signal_wait.h
435
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
437
validate_status_stopped(status, sig);
tests/lib/libc/sys/t_ptrace_signal_wait.h
473
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
475
validate_status_signaled(status, SIGKILL, 0);
tests/lib/libc/sys/t_ptrace_signal_wait.h
478
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_signal_wait.h
509
int status;
tests/lib/libc/sys/t_ptrace_signal_wait.h
580
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
582
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_signal_wait.h
612
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
614
validate_status_stopped(status, sig);
tests/lib/libc/sys/t_ptrace_signal_wait.h
691
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
693
validate_status_signaled(status, SIGKILL, 0);
tests/lib/libc/sys/t_ptrace_signal_wait.h
696
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_signal_wait.h
71
int status;
tests/lib/libc/sys/t_ptrace_signal_wait.h
728
int status;
tests/lib/libc/sys/t_ptrace_signal_wait.h
801
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
803
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_signal_wait.h
833
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
835
validate_status_stopped(status, sig);
tests/lib/libc/sys/t_ptrace_signal_wait.h
913
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
915
validate_status_signaled(status, SIGKILL, 0);
tests/lib/libc/sys/t_ptrace_signal_wait.h
918
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_signal_wait.h
952
int status;
tests/lib/libc/sys/t_ptrace_signal_wait.h
981
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
983
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_step_wait.h
132
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0),
tests/lib/libc/sys/t_ptrace_step_wait.h
135
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_step_wait.h
191
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_step_wait.h
193
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_step_wait.h
196
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_step_wait.h
37
int status;
tests/lib/libc/sys/t_ptrace_step_wait.h
88
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_step_wait.h
90
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_syscall_wait.h
114
wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_syscall_wait.h
116
validate_status_signaled(status, SIGKILL, 0);
tests/lib/libc/sys/t_ptrace_syscall_wait.h
137
wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_syscall_wait.h
139
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_syscall_wait.h
160
wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_syscall_wait.h
162
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_syscall_wait.h
166
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_syscall_wait.h
205
int status;
tests/lib/libc/sys/t_ptrace_syscall_wait.h
225
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_syscall_wait.h
227
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_syscall_wait.h
234
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_syscall_wait.h
236
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_syscall_wait.h
246
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_syscall_wait.h
248
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_syscall_wait.h
255
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_syscall_wait.h
257
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_syscall_wait.h
260
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_syscall_wait.h
51
int status;
tests/lib/libc/sys/t_ptrace_syscall_wait.h
88
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_syscall_wait.h
90
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_syscall_wait.h
97
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_syscall_wait.h
99
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_threads_wait.h
111
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_threads_wait.h
113
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_threads_wait.h
142
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0),
tests/lib/libc/sys/t_ptrace_threads_wait.h
145
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_threads_wait.h
180
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0),
tests/lib/libc/sys/t_ptrace_threads_wait.h
183
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_threads_wait.h
223
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_threads_wait.h
225
validate_status_signaled(status, SIGKILL, 0);
tests/lib/libc/sys/t_ptrace_threads_wait.h
229
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_threads_wait.h
274
int status;
tests/lib/libc/sys/t_ptrace_threads_wait.h
305
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_threads_wait.h
307
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_threads_wait.h
332
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0),
tests/lib/libc/sys/t_ptrace_threads_wait.h
335
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_threads_wait.h
366
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0),
tests/lib/libc/sys/t_ptrace_threads_wait.h
369
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_threads_wait.h
400
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0),
tests/lib/libc/sys/t_ptrace_threads_wait.h
403
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_threads_wait.h
423
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_threads_wait.h
425
validate_status_signaled(status, SIGKILL, 0);
tests/lib/libc/sys/t_ptrace_threads_wait.h
429
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_threads_wait.h
462
int status;
tests/lib/libc/sys/t_ptrace_threads_wait.h
481
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_threads_wait.h
483
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_threads_wait.h
505
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_threads_wait.h
507
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_threads_wait.h
511
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_threads_wait.h
54
int status;
tests/lib/libc/sys/t_ptrace_threads_wait.h
549
int status;
tests/lib/libc/sys/t_ptrace_threads_wait.h
579
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_threads_wait.h
581
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_threads_wait.h
589
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_threads_wait.h
591
validate_status_stopped(status, SIGUSR1);
tests/lib/libc/sys/t_ptrace_threads_wait.h
611
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, WNOHANG), 0);
tests/lib/libc/sys/t_ptrace_threads_wait.h
620
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_threads_wait.h
622
validate_status_stopped(status, SIGSTOP);
tests/lib/libc/sys/t_ptrace_threads_wait.h
633
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_threads_wait.h
635
validate_status_stopped(status, SIGUSR2);
tests/lib/libc/sys/t_ptrace_threads_wait.h
643
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_threads_wait.h
645
validate_status_signaled(status, SIGKILL, 0);
tests/lib/libc/sys/t_ptrace_threads_wait.h
649
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_threads_wait.h
754
int status;
tests/lib/libc/sys/t_ptrace_threads_wait.h
852
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_threads_wait.h
854
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_threads_wait.h
870
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0),
tests/lib/libc/sys/t_ptrace_threads_wait.h
872
if (WIFEXITED(status))
tests/lib/libc/sys/t_ptrace_threads_wait.h
877
else if (!WIFSTOPPED(status))
tests/lib/libc/sys/t_ptrace_threads_wait.h
878
validate_status_stopped(status, 0);
tests/lib/libc/sys/t_ptrace_threads_wait.h
886
WSTOPSIG(status));
tests/lib/libc/sys/t_ptrace_threads_wait.h
888
ATF_CHECK_EQ_MSG(info.psi_siginfo.si_signo, WSTOPSIG(status),
tests/lib/libc/sys/t_ptrace_threads_wait.h
890
WSTOPSIG(status), info.psi_siginfo.si_signo);
tests/lib/libc/sys/t_ptrace_threads_wait.h
892
if (WSTOPSIG(status) != SIGTRAP) {
tests/lib/libc/sys/t_ptrace_threads_wait.h
896
ATF_CHECK_EQ_MSG(WSTOPSIG(status), expected_sig,
tests/lib/libc/sys/t_ptrace_threads_wait.h
898
expected_sig, WSTOPSIG(status));
tests/lib/libc/sys/t_ptrace_threads_wait.h
928
signal_handle != TCSH_DISCARD && WSTOPSIG(status) != SIGTRAP
tests/lib/libc/sys/t_ptrace_threads_wait.h
929
? WSTOPSIG(status) : 0) != -1);
tests/lib/libc/sys/t_ptrace_threads_wait.h
959
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_topology_wait.h
105
int status;
tests/lib/libc/sys/t_ptrace_topology_wait.h
151
wpid = TWAIT_GENERIC(tracee, &status, 0), tracee);
tests/lib/libc/sys/t_ptrace_topology_wait.h
153
forkee_status_stopped(status, SIGSTOP);
tests/lib/libc/sys/t_ptrace_topology_wait.h
166
wpid = TWAIT_GENERIC(tracee, &status, 0), tracee);
tests/lib/libc/sys/t_ptrace_topology_wait.h
168
forkee_status_exited(status, exitval_tracee);
tests/lib/libc/sys/t_ptrace_topology_wait.h
179
wpid = TWAIT_GENERIC(tracer, &status, 0), tracer);
tests/lib/libc/sys/t_ptrace_topology_wait.h
181
validate_status_exited(status, exitval_tracer);
tests/lib/libc/sys/t_ptrace_topology_wait.h
205
wpid = TWAIT_GENERIC(tracee, &status, WNOHANG), 0);
tests/lib/libc/sys/t_ptrace_topology_wait.h
218
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(tracer, &status, 0),
tests/lib/libc/sys/t_ptrace_topology_wait.h
221
validate_status_exited(status, exitval_tracer);
tests/lib/libc/sys/t_ptrace_topology_wait.h
226
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(tracee, &status, 0), tracee);
tests/lib/libc/sys/t_ptrace_topology_wait.h
228
validate_status_exited(status, exitval_tracee);
tests/lib/libc/sys/t_ptrace_topology_wait.h
319
int status;
tests/lib/libc/sys/t_ptrace_topology_wait.h
351
wpid = TWAIT_GENERIC(tracee, &status, 0), tracee);
tests/lib/libc/sys/t_ptrace_topology_wait.h
353
validate_status_stopped(status, SIGSTOP);
tests/lib/libc/sys/t_ptrace_topology_wait.h
363
wpid = TWAIT_GENERIC(tracee, &status, 0), tracee);
tests/lib/libc/sys/t_ptrace_topology_wait.h
365
validate_status_exited(status, exitval_tracee);
tests/lib/libc/sys/t_ptrace_topology_wait.h
369
wpid = TWAIT_GENERIC(tracee, &status, 0));
tests/lib/libc/sys/t_ptrace_topology_wait.h
410
int status;
tests/lib/libc/sys/t_ptrace_topology_wait.h
43
int status;
tests/lib/libc/sys/t_ptrace_topology_wait.h
433
wpid = TWAIT_GENERIC(getppid(), &status, 0), getppid());
tests/lib/libc/sys/t_ptrace_topology_wait.h
435
forkee_status_stopped(status, SIGSTOP);
tests/lib/libc/sys/t_ptrace_topology_wait.h
460
wpid = TWAIT_GENERIC(tracer, &status, 0), tracer);
tests/lib/libc/sys/t_ptrace_topology_wait.h
462
validate_status_exited(status, exitval_tracer);
tests/lib/libc/sys/t_ptrace_topology_wait.h
466
wpid = TWAIT_GENERIC(tracer, &status, 0));
tests/lib/libc/sys/t_ptrace_topology_wait.h
504
int status;
tests/lib/libc/sys/t_ptrace_topology_wait.h
513
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_topology_wait.h
515
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_topology_wait.h
518
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_topology_wait.h
541
int status;
tests/lib/libc/sys/t_ptrace_topology_wait.h
618
wpid = TWAIT_GENERIC(tracee, &status, 0), tracee);
tests/lib/libc/sys/t_ptrace_topology_wait.h
620
forkee_status_stopped(status, SIGSTOP);
tests/lib/libc/sys/t_ptrace_topology_wait.h
633
wpid = TWAIT_GENERIC(tracee, &status, 0), tracee);
tests/lib/libc/sys/t_ptrace_topology_wait.h
635
forkee_status_exited(status, exitval_tracee);
tests/lib/libc/sys/t_ptrace_topology_wait.h
653
wpid = TWAIT_GENERIC(tracee, &status, WNOHANG), 0);
tests/lib/libc/sys/t_ptrace_topology_wait.h
659
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(tracer, &status, 0),
tests/lib/libc/sys/t_ptrace_topology_wait.h
662
validate_status_exited(status, exitval_tracer);
tests/lib/libc/sys/t_ptrace_topology_wait.h
666
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(tracee, &status, WNOHANG),
tests/lib/libc/sys/t_ptrace_topology_wait.h
669
validate_status_exited(status, exitval_tracee);
tests/lib/libc/sys/t_ptrace_topology_wait.h
75
wpid = TWAIT_GENERIC(child1, &status, WEXITED), child1);
tests/lib/libc/sys/t_ptrace_topology_wait.h
77
validate_status_exited(status, exitval_child1);
tests/lib/libc/sys/t_ptrace_wait.h
311
validate_status_exited(int status, int expected)
tests/lib/libc/sys/t_ptrace_wait.h
313
ATF_REQUIRE_MSG(WIFEXITED(status), "Reported !exited process");
tests/lib/libc/sys/t_ptrace_wait.h
314
ATF_REQUIRE_MSG(!WIFCONTINUED(status), "Reported continued process");
tests/lib/libc/sys/t_ptrace_wait.h
315
ATF_REQUIRE_MSG(!WIFSIGNALED(status), "Reported signaled process");
tests/lib/libc/sys/t_ptrace_wait.h
316
ATF_REQUIRE_MSG(!WIFSTOPPED(status), "Reported stopped process");
tests/lib/libc/sys/t_ptrace_wait.h
318
ATF_REQUIRE_EQ_MSG(WEXITSTATUS(status), expected,
tests/lib/libc/sys/t_ptrace_wait.h
320
WEXITSTATUS(status), expected);
tests/lib/libc/sys/t_ptrace_wait.h
324
forkee_status_exited(int status, int expected)
tests/lib/libc/sys/t_ptrace_wait.h
326
FORKEE_ASSERTX(WIFEXITED(status));
tests/lib/libc/sys/t_ptrace_wait.h
327
FORKEE_ASSERTX(!WIFCONTINUED(status));
tests/lib/libc/sys/t_ptrace_wait.h
328
FORKEE_ASSERTX(!WIFSIGNALED(status));
tests/lib/libc/sys/t_ptrace_wait.h
329
FORKEE_ASSERTX(!WIFSTOPPED(status));
tests/lib/libc/sys/t_ptrace_wait.h
331
FORKEE_ASSERT_EQ(WEXITSTATUS(status), expected);
tests/lib/libc/sys/t_ptrace_wait.h
335
validate_status_continued(int status)
tests/lib/libc/sys/t_ptrace_wait.h
337
ATF_REQUIRE_MSG(!WIFEXITED(status), "Reported exited process");
tests/lib/libc/sys/t_ptrace_wait.h
338
ATF_REQUIRE_MSG(WIFCONTINUED(status), "Reported !continued process");
tests/lib/libc/sys/t_ptrace_wait.h
339
ATF_REQUIRE_MSG(!WIFSIGNALED(status), "Reported signaled process");
tests/lib/libc/sys/t_ptrace_wait.h
340
ATF_REQUIRE_MSG(!WIFSTOPPED(status), "Reported stopped process");
tests/lib/libc/sys/t_ptrace_wait.h
344
forkee_status_continued(int status)
tests/lib/libc/sys/t_ptrace_wait.h
346
FORKEE_ASSERTX(!WIFEXITED(status));
tests/lib/libc/sys/t_ptrace_wait.h
347
FORKEE_ASSERTX(WIFCONTINUED(status));
tests/lib/libc/sys/t_ptrace_wait.h
348
FORKEE_ASSERTX(!WIFSIGNALED(status));
tests/lib/libc/sys/t_ptrace_wait.h
349
FORKEE_ASSERTX(!WIFSTOPPED(status));
tests/lib/libc/sys/t_ptrace_wait.h
353
validate_status_signaled(int status, int expected_termsig, int expected_core)
tests/lib/libc/sys/t_ptrace_wait.h
355
ATF_REQUIRE_MSG(!WIFEXITED(status), "Reported exited process");
tests/lib/libc/sys/t_ptrace_wait.h
356
ATF_REQUIRE_MSG(!WIFCONTINUED(status), "Reported continued process");
tests/lib/libc/sys/t_ptrace_wait.h
357
ATF_REQUIRE_MSG(WIFSIGNALED(status), "Reported !signaled process");
tests/lib/libc/sys/t_ptrace_wait.h
358
ATF_REQUIRE_MSG(!WIFSTOPPED(status), "Reported stopped process");
tests/lib/libc/sys/t_ptrace_wait.h
360
ATF_REQUIRE_EQ_MSG(WTERMSIG(status), expected_termsig,
tests/lib/libc/sys/t_ptrace_wait.h
363
ATF_REQUIRE_EQ_MSG(!!WCOREDUMP(status), expected_core,
tests/lib/libc/sys/t_ptrace_wait.h
368
forkee_status_signaled(int status, int expected_termsig, int expected_core)
tests/lib/libc/sys/t_ptrace_wait.h
370
FORKEE_ASSERTX(!WIFEXITED(status));
tests/lib/libc/sys/t_ptrace_wait.h
371
FORKEE_ASSERTX(!WIFCONTINUED(status));
tests/lib/libc/sys/t_ptrace_wait.h
372
FORKEE_ASSERTX(WIFSIGNALED(status));
tests/lib/libc/sys/t_ptrace_wait.h
373
FORKEE_ASSERTX(!WIFSTOPPED(status));
tests/lib/libc/sys/t_ptrace_wait.h
375
FORKEE_ASSERT_EQ(WTERMSIG(status), expected_termsig);
tests/lib/libc/sys/t_ptrace_wait.h
376
FORKEE_ASSERT_EQ(!!WCOREDUMP(status), expected_core);
tests/lib/libc/sys/t_ptrace_wait.h
380
validate_status_stopped(int status, int expected)
tests/lib/libc/sys/t_ptrace_wait.h
382
ATF_REQUIRE_MSG(!WIFEXITED(status), "Reported exited process");
tests/lib/libc/sys/t_ptrace_wait.h
383
ATF_REQUIRE_MSG(!WIFCONTINUED(status), "Reported continued process");
tests/lib/libc/sys/t_ptrace_wait.h
384
ATF_REQUIRE_MSG(!WIFSIGNALED(status), "Reported signaled process");
tests/lib/libc/sys/t_ptrace_wait.h
385
ATF_REQUIRE_MSG(WIFSTOPPED(status), "Reported !stopped process");
tests/lib/libc/sys/t_ptrace_wait.h
388
strlcpy(st, strsignal(WSTOPSIG(status)), sizeof(st));
tests/lib/libc/sys/t_ptrace_wait.h
391
ATF_REQUIRE_EQ_MSG(WSTOPSIG(status), expected,
tests/lib/libc/sys/t_ptrace_wait.h
396
forkee_status_stopped(int status, int expected)
tests/lib/libc/sys/t_ptrace_wait.h
398
FORKEE_ASSERTX(!WIFEXITED(status));
tests/lib/libc/sys/t_ptrace_wait.h
399
FORKEE_ASSERTX(!WIFCONTINUED(status));
tests/lib/libc/sys/t_ptrace_wait.h
400
FORKEE_ASSERTX(!WIFSIGNALED(status));
tests/lib/libc/sys/t_ptrace_wait.h
401
FORKEE_ASSERTX(WIFSTOPPED(status));
tests/lib/libc/sys/t_ptrace_wait.h
403
FORKEE_ASSERT_EQ(WSTOPSIG(status), expected);
tests/lib/libc/sys/t_ptrace_x86_wait.h
109
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1103
int status;
tests/lib/libc/sys/t_ptrace_x86_wait.h
111
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_x86_wait.h
114
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_x86_wait.h
1143
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1145
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1173
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1175
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1202
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1204
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1211
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1213
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1216
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_x86_wait.h
1235
int status;
tests/lib/libc/sys/t_ptrace_x86_wait.h
1275
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1277
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_x86_wait.h
130
int status;
tests/lib/libc/sys/t_ptrace_x86_wait.h
1305
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1307
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1334
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1336
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1343
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1345
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1348
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_x86_wait.h
1367
int status;
tests/lib/libc/sys/t_ptrace_x86_wait.h
1407
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1409
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1437
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1439
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1466
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1468
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1475
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1477
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1480
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_x86_wait.h
1499
int status;
tests/lib/libc/sys/t_ptrace_x86_wait.h
1539
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1541
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1569
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1571
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1598
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1600
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1607
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1609
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1612
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_x86_wait.h
163
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1630
int status;
tests/lib/libc/sys/t_ptrace_x86_wait.h
165
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1667
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1669
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1699
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1701
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1726
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1728
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1732
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_x86_wait.h
1797
int status;
tests/lib/libc/sys/t_ptrace_x86_wait.h
1828
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1830
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1855
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1857
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1885
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1888
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_x86_wait.h
199
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
201
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_x86_wait.h
2088
int status;
tests/lib/libc/sys/t_ptrace_x86_wait.h
2131
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
2133
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_x86_wait.h
2154
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
216
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
2163
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
2165
validate_status_signaled(status, SIGKILL, 0);
tests/lib/libc/sys/t_ptrace_x86_wait.h
2168
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_x86_wait.h
218
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_x86_wait.h
221
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_x86_wait.h
2931
int status;
tests/lib/libc/sys/t_ptrace_x86_wait.h
3524
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
3526
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_x86_wait.h
383
int status;
tests/lib/libc/sys/t_ptrace_x86_wait.h
4250
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
4252
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_x86_wait.h
4255
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_x86_wait.h
445
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
447
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_x86_wait.h
475
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
477
validate_status_stopped(status, SIGTRAP);
tests/lib/libc/sys/t_ptrace_x86_wait.h
495
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
497
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_ptrace_x86_wait.h
504
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
506
validate_status_exited(status, exitval);
tests/lib/libc/sys/t_ptrace_x86_wait.h
509
TWAIT_REQUIRE_FAILURE(ECHILD, wpid = TWAIT_GENERIC(child, &status, 0));
tests/lib/libc/sys/t_ptrace_x86_wait.h
73
int status;
tests/lib/libc/sys/t_ptrace_x86_wait.h
93
TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
95
validate_status_stopped(status, sigval);
tests/lib/libc/sys/t_recvmmsg.c
174
error = wait(&status);
tests/lib/libc/sys/t_recvmmsg.c
177
ATF_REQUIRE_MSG(WIFEXITED(status) && WEXITSTATUS(status) == 0,
tests/lib/libc/sys/t_recvmmsg.c
83
int status;
tests/lib/libc/sys/t_select.c
145
int status;
tests/lib/libc/sys/t_select.c
160
switch (waitpid(pid, &status, WNOHANG)) {
tests/lib/libc/sys/t_select.c
185
int status;
tests/lib/libc/sys/t_select.c
198
switch (waitpid(pid, &status, WNOHANG)) {
tests/lib/libc/sys/t_sendmmsg.c
197
error = wait(&status);
tests/lib/libc/sys/t_sendmmsg.c
200
ATF_REQUIRE_MSG(WIFEXITED(status) && WEXITSTATUS(status) == 0,
tests/lib/libc/sys/t_sendmmsg.c
87
int status;
tests/lib/libc/sys/t_setrlimit.c
578
int status;
tests/lib/libc/sys/t_setrlimit.c
587
RL(waited = waitpid(forked, &status, 0));
tests/lib/libc/sys/t_setrlimit.c
591
ATF_REQUIRE_MSG(!WIFEXITED(status),
tests/lib/libc/sys/t_setrlimit.c
593
WEXITSTATUS(status));
tests/lib/libc/sys/t_setrlimit.c
594
ATF_REQUIRE_MSG(WIFSIGNALED(status), "status=0x%x", status);
tests/lib/libc/sys/t_setrlimit.c
595
ATF_REQUIRE_EQ_MSG(WTERMSIG(status), SIGSEGV, "termsig=%d",
tests/lib/libc/sys/t_setrlimit.c
596
WTERMSIG(status));
tests/lib/libc/sys/t_setrlimit.c
598
ATF_REQUIRE_MSG(!WIFSIGNALED(status),
tests/lib/libc/sys/t_setrlimit.c
600
WTERMSIG(status));
tests/lib/libc/sys/t_setrlimit.c
601
ATF_REQUIRE_MSG(WIFEXITED(status), "status=0x%x", status);
tests/lib/libc/sys/t_setrlimit.c
602
ATF_REQUIRE_EQ_MSG(WEXITSTATUS(status), 0, "exitstatus=%d",
tests/lib/libc/sys/t_setrlimit.c
603
WEXITSTATUS(status));
tests/lib/libc/sys/t_sigaction.c
71
int status;
tests/lib/libc/sys/t_sigaction.c
73
(void)waitpid(pid, &status, 0);
tests/lib/libc/sys/t_sigaction.c
75
if (WIFEXITED(status))
tests/lib/libc/sys/t_sigaction.c
76
ATF_CHECK_EQ(EXIT_SUCCESS, WEXITSTATUS(status));
tests/lib/libc/sys/t_sigaction.c
78
atf_tc_fail("%s; raw exit status was %d", fail_message, status);
tests/lib/libcurses/director/director.c
292
int status;
tests/lib/libcurses/director/director.c
293
(void)waitpid(slave_pid, &status, 0);
tests/lib/libcurses/slave/commands.c
143
report_return(int status)
tests/lib/libcurses/slave/commands.c
145
if (status == ERR)
tests/lib/libcurses/slave/commands.c
147
else if (status == OK)
tests/lib/libcurses/slave/commands.c
149
else if (status == KEY_CODE_YES)
tests/lib/libcurses/slave/commands.c
150
report_int(status);
tests/lib/libcurses/slave/commands.c
169
report_status(const char *status)
tests/lib/libcurses/slave/commands.c
171
report_message(data_string, status);
tests/lib/libcurses/slave/commands.c
178
report_error(const char *status)
tests/lib/libcurses/slave/commands.c
180
report_message(data_slave_error, status);
tests/lib/libcurses/slave/commands.c
188
report_message(data_enum_t type, const char *status)
tests/lib/libcurses/slave/commands.c
190
size_t len = strlen(status);
tests/lib/libcurses/slave/commands.c
193
write_to_director(status, len);
tests/lib/libexecinfo/t_backtrace_sandbox.c
45
int status;
tests/lib/libexecinfo/t_backtrace_sandbox.c
75
(void)wait(&status);
tests/lib/libexecinfo/t_backtrace_sandbox.c
77
if (!WIFEXITED(status) || WEXITSTATUS(status) != EXIT_SUCCESS)
tests/lib/libpthread/t_fork.c
88
int status;
tests/lib/libpthread/t_fork.c
93
waitpid(fork_pid, &status, 0);
tests/lib/libpthread/t_fork.c
94
ATF_REQUIRE_MSG(WIFEXITED(status), "child died wrongly");
tests/lib/libpthread/t_fork.c
95
ATF_REQUIRE_EQ_MSG(WEXITSTATUS(status), 0, "thread survived in child");
tests/lib/libpthread/t_once.c
207
int status;
tests/lib/libpthread/t_once.c
216
RL(child = waitpid(pid, &status, 0));
tests/lib/libpthread/t_once.c
219
ATF_REQUIRE_MSG(!WIFSIGNALED(status),
tests/lib/libpthread/t_once.c
221
WTERMSIG(status), strsignal(WTERMSIG(status)), trial);
tests/lib/libpthread/t_once.c
222
ATF_REQUIRE_MSG(WIFEXITED(status) && WEXITSTATUS(status) == 0,
tests/lib/libpthread/t_once.c
223
"child exited 0x%x in trial %ld", status, trial);
tests/lib/librt/t_sem.c
128
int status;
tests/lib/librt/t_sem.c
163
ATF_REQUIRE_EQ(waitpid(children[i], &status, 0), children[i]);
tests/lib/librt/t_sem.c
164
ATF_REQUIRE(WIFEXITED(status));
tests/lib/librt/t_sem.c
165
ATF_REQUIRE_EQ(WEXITSTATUS(status), 0);
tests/lib/librt/t_sem.c
237
int status;
tests/lib/librt/t_sem.c
270
ATF_REQUIRE_EQ(waitpid(children[i], &status, 0), children[i]);
tests/lib/librt/t_sem.c
271
ATF_REQUIRE(WIFEXITED(status));
tests/lib/librt/t_sem.c
272
ATF_REQUIRE_EQ(WEXITSTATUS(status), 0);
tests/lib/libutil/t_pidfile.c
120
int status;
tests/lib/libutil/t_pidfile.c
122
ATF_REQUIRE(waitpid(pid, &status, 0) != -1);
tests/lib/libutil/t_pidfile.c
123
if (!WIFEXITED(status) || WEXITSTATUS(status) != EXIT_SUCCESS)
tests/net/fdpass/fdpass.c
167
int s[2], fd, status, c, verbose;
tests/net/fdpass/fdpass.c
209
wait(&status);
tests/net/icmp/t_forward.c
138
int status;
tests/net/icmp/t_forward.c
151
if (wait(&status) == -1)
tests/net/icmp/t_forward.c
153
if (WIFEXITED(status)) {
tests/net/icmp/t_forward.c
154
if (WEXITSTATUS(status))
tests/net/icmp/t_forward.c
156
WEXITSTATUS(status));
tests/net/icmp/t_ping.c
411
int status;
tests/net/icmp/t_ping.c
438
if (waitpid(-1, &status, WNOHANG) > 0) {
tests/net/icmp/t_ping.c
439
if (WIFEXITED(status) && WEXITSTATUS(status) == 0)
tests/net/mcast/mcast.c
352
int status;
tests/net/mcast/mcast.c
368
switch (waitpid(pid, &status, WNOHANG)) {
tests/net/mcast/mcast.c
384
if (WIFSIGNALED(status)) {
tests/net/mcast/mcast.c
385
if (WTERMSIG(status) == SIGTERM)
tests/net/mcast/mcast.c
392
strsignal(WTERMSIG(status)));
tests/net/mcast/mcast.c
393
} else if (WIFEXITED(status)) {
tests/net/mcast/mcast.c
394
if (WEXITSTATUS(status) != 0)
tests/net/mcast/mcast.c
397
WEXITSTATUS(status));
tests/net/mcast/mcast.c
401
status);
tests/rump/rumpkern/h_client/h_forkcli.c
109
if (wait(&status) == -1)
tests/rump/rumpkern/h_client/h_forkcli.c
111
if (!WIFEXITED(status) || WEXITSTATUS(status) != 0)
tests/rump/rumpkern/h_client/h_forkcli.c
112
errx(1, "child exited with status %d", status);
tests/rump/rumpkern/h_client/h_forkcli.c
22
int fd, status;
tests/rump/rumpkern/h_client/h_forkcli.c
59
if (wait(&status) == -1)
tests/rump/rumpkern/h_client/h_forkcli.c
61
if (!WIFEXITED(status) || WEXITSTATUS(status) != 0)
tests/rump/rumpkern/h_client/h_forkcli.c
62
errx(1, "child exited with status %d", status);
tests/rump/rumpkern/h_client/h_forkcli.c
84
int status;
tests/rump/rumpkern/h_client/h_stresscli.c
135
int status, thesig;
tests/rump/rumpkern/h_client/h_stresscli.c
196
apid = wait(&status);
tests/rump/rumpkern/h_client/h_stresscli.c
202
if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) {
tests/rump/rumpkern/h_client/h_stresscli.c
204
status);
tests/rump/rumpkern/h_client/h_stresscli.c
208
if (!WIFSIGNALED(status) || WTERMSIG(status) != thesig){
tests/rump/rumpkern/h_client/h_stresscli.c
210
status);
tests/rump/rumpkern/t_kern.c
59
int status;
tests/rump/rumpkern/t_kern.c
77
RL(wait(&status));
tests/rump/rumpkern/t_kern.c
78
ATF_REQUIRE(WIFSIGNALED(status) && WTERMSIG(status) == SIGABRT);
tests/rump/rumpkern/t_kern.c
90
if ((status = regcomp(&preg, expect, REG_BASIC)) != 0) {
tests/rump/rumpkern/t_kern.c
91
regerror(status, &preg, buf, sizeof(buf));
tests/rump/rumpkern/t_kern.c
95
if ((status = regexec(&preg, buf, 0, NULL, 0)) != 0) {
tests/rump/rumpkern/t_kern.c
98
regerror(status, &preg, buf, sizeof(buf));
tests/rump/rumpkern/t_lwproc.c
192
int status;
tests/rump/rumpkern/t_lwproc.c
204
wait(&status);
tests/rump/rumpkern/t_lwproc.c
205
ATF_REQUIRE(WIFSIGNALED(status));
tests/rump/rumpkern/t_lwproc.c
206
ATF_REQUIRE_EQ(WTERMSIG(status), SIGABRT);
tests/rump/rumpkern/t_signals.c
111
wait(&status);
tests/rump/rumpkern/t_signals.c
112
ATF_REQUIRE(WIFSIGNALED(status) && WTERMSIG(status) == SIGABRT);
tests/rump/rumpkern/t_signals.c
99
int status;
tests/usr.sbin/inetd/t_inetd.c
278
int status;
tests/usr.sbin/inetd/t_inetd.c
279
int rpid = waitpid(pid, &status, WALLSIG);
tests/usr.sbin/inetd/t_inetd.c
283
ATF_REQUIRE_EQ_MSG(WEXITSTATUS(status), EXIT_SUCCESS,
tests/usr.sbin/inetd/t_inetd.c
285
"exit status %d", taskname, WEXITSTATUS(status));
usr.bin/apply/apply.c
209
int status;
usr.bin/apply/apply.c
245
pid = waitpid(pid, &status, 0);
usr.bin/apply/apply.c
249
return pid == -1 ? -1 : status;
usr.bin/btkey/device.c
138
if (rp->status) {
usr.bin/btkey/device.c
223
if (rp->status || rp->num_keys_written != 1) {
usr.bin/btkey/device.c
253
if (rp->status || rp->num_keys_deleted != 1) {
usr.bin/calendar/calendar.c
566
int status;
usr.bin/calendar/calendar.c
614
while (wait(&status) != -1)
usr.bin/cdplay/cdplay.c
1467
sc.retsts, sc.status);
usr.bin/chpass/pw_yp.c
109
int r, rpcport, status;
usr.bin/chpass/pw_yp.c
199
xdr_yppasswd, &yppw, xdr_int, &status, tv);
usr.bin/chpass/pw_yp.c
203
} else if (status)
usr.bin/crunch/crunchgen/crunchgen.c
123
static void status(const char *str);
usr.bin/crunch/crunchgen/crunchgen.c
283
status(line);
usr.bin/crunch/crunchgen/crunchgen.c
574
status("");
usr.bin/crunch/crunchgen/crunchgen.c
589
status(line);
usr.bin/crunch/crunchgen/crunchgen.c
770
status(line);
usr.bin/crunch/crunchgen/crunchgen.c
834
status(line);
usr.bin/crunch/crunchgen/crunchgen.c
882
status(line);
usr.bin/diff/diff.c
383
exit(status);
usr.bin/diff/diff.c
41
int diff_format, diff_context, status;
usr.bin/diff/diff.h
103
extern int diff_format, diff_context, status;
usr.bin/diff/diffdir.c
140
status |= 1;
usr.bin/diff/diffdir.c
150
status |= 1;
usr.bin/diff/diffdir.c
62
status |= 2;
usr.bin/diff/diffdir.c
72
status |= 2;
usr.bin/diff/diffreg.c
312
status |= 2;
usr.bin/diff/diffreg.c
323
status |= 2;
usr.bin/diff/diffreg.c
335
status |= 2;
usr.bin/diff/diffreg.c
346
status |= 2;
usr.bin/diff/diffreg.c
361
status |= 2;
usr.bin/diff/diffreg.c
370
status |= 1;
usr.bin/diff/diffreg.c
380
status |= 1;
usr.bin/diff/diffreg.c
422
status |= 1;
usr.bin/diff/pr.c
61
status |= 2;
usr.bin/diff3/diff3.c
832
int status;
usr.bin/diff3/diff3.c
834
if (waitpid(pd, &status, 0) == -1)
usr.bin/diff3/diff3.c
836
if (WIFEXITED(status) && WEXITSTATUS(status) >= 2)
usr.bin/diff3/diff3.c
838
if (WIFSIGNALED(status))
usr.bin/diff3/diff3.c
839
errx(2, "diff killed by signal %d", WTERMSIG(status));
usr.bin/find/function.c
595
int status;
usr.bin/find/function.c
653
pid = waitpid(pid, &status, 0);
usr.bin/find/function.c
654
return (pid != -1 && WIFEXITED(status)
usr.bin/find/function.c
655
&& !WEXITSTATUS(status));
usr.bin/find/function.c
663
int rval, status;
usr.bin/find/function.c
694
pid = waitpid(pid, &status, 0);
usr.bin/find/function.c
695
if (WIFEXITED(status))
usr.bin/find/function.c
696
rval = WEXITSTATUS(status);
usr.bin/find/function.c
840
int status;
usr.bin/find/function.c
867
pid = waitpid(pid, &status, 0);
usr.bin/find/function.c
868
return (pid != -1 && WIFEXITED(status) && !WEXITSTATUS(status));
usr.bin/finger/finger.h
61
enum status info; /* type/status of request */
usr.bin/ftp/cmdtab.c
280
{ "status", H(statushelp), 0, 0, 1, CMPL0 status },
usr.bin/ftp/extern.h
235
void status(int, char **);
usr.bin/gcore/gcore.c
102
if ((cpid = waitpid(pid, &status, 0)) != pid) {
usr.bin/gcore/gcore.c
86
int status, serrno;
usr.bin/getopt/getopt.c
21
int status = 0;
usr.bin/getopt/getopt.c
27
status = 1; /* getopt routine gave message */
usr.bin/getopt/getopt.c
40
exit(status);
usr.bin/login/login.c
698
int status;
usr.bin/login/login.c
710
if (wait(&status) == -1 ||
usr.bin/login/login.c
711
WEXITSTATUS(status))
usr.bin/login/login_pam.c
123
int status;
usr.bin/login/login_pam.c
524
if ((xpid = waitpid(pid, &status, 0)) != pid) {
usr.bin/m4/gnum4.c
655
int status;
usr.bin/m4/gnum4.c
690
while (waitpid(cpid, &status, 0) == -1) {
usr.bin/mail/popen.c
329
wait_status = cp->status;
usr.bin/mail/popen.c
488
int status;
usr.bin/mail/popen.c
493
while ((pid = waitpid((pid_t)-1, &status, WNOHANG)) > 0) {
usr.bin/mail/popen.c
501
cp->status = status;
usr.bin/mail/popen.c
66
int status;
usr.bin/make/compat.c
243
int status; /* Description of child's death */
usr.bin/make/compat.c
379
status = WSTOPSIG(reason);
usr.bin/make/compat.c
381
status = WEXITSTATUS(reason);
usr.bin/make/compat.c
386
if (status != 0) {
usr.bin/make/compat.c
389
printf("*** Error code %d", status);
usr.bin/make/compat.c
392
status = WTERMSIG(reason);
usr.bin/make/compat.c
393
printf("*** Signal %d", status);
usr.bin/make/compat.c
397
if (!WIFEXITED(reason) || status != 0) {
usr.bin/make/compat.c
401
meta_job_error(NULL, gn, false, status);
usr.bin/make/compat.c
405
gn->exit_status = status;
usr.bin/make/compat.c
423
status = 0;
usr.bin/make/compat.c
437
return status == 0;
usr.bin/make/filemon/filemon_ktrace.c
778
int status = (int)args[0];
usr.bin/make/filemon/filemon_ktrace.c
781
fprintf(F->out, "X %jd %d\n", (intmax_t)key->pid, status);
usr.bin/make/job.c
1259
JobFinishDoneSignaled(Job *job, int status)
usr.bin/make/job.c
1263
(void)printf("*** [%s] Signal %d\n", job->node->name, WTERMSIG(status));
usr.bin/make/job.c
1284
JobFinish(Job *job, int status)
usr.bin/make/job.c
1289
job->node->name, job->pid, status);
usr.bin/make/job.c
1291
if ((WIFEXITED(status) && WEXITSTATUS(status) != 0 && !job->ignerr) ||
usr.bin/make/job.c
1292
WIFSIGNALED(status)) {
usr.bin/make/job.c
1304
} else if (WIFEXITED(status)) {
usr.bin/make/job.c
1310
done = WEXITSTATUS(status) != 0;
usr.bin/make/job.c
1320
JobFinishDone(job, &status);
usr.bin/make/job.c
1325
if (meta_status != 0 && status == 0)
usr.bin/make/job.c
1326
status = meta_status;
usr.bin/make/job.c
1334
if (status != 0 ||
usr.bin/make/job.c
1340
status == 0) {
usr.bin/make/job.c
1346
job->status = JOB_ST_FREE;
usr.bin/make/job.c
1347
} else if (status != 0) {
usr.bin/make/job.c
1349
job->status = JOB_ST_FREE;
usr.bin/make/job.c
1553
job->status = JOB_ST_RUNNING;
usr.bin/make/job.c
1736
if (job->status == JOB_ST_FREE)
usr.bin/make/job.c
1745
job->status = JOB_ST_SET_UP;
usr.bin/make/job.c
1807
job->status = JOB_ST_FREE;
usr.bin/make/job.c
1937
int status;
usr.bin/make/job.c
1945
while ((pid = waitpid((pid_t)-1, &status, WNOHANG | WUNTRACED)) > 0) {
usr.bin/make/job.c
1948
pid, status);
usr.bin/make/job.c
1949
JobReapChild(pid, status, true);
usr.bin/make/job.c
1958
JobReapChild(pid_t pid, int status, bool isJobs)
usr.bin/make/job.c
1969
pid, status);
usr.bin/make/job.c
1973
if (WIFSTOPPED(status)) {
usr.bin/make/job.c
1977
switch (WSTOPSIG(status)) {
usr.bin/make/job.c
1988
job->node->name, WSTOPSIG(status));
usr.bin/make/job.c
1996
job->status = JOB_ST_FINISHED;
usr.bin/make/job.c
1997
job->exit_status = status;
usr.bin/make/job.c
1998
if (WIFEXITED(status))
usr.bin/make/job.c
1999
job->node->exit_status = WEXITSTATUS(status);
usr.bin/make/job.c
200
enum JobStatus status;
usr.bin/make/job.c
2001
JobFinish(job, status);
usr.bin/make/job.c
2023
if (job->status == JOB_ST_RUNNING &&
usr.bin/make/job.c
2026
else if (job->status == JOB_ST_FINISHED)
usr.bin/make/job.c
2069
if (job->status == JOB_ST_RUNNING)
usr.bin/make/job.c
2180
int rval, status;
usr.bin/make/job.c
2181
rval = waitpid((pid_t)-1, &status, WNOHANG);
usr.bin/make/job.c
2459
if (job->status == JOB_ST_RUNNING && job->pid != 0) {
usr.bin/make/job.c
2468
if (job->status == JOB_ST_RUNNING && job->pid != 0) {
usr.bin/make/job.c
2469
int status;
usr.bin/make/job.c
2470
(void)waitpid(job->pid, &status, 0);
usr.bin/make/job.c
2530
int status;
usr.bin/make/job.c
2536
if (job->status != JOB_ST_RUNNING)
usr.bin/make/job.c
2543
while (waitpid((pid_t)-1, &status, WNOHANG) > 0)
usr.bin/make/job.c
582
(int)(job - job_table), JobStatus_Name[job->status],
usr.bin/make/job.c
685
if (job->status != JOB_ST_RUNNING)
usr.bin/make/job.c
792
JobFindPid(int pid, enum JobStatus status, bool isJobs)
usr.bin/make/job.c
797
if (job->status == status && job->pid == pid)
usr.bin/make/main.c
1760
int status; /* command exit status */
usr.bin/make/main.c
1810
while ((pid = waitpid(cpid, &status, 0)) != cpid && pid >= 0)
usr.bin/make/main.c
1811
JobReapChild(pid, status, false);
usr.bin/make/main.c
1821
if (WIFSIGNALED(status))
usr.bin/make/main.c
1823
else if (WEXITSTATUS(status) != 0) {
usr.bin/make/main.c
1829
Buf_AddInt(&errBuf, WEXITSTATUS(status));
usr.bin/make/meta.c
695
meta_job_error(Job *job, GNode *gn, bool ignerr, int status)
usr.bin/make/meta.c
705
status, ignerr ? "(ignored)" : "");
usr.bin/midiplay/midiplay.c
406
u_int len, mlen, status, chan;
usr.bin/midiplay/midiplay.c
57
u_char status;
usr.bin/midiplay/midiplay.c
605
tp->status = byte;
usr.bin/midiplay/midiplay.c
608
mlen = MIDI_LENGTH(tp->status);
usr.bin/midiplay/midiplay.c
613
tp->status, mlen, msg[0]);
usr.bin/midiplay/midiplay.c
616
tp->status, mlen, msg[0], msg[1]);
usr.bin/midiplay/midiplay.c
618
if (insysex && tp->status != MIDI_SYSEX_END) {
usr.bin/midiplay/midiplay.c
623
status = MIDI_GET_STATUS(tp->status);
usr.bin/midiplay/midiplay.c
624
chan = MIDI_GET_CHAN(tp->status);
usr.bin/midiplay/midiplay.c
625
switch (status) {
usr.bin/midiplay/midiplay.c
661
if (tp->status == MIDI_SYSEX_START) {
usr.bin/midiplay/midiplay.c
664
} else if (tp->status == MIDI_SYSEX_END) {
usr.bin/midiplay/midiplay.c
685
tp->status);
usr.bin/mkdep/mkdep.c
105
int status;
usr.bin/mkdep/mkdep.c
154
while (((pid = wait(&status)) != cpid) && (pid >= 0))
usr.bin/mkdep/mkdep.c
157
if (status)
usr.bin/netstat/fast_ipsec.c
105
int status;
usr.bin/netstat/fast_ipsec.c
120
status = prog_sysctlbyname("net.inet.ipsec.ipsecstats",
usr.bin/netstat/fast_ipsec.c
122
if (status < 0) {
usr.bin/netstat/fast_ipsec.c
130
status = prog_sysctlbyname("net.inet.ah.ah_stats",
usr.bin/netstat/fast_ipsec.c
132
if (status < 0 && errno != ENOMEM)
usr.bin/netstat/fast_ipsec.c
136
status = prog_sysctlbyname("net.inet.esp.esp_stats",
usr.bin/netstat/fast_ipsec.c
138
if (status < 0 && errno != ENOMEM)
usr.bin/netstat/fast_ipsec.c
142
status = prog_sysctlbyname("net.inet.ipcomp.ipcomp_stats",
usr.bin/netstat/fast_ipsec.c
144
if (status < 0 && errno != ENOMEM)
usr.bin/netstat/fast_ipsec.c
148
status = prog_sysctlbyname("net.inet.ipip.ipip_stats",
usr.bin/netstat/fast_ipsec.c
150
if (status < 0 && errno != ENOMEM)
usr.bin/newsyslog/newsyslog.c
780
int status;
usr.bin/newsyslog/newsyslog.c
790
while (waitpid(pid, &status, 0) != pid);
usr.bin/newsyslog/newsyslog.c
792
if (!WIFEXITED(status) || (WEXITSTATUS(status) != 0))
usr.bin/passwd/yp_passwd.c
220
int ch, r, rpcport, status;
usr.bin/passwd/yp_passwd.c
316
xdr_yppasswd, &ypp, xdr_int, &status, tv);
usr.bin/passwd/yp_passwd.c
320
else if (status)
usr.bin/passwd/yp_passwd.c
381
int r, rpcport, status;
usr.bin/passwd/yp_passwd.c
453
xdr_yppasswd, &ypp, xdr_int, &status, tv);
usr.bin/passwd/yp_passwd.c
457
else if (status)
usr.bin/patch/util.c
428
my_exit(int status)
usr.bin/patch/util.c
436
exit(status);
usr.bin/pwait/pwait.c
177
status = (int)e[i].data;
usr.bin/pwait/pwait.c
179
if (WIFEXITED(status))
usr.bin/pwait/pwait.c
182
WEXITSTATUS(status));
usr.bin/pwait/pwait.c
183
else if (WIFSIGNALED(status))
usr.bin/pwait/pwait.c
186
WTERMSIG(status));
usr.bin/pwait/pwait.c
192
return status;
usr.bin/pwait/pwait.c
76
int opt, duplicate, status, immediately = 0;
usr.bin/rdist/server.c
1369
int fd[2], status, pid, i;
usr.bin/rdist/server.c
1421
while ((i = wait(&status)) != pid && i != -1)
usr.bin/rdist/server.c
1424
status = -1;
usr.bin/rdist/server.c
1426
if (status)
usr.bin/rdist/server.c
1427
error("shell returned %d\n", status);
usr.bin/rlogin/rlogin.c
366
done(int status)
usr.bin/rlogin/rlogin.c
383
exit(status);
usr.bin/rlogin/rlogin.c
410
int status;
usr.bin/rlogin/rlogin.c
414
pid = waitpid(-1, &status, WNOHANG|WUNTRACED);
usr.bin/rlogin/rlogin.c
418
if (pid < 0 || (pid == child && !WIFSTOPPED(status)))
usr.bin/rlogin/rlogin.c
419
done(WEXITSTATUS(status) | WTERMSIG(status));
usr.bin/script/script.c
236
getshellstatus(int status)
usr.bin/script/script.c
238
if (WIFEXITED(status))
usr.bin/script/script.c
239
return WEXITSTATUS(status);
usr.bin/script/script.c
240
if (WIFSIGNALED(status))
usr.bin/script/script.c
241
return 128 + WTERMSIG(status);
usr.bin/script/script.c
248
int pid, status;
usr.bin/script/script.c
251
while ((pid = wait(&status)) > 0)
usr.bin/script/script.c
258
done(eflag ? getshellstatus(status) : EXIT_SUCCESS);
usr.bin/script/script.c
342
done(int status)
usr.bin/script/script.c
361
exit(status);
usr.bin/sdiff/edit.c
30
int status;
usr.bin/sdiff/edit.c
54
if (waitpid(pid, &status, 0) == -1) {
usr.bin/sdiff/edit.c
60
if (!WIFEXITED(status)) {
usr.bin/sdiff/sdiff.c
159
int ch, fd[2], status;
usr.bin/sdiff/sdiff.c
330
if (waitpid(pid, &status, 0) == -1 || !WIFEXITED(status) ||
usr.bin/sdiff/sdiff.c
331
WEXITSTATUS(status) >= 2)
usr.bin/sdiff/sdiff.c
364
return (WEXITSTATUS(status));
usr.bin/sdpquery/command.c
212
uint32_t status;
usr.bin/sdpquery/command.c
219
uuid_from_string(*argv, &uuid, &status);
usr.bin/sdpquery/command.c
220
if (status != uuid_s_ok) {
usr.bin/su/su_pam.c
359
int status = 1;
usr.bin/su/su_pam.c
394
(void)read(fds[0], &status, 1);
usr.bin/su/su_pam.c
413
while ((xpid = waitpid(pid, &status, WUNTRACED))
usr.bin/su/su_pam.c
415
if (WIFSTOPPED(status)) {
usr.bin/su/su_pam.c
420
status = 1;
usr.bin/su/su_pam.c
445
exit(WEXITSTATUS(status));
usr.bin/systat/cmds.c
106
status();
usr.bin/systat/cmds.c
145
status();
usr.bin/systat/extern.h
208
void status(void);
usr.bin/systat/globalcmds.c
139
status();
usr.bin/systat/keyboard.c
105
status();
usr.bin/telnet/commands.c
164
static int status(int, char *[]);
usr.bin/telnet/commands.c
2038
return call(status, "status", "notmuch", 0);
usr.bin/telnet/commands.c
2260
(void) call(status, "status", "notmuch", 0);
usr.bin/telnet/commands.c
2303
{ "status", statushelp, status, 0 },
usr.bin/tftp/main.c
116
static void status(int, char **);
usr.bin/tftp/main.c
163
{ "status", sthelp, status },
usr.bin/time/time.c
138
if ((pid = wait4(pid, &status, 0, &ru)) == -1)
usr.bin/time/time.c
141
if (!WIFEXITED(status))
usr.bin/time/time.c
187
return (WIFEXITED(status) ? WEXITSTATUS(status) : EXIT_FAILURE);
usr.bin/time/time.c
70
int ch, status, prec;
usr.bin/timeout/timeout.c
189
int error, pstat, status;
usr.bin/timeout/timeout.c
310
while (((cpid = wait(&status)) < 0) && errno == EINTR)
usr.bin/timeout/timeout.c
314
pstat = status;
usr.bin/tip/aculib/hayes.c
159
volatile int status = 0;
usr.bin/tip/aculib/hayes.c
180
status = c;
usr.bin/tip/aculib/hayes.c
181
} while (status == 0);
usr.bin/tip/aculib/hayes.c
186
return (status);
usr.bin/tip/aculib/v831.c
106
while ((mypid = wait(&status)) != child && mypid != -1)
usr.bin/tip/aculib/v831.c
108
if (status) {
usr.bin/tip/aculib/v831.c
55
int status, mypid;
usr.bin/tip/cmds.c
203
int status, p;
usr.bin/tip/cmds.c
227
while ((p = wait(&status)) > 0 && p != cpid)
usr.bin/tip/cmds.c
471
int cpid, status, p;
usr.bin/tip/cmds.c
490
while ((p = wait(&status)) > 0 && p != cpid)
usr.bin/tip/cmds.c
519
int cpid, status, p;
usr.bin/tip/cmds.c
538
while ((p = wait(&status)) > 0 && p != cpid)
usr.bin/tip/cmds.c
565
int shpid, status;
usr.bin/tip/cmds.c
574
while (shpid != wait(&status));
usr.bin/tip/remote.c
103
switch(status) {
usr.bin/tip/remote.c
79
int status;
usr.bin/tip/remote.c
91
if ((status = cgetent(&bp, db_array, host)) < 0) {
usr.bin/usbhidctl/usbhid.c
104
enum {srs_uninit, srs_clean, srs_dirty} status;
usr.bin/usbhidctl/usbhid.c
450
report->status = srs_clean;
usr.bin/usbhidctl/usbhid.c
458
report->status = srs_uninit;
usr.bin/usbhidctl/usbhid.c
464
if (report->status == srs_uninit) {
usr.bin/usbhidctl/usbhid.c
485
if (report->status == srs_dirty) {
usr.bin/usbhidctl/usbhid.c
492
report->status = srs_clean;
usr.bin/usbhidctl/usbhid.c
711
reports[repind].status = srs_uninit;
usr.bin/usbhidctl/usbhid.c
778
repptr->status = srs_dirty;
usr.bin/xargs/xargs.c
577
int status;
usr.bin/xargs/xargs.c
579
while ((pid = waitpid(-1, &status, !waitall && curprocs < maxprocs ?
usr.bin/xargs/xargs.c
594
if (WIFEXITED(status)) {
usr.bin/xargs/xargs.c
595
if (WEXITSTATUS (status) == 255) {
usr.bin/xargs/xargs.c
598
} else if (WEXITSTATUS (status) != 0) {
usr.bin/xargs/xargs.c
601
} else if (WIFSIGNALED (status)) {
usr.bin/xargs/xargs.c
602
if (WTERMSIG(status) < NSIG) {
usr.bin/xargs/xargs.c
604
sys_signame[WTERMSIG(status)]);
usr.bin/xargs/xargs.c
607
WTERMSIG(status));
usr.bin/xinstall/xinstall.c
1025
int status;
usr.bin/xinstall/xinstall.c
1030
status = 0;
usr.bin/xinstall/xinstall.c
1091
rv = wait(&status);
usr.bin/xinstall/xinstall.c
1095
if ((rv < 0 || status) && errunlink)
usr.bin/xlint/xlint/xlint.c
328
int status, rv, signo;
usr.bin/xlint/xlint/xlint.c
329
while ((rv = wait(&status)) == -1 && errno == EINTR)
usr.bin/xlint/xlint/xlint.c
335
if (WIFSIGNALED(status)) {
usr.bin/xlint/xlint/xlint.c
336
signo = WTERMSIG(status);
usr.bin/xlint/xlint/xlint.c
344
if (WEXITSTATUS(status) != 0)
usr.bin/ypwhich/ypwhich.c
351
yperr = ypprot_err(yprespmlist.status);
usr.bin/ypwhich/ypwhich.c
386
yperr = ypprot_err(yprespmaster.status);
usr.sbin/acpitools/acpidump/acpi.c
3244
uint32_t status;
usr.sbin/acpitools/acpidump/acpi.c
3265
&uuidstr, &status);
usr.sbin/acpitools/acpidump/acpi.c
3266
if (status != uuid_s_ok)
usr.sbin/acpitools/acpidump/acpi.c
3267
errx(1, "uuid_to_string: status=%u", status);
usr.sbin/acpitools/acpidump/acpi.c
3844
uint32_t status;
usr.sbin/acpitools/acpidump/acpi.c
3851
&uuidstr, &status);
usr.sbin/acpitools/acpidump/acpi.c
3852
if (status != uuid_s_ok)
usr.sbin/acpitools/acpidump/acpi.c
3853
errx(1, "uuid_to_string: status=%u", status);
usr.sbin/acpitools/acpidump/acpi.c
4669
int fd, status;
usr.sbin/acpitools/acpidump/acpi.c
4712
wait(&status);
usr.sbin/acpitools/acpidump/acpi.c
4721
if (status != 0) {
usr.sbin/acpitools/acpidump/acpi.c
4722
fprintf(stderr, "iasl exit status = %d\n", status);
usr.sbin/acpitools/aml/aml_common.c
527
int status;
usr.sbin/acpitools/aml/aml_common.c
529
status = aml_bufferfield_io(AML_BUFFER_OUTPUT, &value,
usr.sbin/acpitools/aml/aml_common.c
531
return (status);
usr.sbin/acpitools/aml/aml_memman.c
123
int status;
usr.sbin/acpitools/aml/aml_memman.c
131
status = manage_block(memman, id, bmp->initial_block,
usr.sbin/acpitools/aml/aml_memman.c
133
return (status);
usr.sbin/apmd/apmd.c
433
int status;
usr.sbin/apmd/apmd.c
435
status = power_status(ctl_fd, 0, 0);
usr.sbin/apmd/apmd.c
436
if (lowbattsleep && status&POWER_STATUS_LOWBATTNOW) {
usr.sbin/apmd/apmd.c
437
if (noacsleep && status&POWER_STATUS_ACON) {
usr.sbin/apmd/apmd.c
529
int status;
usr.sbin/apmd/apmd.c
558
wait4(pid, &status, 0, 0);
usr.sbin/apmd/apmd.c
559
if (WIFEXITED(status)) {
usr.sbin/apmd/apmd.c
562
WEXITSTATUS(status));
usr.sbin/autofs/automountd.c
398
int status;
usr.sbin/autofs/automountd.c
406
pid = wait4(-1, &status, 0, NULL);
usr.sbin/autofs/automountd.c
408
pid = wait4(-1, &status, WNOHANG, NULL);
usr.sbin/autofs/automountd.c
411
if (WIFSIGNALED(status)) {
usr.sbin/autofs/automountd.c
413
pid, WTERMSIG(status));
usr.sbin/autofs/automountd.c
414
} else if (WEXITSTATUS(status) != 0) {
usr.sbin/autofs/automountd.c
416
"status %d", pid, WEXITSTATUS(status));
usr.sbin/autofs/popen.c
155
int status;
usr.sbin/autofs/popen.c
177
pid = wait4(cur->pid, &status, 0, NULL);
usr.sbin/autofs/popen.c
180
if (WIFSIGNALED(status)) {
usr.sbin/autofs/popen.c
182
cur->command, pid, WTERMSIG(status));
usr.sbin/autofs/popen.c
183
return status;
usr.sbin/autofs/popen.c
186
if (WEXITSTATUS(status) != 0) {
usr.sbin/autofs/popen.c
188
cur->command, pid, WEXITSTATUS(status));
usr.sbin/autofs/popen.c
189
return status;
usr.sbin/autofs/popen.c
197
return pid == -1 ? -1 : status;
usr.sbin/bootp/common/hwaddr.c
129
int status;
usr.sbin/bootp/common/hwaddr.c
138
status = system(buf);
usr.sbin/bootp/common/hwaddr.c
139
if (status)
usr.sbin/bootp/common/hwaddr.c
140
report(LOG_ERR, "arp failed, exit code=0x%x", status);
usr.sbin/btattach/init_csr.c
54
uint16_t status;
usr.sbin/btattach/init_csr.c
96
cmd.message.status = htole16(CSR_BCCMD_MESSAGE_STATUS_OK);
usr.sbin/btattach/init_stlc2500.c
123
if (n != sizeof(rp) || rp.status != 0x00)
usr.sbin/btattach/init_unistone.c
107
cs.status != 0x00 ||
usr.sbin/btattach/init_unistone.c
65
if (n != sizeof(rp) || rp.status != 0x00)
usr.sbin/btpand/btpand.c
237
wait(&status);
usr.sbin/btpand/btpand.c
239
if (WIFEXITED(status))
usr.sbin/btpand/btpand.c
240
exit(WEXITSTATUS(status));
usr.sbin/btpand/btpand.c
90
int ch, status;
usr.sbin/catman/catman.c
616
int status;
usr.sbin/catman/catman.c
618
if ((status = system(cmd)) == 0)
usr.sbin/catman/catman.c
621
if (status == -1)
usr.sbin/catman/catman.c
623
if (WIFSIGNALED(status))
usr.sbin/catman/catman.c
625
if (WIFSTOPPED(status))
usr.sbin/catman/catman.c
628
errx(1, "*** Exited %d", status);
usr.sbin/catman/catman.c
629
warnx("*** Exited %d (continuing)", status);
usr.sbin/faithd/faithd.c
668
int status;
usr.sbin/faithd/faithd.c
671
while ((pid = wait3(&status, WNOHANG, (struct rusage *)0)) > 0)
usr.sbin/faithd/faithd.c
672
if (WEXITSTATUS(status))
usr.sbin/faithd/faithd.c
674
(long)pid, status);
usr.sbin/faithd/tcp.c
100
(long)pid, status);
usr.sbin/faithd/tcp.c
94
int status;
usr.sbin/faithd/tcp.c
97
pid = wait3(&status, WNOHANG, (struct rusage *)0);
usr.sbin/faithd/tcp.c
98
if (pid > 0 && WEXITSTATUS(status))
usr.sbin/fwctl/fwcontrol.c
184
(devinfo->status || i == 0) ? devinfo->dst : -1,
usr.sbin/fwctl/fwcontrol.c
185
addr, devinfo->status, hostname);
usr.sbin/fwctl/fwcontrol.c
333
if (!devinfo->status)
usr.sbin/ifwatchd/ifwatchd.c
360
int status;
usr.sbin/ifwatchd/ifwatchd.c
431
(void) wait(&status);
usr.sbin/inetd/inetd.c
688
int status;
usr.sbin/inetd/inetd.c
693
pid = wait3(&status, WNOHANG, NULL);
usr.sbin/inetd/inetd.c
696
DPRINTF("%d reaped, status %#x", pid, status);
usr.sbin/inetd/inetd.c
701
if (WIFEXITED(status) && WEXITSTATUS(status))
usr.sbin/inetd/inetd.c
704
sep->se_server, WEXITSTATUS(status));
usr.sbin/inetd/inetd.c
705
else if (WIFSIGNALED(status))
usr.sbin/inetd/inetd.c
708
sep->se_server, WTERMSIG(status));
usr.sbin/iopctl/iopctl.c
104
static struct i2o_status status;
usr.sbin/iopctl/iopctl.c
133
iov.iov_base = &status;
usr.sbin/iopctl/iopctl.c
134
iov.iov_len = sizeof(status);
usr.sbin/iopctl/iopctl.c
296
char ident[sizeof(status.productid) + 1];
usr.sbin/iopctl/iopctl.c
299
i2ostrvis(status.productid, sizeof(status.productid),
usr.sbin/iopctl/iopctl.c
302
segnumber = le32toh(status.segnumber);
usr.sbin/iopctl/iopctl.c
303
show("organization id", "%d", le16toh(status.orgid));
usr.sbin/iopctl/iopctl.c
304
show("iop id", "%d", le32toh(status.iopid) & 4095);
usr.sbin/iopctl/iopctl.c
305
show("host unit id", "%d", (le32toh(status.iopid) >> 16));
usr.sbin/iopctl/iopctl.c
310
show("inbound frame sz", "%d", le16toh(status.inboundmframesize));
usr.sbin/iopctl/iopctl.c
311
show("init code", "%d", status.initcode);
usr.sbin/iopctl/iopctl.c
313
le32toh(status.maxinboundmframes));
usr.sbin/iopctl/iopctl.c
315
le32toh(status.currentinboundmframes));
usr.sbin/iopctl/iopctl.c
317
le32toh(status.maxoutboundmframes));
usr.sbin/iopctl/iopctl.c
319
show("expected lct size", "%d", le32toh(status.expectedlctsize));
usr.sbin/iopctl/iopctl.c
320
show("iop capabilities", "0x%08x", le32toh(status.iopcaps));
usr.sbin/iopctl/iopctl.c
322
le32toh(status.desiredprivmemsize));
usr.sbin/iopctl/iopctl.c
324
le32toh(status.currentprivmemsize));
usr.sbin/iopctl/iopctl.c
326
le32toh(status.currentprivmembase));
usr.sbin/iopctl/iopctl.c
328
le32toh(status.desiredpriviosize));
usr.sbin/iopctl/iopctl.c
330
le32toh(status.currentpriviosize));
usr.sbin/iopctl/iopctl.c
332
le32toh(status.currentpriviobase));
usr.sbin/iopctl/iopctl.c
438
nit = (le16toh(status.orgid) != I2O_ORG_DPT);
usr.sbin/ldpd/notifications.c
56
t->status = htons(TLV_STATUS);
usr.sbin/ldpd/tlv.h
128
uint16_t status;
usr.sbin/lpr/lpc/cmdtab.c
74
{ "status", statushelp, status, 0 },
usr.sbin/lpr/lpc/extern.h
49
void status(int, char **);
usr.sbin/lpr/lpd/lpd.c
397
int status;
usr.sbin/lpr/lpd/lpd.c
399
while (wait3(&status, WNOHANG, 0) > 0)
usr.sbin/lpr/lpd/printjob.c
544
int status;
usr.sbin/lpr/lpd/printjob.c
718
wait3(&status, WUNTRACED, 0)) > 0 && child_pid != ofilter)
usr.sbin/lpr/lpd/printjob.c
720
if (WIFSTOPPED(status) == 0) {
usr.sbin/lpr/lpd/printjob.c
724
printer, WEXITSTATUS(status), WTERMSIG(status));
usr.sbin/lpr/lpd/printjob.c
753
while ((child_pid = wait(&status)) > 0 && child_pid != child)
usr.sbin/lpr/lpd/printjob.c
772
if (!WIFEXITED(status)) {
usr.sbin/lpr/lpd/printjob.c
775
printer, format, (int)child_pid, WTERMSIG(status));
usr.sbin/lpr/lpd/printjob.c
778
switch (WEXITSTATUS(status)) {
usr.sbin/lpr/lpd/printjob.c
788
printer, format, WEXITSTATUS(status));
usr.sbin/lptctl/lptctl.c
198
usage(int status) {
usr.sbin/lptctl/lptctl.c
208
exit(status);
usr.sbin/lptctl/lptctl.c
47
static void usage(int status);
usr.sbin/makefs/cd9660/cd9660_write.c
102
status = cd9660_write_path_tables(diskStructure, fd);
usr.sbin/makefs/cd9660/cd9660_write.c
103
if (status == 0) {
usr.sbin/makefs/cd9660/cd9660_write.c
112
status = cd9660_write_file(diskStructure, fd, diskStructure->rootNode);
usr.sbin/makefs/cd9660/cd9660_write.c
113
if (status == 0) {
usr.sbin/makefs/cd9660/cd9660_write.c
66
int status;
usr.sbin/makefs/cd9660/cd9660_write.c
78
status = cd9660_copy_file(diskStructure, fd, 0,
usr.sbin/makefs/cd9660/cd9660_write.c
80
if (status == 0) {
usr.sbin/makefs/cd9660/cd9660_write.c
88
status = cd9660_write_volume_descriptors(diskStructure, fd);
usr.sbin/makefs/cd9660/cd9660_write.c
89
if (status == 0) {
usr.sbin/makemandb/apropos-utils.c
515
if (idf->status == 0 && ndocshitcount)
usr.sbin/makemandb/apropos-utils.c
528
idf->status = 1;
usr.sbin/makemandb/apropos-utils.c
64
int status;
usr.sbin/mmcformat/uscsi_subr.c
302
if (req.status) {
usr.sbin/mmcformat/uscsi_subr.c
456
if ((ccb.ccb_h.status & CAM_STATUS_MASK) == CAM_REQ_CMP)
usr.sbin/mmcformat/uscsi_subr.c
461
cam_sense = (ccb.ccb_h.status & (CAM_STATUS_MASK | CAM_AUTOSNS_VALID));
usr.sbin/mopd/common/common.h
76
u_char status; /* Status byte */
usr.sbin/mopd/mopd/process.c
223
if (dle->status != DL_STATUS_FREE) {
usr.sbin/mopd/mopd/process.c
234
if (dle->status == DL_STATUS_FREE) {
usr.sbin/mopd/mopd/process.c
253
dle->status = DL_STATUS_READ_IMGHDR;
usr.sbin/mopd/mopd/process.c
307
dle->status = DL_STATUS_SENT_MLD;
usr.sbin/mopd/mopd/process.c
325
if (dle->status != DL_STATUS_FREE) {
usr.sbin/mopd/mopd/process.c
345
if (dle->status == DL_STATUS_SENT_PLT) {
usr.sbin/mopd/mopd/process.c
348
dle->status = DL_STATUS_FREE;
usr.sbin/mopd/mopd/process.c
399
dle->status = DL_STATUS_SENT_PLT;
usr.sbin/mopd/mopd/process.c
401
dle->status = DL_STATUS_FREE;
usr.sbin/moused/moused.c
2764
static k_status status = S_IDLE;
usr.sbin/moused/moused.c
2796
status = S_IDLE;
usr.sbin/moused/moused.c
2797
else if (status == S_IDLE) { /* pen is newly near the tablet */
usr.sbin/moused/moused.c
2799
status = S_PROXY;
usr.sbin/mrouted/rsrr.c
235
vif_list[vifi].status = 0;
usr.sbin/mrouted/rsrr.c
237
BIT_SET(vif_list[vifi].status,RSRR_DISABLED_BIT);
usr.sbin/mrouted/rsrr.h
111
u_short status; /* vif status bitmask */
usr.sbin/mrouted/snmp.c
47
int status;
usr.sbin/mtree/mtree.c
303
status = mtree_specspec(spec1, spec2);
usr.sbin/mtree/mtree.c
305
status = verify(spec1);
usr.sbin/mtree/mtree.c
306
if (Uflag && (status == MISMATCHEXIT))
usr.sbin/mtree/mtree.c
307
status = 0;
usr.sbin/mtree/mtree.c
308
exit(status);
usr.sbin/mtree/mtree.c
81
int ch, status;
usr.sbin/powerd/powerd.c
190
int status;
usr.sbin/powerd/powerd.c
223
if (waitpid(pid, &status, 0) == -1) {
usr.sbin/powerd/powerd.c
229
if (WIFEXITED(status) &&
usr.sbin/powerd/powerd.c
230
WEXITSTATUS(status) != 0) {
usr.sbin/powerd/powerd.c
233
path, WEXITSTATUS(status));
usr.sbin/powerd/powerd.c
234
} else if (!WIFEXITED(status)) {
usr.sbin/pstat/pstat.c
687
int status;
usr.sbin/pstat/pstat.c
723
status = sysctl(mib, 2, vnodebase, ©size, NULL, 0);
usr.sbin/pstat/pstat.c
724
if (status == -1 && errno != ENOMEM)
usr.sbin/pstat/pstat.c
733
(status == 0 ? "" : ", and errno = ENOMEM"));
usr.sbin/rpc.lockd/lockd_lock.c
102
int status; /* lock status, see below */
usr.sbin/rpc.lockd/lockd_lock.c
189
if (fl->status != LKST_LOCKED)
usr.sbin/rpc.lockd/lockd_lock.c
277
newfl->status = 0;
usr.sbin/rpc.lockd/lockd_lock.c
289
switch(fl->status) {
usr.sbin/rpc.lockd/lockd_lock.c
302
fl->status);
usr.sbin/rpc.lockd/lockd_lock.c
319
newfl->status = LKST_WAITING;
usr.sbin/rpc.lockd/lockd_lock.c
380
"status %d", lck->caller_name, lck->svid, fl->status);
usr.sbin/rpc.lockd/lockd_lock.c
381
switch (fl->status) {
usr.sbin/rpc.lockd/lockd_lock.c
395
fl->status = LKST_DYING;
usr.sbin/rpc.lockd/lockd_lock.c
402
fl->status, fl->client_name);
usr.sbin/rpc.lockd/lockd_lock.c
482
pid, fl->status);
usr.sbin/rpc.lockd/lockd_lock.c
483
switch(fl->status) {
usr.sbin/rpc.lockd/lockd_lock.c
485
fl->status = LKST_LOCKED;
usr.sbin/rpc.lockd/lockd_lock.c
494
" child %d", fl->status, pid);
usr.sbin/rpc.lockd/lockd_lock.c
574
fl->status = LKST_PROCESSING;
usr.sbin/rpc.lockd/lockd_lock.c
605
fl->status = LKST_LOCKED;
usr.sbin/rpc.lockd/lockd_lock.c
712
if (fl->status != LKST_WAITING ||
usr.sbin/rpc.lockd/lockd_lock.c
824
fl->status, fl->nsm_status);
usr.sbin/rpc.lockd/lockd_lock.c
825
switch(fl->status) {
usr.sbin/rpc.lockd/lockd_lock.c
838
fl->status = LKST_DYING;
usr.sbin/rpc.lockd/lockd_lock.c
844
fl->status, fl->client_name);
usr.sbin/rpc.pcnfsd/pcnfsd_misc.c
466
int pid, status;
usr.sbin/rpc.pcnfsd/pcnfsd_misc.c
473
while ((pid = wait(&status)) != child_pid && pid != -1);
usr.sbin/rpc.pcnfsd/pcnfsd_misc.c
474
return (pid == -1 ? -1 : status);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
1025
strlcpy(status, cp, statuslen);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
695
curr->status = strdup("");
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
794
curr->status = strdup(rank);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
820
if (curr->status)
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
821
free(curr->status);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
883
get_pr_status(printername pn, bool_t *avail, bool_t *printing, int *qlen, bool_t *needs_operator, char *status, size_t statuslen)
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
896
*status = '\0';
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
922
strlcpy(status, "printing", statuslen);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
925
strlcpy(status, "idle", statuslen);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
941
get_pr_status(printername pn, bool_t *avail, bool_t *printing, int *qlen, bool_t *needs_operator, char *status, size_t statuslen)
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
959
*status = '\0';
usr.sbin/rpc.pcnfsd/pcnfsd_test.c
392
curr->status);
usr.sbin/rpc.pcnfsd/pcnfsd_test.c
419
if(curr->status)
usr.sbin/rpc.pcnfsd/pcnfsd_test.c
420
free(curr->status);
usr.sbin/rpc.pcnfsd/pcnfsd_test.c
460
printf("qlen = %d, status = '%s'\n", rp->qlen, rp->status);
usr.sbin/rpc.pcnfsd/pcnfsd_test.c
465
if(rp->status)
usr.sbin/rpc.pcnfsd/pcnfsd_test.c
466
free(rp->status);
usr.sbin/rpc.pcnfsd/pcnfsd_v2.c
224
static char status[128];
usr.sbin/rpc.pcnfsd/pcnfsd_v2.c
227
&res.qlen, &res.needs_operator, &status[0], sizeof(status));
usr.sbin/rpc.pcnfsd/pcnfsd_v2.c
228
res.status = &status[0];
usr.sbin/rpc.statd/stat_proc.c
305
status tx_arg; /* arg sent to callback procedure */
usr.sbin/rpcbind/rpcbind.c
287
int status; /* bound checking ? */
usr.sbin/rpcbind/rpcbind.c
690
status = add_bndlist(nconf, &taddr.addr);
usr.sbin/rpcbind/rpcbind.c
693
if (status < 0) {
usr.sbin/rpcbind/rpcbind.c
696
} else if (status == 0) {
usr.sbin/rpcbind/rpcbind.c
699
} else if (status > 0) {
usr.sbin/rpcbind/rpcbind.c
705
__USE(status);
usr.sbin/rpcbind/rpcbind.c
711
status = create_rmtcall_fd(nconf);
usr.sbin/rpcbind/rpcbind.c
715
if (status < 0) {
usr.sbin/rpcbind/rpcbind.c
721
nconf->nc_netid, status);
usr.sbin/sysinst/configmenu.c
404
int status = SET_RETRY;
usr.sbin/sysinst/configmenu.c
407
status = get_pkgsrc();
usr.sbin/sysinst/configmenu.c
408
if (status == SET_OK) {
usr.sbin/sysinst/configmenu.c
409
status = extract_file(&dist, 0);
usr.sbin/sysinst/configmenu.c
411
} else if (status == SET_SKIP) {
usr.sbin/sysinst/configmenu.c
420
while (status == SET_RETRY);
usr.sbin/sysinst/net.c
541
int pid, status;
usr.sbin/sysinst/net.c
863
wait4(pid, &status, WNOHANG, 0);
usr.sbin/sysinst/run.c
414
int status, master, slave;
usr.sbin/sysinst/run.c
572
pid = wait4(child, &status, WNOHANG, 0);
usr.sbin/sysinst/run.c
573
if (pid == child && (WIFEXITED(status) || WIFSIGNALED(status)))
usr.sbin/sysinst/run.c
587
if (WIFEXITED(status)) {
usr.sbin/sysinst/run.c
589
return WEXITSTATUS(status);
usr.sbin/sysinst/run.c
591
if (WIFSIGNALED(status)) {
usr.sbin/sysinst/run.c
593
return WTERMSIG(status);
usr.sbin/sysinst/util.c
1475
int status;
usr.sbin/sysinst/util.c
1503
status = SET_RETRY;
usr.sbin/sysinst/util.c
1514
if (status != SET_OK) {
usr.sbin/sysinst/util.c
1527
process_menu(MENU_distmedium, &status);
usr.sbin/sysinst/util.c
1528
} while (status == SET_RETRY);
usr.sbin/sysinst/util.c
1530
if (status == SET_SKIP) {
usr.sbin/sysinst/util.c
1535
if (status == SET_SKIP_GROUP) {
usr.sbin/sysinst/util.c
1536
skip_set(dist, status);
usr.sbin/sysinst/util.c
1539
if (status != SET_OK) {
usr.sbin/sysinst/util.c
1549
status = extract_file(dist, update);
usr.sbin/sysinst/util.c
1550
if (status == SET_RETRY) {
usr.sbin/sysinst/util.c
355
int status;
usr.sbin/sysinst/util.c
366
process_menu(menu, &status);
usr.sbin/sysinst/util.c
367
if (status != SET_CONTINUE)
usr.sbin/sysinst/util.c
368
return status;
usr.sbin/syslogd/syslogd.c
2749
int status;
usr.sbin/syslogd/syslogd.c
2753
while ((pid = wait3(&status, WNOHANG, NULL)) > 0) {
usr.sbin/syslogd/syslogd.c
2771
log_deadchild(pid, status,
usr.sbin/syslogd/syslogd.c
4288
int status;
usr.sbin/syslogd/syslogd.c
4296
if (waitpid(pid, &status, WNOHANG) > 0)
usr.sbin/syslogd/syslogd.c
4297
log_deadchild(pid, status, name);
usr.sbin/syslogd/syslogd.c
4329
log_deadchild(pid_t pid, int status, const char *name)
usr.sbin/syslogd/syslogd.c
4337
if (WIFSIGNALED(status)) {
usr.sbin/syslogd/syslogd.c
4339
code = WTERMSIG(status);
usr.sbin/syslogd/syslogd.c
4342
code = WEXITSTATUS(status);
usr.sbin/timed/timed/globals.h
132
long status;
usr.sbin/timed/timed/globals.h
142
extern int status;
usr.sbin/timed/timed/master.c
123
if (ntp->status == IGNORE
usr.sbin/timed/timed/master.c
124
|| ntp->status == NOMASTER) {
usr.sbin/timed/timed/master.c
126
if (ntp->status == MASTER) {
usr.sbin/timed/timed/master.c
131
if (ntp->status == MASTER
usr.sbin/timed/timed/master.c
183
if (!fromnet || fromnet->status != MASTER)
usr.sbin/timed/timed/master.c
229
if (fromnet->status == MASTER) {
usr.sbin/timed/timed/master.c
251
if (!fromnet || fromnet->status != MASTER)
usr.sbin/timed/timed/master.c
283
if (!fromnet || fromnet->status != MASTER)
usr.sbin/timed/timed/master.c
298
if (!fromnet || fromnet->status != MASTER
usr.sbin/timed/timed/master.c
438
if (!(status & SLAVE)) {
usr.sbin/timed/timed/master.c
445
if (trace && (mydelta != 0 || (status & SLAVE)))
usr.sbin/timed/timed/master.c
732
if (!fromnet || fromnet->status != MASTER)
usr.sbin/timed/timed/master.c
773
if (fromnet->status == MASTER) {
usr.sbin/timed/timed/master.c
785
fromnet->status = NOMASTER;
usr.sbin/timed/timed/master.c
787
fromnet->status = SLAVE;
usr.sbin/timed/timed/master.c
90
if (ntp->status == MASTER)
usr.sbin/timed/timed/readmsg.c
301
else if (fromnet->status == MASTER)
usr.sbin/timed/timed/readmsg.c
303
else if (fromnet->status == SLAVE)
usr.sbin/timed/timed/slave.c
119
if (ntp->status == IGNORE
usr.sbin/timed/timed/slave.c
120
|| ntp->status == NOMASTER) {
usr.sbin/timed/timed/slave.c
122
if (ntp->status == MASTER) {
usr.sbin/timed/timed/slave.c
124
} else if (ntp->status == MASTER) {
usr.sbin/timed/timed/slave.c
125
ntp->status = NOMASTER;
usr.sbin/timed/timed/slave.c
128
if (ntp->status == MASTER
usr.sbin/timed/timed/slave.c
142
if (ntp->status == MASTER) {
usr.sbin/timed/timed/slave.c
192
|| fromnet->status == IGNORE
usr.sbin/timed/timed/slave.c
193
|| fromnet->status == NOMASTER) {
usr.sbin/timed/timed/slave.c
278
if (status & MASTER)
usr.sbin/timed/timed/slave.c
326
if (fromnet->status != SLAVE)
usr.sbin/timed/timed/slave.c
339
if (fromnet->status != MASTER)
usr.sbin/timed/timed/slave.c
372
if (fromnet->status == SLAVE) {
usr.sbin/timed/timed/slave.c
419
if (fromnet->status != MASTER)
usr.sbin/timed/timed/slave.c
492
if (!(status & MASTER))
usr.sbin/timed/timed/slave.c
494
if (fromnet->status == SLAVE) {
usr.sbin/timed/timed/slave.c
532
if (ntp->status == MASTER)
usr.sbin/timed/timed/slave.c
599
|| old_status != status)) {
usr.sbin/timed/timed/slave.c
602
old_status = status;
usr.sbin/timed/timed/slave.c
604
if (status & MASTER) {
usr.sbin/timed/timed/slave.c
97
if (status & MASTER) {
usr.sbin/timed/timed/slave.c
99
if (ntp->status == MASTER)
usr.sbin/timed/timed/timed.c
283
ntp->status = NOMASTER;
usr.sbin/timed/timed/timed.c
363
slavenet->status = election(slavenet);
usr.sbin/timed/timed/timed.c
364
if (!slavenet || slavenet->status == MASTER) {
usr.sbin/timed/timed/timed.c
380
if (!(status & MASTER) && sock_raw != -1) {
usr.sbin/timed/timed/timed.c
386
if (status == MASTER)
usr.sbin/timed/timed/timed.c
402
if (ntp->status == MASTER) {
usr.sbin/timed/timed/timed.c
404
ntp->status = NOMASTER;
usr.sbin/timed/timed/timed.c
454
ntp->status = SLAVE;
usr.sbin/timed/timed/timed.c
463
ntp->status = NOMASTER;
usr.sbin/timed/timed/timed.c
480
ntp->status = NOMASTER;
usr.sbin/timed/timed/timed.c
490
ntp->status = NOMASTER;
usr.sbin/timed/timed/timed.c
500
ntp->status = NOMASTER;
usr.sbin/timed/timed/timed.c
506
ntp->status = MASTER;
usr.sbin/timed/timed/timed.c
508
ntp->status = NOMASTER;
usr.sbin/timed/timed/timed.c
512
ntp->status = SLAVE;
usr.sbin/timed/timed/timed.c
549
status = 0;
usr.sbin/timed/timed/timed.c
554
switch ((int)ntp->status) {
usr.sbin/timed/timed/timed.c
568
switch ((int)ntp->status) {
usr.sbin/timed/timed/timed.c
583
(int)ntp->status);
usr.sbin/timed/timed/timed.c
588
status |= ntp->status;
usr.sbin/timed/timed/timed.c
590
status &= ~IGNORE;
usr.sbin/timed/timed/timed.c
603
if (ntp->status == SLAVE && ntp != net)
usr.sbin/timed/timed/timed.c
604
ntp->status = IGNORE;
usr.sbin/timed/timed/timed.c
618
if (!Mflag && ntp->status == SLAVE)
usr.sbin/timed/timed/timed.c
621
if (ntp->status == IGNORE || ntp->status == NOMASTER) {
usr.sbin/timed/timed/timed.c
623
if (!Mflag && ntp->status == SLAVE)
usr.sbin/timed/timed/timed.c
637
if (slavenet != 0 && slavenet->status == SLAVE) {
usr.sbin/timed/timed/timed.c
642
if (ntp == 0 || ntp->status != SLAVE) {
usr.sbin/timed/timed/timed.c
644
if (ntp->status == SLAVE)
usr.sbin/timed/timed/timed.c
66
int status = 0;
usr.sbin/tprof/tprof.c
496
int status;
usr.sbin/tprof/tprof.c
498
pid = wait4(-1, &status, 0, NULL);
usr.sbin/tprof/tprof.c
505
if (pid != 0 && WIFEXITED(status)) {
usr.sbin/tprof/tprof_top.c
283
die_errc(int status, int code, const char *fmt, ...)
usr.sbin/tprof/tprof_top.c
291
verrx(status, fmt, ap);
usr.sbin/tprof/tprof_top.c
293
verrc(status, code, fmt, ap);
usr.sbin/umcpmioctl/umcpmioctl.c
49
usage(int status)
usr.sbin/umcpmioctl/umcpmioctl.c
96
exit(status);
usr.sbin/wsmoused/wsmoused.c
253
int status;
usr.sbin/wsmoused/wsmoused.c
266
status = ioctl(Mouse.m_devfd, WSMOUSEIO_SETVERSION, &version);
usr.sbin/wsmoused/wsmoused.c
267
if (status == -1)
usr.sbin/wsmoused/wsmoused.c
277
status = ioctl(Mouse.m_devfd, WSMOUSEIO_GTYPE, &mouse_type);
usr.sbin/wsmoused/wsmoused.c
278
if (status == -1) {
usr.sbin/wsmoused/wsmoused.c
287
status = ioctl(Mouse.m_devfd, WSMOUSEIO_GCALIBCOORDS, &Mouse.m_calib);
usr.sbin/wsmoused/wsmoused.c
288
if (status == -1) {
usr.sbin/yppoll/yppoll.c
206
r = ypprot_err(ypro.status);
usr.sbin/yppoll/yppoll.c
214
r = ypprot_err(yprm.status);
usr.sbin/ypserv/common/ypdb.c
191
int status;
usr.sbin/ypserv/common/ypdb.c
195
status = (db->get)(db, &nk, &nd, 0);
usr.sbin/ypserv/common/ypdb.c
196
if (status) {
usr.sbin/ypserv/common/ypdb.c
215
int status;
usr.sbin/ypserv/common/ypdb.c
219
status = (db->seq)(db, &nk, &nd, R_FIRST);
usr.sbin/ypserv/common/ypdb.c
220
if (status) {
usr.sbin/ypserv/common/ypdb.c
239
int status;
usr.sbin/ypserv/common/ypdb.c
243
status = (db->seq)(db, &nk, &nd, R_NEXT);
usr.sbin/ypserv/common/ypdb.c
244
if (status) {
usr.sbin/ypserv/common/ypdb.c
263
int status;
usr.sbin/ypserv/common/ypdb.c
268
status = (db->seq)(db, &nk, &nd, R_CURSOR);
usr.sbin/ypserv/common/ypdb.c
269
if (status) {
usr.sbin/ypserv/common/ypdb.c
285
int status;
usr.sbin/ypserv/common/ypdb.c
290
status = (db->del)(db, &nk, 0);
usr.sbin/ypserv/common/ypdb.c
291
if (status)
usr.sbin/ypserv/common/yplib_host.c
149
if(!(r=ypprot_err(yprv.status)) ) {
usr.sbin/ypserv/common/yplib_host.c
179
if(!(r=ypprot_err(yprkv.status)) ) {
usr.sbin/ypserv/common/yplib_host.c
216
if(!(r=ypprot_err(yprkv.status)) ) {
usr.sbin/ypserv/common/yplib_host.c
235
int status;
usr.sbin/ypserv/common/yplib_host.c
240
status = clnt_call(client, YPPROC_ALL, xdr_ypreq_nokey, &yprnk,
usr.sbin/ypserv/common/yplib_host.c
243
if (status != RPC_SUCCESS)
usr.sbin/ypserv/common/yplib_host.c
268
return ypprot_err(ypro.status);
usr.sbin/ypserv/common/yplib_host.c
288
if (!(r = ypprot_err(yprm.status))) {
usr.sbin/ypserv/common/yplib_host.c
310
return ypprot_err(ypml.status);
usr.sbin/ypserv/makedbm/makedbm.c
149
int status;
usr.sbin/ypserv/makedbm/makedbm.c
162
status = ypdb_store(db, key, val, YPDB_INSERT);
usr.sbin/ypserv/makedbm/makedbm.c
164
if (status != 0) {
usr.sbin/ypserv/mkalias/mkalias.c
101
int status;
usr.sbin/ypserv/mkalias/mkalias.c
110
status = res_search(host, C_IN, T_AAAA, answer, sizeof(answer));
usr.sbin/ypserv/mkalias/mkalias.c
112
if (status == -1)
usr.sbin/ypserv/mkalias/mkalias.c
113
status = res_search(host, C_IN, T_A, answer, sizeof(answer));
usr.sbin/ypserv/mkalias/mkalias.c
115
if ((status == -1) && Eflag)
usr.sbin/ypserv/mkalias/mkalias.c
116
status = res_search(host, C_IN, T_MX, answer, sizeof(answer));
usr.sbin/ypserv/mkalias/mkalias.c
118
return(status == -1);
usr.sbin/ypserv/mkalias/mkalias.c
162
int status;
usr.sbin/ypserv/mkalias/mkalias.c
278
status = ypdb_store(new_db, val, key, YPDB_INSERT);
usr.sbin/ypserv/mkalias/mkalias.c
279
if (status != 0) {
usr.sbin/ypserv/mkalias/mkalias.c
301
status = ypdb_store(new_db, key, val, YPDB_INSERT);
usr.sbin/ypserv/mkalias/mkalias.c
302
if (status != 0)
usr.sbin/ypserv/mkalias/mkalias.c
314
status = ypdb_store(new_db, key, val, YPDB_INSERT);
usr.sbin/ypserv/mkalias/mkalias.c
315
if (status != 0)
usr.sbin/ypserv/yppush/yppush_proc.c
60
if (resp->status != YPPUSH_SUCC)
usr.sbin/ypserv/yppush/yppush_proc.c
61
warnx("%s", yppush_err_string(resp->status));
usr.sbin/ypserv/ypserv/ypserv_db.c
236
ypdb_open_db(const char *domain, const char *map, u_int *status,
usr.sbin/ypserv/ypserv/ypserv_db.c
248
*status = YP_TRUE; /* defaults to true */
usr.sbin/ypserv/ypserv/ypserv_db.c
254
*status = YP_NODOM;
usr.sbin/ypserv/ypserv/ypserv_db.c
258
*status = YP_NOMAP;
usr.sbin/ypserv/ypserv/ypserv_db.c
271
*status = YP_NODOM;
usr.sbin/ypserv/ypserv/ypserv_db.c
281
*status = YP_NOMAP;
usr.sbin/ypserv/ypserv/ypserv_db.c
314
if (*status != YP_TRUE) {
usr.sbin/ypserv/ypserv/ypserv_db.c
319
yperr_string(ypprot_err(*status)));
usr.sbin/ypserv/ypserv/ypserv_db.c
348
if (*status != YP_TRUE)
usr.sbin/ypserv/ypserv/ypserv_db.c
373
*status = YP_NOMAP; /* see note below */
usr.sbin/ypserv/ypserv/ypserv_db.c
447
*status = YP_TRUE;
usr.sbin/ypserv/ypserv/ypserv_db.c
564
db = ypdb_open_db(domain, map, &res.status, &map_info);
usr.sbin/ypserv/ypserv/ypserv_db.c
565
if (db == NULL || (int)res.status < 0)
usr.sbin/ypserv/ypserv/ypserv_db.c
575
res.status = YP_NOKEY;
usr.sbin/ypserv/ypserv/ypserv_db.c
581
res.status = YP_NOKEY;
usr.sbin/ypserv/ypserv/ypserv_db.c
588
res.status = lookup_host((hn == 0) ? TRUE : FALSE,
usr.sbin/ypserv/ypserv/ypserv_db.c
609
db = ypdb_open_db(domain, map, &res.status, NULL);
usr.sbin/ypserv/ypserv/ypserv_db.c
611
if (db != NULL && (int)res.status >= 0) {
usr.sbin/ypserv/ypserv/ypserv_db.c
618
res.status = YP_NOKEY;
usr.sbin/ypserv/ypserv/ypserv_db.c
624
res.status = YP_NOKEY;
usr.sbin/ypserv/ypserv/ypserv_db.c
647
db = ypdb_open_db(domain, map, &res.status, NULL);
usr.sbin/ypserv/ypserv/ypserv_db.c
649
if (db != NULL && (int)res.status >= 0) {
usr.sbin/ypserv/ypserv/ypserv_db.c
669
res.status = YP_NOMORE;
usr.sbin/ypserv/ypserv/ypserv_db.c
675
res.status = YP_NOMORE;
usr.sbin/ypserv/ypserv/ypserv_db.c
700
db = ypdb_open_db(domain, map, &res.status, NULL);
usr.sbin/ypserv/ypserv/ypserv_db.c
702
if (db != NULL && (int)res.status >= 0) {
usr.sbin/ypserv/ypserv/ypserv_db.c
708
res.status = YP_NOKEY;
usr.sbin/ypserv/ypserv/ypserv_db.c
732
db = ypdb_open_db(domain, map, &res.status, NULL);
usr.sbin/ypserv/ypserv/ypserv_db.c
734
if (db != NULL && (int)res.status >= 0) {
usr.sbin/ypserv/ypserv/ypserv_db.c
740
res.status = YP_NOKEY;
usr.sbin/ypserv/ypserv/ypserv_db.c
766
&resp.ypresp_all_u.val.status, NULL);
usr.sbin/ypserv/ypserv/ypserv_db.c
768
if (db == NULL || (int)resp.ypresp_all_u.val.status < 0)
usr.sbin/ypserv/ypserv/ypserv_db.c
785
resp.ypresp_all_u.val.status = YP_TRUE;
usr.sbin/ypserv/ypserv/ypserv_db.c
806
resp.ypresp_all_u.val.status = YP_NOKEY;
usr.sbin/ypserv/ypserv/ypserv_db.c
828
u_int status;
usr.sbin/ypserv/ypserv/ypserv_db.c
833
db = ypdb_open_db(domain, map, &status, &map_info);
usr.sbin/ypserv/ypserv/ypserv_db.c
834
if (db == NULL || (int)status < 0)
usr.sbin/ypserv/ypserv/ypserv_proc.c
168
res.status = YP_YPERR;
usr.sbin/ypserv/ypserv/ypserv_proc.c
196
res.status = YP_YPERR;
usr.sbin/ypserv/ypserv/ypserv_proc.c
225
res.status = YP_YPERR;
usr.sbin/ypserv/ypserv/ypserv_proc.c
333
res.ypresp_all_u.val.status = YP_YPERR;
usr.sbin/ypserv/ypserv/ypserv_proc.c
377
res.status = YP_YPERR;
usr.sbin/ypserv/ypserv/ypserv_proc.c
419
res.status = YP_YPERR;
usr.sbin/ypserv/ypserv/ypserv_proc.c
422
res.status = YP_NOMAP;
usr.sbin/ypserv/ypserv/ypserv_proc.c
440
u_int status;
usr.sbin/ypserv/ypserv/ypserv_proc.c
458
status = YP_TRUE;
usr.sbin/ypserv/ypserv/ypserv_proc.c
461
status = YP_NODOM;
usr.sbin/ypserv/ypserv/ypserv_proc.c
466
status = YP_NODOM;
usr.sbin/ypserv/ypserv/ypserv_proc.c
489
status = YP_YPERR;
usr.sbin/ypserv/ypserv/ypserv_proc.c
504
res.status = status;
usr.sbin/ypserv/yptest/yptest.c
135
yptest_foreach(int status, char *key, int keylen, char *val, int vallen,
usr.sbin/ypserv/yptest/yptest.c
139
if (status == YP_NOMORE)
usr.sbin/ypserv/ypxfr/ypxfr.c
149
status = YPPUSH_BADARGS;
usr.sbin/ypserv/ypxfr/ypxfr.c
175
status = get_local_ordernum(domain, map, &ordernum);
usr.sbin/ypserv/ypxfr/ypxfr.c
176
if (status < 0)
usr.sbin/ypserv/ypxfr/ypxfr.c
186
status = yp_master(domain, map, &host);
usr.sbin/ypserv/ypxfr/ypxfr.c
188
status = yp_master(srcdomain, map, &host);
usr.sbin/ypserv/ypxfr/ypxfr.c
190
if (status == 0)
usr.sbin/ypserv/ypxfr/ypxfr.c
191
status = YPPUSH_SUCC;
usr.sbin/ypserv/ypxfr/ypxfr.c
193
status = YPPUSH_MADDR;
usr.sbin/ypserv/ypxfr/ypxfr.c
204
status = get_remote_ordernum(client, domain, map, ordernum,
usr.sbin/ypserv/ypxfr/ypxfr.c
208
if (status == YPPUSH_SUCC) {
usr.sbin/ypserv/ypxfr/ypxfr.c
212
status = YPPUSH_DBM;
usr.sbin/ypserv/ypxfr/ypxfr.c
215
if (status > 0)
usr.sbin/ypserv/ypxfr/ypxfr.c
216
status = add_order(db, new_ordernum);
usr.sbin/ypserv/ypxfr/ypxfr.c
219
if (status > 0)
usr.sbin/ypserv/ypxfr/ypxfr.c
220
status = add_master(client, domain, map, db);
usr.sbin/ypserv/ypxfr/ypxfr.c
223
if (status > 0)
usr.sbin/ypserv/ypxfr/ypxfr.c
224
status = add_interdomain(client, domain, map, db);
usr.sbin/ypserv/ypxfr/ypxfr.c
227
if (status > 0)
usr.sbin/ypserv/ypxfr/ypxfr.c
228
status = add_secure(client, domain, map, db);
usr.sbin/ypserv/ypxfr/ypxfr.c
230
if (status > 0) {
usr.sbin/ypserv/ypxfr/ypxfr.c
240
if (status > 0)
usr.sbin/ypserv/ypxfr/ypxfr.c
241
status = install_db(domain, map, temp_map);
usr.sbin/ypserv/ypxfr/ypxfr.c
247
xfr_status = status;
usr.sbin/ypserv/ypxfr/ypxfr.c
255
status = send_clear(client);
usr.sbin/ypserv/ypxfr/ypxfr.c
262
status = send_reply(client, xfr_status, atoi(tid));
usr.sbin/ypserv/ypxfr/ypxfr.c
294
ypxfr_foreach(int status, char *keystr, int keylen, char *valstr,
usr.sbin/ypserv/ypxfr/ypxfr.c
299
if (status == YP_NOMORE)
usr.sbin/ypserv/ypxfr/ypxfr.c
326
unsigned int status;
usr.sbin/ypserv/ypxfr/ypxfr.c
328
status = YPPUSH_SUCC;
usr.sbin/ypserv/ypxfr/ypxfr.c
336
status = YPPUSH_NODOM;
usr.sbin/ypserv/ypxfr/ypxfr.c
344
status = YPPUSH_NOMAP;
usr.sbin/ypserv/ypxfr/ypxfr.c
353
status = YPPUSH_DBM;
usr.sbin/ypserv/ypxfr/ypxfr.c
372
if ((status == YPPUSH_NOMAP) || (status == YPPUSH_DBM)) {
usr.sbin/ypserv/ypxfr/ypxfr.c
374
status = YPPUSH_SUCC;
usr.sbin/ypserv/ypxfr/ypxfr.c
377
return (status);
usr.sbin/ypserv/ypxfr/ypxfr.c
384
int status;
usr.sbin/ypserv/ypxfr/ypxfr.c
386
status = yp_order_host(client, domain, map, (int *)rordernum);
usr.sbin/ypserv/ypxfr/ypxfr.c
388
if (status == 0) {
usr.sbin/ypserv/ypxfr/ypxfr.c
390
status = YPPUSH_AGE;
usr.sbin/ypserv/ypxfr/ypxfr.c
392
status = YPPUSH_SUCC;
usr.sbin/ypserv/ypxfr/ypxfr.c
394
status = yperr2yppush(status);
usr.sbin/ypserv/ypxfr/ypxfr.c
397
return status;
usr.sbin/ypserv/ypxfr/ypxfr.c
456
int status;
usr.sbin/ypserv/ypxfr/ypxfr.c
466
status = ypdb_store(ldb, key, val, YPDB_INSERT);
usr.sbin/ypserv/ypxfr/ypxfr.c
467
if(status >= 0)
usr.sbin/ypserv/ypxfr/ypxfr.c
468
status = YPPUSH_SUCC;
usr.sbin/ypserv/ypxfr/ypxfr.c
470
status = YPPUSH_DBM;
usr.sbin/ypserv/ypxfr/ypxfr.c
472
return (status);
usr.sbin/ypserv/ypxfr/ypxfr.c
480
int status;
usr.sbin/ypserv/ypxfr/ypxfr.c
486
status = yp_master_host(client, domain, map, &master);
usr.sbin/ypserv/ypxfr/ypxfr.c
495
status = ypdb_store(ldb, key, val, YPDB_INSERT);
usr.sbin/ypserv/ypxfr/ypxfr.c
496
if (status >= 0)
usr.sbin/ypserv/ypxfr/ypxfr.c
497
status = YPPUSH_SUCC;
usr.sbin/ypserv/ypxfr/ypxfr.c
499
status = YPPUSH_DBM;
usr.sbin/ypserv/ypxfr/ypxfr.c
501
status = yperr2yppush(status);
usr.sbin/ypserv/ypxfr/ypxfr.c
504
return status;
usr.sbin/ypserv/ypxfr/ypxfr.c
513
int status;
usr.sbin/ypserv/ypxfr/ypxfr.c
520
status = yp_match_host(client, domain, map,
usr.sbin/ypserv/ypxfr/ypxfr.c
523
if (status == YPERR_KEY) {
usr.sbin/ypserv/ypxfr/ypxfr.c
525
status = YPPUSH_SUCC;
usr.sbin/ypserv/ypxfr/ypxfr.c
526
} else if (status == 0 && value) {
usr.sbin/ypserv/ypxfr/ypxfr.c
531
status = ypdb_store(ldb, k, v, YPDB_INSERT);
usr.sbin/ypserv/ypxfr/ypxfr.c
532
if (status >= 0)
usr.sbin/ypserv/ypxfr/ypxfr.c
533
status = YPPUSH_SUCC;
usr.sbin/ypserv/ypxfr/ypxfr.c
535
status = YPPUSH_DBM;
usr.sbin/ypserv/ypxfr/ypxfr.c
538
status = yperr2yppush(status);
usr.sbin/ypserv/ypxfr/ypxfr.c
541
return status;
usr.sbin/ypserv/ypxfr/ypxfr.c
550
int status;
usr.sbin/ypserv/ypxfr/ypxfr.c
557
status = yp_match_host(client, domain, map,
usr.sbin/ypserv/ypxfr/ypxfr.c
560
if (status == YPERR_KEY) {
usr.sbin/ypserv/ypxfr/ypxfr.c
562
status = YPPUSH_SUCC;
usr.sbin/ypserv/ypxfr/ypxfr.c
563
} else if (status == 0 && value != 0) {
usr.sbin/ypserv/ypxfr/ypxfr.c
568
status = ypdb_store(ldb, k, v, YPDB_INSERT);
usr.sbin/ypserv/ypxfr/ypxfr.c
569
if (status >= 0)
usr.sbin/ypserv/ypxfr/ypxfr.c
570
status = YPPUSH_SUCC;
usr.sbin/ypserv/ypxfr/ypxfr.c
572
status = YPPUSH_DBM;
usr.sbin/ypserv/ypxfr/ypxfr.c
575
status = yperr2yppush(status);
usr.sbin/ypserv/ypxfr/ypxfr.c
578
return status;
usr.sbin/ypserv/ypxfr/ypxfr.c
586
int status;
usr.sbin/ypserv/ypxfr/ypxfr.c
588
status = YPPUSH_SUCC;
usr.sbin/ypserv/ypxfr/ypxfr.c
597
status = YPPUSH_RPC;
usr.sbin/ypserv/ypxfr/ypxfr.c
600
return status;
usr.sbin/ypserv/ypxfr/ypxfr.c
604
send_reply(CLIENT *client, int status, int tid)
usr.sbin/ypserv/ypxfr/ypxfr.c
614
resp.xfrstat = status;
usr.sbin/ypserv/ypxfr/ypxfr.c
621
status = YPPUSH_RPC;
usr.sbin/ypserv/ypxfr/ypxfr.c
624
return status;
usr.sbin/ypserv/ypxfr/ypxfr.c
94
int status, xfr_status;
usr.sbin/ypserv/ypxfr/ypxfr.c
96
status = YPPUSH_SUCC;