crypto/krb5/src/kadmin/dbutil/kadm5_create.c
220
fret = OK;
crypto/openssl/providers/implementations/rands/seeding/rand_vxworks.c
114
while ((result != OK) && (retryCount < 10)) {
crypto/openssl/providers/implementations/rands/seeding/rand_vxworks.c
120
if (result == OK)
lib/libifconfig/libifconfig.c
398
} else if (h->error.errtype != OK) {
lib/libifconfig/libifconfig.c
70
h->error.errtype = OK;
lib/libifconfig/libifconfig_internal.c
107
h->error.errtype = OK;
lib/libifconfig/libifconfig_media.c
461
h->error.errtype = OK;
lib/libmd/i386/rmd160.S
36
#ifndef OK
share/examples/libifconfig/status.c
409
if (ifconfig_err_errtype(lifh) != OK) {
sys/cam/scsi/scsi_ses.h
1139
GEN_SES_STATUS_ARRAY_DEV_SLOT_ACCESSORS(ok, OK)
sys/dev/ath/if_ath.c
3762
sc->sc_updateslot = OK;
sys/dev/sfxge/common/mcdi_mon.c
65
MCDI_STATIC_SENSOR_ASSERT(OK);
tools/regression/capsicum/syscalls/misc.h
46
OK(); \
tools/regression/sockets/kqueue/kqueue.c
113
OK("EVFILT_READ, EV_ADD");
tools/regression/sockets/kqueue/kqueue.c
123
OK("EVFILT_READ");
tools/regression/sockets/kqueue/kqueue.c
127
OK("empty socket unreadable");
tools/regression/sockets/kqueue/kqueue.c
136
OK("write one byte");
tools/regression/sockets/kqueue/kqueue.c
139
OK("write one byte length");
tools/regression/sockets/kqueue/kqueue.c
149
OK("EVFILT_READ");
tools/regression/sockets/kqueue/kqueue.c
153
OK("non-empty socket unreadable");
tools/regression/sockets/kqueue/kqueue.c
161
OK("read one byte");
tools/regression/sockets/kqueue/kqueue.c
164
OK("read one byte length");
tools/regression/sockets/kqueue/kqueue.c
174
OK("EVFILT_READ");
tools/regression/sockets/kqueue/kqueue.c
178
OK("empty socket unreadable");
tools/regression/sockets/kqueue/kqueue.c
183
OK("EVFILT_READ, EV_DELETE");
tools/regression/sockets/kqueue/kqueue.c
198
OK("EVFILE_WRITE, EV_ADD");
tools/regression/sockets/kqueue/kqueue.c
208
OK("EVFILE_WRITE");
tools/regression/sockets/kqueue/kqueue.c
212
OK("empty socket unwritable");
tools/regression/sockets/kqueue/kqueue.c
221
OK("write");
tools/regression/sockets/kqueue/kqueue.c
224
OK("write length");
tools/regression/sockets/kqueue/kqueue.c
234
OK("EVFILT_WRITE");
tools/regression/sockets/kqueue/kqueue.c
238
OK("full socket writable");
tools/regression/sockets/kqueue/kqueue.c
243
OK("EVFILT_WRITE, EV_DELETE");
tools/regression/sockets/kqueue/kqueue.c
260
OK("kqueue()");
tools/regression/sockets/kqueue/kqueue.c
268
OK("socketpair() 1");
tools/regression/sockets/kqueue/kqueue.c
272
OK("fcntl() 1");
tools/regression/sockets/kqueue/kqueue.c
275
OK("fnctl() 2");
tools/regression/sockets/kqueue/kqueue.c
281
OK("close() 1");
tools/regression/sockets/kqueue/kqueue.c
284
OK("close() 2");
tools/regression/sockets/kqueue/kqueue.c
319
OK("socketpair() 2");
tools/regression/sockets/kqueue/kqueue.c
323
OK("fcntl() 3");
tools/regression/sockets/kqueue/kqueue.c
326
OK("fcntl() 4");
tools/regression/sockets/kqueue/kqueue.c
332
OK("close() 3");
tools/regression/sockets/kqueue/kqueue.c
335
OK("close() 4");
tools/regression/sockets/kqueue/kqueue.c
343
OK("socketpair() 3");
tools/regression/sockets/kqueue/kqueue.c
347
OK("fcntl() 5");
tools/regression/sockets/kqueue/kqueue.c
350
OK("fcntl() 6");
tools/regression/sockets/kqueue/kqueue.c
356
OK("close() 5");
tools/regression/sockets/kqueue/kqueue.c
359
OK("close() 6");
tools/regression/sockets/kqueue/kqueue.c
363
OK("close() 7");
usr.bin/talk/display.c
74
if (setcchar(&cc, wc, A_NORMAL, 0, NULL) != OK)
usr.sbin/bluetooth/bthidcontrol/bthidcontrol.c
130
return (OK);
usr.sbin/bluetooth/bthidcontrol/bthidcontrol.c
152
case OK:
usr.sbin/bluetooth/bthidcontrol/hid.c
58
e = OK;
usr.sbin/bluetooth/bthidcontrol/hid.c
78
e = OK;
usr.sbin/bluetooth/bthidcontrol/hid.c
97
e = OK;
usr.sbin/bluetooth/bthidcontrol/sdp.c
489
return (OK);
usr.sbin/bluetooth/hccontrol/hccontrol.c
195
return (OK);
usr.sbin/bluetooth/hccontrol/hccontrol.c
241
case OK:
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1038
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1077
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
108
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1102
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1140
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1172
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1210
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1235
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1273
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1318
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
133
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1364
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1389
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1427
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1451
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1489
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1512
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
1561
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
171
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
219
if (hci_send(s, (char const *) &cmd, sizeof(cmd)) != OK)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
226
if (hci_recv(s, (char *) &event, &n) != OK)
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
288
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
344
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
392
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
427
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
451
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
477
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
516
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
542
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
581
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
606
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
643
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
673
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
724
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
754
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
806
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
831
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
869
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
894
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
932
return (OK);
usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
997
return (OK);
usr.sbin/bluetooth/hccontrol/info.c
103
return (OK);
usr.sbin/bluetooth/hccontrol/info.c
132
return (OK);
usr.sbin/bluetooth/hccontrol/info.c
163
return (OK);
usr.sbin/bluetooth/hccontrol/info.c
188
return (OK);
usr.sbin/bluetooth/hccontrol/info.c
211
return (OK);
usr.sbin/bluetooth/hccontrol/info.c
71
return (OK);
usr.sbin/bluetooth/hccontrol/le.c
1048
return (OK);
usr.sbin/bluetooth/hccontrol/le.c
1132
return (OK);
usr.sbin/bluetooth/hccontrol/le.c
1187
return (OK);
usr.sbin/bluetooth/hccontrol/le.c
1233
return (OK);
usr.sbin/bluetooth/hccontrol/le.c
135
return (OK);
usr.sbin/bluetooth/hccontrol/le.c
171
return (OK);
usr.sbin/bluetooth/hccontrol/le.c
227
return (OK);
usr.sbin/bluetooth/hccontrol/le.c
257
return (OK);
usr.sbin/bluetooth/hccontrol/le.c
294
return (OK);
usr.sbin/bluetooth/hccontrol/le.c
317
return (OK);
usr.sbin/bluetooth/hccontrol/le.c
344
return (OK);
usr.sbin/bluetooth/hccontrol/le.c
371
return (OK);
usr.sbin/bluetooth/hccontrol/le.c
385
if (result != OK)
usr.sbin/bluetooth/hccontrol/le.c
388
if (result == OK) {
usr.sbin/bluetooth/hccontrol/le.c
390
return (OK);
usr.sbin/bluetooth/hccontrol/le.c
395
if (result == OK) {
usr.sbin/bluetooth/hccontrol/le.c
397
return (OK);
usr.sbin/bluetooth/hccontrol/le.c
433
return (OK);
usr.sbin/bluetooth/hccontrol/le.c
510
return (OK);
usr.sbin/bluetooth/hccontrol/le.c
535
return (OK);
usr.sbin/bluetooth/hccontrol/le.c
566
return (OK);
usr.sbin/bluetooth/hccontrol/le.c
624
return (OK);
usr.sbin/bluetooth/hccontrol/le.c
739
return (OK);
usr.sbin/bluetooth/hccontrol/le.c
795
return (OK);
usr.sbin/bluetooth/hccontrol/le.c
819
return (OK);
usr.sbin/bluetooth/hccontrol/le.c
878
return (OK);
usr.sbin/bluetooth/hccontrol/le.c
937
return (OK);
usr.sbin/bluetooth/hccontrol/link_control.c
144
return (OK);
usr.sbin/bluetooth/hccontrol/link_control.c
287
return (OK);
usr.sbin/bluetooth/hccontrol/link_control.c
361
return (OK);
usr.sbin/bluetooth/hccontrol/link_control.c
442
return (OK);
usr.sbin/bluetooth/hccontrol/link_control.c
512
return (OK);
usr.sbin/bluetooth/hccontrol/link_control.c
603
return (OK);
usr.sbin/bluetooth/hccontrol/link_control.c
672
return (OK);
usr.sbin/bluetooth/hccontrol/link_control.c
744
return (OK);
usr.sbin/bluetooth/hccontrol/link_control.c
809
return (OK);
usr.sbin/bluetooth/hccontrol/link_policy.c
153
return (OK);
usr.sbin/bluetooth/hccontrol/link_policy.c
196
return (OK);
usr.sbin/bluetooth/hccontrol/link_policy.c
243
return (OK);
usr.sbin/bluetooth/hccontrol/link_policy.c
81
return (OK);
usr.sbin/bluetooth/hccontrol/node.c
105
return (OK);
usr.sbin/bluetooth/hccontrol/node.c
133
return (OK);
usr.sbin/bluetooth/hccontrol/node.c
148
return (OK);
usr.sbin/bluetooth/hccontrol/node.c
169
return (OK);
usr.sbin/bluetooth/hccontrol/node.c
191
return (OK);
usr.sbin/bluetooth/hccontrol/node.c
201
return (OK);
usr.sbin/bluetooth/hccontrol/node.c
211
return (OK);
usr.sbin/bluetooth/hccontrol/node.c
219
int n, error = OK;
usr.sbin/bluetooth/hccontrol/node.c
278
int n, error = OK;
usr.sbin/bluetooth/hccontrol/node.c
345
return (OK);
usr.sbin/bluetooth/hccontrol/node.c
372
return (OK);
usr.sbin/bluetooth/hccontrol/node.c
387
return (OK);
usr.sbin/bluetooth/hccontrol/node.c
414
return (OK);
usr.sbin/bluetooth/hccontrol/node.c
429
return (OK);
usr.sbin/bluetooth/hccontrol/node.c
456
return (OK);
usr.sbin/bluetooth/hccontrol/node.c
483
return (OK);
usr.sbin/bluetooth/hccontrol/node.c
58
return (OK);
usr.sbin/bluetooth/hccontrol/node.c
68
return (OK);
usr.sbin/bluetooth/hccontrol/node.c
83
return (OK);
usr.sbin/bluetooth/hccontrol/send_recv.c
121
return (OK);
usr.sbin/bluetooth/hccontrol/send_recv.c
142
return (OK);
usr.sbin/bluetooth/hccontrol/send_recv.c
183
return (OK);
usr.sbin/bluetooth/hccontrol/status.c
118
return (OK);
usr.sbin/bluetooth/hccontrol/status.c
160
return (OK);
usr.sbin/bluetooth/hccontrol/status.c
202
return (OK);
usr.sbin/bluetooth/hccontrol/status.c
79
return (OK);
usr.sbin/bluetooth/l2control/l2cap.c
104
return (OK);
usr.sbin/bluetooth/l2control/l2cap.c
126
return (OK);
usr.sbin/bluetooth/l2control/l2cap.c
141
int n, error = OK;
usr.sbin/bluetooth/l2control/l2cap.c
199
int n, error = OK;
usr.sbin/bluetooth/l2control/l2cap.c
251
return (OK);
usr.sbin/bluetooth/l2control/l2cap.c
273
return (OK);
usr.sbin/bluetooth/l2control/l2cap.c
89
return (OK);
usr.sbin/bluetooth/l2control/l2control.c
117
return (OK);
usr.sbin/bluetooth/l2control/l2control.c
158
case OK:
usr.sbin/bluetooth/sdpcontrol/sdpcontrol.c
123
return (OK);
usr.sbin/bluetooth/sdpcontrol/sdpcontrol.c
155
case OK:
usr.sbin/bluetooth/sdpcontrol/search.c
688
return (OK);
usr.sbin/cron/cron/database.c
241
int crontab_fd = OK - 1;
usr.sbin/cron/cron/database.c
253
if ((crontab_fd = open(tabname, O_RDONLY, 0)) < OK) {
usr.sbin/cron/cron/database.c
260
if (fstat(crontab_fd, statbuf) < OK) {
usr.sbin/cron/cron/database.c
312
if (crontab_fd >= OK) {
usr.sbin/cron/cron/database.c
62
if (stat(SPOOL_DIR, &statbuf) < OK) {
usr.sbin/cron/cron/database.c
69
if (stat(SYSCRONTAB, &syscron_stat) < OK)
usr.sbin/cron/cron/do_command.c
795
if (pid < OK)
usr.sbin/cron/cron/user.c
92
while ((status = load_env(envstr, file)) >= OK) {
usr.sbin/cron/crontab/crontab.c
194
if (swap_uids() < OK)
usr.sbin/cron/crontab/crontab.c
210
if (swap_uids_back() < OK)
usr.sbin/cron/crontab/crontab.c
358
if (swap_uids() < OK)
usr.sbin/cron/crontab/crontab.c
366
if (swap_uids_back() < OK)
usr.sbin/cron/crontab/crontab.c
432
if (swap_uids() < OK)
usr.sbin/cron/crontab/crontab.c
444
if (swap_uids_back() < OK)
usr.sbin/cron/crontab/crontab.c
570
if (fchown(fileno(tmp), ROOT_UID, -1) < OK)
usr.sbin/cron/crontab/crontab.c
572
if (chown(tn, ROOT_UID, -1) < OK)
usr.sbin/cron/crontab/crontab.c
581
if (fchmod(fileno(tmp), 0600) < OK)
usr.sbin/cron/crontab/crontab.c
583
if (chmod(tn, 0600) < OK)
usr.sbin/cron/crontab/crontab.c
628
if (utime(SPOOL_DIR, NULL) < OK) {
usr.sbin/cron/lib/entry.c
728
return OK;
usr.sbin/cron/lib/misc.c
172
if (seteuid(ROOT_UID) < OK)
usr.sbin/cron/lib/misc.c
175
if (setuid(ROOT_UID) < OK)
usr.sbin/cron/lib/misc.c
188
if (stat(CRONDIR, &sb) < OK && errno == ENOENT) {
usr.sbin/cron/lib/misc.c
190
if (OK == mkdir(CRONDIR, 0700)) {
usr.sbin/cron/lib/misc.c
199
if (chdir(CRONDIR) < OK)
usr.sbin/cron/lib/misc.c
204
if (stat(SPOOL_DIR, &sb) < OK && errno == ENOENT) {
usr.sbin/cron/lib/misc.c
206
if (OK == mkdir(SPOOL_DIR, 0700)) {
usr.sbin/cron/lib/misc.c
398
if (LogFD < OK) {
usr.sbin/cron/lib/misc.c
400
if (LogFD < OK) {
usr.sbin/cron/lib/misc.c
419
if (LogFD < OK || write(LogFD, msg, strlen(msg)) < OK) {
usr.sbin/cron/lib/misc.c
420
if (LogFD >= OK)
usr.sbin/lpr/lpd/printjob.c
1207
sfres = OK;
usr.sbin/lpr/lpd/printjob.c
1577
case OK:
usr.sbin/lpr/lpd/printjob.c
298
if (i == OK) /* all files of this job printed */
usr.sbin/lpr/lpd/printjob.c
381
bombed = OK;
usr.sbin/lpr/lpd/printjob.c
388
return (OK);
usr.sbin/lpr/lpd/printjob.c
543
if (bombed == OK)
usr.sbin/lpr/lpd/printjob.c
590
return (bombed == OK ? OK : ERROR);
usr.sbin/lpr/lpd/printjob.c
649
return (OK);
usr.sbin/lpr/lpd/printjob.c
865
return (OK);
usr.sbin/lpr/lpd/printjob.c
892
return (OK);
usr.sbin/lpr/lpd/printjob.c
912
err = OK;
usr.sbin/lpr/lpd/printjob.c
951
case OK:
usr.sbin/lpr/lpd/printjob.c
966
if (err == OK && sendfile(pp, '\2', file, '\0', 1) > 0) {