lib/libc/net/gai_strerror.c
101
if (ecode > 0 && ecode < EAI_MAX)
lib/libc/net/gai_strerror.c
102
strlcpy(buf, catgets(catd, 3, ecode, ai_errlist[ecode]),
lib/libc/net/gai_strerror.c
104
else if (ecode == 0)
lib/libc/net/gai_strerror.c
115
if (ecode >= 0 && ecode < EAI_MAX)
lib/libc/net/gai_strerror.c
116
return ai_errlist[ecode];
lib/libc/net/gai_strerror.c
78
gai_strerror(int ecode)
libexec/tftpd/tftpd.c
350
int first = 1, has_options = 0, ecode;
libexec/tftpd/tftpd.c
427
ecode = (*pf->f_validate)(&filename, tp->th_opcode);
libexec/tftpd/tftpd.c
438
filename, errtomsg(ecode));
libexec/tftpd/tftpd.c
440
if (ecode) {
libexec/tftpd/tftpd.c
445
if (suppress_naks && *filename != '/' && ecode == ENOTFOUND)
libexec/tftpd/tftpd.c
447
nak(ecode);
sbin/hammer2/cmd_bulkfree.c
41
int ecode = 0;
sbin/hammer2/cmd_bulkfree.c
64
ecode = 1;
sbin/hammer2/cmd_bulkfree.c
66
return ecode;
sbin/hammer2/cmd_bulkfree.c
74
int ecode = 0;
sbin/hammer2/cmd_bulkfree.c
86
ecode = 1;
sbin/hammer2/cmd_bulkfree.c
88
return ecode;
sbin/hammer2/cmd_debug.c
1321
int ecode = 0;
sbin/hammer2/cmd_debug.c
1328
ecode = 1;
sbin/hammer2/cmd_debug.c
1333
ecode = 1;
sbin/hammer2/cmd_debug.c
1335
return ecode;
sbin/hammer2/cmd_destroy.c
113
ecode = 1;
sbin/hammer2/cmd_destroy.c
120
return ecode;
sbin/hammer2/cmd_destroy.c
43
int ecode = 0;
sbin/hammer2/cmd_destroy.c
56
ecode = 1;
sbin/hammer2/cmd_destroy.c
63
ecode = 1;
sbin/hammer2/cmd_destroy.c
66
return ecode;
sbin/hammer2/cmd_destroy.c
99
int ecode = 0;
sbin/hammer2/cmd_growfs.c
42
int ecode = 0;
sbin/hammer2/cmd_growfs.c
57
ecode = 1;
sbin/hammer2/cmd_growfs.c
64
ecode = 1;
sbin/hammer2/cmd_growfs.c
74
return ecode;
sbin/hammer2/cmd_leaf.c
103
return ecode;
sbin/hammer2/cmd_leaf.c
84
int ecode = 0;
sbin/hammer2/cmd_pfs.c
119
return (ecode);
sbin/hammer2/cmd_pfs.c
126
int ecode = 0;
sbin/hammer2/cmd_pfs.c
137
ecode = 1;
sbin/hammer2/cmd_pfs.c
148
return (ecode);
sbin/hammer2/cmd_pfs.c
157
int ecode = 0;
sbin/hammer2/cmd_pfs.c
202
ecode = 1;
sbin/hammer2/cmd_pfs.c
209
ecode = 1;
sbin/hammer2/cmd_pfs.c
212
return (ecode);
sbin/hammer2/cmd_pfs.c
219
int ecode = 0;
sbin/hammer2/cmd_pfs.c
265
ecode = 1;
sbin/hammer2/cmd_pfs.c
278
ecode = 1;
sbin/hammer2/cmd_pfs.c
283
return (ecode);
sbin/hammer2/cmd_pfs.c
48
int ecode = 0;
sbin/hammer2/cmd_pfs.c
73
ecode = 1;
sbin/hammer2/cmd_remote.c
107
ecode = 1;
sbin/hammer2/cmd_remote.c
124
return (ecode);
sbin/hammer2/cmd_remote.c
42
int ecode = 0;
sbin/hammer2/cmd_remote.c
59
ecode = 1;
sbin/hammer2/cmd_remote.c
62
return ecode;
sbin/hammer2/cmd_remote.c
69
int ecode = 0;
sbin/hammer2/cmd_remote.c
86
ecode = 1;
sbin/hammer2/cmd_remote.c
89
return ecode;
sbin/hammer2/cmd_remote.c
96
int ecode = 0;
sbin/hammer2/cmd_rsa.c
123
int ecode = 0;
sbin/hammer2/cmd_rsa.c
141
ecode = 1;
sbin/hammer2/cmd_rsa.c
151
ecode = 1;
sbin/hammer2/cmd_rsa.c
159
ecode = 1;
sbin/hammer2/cmd_rsa.c
168
ecode = 1;
sbin/hammer2/cmd_rsa.c
174
ecode = 1;
sbin/hammer2/cmd_rsa.c
209
ecode = 1;
sbin/hammer2/cmd_rsa.c
215
if (off && ecode == 0) {
sbin/hammer2/cmd_rsa.c
234
ecode = 1;
sbin/hammer2/cmd_rsa.c
239
ecode = 1;
sbin/hammer2/cmd_rsa.c
250
return (ecode);
sbin/hammer2/cmd_rsa.c
258
int ecode = 0;
sbin/hammer2/cmd_rsa.c
276
ecode = 1;
sbin/hammer2/cmd_rsa.c
286
ecode = 1;
sbin/hammer2/cmd_rsa.c
294
ecode = 1;
sbin/hammer2/cmd_rsa.c
303
ecode = 1;
sbin/hammer2/cmd_rsa.c
309
ecode = 1;
sbin/hammer2/cmd_rsa.c
343
ecode = 1;
sbin/hammer2/cmd_rsa.c
368
ecode = 1;
sbin/hammer2/cmd_rsa.c
373
ecode = 1;
sbin/hammer2/cmd_rsa.c
384
return (ecode);
sbin/hammer2/cmd_rsa.c
50
int ecode;
sbin/hammer2/cmd_rsa.c
77
ecode = system(cmd);
sbin/hammer2/cmd_rsa.c
80
if (ecode) {
sbin/hammer2/cmd_rsa.c
97
ecode = system(cmd);
sbin/hammer2/cmd_rsa.c
99
if (ecode) {
sbin/hammer2/cmd_setcheck.c
46
int ecode;
sbin/hammer2/cmd_setcheck.c
49
ecode = 0;
sbin/hammer2/cmd_setcheck.c
71
ecode = 3;
sbin/hammer2/cmd_setcheck.c
75
if (ecode == 0) {
sbin/hammer2/cmd_setcheck.c
83
ecode = res;
sbin/hammer2/cmd_setcheck.c
86
ecode = 3;
sbin/hammer2/cmd_setcheck.c
92
return ecode;
sbin/hammer2/cmd_setcomp.c
105
ecode = 3;
sbin/hammer2/cmd_setcomp.c
109
if (ecode == 0) {
sbin/hammer2/cmd_setcomp.c
118
ecode = res;
sbin/hammer2/cmd_setcomp.c
121
ecode = 3;
sbin/hammer2/cmd_setcomp.c
128
return ecode;
sbin/hammer2/cmd_setcomp.c
193
int ecode = 0;
sbin/hammer2/cmd_setcomp.c
234
ecode = setcomp_recursive_call(file_string, comp_method, set_files);
sbin/hammer2/cmd_setcomp.c
244
return ecode;
sbin/hammer2/cmd_setcomp.c
250
int ecode = 0;
sbin/hammer2/cmd_setcomp.c
266
while (dent != NULL && ecode == 0) {
sbin/hammer2/cmd_setcomp.c
280
ecode = setcomp_recursive_call(name, comp_method, set_files);
sbin/hammer2/cmd_setcomp.c
309
return ecode;
sbin/hammer2/cmd_setcomp.c
47
int ecode;
sbin/hammer2/cmd_setcomp.c
56
ecode = 0;
sbin/hammer2/cmd_setcomp.c
76
ecode = 3;
sbin/hammer2/cmd_setcomp.c
88
ecode = 3;
sbin/hammer2/cmd_setcomp.c
98
ecode = 3;
sbin/hammer2/cmd_snapshot.c
102
ecode = 1;
sbin/hammer2/cmd_snapshot.c
106
return ecode;
sbin/hammer2/cmd_snapshot.c
59
int ecode = 0;
sbin/hammer2/cmd_stat.c
46
int ecode = 0;
sbin/hammer2/cmd_stat.c
66
ecode = 1;
sbin/hammer2/cmd_stat.c
71
ecode = 1;
sbin/hammer2/cmd_stat.c
91
return ecode;
sbin/hammer2/cmd_volume.c
107
return (ecode);
sbin/hammer2/cmd_volume.c
44
int fd, i, j, n, w, all = 0, ecode = 0;
sbin/hammer2/cmd_volume.c
58
ecode = 1;
sbin/hammer2/cmd_volume.c
66
ecode = 1;
sbin/hammer2/main.c
176
ecode = cmd_remote_connect(sel_path, av[1]);
sbin/hammer2/main.c
179
ecode = cmd_dumpchain(".", (u_int)-1);
sbin/hammer2/main.c
181
ecode = cmd_dumpchain(av[1], (u_int)-1);
sbin/hammer2/main.c
183
ecode = cmd_dumpchain(av[1],
sbin/hammer2/main.c
194
ecode = cmd_debugspan(av[1]);
sbin/hammer2/main.c
203
ecode = cmd_remote_disconnect(sel_path, av[1]);
sbin/hammer2/main.c
211
ecode = cmd_destroy_path(ac - 1, (const char **)(void *)&av[1]);
sbin/hammer2/main.c
219
ecode = cmd_destroy_inum(sel_path, ac - 1,
sbin/hammer2/main.c
222
ecode = cmd_emergency_mode(sel_path, 1, ac - 1,
sbin/hammer2/main.c
225
ecode = cmd_emergency_mode(sel_path, 0, ac - 1,
sbin/hammer2/main.c
228
ecode = cmd_growfs(sel_path, ac - 1,
sbin/hammer2/main.c
231
ecode = cmd_hash(ac - 1, (const char **)(void *)&av[1]);
sbin/hammer2/main.c
233
ecode = cmd_dhash(ac - 1, (const char **)(void *)&av[1]);
sbin/hammer2/main.c
235
ecode = cmd_info(ac - 1, (const char **)(void *)&av[1]);
sbin/hammer2/main.c
237
ecode = cmd_mountall(ac - 1, (const char **)(void *)&av[1]);
sbin/hammer2/main.c
243
ecode = cmd_remote_status(sel_path, all_opt);
sbin/hammer2/main.c
247
ecode = cmd_remote_status(av[i], all_opt);
sbin/hammer2/main.c
257
ecode = cmd_pfs_getid(sel_path, av[1], 0);
sbin/hammer2/main.c
266
ecode = cmd_pfs_getid(sel_path, av[1], 1);
sbin/hammer2/main.c
272
ecode = cmd_pfs_list(ac - 1,
sbin/hammer2/main.c
275
ecode = cmd_pfs_list(1, &sel_path);
sbin/hammer2/main.c
285
ecode = cmd_pfs_create(sel_path, av[1], pfs_type, uuid_str);
sbin/hammer2/main.c
294
ecode = cmd_pfs_delete(sel_path, av, ac);
sbin/hammer2/main.c
310
ecode = cmd_recover(av[1], av[2], av[3], strict, isafile);
sbin/hammer2/main.c
329
ecode = cmd_pfs_snapshot(sel_path, NULL, NULL, flags);
sbin/hammer2/main.c
332
ecode = cmd_pfs_snapshot(sel_path, av[1], NULL, flags);
sbin/hammer2/main.c
335
ecode = cmd_pfs_snapshot(sel_path, av[1], av[2], flags);
sbin/hammer2/main.c
345
ecode = cmd_service();
sbin/hammer2/main.c
347
ecode = cmd_stat(ac - 1, (const char **)(void *)&av[1]);
sbin/hammer2/main.c
371
ecode = cmd_leaf(sel_path);
sbin/hammer2/main.c
377
ecode = cmd_shell((ac < 2) ? NULL : av[1]);
sbin/hammer2/main.c
384
ecode = cmd_rsainit(arg);
sbin/hammer2/main.c
400
ecode = cmd_rsaenc(&rsapath, 1);
sbin/hammer2/main.c
402
ecode = cmd_rsaenc((const char **)(void *)&av[1],
sbin/hammer2/main.c
420
ecode = cmd_rsadec(&rsapath, 1);
sbin/hammer2/main.c
422
ecode = cmd_rsadec((const char **)(void *)&av[1],
sbin/hammer2/main.c
467
ecode = cmd_volume_list(ac - 1,
sbin/hammer2/main.c
470
ecode = cmd_volume_list(1, &sel_path);
sbin/hammer2/main.c
486
ecode = cmd_setcomp(av[1], &av[2]);
sbin/hammer2/main.c
502
ecode = cmd_setcheck(av[1], &av[2]);
sbin/hammer2/main.c
505
ecode = cmd_setcheck("none", &av[1]);
sbin/hammer2/main.c
507
ecode = cmd_setcheck("crc32", &av[1]);
sbin/hammer2/main.c
509
ecode = cmd_setcheck("xxhash64", &av[1]);
sbin/hammer2/main.c
511
ecode = cmd_setcheck("sha192", &av[1]);
sbin/hammer2/main.c
525
ecode = cmd_bulkfree(av[1]);
sbin/hammer2/main.c
534
ecode = cmd_bulkfree_async(av[1]);
sbin/hammer2/main.c
538
ecode = cmd_cleanup(av[1]); /* can be NULL */
sbin/hammer2/main.c
550
return (ecode);
sbin/hammer2/main.c
57
int ecode = 0;
sbin/ifconfig/ifconfig.c
950
int ecode;
sbin/ifconfig/ifconfig.c
958
if ((ecode = getaddrinfo(src, NULL, NULL, &srcres)) != 0)
sbin/ifconfig/ifconfig.c
960
gai_strerror(ecode));
sbin/ifconfig/ifconfig.c
962
if ((ecode = getaddrinfo(dst, NULL, NULL, &dstres)) != 0)
sbin/ifconfig/ifconfig.c
964
gai_strerror(ecode));
sbin/mount_nfs/mount_nfs.c
472
int ecode, speclen, remoteerr;
sbin/mount_nfs/mount_nfs.c
519
if ((ecode = getaddrinfo(hostp, portspec, &hints, &ai_nfs))
sbin/mount_nfs/mount_nfs.c
522
errx(1, "%s: %s", hostp, gai_strerror(ecode));
sbin/mount_nfs/mount_nfs.c
525
gai_strerror(ecode));
sbin/mountd/mountd.c
1834
int ecode;
sbin/mountd/mountd.c
1844
ecode = getaddrinfo(cp, NULL, &hints, &ai);
sbin/mountd/mountd.c
1845
if (ecode != 0) {
sbin/nfsd/nfsd.c
122
int udpflag, ecode, s, srvcnt;
sbin/nfsd/nfsd.c
249
ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp);
sbin/nfsd/nfsd.c
250
if (ecode != 0)
sbin/nfsd/nfsd.c
251
err(1, "getaddrinfo udp: %s", gai_strerror(ecode));
sbin/nfsd/nfsd.c
268
ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp6);
sbin/nfsd/nfsd.c
269
if (ecode != 0)
sbin/nfsd/nfsd.c
270
err(1, "getaddrinfo udp6: %s", gai_strerror(ecode));
sbin/nfsd/nfsd.c
287
ecode = getaddrinfo(NULL, "nfs", &hints, &ai_tcp);
sbin/nfsd/nfsd.c
288
if (ecode != 0)
sbin/nfsd/nfsd.c
289
err(1, "getaddrinfo tcp: %s", gai_strerror(ecode));
sbin/nfsd/nfsd.c
306
ecode = getaddrinfo(NULL, "nfs", &hints, &ai_tcp6);
sbin/nfsd/nfsd.c
307
if (ecode != 0)
sbin/nfsd/nfsd.c
308
err(1, "getaddrinfo tcp6: %s", gai_strerror(ecode));
sbin/nfsd/nfsd.c
394
ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp);
sbin/nfsd/nfsd.c
395
if (ecode != 0) {
sbin/nfsd/nfsd.c
397
gai_strerror(ecode));
sbin/nfsd/nfsd.c
463
ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp6);
sbin/nfsd/nfsd.c
464
if (ecode != 0) {
sbin/nfsd/nfsd.c
466
gai_strerror(ecode));
sbin/nfsd/nfsd.c
528
ecode = getaddrinfo(NULL, "nfs", &hints,
sbin/nfsd/nfsd.c
530
if (ecode != 0) {
sbin/nfsd/nfsd.c
532
gai_strerror(ecode));
sbin/nfsd/nfsd.c
604
ecode = getaddrinfo(NULL, "nfs", &hints, &ai_tcp6);
sbin/nfsd/nfsd.c
605
if (ecode != 0) {
sbin/nfsd/nfsd.c
607
gai_strerror(ecode));
sbin/nfsd/nfsd.c
712
int ecode;
sbin/nfsd/nfsd.c
746
ecode = getaddrinfo(hostptr, "nfs", &hints, ai);
sbin/nfsd/nfsd.c
747
if (ecode != 0) {
sbin/nfsd/nfsd.c
749
gai_strerror(ecode));
sys/dev/drm/i915/i915_gpu_error.c
1726
u32 ecode;
sys/dev/drm/i915/i915_gpu_error.c
1729
ecode = i915_error_generate_code(dev_priv, error, &engine_id);
sys/dev/drm/i915/i915_gpu_error.c
1733
INTEL_GEN(dev_priv), engine_id, ecode);
sys/dev/netif/ath/ath_hal/ah.c
169
ath_hal_rfprobe(struct ath_hal *ah, HAL_STATUS *ecode)
sys/dev/netif/ath/ath_hal/ah.c
178
*ecode = HAL_ENOTSUPP;
sys/dev/netif/ath/ath_hal/ah_internal.h
115
HAL_BOOL (*attach)(struct ath_hal *ah, HAL_STATUS *ecode);
sys/dev/netif/ath/ath_hal/ah_internal.h
127
struct ath_hal_rf *ath_hal_rfprobe(struct ath_hal *ah, HAL_STATUS *ecode);
sys/dev/netif/ath/ath_hal/ar5210/ar5210_attach.c
193
HAL_STATUS ecode;
sys/dev/netif/ath/ath_hal/ar5210/ar5210_attach.c
205
ecode = HAL_ENOMEM;
sys/dev/netif/ath/ath_hal/ar5210/ar5210_attach.c
233
ecode = HAL_EIO;
sys/dev/netif/ath/ath_hal/ar5210/ar5210_attach.c
258
ecode = ath_hal_v1EepromAttach(ah);
sys/dev/netif/ath/ath_hal/ar5210/ar5210_attach.c
259
if (ecode != HAL_OK) {
sys/dev/netif/ath/ath_hal/ar5210/ar5210_attach.c
262
ecode = ath_hal_eepromGet(ah, AR_EEP_REGDMN_0, &eeval);
sys/dev/netif/ath/ath_hal/ar5210/ar5210_attach.c
263
if (ecode != HAL_OK) {
sys/dev/netif/ath/ath_hal/ar5210/ar5210_attach.c
270
ecode = ath_hal_eepromGet(ah, AR_EEP_MACADDR, ahp->ah_macaddr);
sys/dev/netif/ath/ath_hal/ar5210/ar5210_attach.c
271
if (ecode != HAL_OK) {
sys/dev/netif/ath/ath_hal/ar5210/ar5210_attach.c
294
*status = ecode;
sys/dev/netif/ath/ath_hal/ar5210/ar5210_misc.c
102
ecode = HAL_EINVAL;
sys/dev/netif/ath/ath_hal/ar5210/ar5210_misc.c
111
ecode = HAL_EEWRITE;
sys/dev/netif/ath/ath_hal/ar5210/ar5210_misc.c
114
ecode = HAL_EIO; /* disallow all writes */
sys/dev/netif/ath/ath_hal/ar5210/ar5210_misc.c
117
*status = ecode;
sys/dev/netif/ath/ath_hal/ar5210/ar5210_misc.c
99
HAL_STATUS ecode;
sys/dev/netif/ath/ath_hal/ar5210/ar5210_reset.c
302
*status = ecode;
sys/dev/netif/ath/ath_hal/ar5210/ar5210_reset.c
76
#define FAIL(_code) do { ecode = _code; goto bad; } while (0)
sys/dev/netif/ath/ath_hal/ar5210/ar5210_reset.c
80
HAL_STATUS ecode;
sys/dev/netif/ath/ath_hal/ar5211/ar5211_attach.c
213
HAL_STATUS ecode;
sys/dev/netif/ath/ath_hal/ar5211/ar5211_attach.c
223
ecode = HAL_ENOMEM;
sys/dev/netif/ath/ath_hal/ar5211/ar5211_attach.c
250
ecode = HAL_EIO;
sys/dev/netif/ath/ath_hal/ar5211/ar5211_attach.c
270
ecode = HAL_ENOTSUPP;
sys/dev/netif/ath/ath_hal/ar5211/ar5211_attach.c
279
ecode = HAL_ESELFTEST;
sys/dev/netif/ath/ath_hal/ar5211/ar5211_attach.c
297
ecode = HAL_ENOTSUPP;
sys/dev/netif/ath/ath_hal/ar5211/ar5211_attach.c
306
ecode = HAL_EESIZE;
sys/dev/netif/ath/ath_hal/ar5211/ar5211_attach.c
309
ecode = ath_hal_legacyEepromAttach(ah);
sys/dev/netif/ath/ath_hal/ar5211/ar5211_attach.c
310
if (ecode != HAL_OK) {
sys/dev/netif/ath/ath_hal/ar5211/ar5211_attach.c
330
ecode = HAL_ENOTSUPP;
sys/dev/netif/ath/ath_hal/ar5211/ar5211_attach.c
337
ecode = ath_hal_eepromGet(ah, AR_EEP_REGDMN_0, &eeval);
sys/dev/netif/ath/ath_hal/ar5211/ar5211_attach.c
338
if (ecode != HAL_OK) {
sys/dev/netif/ath/ath_hal/ar5211/ar5211_attach.c
355
ecode = ath_hal_eepromGet(ah, AR_EEP_MACADDR, ahp->ah_macaddr);
sys/dev/netif/ath/ath_hal/ar5211/ar5211_attach.c
356
if (ecode != HAL_OK) {
sys/dev/netif/ath/ath_hal/ar5211/ar5211_attach.c
369
*status = ecode;
sys/dev/netif/ath/ath_hal/ar5211/ar5211_misc.c
102
HAL_STATUS ecode;
sys/dev/netif/ath/ath_hal/ar5211/ar5211_misc.c
105
ecode = HAL_EINVAL;
sys/dev/netif/ath/ath_hal/ar5211/ar5211_misc.c
114
ecode = HAL_EEWRITE;
sys/dev/netif/ath/ath_hal/ar5211/ar5211_misc.c
126
ecode = HAL_EIO;
sys/dev/netif/ath/ath_hal/ar5211/ar5211_misc.c
129
*status = ecode;
sys/dev/netif/ath/ath_hal/ar5211/ar5211_reset.c
162
#define FAIL(_code) do { ecode = _code; goto bad; } while (0)
sys/dev/netif/ath/ath_hal/ar5211/ar5211_reset.c
166
HAL_STATUS ecode;
sys/dev/netif/ath/ath_hal/ar5211/ar5211_reset.c
548
*status = ecode;
sys/dev/netif/ath/ath_hal/ar5212/ar5212_attach.c
329
HAL_STATUS ecode;
sys/dev/netif/ath/ath_hal/ar5212/ar5212_attach.c
348
ecode = HAL_EIO;
sys/dev/netif/ath/ath_hal/ar5212/ar5212_attach.c
362
ecode = HAL_ENOTSUPP;
sys/dev/netif/ath/ath_hal/ar5212/ar5212_attach.c
372
ecode = HAL_EIO;
sys/dev/netif/ath/ath_hal/ar5212/ar5212_attach.c
386
ecode = HAL_ESELFTEST;
sys/dev/netif/ath/ath_hal/ar5212/ar5212_attach.c
403
rf = ath_hal_rfprobe(ah, &ecode);
sys/dev/netif/ath/ath_hal/ar5212/ar5212_attach.c
454
ecode = HAL_ENOTSUPP;
sys/dev/netif/ath/ath_hal/ar5212/ar5212_attach.c
463
ecode = HAL_ENOTSUPP;
sys/dev/netif/ath/ath_hal/ar5212/ar5212_attach.c
474
ecode = HAL_EESIZE;
sys/dev/netif/ath/ath_hal/ar5212/ar5212_attach.c
483
ecode = HAL_EESIZE;
sys/dev/netif/ath/ath_hal/ar5212/ar5212_attach.c
489
ecode = HAL_EESIZE;
sys/dev/netif/ath/ath_hal/ar5212/ar5212_attach.c
492
ecode = ath_hal_legacyEepromAttach(ah);
sys/dev/netif/ath/ath_hal/ar5212/ar5212_attach.c
493
if (ecode != HAL_OK) {
sys/dev/netif/ath/ath_hal/ar5212/ar5212_attach.c
519
ecode = HAL_ENOTSUPP;
sys/dev/netif/ath/ath_hal/ar5212/ar5212_attach.c
524
ecode = ath_hal_eepromGet(ah, AR_EEP_REGDMN_0, &eeval);
sys/dev/netif/ath/ath_hal/ar5212/ar5212_attach.c
525
if (ecode != HAL_OK) {
sys/dev/netif/ath/ath_hal/ar5212/ar5212_attach.c
540
ecode = HAL_EEREAD;
sys/dev/netif/ath/ath_hal/ar5212/ar5212_attach.c
544
if (!rf->attach(ah, &ecode)) {
sys/dev/netif/ath/ath_hal/ar5212/ar5212_attach.c
546
__func__, ecode);
sys/dev/netif/ath/ath_hal/ar5212/ar5212_attach.c
558
ecode = ath_hal_eepromGet(ah, AR_EEP_MACADDR, ahp->ah_macaddr);
sys/dev/netif/ath/ath_hal/ar5212/ar5212_attach.c
559
if (ecode != HAL_OK) {
sys/dev/netif/ath/ath_hal/ar5212/ar5212_attach.c
579
*status = ecode;
sys/dev/netif/ath/ath_hal/ar5212/ar5212_misc.c
102
*status = ecode;
sys/dev/netif/ath/ath_hal/ar5212/ar5212_misc.c
80
HAL_STATUS ecode;
sys/dev/netif/ath/ath_hal/ar5212/ar5212_misc.c
83
ecode = HAL_EINVAL;
sys/dev/netif/ath/ath_hal/ar5212/ar5212_misc.c
87
ecode = HAL_EEWRITE;
sys/dev/netif/ath/ath_hal/ar5212/ar5212_misc.c
99
ecode = HAL_EIO;
sys/dev/netif/ath/ath_hal/ar5212/ar5212_reset.c
124
#define FAIL(_code) do { ecode = _code; goto bad; } while (0)
sys/dev/netif/ath/ath_hal/ar5212/ar5212_reset.c
134
HAL_STATUS ecode;
sys/dev/netif/ath/ath_hal/ar5212/ar5212_reset.c
700
OS_MARK(ah, AH_MARK_RESET_DONE, ecode);
sys/dev/netif/ath/ath_hal/ar5212/ar5212_reset.c
702
*status = ecode;
sys/dev/netif/ath/ath_hal/ar5312/ar5312_attach.c
130
ecode = HAL_EIO;
sys/dev/netif/ath/ath_hal/ar5312/ar5312_attach.c
167
ecode = HAL_ENOTSUPP;
sys/dev/netif/ath/ath_hal/ar5312/ar5312_attach.c
176
ecode = HAL_ESELFTEST;
sys/dev/netif/ath/ath_hal/ar5312/ar5312_attach.c
189
rf = ath_hal_rfprobe(ah, &ecode);
sys/dev/netif/ath/ath_hal/ar5312/ar5312_attach.c
198
ecode = HAL_ENOTSUPP;
sys/dev/netif/ath/ath_hal/ar5312/ar5312_attach.c
202
ecode = ath_hal_legacyEepromAttach(ah);
sys/dev/netif/ath/ath_hal/ar5312/ar5312_attach.c
203
if (ecode != HAL_OK) {
sys/dev/netif/ath/ath_hal/ar5312/ar5312_attach.c
229
ecode = HAL_ENOTSUPP;
sys/dev/netif/ath/ath_hal/ar5312/ar5312_attach.c
234
ecode = ath_hal_eepromGet(ah, AR_EEP_REGDMN_0, &eeval);
sys/dev/netif/ath/ath_hal/ar5312/ar5312_attach.c
235
if (ecode != HAL_OK) {
sys/dev/netif/ath/ath_hal/ar5312/ar5312_attach.c
251
ecode = HAL_EEREAD;
sys/dev/netif/ath/ath_hal/ar5312/ar5312_attach.c
255
if (!rf->attach(ah, &ecode)) {
sys/dev/netif/ath/ath_hal/ar5312/ar5312_attach.c
257
__func__, ecode);
sys/dev/netif/ath/ath_hal/ar5312/ar5312_attach.c
268
ecode = HAL_EEBADMAC;
sys/dev/netif/ath/ath_hal/ar5312/ar5312_attach.c
282
*status = ecode;
sys/dev/netif/ath/ath_hal/ar5312/ar5312_attach.c
72
HAL_STATUS ecode;
sys/dev/netif/ath/ath_hal/ar5312/ar5312_reset.c
105
HAL_STATUS ecode;
sys/dev/netif/ath/ath_hal/ar5312/ar5312_reset.c
570
OS_MARK(ah, AH_MARK_RESET_DONE, ecode);
sys/dev/netif/ath/ath_hal/ar5312/ar5312_reset.c
572
*status = ecode;
sys/dev/netif/ath/ath_hal/ar5312/ar5312_reset.c
96
#define FAIL(_code) do { ecode = _code; goto bad; } while (0)
sys/dev/netif/ath/ath_hal/ar5416/ar5416_attach.c
306
HAL_STATUS ecode;
sys/dev/netif/ath/ath_hal/ar5416/ar5416_attach.c
330
ecode = HAL_EIO;
sys/dev/netif/ath/ath_hal/ar5416/ar5416_attach.c
336
ecode = HAL_EIO;
sys/dev/netif/ath/ath_hal/ar5416/ar5416_attach.c
373
ecode = ath_hal_v14EepromAttach(ah);
sys/dev/netif/ath/ath_hal/ar5416/ar5416_attach.c
374
if (ecode != HAL_OK)
sys/dev/netif/ath/ath_hal/ar5416/ar5416_attach.c
380
ecode = HAL_EIO;
sys/dev/netif/ath/ath_hal/ar5416/ar5416_attach.c
389
ecode = HAL_ESELFTEST;
sys/dev/netif/ath/ath_hal/ar5416/ar5416_attach.c
425
ecode = HAL_ENOTSUPP;
sys/dev/netif/ath/ath_hal/ar5416/ar5416_attach.c
434
ecode = HAL_EEREAD;
sys/dev/netif/ath/ath_hal/ar5416/ar5416_attach.c
438
ecode = ath_hal_eepromGet(ah, AR_EEP_MACADDR, ahp->ah_macaddr);
sys/dev/netif/ath/ath_hal/ar5416/ar5416_attach.c
439
if (ecode != HAL_OK) {
sys/dev/netif/ath/ath_hal/ar5416/ar5416_attach.c
460
rfStatus = ar2133RfAttach(ah, &ecode);
sys/dev/netif/ath/ath_hal/ar5416/ar5416_attach.c
463
__func__, ecode);
sys/dev/netif/ath/ath_hal/ar5416/ar5416_attach.c
485
*status = ecode;
sys/dev/netif/ath/ath_hal/ar5416/ar5416_reset.c
473
OS_MARK(ah, AH_MARK_RESET_DONE, ecode);
sys/dev/netif/ath/ath_hal/ar5416/ar5416_reset.c
475
*status = ecode;
sys/dev/netif/ath/ath_hal/ar5416/ar5416_reset.c
83
#define FAIL(_code) do { ecode = _code; goto bad; } while (0)
sys/dev/netif/ath/ath_hal/ar5416/ar5416_reset.c
89
HAL_STATUS ecode;
sys/dev/netif/ath/ath_hal/ar9001/ar9130_attach.c
136
ecode = HAL_EIO;
sys/dev/netif/ath/ath_hal/ar9001/ar9130_attach.c
143
ecode = HAL_EIO;
sys/dev/netif/ath/ath_hal/ar9001/ar9130_attach.c
170
ecode = ath_hal_v14EepromAttach(ah);
sys/dev/netif/ath/ath_hal/ar9001/ar9130_attach.c
171
if (ecode != HAL_OK)
sys/dev/netif/ath/ath_hal/ar9001/ar9130_attach.c
176
ecode = HAL_EIO;
sys/dev/netif/ath/ath_hal/ar9001/ar9130_attach.c
185
ecode = HAL_ESELFTEST;
sys/dev/netif/ath/ath_hal/ar9001/ar9130_attach.c
212
ecode = HAL_ENOTSUPP;
sys/dev/netif/ath/ath_hal/ar9001/ar9130_attach.c
216
rfStatus = ar2133RfAttach(ah, &ecode);
sys/dev/netif/ath/ath_hal/ar9001/ar9130_attach.c
219
__func__, ecode);
sys/dev/netif/ath/ath_hal/ar9001/ar9130_attach.c
227
ecode = HAL_EEREAD;
sys/dev/netif/ath/ath_hal/ar9001/ar9130_attach.c
231
ecode = ath_hal_eepromGet(ah, AR_EEP_MACADDR, ahp->ah_macaddr);
sys/dev/netif/ath/ath_hal/ar9001/ar9130_attach.c
232
if (ecode != HAL_OK) {
sys/dev/netif/ath/ath_hal/ar9001/ar9130_attach.c
271
*status = ecode;
sys/dev/netif/ath/ath_hal/ar9001/ar9130_attach.c
80
HAL_STATUS ecode;
sys/dev/netif/ath/ath_hal/ar9001/ar9160_attach.c
124
HAL_STATUS ecode;
sys/dev/netif/ath/ath_hal/ar9001/ar9160_attach.c
156
ecode = HAL_EIO;
sys/dev/netif/ath/ath_hal/ar9001/ar9160_attach.c
163
ecode = HAL_EIO;
sys/dev/netif/ath/ath_hal/ar9001/ar9160_attach.c
194
ecode = ath_hal_v14EepromAttach(ah);
sys/dev/netif/ath/ath_hal/ar9001/ar9160_attach.c
195
if (ecode != HAL_OK)
sys/dev/netif/ath/ath_hal/ar9001/ar9160_attach.c
203
ecode = HAL_EIO;
sys/dev/netif/ath/ath_hal/ar9001/ar9160_attach.c
212
ecode = HAL_ESELFTEST;
sys/dev/netif/ath/ath_hal/ar9001/ar9160_attach.c
239
ecode = HAL_ENOTSUPP;
sys/dev/netif/ath/ath_hal/ar9001/ar9160_attach.c
243
rfStatus = ar2133RfAttach(ah, &ecode);
sys/dev/netif/ath/ath_hal/ar9001/ar9160_attach.c
246
__func__, ecode);
sys/dev/netif/ath/ath_hal/ar9001/ar9160_attach.c
254
ecode = HAL_EEREAD;
sys/dev/netif/ath/ath_hal/ar9001/ar9160_attach.c
258
ecode = ath_hal_eepromGet(ah, AR_EEP_MACADDR, ahp->ah_macaddr);
sys/dev/netif/ath/ath_hal/ar9001/ar9160_attach.c
259
if (ecode != HAL_OK) {
sys/dev/netif/ath/ath_hal/ar9001/ar9160_attach.c
299
*status = ecode;
sys/dev/netif/ath/ath_hal/ar9002/ar9280_attach.c
158
HAL_STATUS ecode;
sys/dev/netif/ath/ath_hal/ar9002/ar9280_attach.c
218
ecode = HAL_EIO;
sys/dev/netif/ath/ath_hal/ar9002/ar9280_attach.c
225
ecode = HAL_EIO;
sys/dev/netif/ath/ath_hal/ar9002/ar9280_attach.c
256
ecode = ath_hal_v14EepromAttach(ah);
sys/dev/netif/ath/ath_hal/ar9002/ar9280_attach.c
257
if (ecode != HAL_OK)
sys/dev/netif/ath/ath_hal/ar9002/ar9280_attach.c
262
ecode = HAL_EIO;
sys/dev/netif/ath/ath_hal/ar9002/ar9280_attach.c
271
ecode = HAL_ESELFTEST;
sys/dev/netif/ath/ath_hal/ar9002/ar9280_attach.c
298
ecode = HAL_ENOTSUPP;
sys/dev/netif/ath/ath_hal/ar9002/ar9280_attach.c
302
rfStatus = ar9280RfAttach(ah, &ecode);
sys/dev/netif/ath/ath_hal/ar9002/ar9280_attach.c
305
__func__, ecode);
sys/dev/netif/ath/ath_hal/ar9002/ar9280_attach.c
317
ecode = ath_hal_eepromGet(ah, AR_EEP_PWDCLKIND, &pwr);
sys/dev/netif/ath/ath_hal/ar9002/ar9280_attach.c
318
if (AR_SREV_MERLIN_20_OR_LATER(ah) && ecode == HAL_OK && pwr == 0) {
sys/dev/netif/ath/ath_hal/ar9002/ar9280_attach.c
376
ecode = HAL_EEREAD;
sys/dev/netif/ath/ath_hal/ar9002/ar9280_attach.c
380
ecode = ath_hal_eepromGet(ah, AR_EEP_MACADDR, ahp->ah_macaddr);
sys/dev/netif/ath/ath_hal/ar9002/ar9280_attach.c
381
if (ecode != HAL_OK) {
sys/dev/netif/ath/ath_hal/ar9002/ar9280_attach.c
421
*status = ecode;
sys/dev/netif/ath/ath_hal/ar9002/ar9285_attach.c
143
HAL_STATUS ecode;
sys/dev/netif/ath/ath_hal/ar9002/ar9285_attach.c
204
ecode = HAL_EIO;
sys/dev/netif/ath/ath_hal/ar9002/ar9285_attach.c
211
ecode = HAL_EIO;
sys/dev/netif/ath/ath_hal/ar9002/ar9285_attach.c
246
ecode = ath_hal_v4kEepromAttach(ah);
sys/dev/netif/ath/ath_hal/ar9002/ar9285_attach.c
247
if (ecode != HAL_OK)
sys/dev/netif/ath/ath_hal/ar9002/ar9285_attach.c
253
ecode = HAL_EIO;
sys/dev/netif/ath/ath_hal/ar9002/ar9285_attach.c
262
ecode = HAL_ESELFTEST;
sys/dev/netif/ath/ath_hal/ar9002/ar9285_attach.c
289
ecode = HAL_ENOTSUPP;
sys/dev/netif/ath/ath_hal/ar9002/ar9285_attach.c
293
rfStatus = ar9285RfAttach(ah, &ecode);
sys/dev/netif/ath/ath_hal/ar9002/ar9285_attach.c
296
__func__, ecode);
sys/dev/netif/ath/ath_hal/ar9002/ar9285_attach.c
333
ecode = HAL_EEREAD;
sys/dev/netif/ath/ath_hal/ar9002/ar9285_attach.c
353
ecode = ath_hal_eepromGet(ah, AR_EEP_MACADDR, ahp->ah_macaddr);
sys/dev/netif/ath/ath_hal/ar9002/ar9285_attach.c
354
if (ecode != HAL_OK) {
sys/dev/netif/ath/ath_hal/ar9002/ar9285_attach.c
395
*status = ecode;
sys/dev/netif/ath/ath_hal/ar9002/ar9287_attach.c
121
HAL_STATUS ecode;
sys/dev/netif/ath/ath_hal/ar9002/ar9287_attach.c
186
ecode = HAL_EIO;
sys/dev/netif/ath/ath_hal/ar9002/ar9287_attach.c
193
ecode = HAL_EIO;
sys/dev/netif/ath/ath_hal/ar9002/ar9287_attach.c
211
ecode = HAL_EIO;
sys/dev/netif/ath/ath_hal/ar9002/ar9287_attach.c
239
ecode = ath_hal_9287EepromAttach(ah);
sys/dev/netif/ath/ath_hal/ar9002/ar9287_attach.c
240
if (ecode != HAL_OK)
sys/dev/netif/ath/ath_hal/ar9002/ar9287_attach.c
245
ecode = HAL_EIO;
sys/dev/netif/ath/ath_hal/ar9002/ar9287_attach.c
254
ecode = HAL_ESELFTEST;
sys/dev/netif/ath/ath_hal/ar9002/ar9287_attach.c
281
ecode = HAL_ENOTSUPP;
sys/dev/netif/ath/ath_hal/ar9002/ar9287_attach.c
285
rfStatus = ar9287RfAttach(ah, &ecode);
sys/dev/netif/ath/ath_hal/ar9002/ar9287_attach.c
288
__func__, ecode);
sys/dev/netif/ath/ath_hal/ar9002/ar9287_attach.c
299
ecode = HAL_ENOTSUPP;
sys/dev/netif/ath/ath_hal/ar9002/ar9287_attach.c
322
ecode = HAL_EEREAD;
sys/dev/netif/ath/ath_hal/ar9002/ar9287_attach.c
326
ecode = ath_hal_eepromGet(ah, AR_EEP_MACADDR, ahp->ah_macaddr);
sys/dev/netif/ath/ath_hal/ar9002/ar9287_attach.c
327
if (ecode != HAL_OK) {
sys/dev/netif/ath/ath_hal/ar9002/ar9287_attach.c
366
*status = ecode;
test/socket/accept4/cloexec/accept4_cloexec.c
122
ecode = WEXITSTATUS(status);
test/socket/accept4/cloexec/accept4_cloexec.c
123
if (ecode != 0) {
test/socket/accept4/cloexec/accept4_cloexec.c
124
warnx("exit code %d", ecode);
test/socket/accept4/cloexec/accept4_cloexec.c
53
int opt, port, status, ecode, error;
test/socket/recvmsg/cloexec/recvmsg_cloexec.c
26
int s[2], status, ecode;
test/socket/recvmsg/cloexec/recvmsg_cloexec.c
56
ecode = WEXITSTATUS(status);
test/socket/recvmsg/cloexec/recvmsg_cloexec.c
57
if (ecode != 0) {
test/socket/recvmsg/cloexec/recvmsg_cloexec.c
58
warnx("exit code %d", ecode);
test/socket/socket/cloexec/socket_cloexec.c
21
int s, status, ecode;
test/socket/socket/cloexec/socket_cloexec.c
44
ecode = WEXITSTATUS(status);
test/socket/socket/cloexec/socket_cloexec.c
45
if (ecode != 0) {
test/socket/socket/cloexec/socket_cloexec.c
46
warnx("exit code %d", ecode);
test/socket/socketpair/cloexec/sockpair_cloexec.c
19
int s[2], status, ecode;
test/socket/socketpair/cloexec/sockpair_cloexec.c
42
ecode = WEXITSTATUS(status);
test/socket/socketpair/cloexec/sockpair_cloexec.c
43
if (ecode != 0) {
test/socket/socketpair/cloexec/sockpair_cloexec.c
44
warnx("exit code %d", ecode);
usr.bin/dsynth/dsynth.c
43
static void usage(int ecode) __dead2;
usr.bin/dsynth/dsynth.c
685
usage(int ecode)
usr.bin/dsynth/dsynth.c
687
if (ecode == 2) {
usr.bin/dsynth/dsynth.c
749
exit(ecode);
usr.sbin/cron/lib/entry.c
100
ecode_e ecode = e_none;
usr.sbin/cron/lib/entry.c
184
ecode = e_timespec;
usr.sbin/cron/lib/entry.c
192
ecode = e_cmd;
usr.sbin/cron/lib/entry.c
201
ecode = e_minute;
usr.sbin/cron/lib/entry.c
211
ecode = e_hour;
usr.sbin/cron/lib/entry.c
223
ecode = e_dom;
usr.sbin/cron/lib/entry.c
233
ecode = e_month;
usr.sbin/cron/lib/entry.c
245
ecode = e_dow;
usr.sbin/cron/lib/entry.c
272
ecode = e_cmd;
usr.sbin/cron/lib/entry.c
288
ecode = e_mem;
usr.sbin/cron/lib/entry.c
292
ecode = e_class;
usr.sbin/cron/lib/entry.c
301
ecode = e_group;
usr.sbin/cron/lib/entry.c
308
ecode = e_username;
usr.sbin/cron/lib/entry.c
320
ecode = e_username;
usr.sbin/cron/lib/entry.c
333
ecode = e_mem;
usr.sbin/cron/lib/entry.c
343
ecode = e_mem;
usr.sbin/cron/lib/entry.c
353
ecode = e_mem;
usr.sbin/cron/lib/entry.c
363
ecode = e_mem;
usr.sbin/cron/lib/entry.c
373
ecode = e_mem;
usr.sbin/cron/lib/entry.c
383
ecode = e_mem;
usr.sbin/cron/lib/entry.c
400
ecode = e_cmd;
usr.sbin/cron/lib/entry.c
409
ecode = e_mem;
usr.sbin/cron/lib/entry.c
420
if (ecode != e_none && error_func)
usr.sbin/cron/lib/entry.c
421
(*error_func)(ecodes[(int)ecode]);
usr.sbin/rpcbind/util.c
299
int ecode;
usr.sbin/rpcbind/util.c
304
if ((ecode = getaddrinfo(NULL, "sunrpc", &hints, &res))) {
usr.sbin/rpcbind/util.c
307
gai_strerror(ecode));
usr.sbin/rpcbind/util.c
319
if ((ecode = getaddrinfo(NULL, "sunrpc", &hints, &res))) {
usr.sbin/rpcbind/util.c
322
gai_strerror(ecode));