Symbol: EFAULT
common/lib/libprop/prop_kern.c
465
return (EFAULT);
common/lib/libprop/prop_kern.c
558
return (EFAULT);
lib/libc/gen/getentropy.c
57
errno = EFAULT;
lib/libc/net/sctp_sys_calls.c
192
errno = EFAULT;
lib/libc/net/sctp_sys_calls.c
256
errno = EFAULT;
lib/libc/net/sctp_sys_calls.c
315
errno = EFAULT;
lib/libc/stdlib/radixsort.c
124
errno = EFAULT;
lib/libisns/isns_pdu.c
1031
return EFAULT;
lib/libisns/isns_pdu.c
1064
return EFAULT;
lib/libisns/isns_pdu.c
1108
return EFAULT;
lib/libnvmm/libnvmm_x86.c
426
errno = EFAULT;
lib/libnvmm/libnvmm_x86.c
508
errno = EFAULT;
lib/libnvmm/libnvmm_x86.c
573
errno = EFAULT;
lib/libnvmm/libnvmm_x86.c
597
errno = EFAULT;
lib/libnvmm/libnvmm_x86.c
630
errno = EFAULT;
lib/libnvmm/libnvmm_x86.c
654
errno = EFAULT;
lib/librumpuser/rumpuser_errtrans.c
66
#ifdef EFAULT
lib/librumpuser/rumpuser_errtrans.c
67
case EFAULT : return 14;
lib/librumpuser/rumpuser_sp.c
801
rv = EFAULT;
lib/librumpuser/rumpuser_sp.c
834
rv = EFAULT;
lib/librumpuser/rumpuser_sp.c
867
rv = EFAULT;
lib/libutil/opendisk.c
76
errno = EFAULT;
libexec/httpd/daemon-bozo.c
277
if (errno == EFAULT ||
libexec/httpd/daemon-bozo.c
300
if (errno == EFAULT ||
regress/sys/kern/getcwd/getcwd.c
346
CHECK("/", __getcwd((void *)0x10000, sizeof(kbuf)), -1, EFAULT); /* outside address space */
regress/sys/kern/getcwd/getcwd.c
347
CHECK("/", __getcwd(0, 30), -1, EFAULT);
regress/sys/kern/getcwd/getcwd.c
348
CHECK("/", __getcwd((void*)0xdeadbeef, 30), -1, EFAULT);
sbin/ifconfig/lagg.c
370
errno = EFAULT;
sbin/routed/if.c
733
if (errno != ENOMEM && errno != EFAULT)
sbin/routed/table.c
1077
if (errno != ENOMEM && errno != EFAULT)
sys/arch/aarch64/aarch64/aarch64_machdep.c
623
return EFAULT;
sys/arch/aarch64/aarch64/aarch64_machdep.c
653
return EFAULT;
sys/arch/aarch64/aarch64/aarch64_machdep.c
665
return EFAULT;
sys/arch/aarch64/aarch64/aarch64_machdep.c
832
case EFAULT:
sys/arch/aarch64/aarch64/fault.c
142
int error = EFAULT, len;
sys/arch/aarch64/aarch64/trap.c
695
return EFAULT;
sys/arch/aarch64/aarch64/trap.c
930
cpu_jump_onfault(tf, fb, EFAULT);
sys/arch/alpha/alpha/compat_13_machdep.c
82
return (EFAULT);
sys/arch/alpha/alpha/compat_16_machdep.c
270
return (EFAULT);
sys/arch/alpha/alpha/machdep.c
1342
case EFAULT:
sys/arch/alpha/alpha/machdep.c
1815
return EFAULT;
sys/arch/alpha/alpha/trap.c
504
rv = EFAULT;
sys/arch/amd64/amd64/machdep.c
1350
case EFAULT:
sys/arch/amd64/amd64/machdep.c
2413
return EFAULT;
sys/arch/amd64/amd64/machdep.c
2433
return EFAULT;
sys/arch/amd64/amd64/netbsd32_machdep_13.c
102
return (EFAULT);
sys/arch/amd64/amd64/netbsd32_machdep_16.c
192
return (EFAULT);
sys/arch/amd64/amd64/trap.c
339
onfault_restore(frame, onfault, EFAULT);
sys/arch/amd64/amd64/trap.c
598
error = EFAULT;
sys/arch/amiga/amiga/machdep.c
484
case EFAULT:
sys/arch/amiga/amiga/machdep.c
868
return (pa >= 0xfffffffc || pa < lowram) ? EFAULT : 0;
sys/arch/amiga/dev/ite.c
570
return(EFAULT);
sys/arch/amiga/dev/ite.c
575
return(EFAULT);
sys/arch/arm/arm/compat_13_machdep.c
73
return (EFAULT);
sys/arch/arm/arm/compat_16_machdep.c
221
return (EFAULT);
sys/arch/arm/arm/compat_16_machdep.c
230
return (EFAULT);
sys/arch/arm/arm32/bus_dma.c
645
error = EFAULT;
sys/arch/arm/arm32/fault.c
727
tf->tf_r0 = EFAULT;
sys/arch/arm/arm32/stubs.c
288
case EFAULT:
sys/arch/arm/broadcom/bcm283x_platform.c
1154
return EFAULT;
sys/arch/arm/xscale/iopaau.c
464
error = EFAULT; /* "address error", sort of. */
sys/arch/arm/xscale/iopaau.c
489
error = EFAULT; /* "address error", sort of. */
sys/arch/arm/xscale/iopaau.c
538
error = EFAULT; /* "address" error, sort of. */
sys/arch/arm/xscale/iopaau.c
614
dreq->dreq_error = EFAULT;
sys/arch/arm/xscale/pxa2x0_dmac.c
1289
(dcsr & DCSR_BUSERRINTR) ? EFAULT : 0);
sys/arch/arm/xscale/pxa2x0_dmac.c
799
return (EFAULT);
sys/arch/atari/atari/machdep.c
365
case EFAULT:
sys/arch/atari/atari/machdep.c
599
return EFAULT;
sys/arch/atari/dev/ite.c
533
return(EFAULT);
sys/arch/atari/dev/ite.c
538
return(EFAULT);
sys/arch/atari/dev/ite.c
543
return(EFAULT);
sys/arch/atari/dev/ite.c
548
return(EFAULT);
sys/arch/atari/dev/ite.c
555
return(EFAULT);
sys/arch/atari/dev/ite.c
564
return(EFAULT);
sys/arch/atari/dev/ite.c
580
return(EFAULT);
sys/arch/atari/dev/ite.c
586
return(EFAULT);
sys/arch/cesfic/cesfic/machdep.c
335
case EFAULT:
sys/arch/emips/ebus/ace_ebus.c
2321
return EFAULT;
sys/arch/emips/ebus/ace_ebus.c
2333
return EFAULT;
sys/arch/evbsh3/evbsh3/bus_dma.c
262
return EFAULT;
sys/arch/evbsh3/evbsh3/bus_dma.c
410
return EFAULT;
sys/arch/ews4800mips/ews4800mips/bus_space.c
159
return EFAULT;
sys/arch/ews4800mips/ews4800mips/bus_space.c
210
return EFAULT;
sys/arch/ews4800mips/ews4800mips/bus_space.c
252
return EFAULT;
sys/arch/hp300/dev/rd.c
1476
return EFAULT;
sys/arch/hp300/dev/rd.c
1499
return EFAULT;
sys/arch/hp300/hp300/machdep.c
709
? EFAULT : 0;
sys/arch/hpcmips/vr/vrdmaau.c
156
return EFAULT;
sys/arch/hppa/hppa/fpu.c
254
return EFAULT;
sys/arch/hppa/hppa/machdep.c
1850
case EFAULT: printf("device not ready\n"); break;
sys/arch/hppa/hppa/machdep.c
2135
return (atop(pa) > physmem) ? EFAULT : 0;
sys/arch/hppa/hppa/machdep.c
2154
return EFAULT;
sys/arch/hppa/hppa/trap.c
1029
ret = EFAULT;
sys/arch/hppa/hppa/trap.c
729
ret = EFAULT;
sys/arch/i386/i386/compat_13_machdep.c
64
return (EFAULT);
sys/arch/i386/i386/compat_16_machdep.c
88
return (EFAULT);
sys/arch/i386/i386/dumpsys.c
231
case EFAULT:
sys/arch/i386/i386/longrun.c
98
if (rdmsr_safe(MSR_TMx86_LONGRUN, &msr) == EFAULT)
sys/arch/i386/i386/trap.c
371
error = EFAULT;
sys/arch/i386/i386/trap.c
713
error = EFAULT;
sys/arch/ia64/ia64/efi.c
69
return (EFAULT);
sys/arch/ia64/ia64/efi.c
99
return ((status < 0) ? EFAULT : 0);
sys/arch/landisk/landisk/bus_dma.c
262
return EFAULT;
sys/arch/landisk/landisk/bus_dma.c
410
return EFAULT;
sys/arch/m68k/m68k/compat_13_machdep.c
91
return EFAULT;
sys/arch/m68k/m68k/compat_16_machdep.c
271
return EFAULT;
sys/arch/m68k/m68k/dumpsys.c
297
case EFAULT:
sys/arch/m68k/m68k/m68k_machdep.c
548
return EFAULT;
sys/arch/m68k/m68k/m68k_trap.c
1060
rv = EFAULT;
sys/arch/m68k/m68k/m68k_trap.c
742
rv = EFAULT;
sys/arch/m68k/m68k/sunos_machdep.c
214
return EFAULT;
sys/arch/mac68k/mac68k/machdep.c
2537
return (pa < last_page) ? 0 : EFAULT;
sys/arch/mac68k/mac68k/machdep.c
652
case EFAULT:
sys/arch/macppc/dev/nvram.c
146
return EFAULT;
sys/arch/mips/mips/mips_emul.c
417
int error = EFAULT;
sys/arch/mips/mips/mips_machdep.c
2061
case EFAULT:
sys/arch/mips/mips/mips_machdep.c
2504
return (pa < ctob(physmem)) ? 0 : EFAULT;
sys/arch/mips/mips/mips_machdep.c
2517
return EFAULT;
sys/arch/mips/mips/mips_machdep.c
2537
return EFAULT;
sys/arch/mips/mips/mips_machdep.c
2545
return EFAULT;
sys/arch/mips/mips/trap.c
469
rv = EFAULT;
sys/arch/mips/mips/trap.c
526
rv = EFAULT;
sys/arch/mips/mips/trap.c
803
return EFAULT;
sys/arch/news68k/news68k/machdep.c
536
return EFAULT;
sys/arch/powerpc/booke/copyin.c
211
return EFAULT;
sys/arch/powerpc/booke/copyin.c
229
return EFAULT;
sys/arch/powerpc/booke/copyin.c
247
return EFAULT;
sys/arch/powerpc/booke/copyout.c
309
return EFAULT;
sys/arch/powerpc/booke/copyout.c
327
return EFAULT;
sys/arch/powerpc/booke/copyout.c
345
return EFAULT;
sys/arch/powerpc/booke/copyout.c
463
return EFAULT;
sys/arch/powerpc/booke/trap.c
112
int rv = EFAULT;
sys/arch/powerpc/booke/trap.c
174
return EFAULT;
sys/arch/powerpc/booke/trap.c
517
return EFAULT;
sys/arch/powerpc/booke/trap.c
577
int rv = EFAULT;
sys/arch/powerpc/booke/trap.c
603
int rv = EFAULT;
sys/arch/powerpc/ibm4xx/trap.c
188
rv = EFAULT;
sys/arch/powerpc/oea/oea_machdep.c
1191
case EFAULT:
sys/arch/powerpc/powerpc/powerpc_machdep.c
902
return (atop(pa) < physmem) ? 0 : EFAULT;
sys/arch/powerpc/powerpc/powerpc_machdep.c
915
return EFAULT;
sys/arch/powerpc/powerpc/trap.c
195
rv = EFAULT;
sys/arch/powerpc/powerpc/trap.c
201
rv = EFAULT;
sys/arch/powerpc/powerpc/trap.c
471
tf->tf_fixreg[3] = EFAULT;
sys/arch/riscv/riscv/bus_dma.c
1606
return EFAULT;
sys/arch/riscv/riscv/bus_dma.c
639
error = EFAULT;
sys/arch/riscv/riscv/riscv_machdep.c
942
return EFAULT;
sys/arch/riscv/riscv/trap.c
130
return EFAULT;
sys/arch/riscv/riscv/trap.c
134
return EFAULT;
sys/arch/riscv/riscv/trap.c
158
return EFAULT;
sys/arch/riscv/riscv/trap.c
162
return EFAULT;
sys/arch/riscv/riscv/trap.c
200
return EFAULT;
sys/arch/riscv/riscv/trap.c
207
return EFAULT;
sys/arch/riscv/riscv/trap.c
236
return EFAULT;
sys/arch/riscv/riscv/trap.c
243
return EFAULT;
sys/arch/riscv/riscv/trap.c
677
return EFAULT;
sys/arch/riscv/riscv/trap.c
742
return EFAULT;
sys/arch/riscv/riscv/vm_machdep.c
267
return (atop(pa) < physmem) ? 0 : EFAULT;
sys/arch/sh3/sh3/compat_16_machdep.c
209
return (EFAULT);
sys/arch/sh3/sh3/exception.c
201
tf->tf_r0 = EFAULT;
sys/arch/sh3/sh3/exception.c
336
tf->tf_r0 = EFAULT;
sys/arch/sh3/sh3/exception.c
363
tf->tf_r0 = EFAULT;
sys/arch/sh3/sh3/exception.c
393
err = EFAULT;
sys/arch/sh3/sh3/vm_machdep.c
390
return EFAULT;
sys/arch/sh3/sh3/vm_machdep.c
399
return EFAULT;
sys/arch/sh3/sh3/vm_machdep.c
406
return EFAULT;
sys/arch/sparc/sparc/clock.c
232
return (EFAULT);
sys/arch/sparc/sparc/iommu.c
619
return (EFAULT);
sys/arch/sparc/sparc/machdep.c
1043
case EFAULT:
sys/arch/sparc/sparc/machdep.c
3118
return pmap_pa_exists(pa) ? 0 : EFAULT;
sys/arch/sparc/sparc/trap.c
1113
rv = EFAULT;
sys/arch/sparc/sparc/trap.c
1167
rv = EFAULT;
sys/arch/sparc/sparc/trap.c
1177
rv = EFAULT;
sys/arch/sparc/sparc/trap.c
1229
tf->tf_out[0] = (rv == EACCES) ? EFAULT : rv;
sys/arch/sparc/sparc/trap.c
840
rv = EFAULT;
sys/arch/sparc/sparc/trap.c
850
rv = EFAULT;
sys/arch/sparc/sparc/trap.c
935
tf->tf_out[0] = (rv == EACCES) ? EFAULT : rv;
sys/arch/sparc/stand/boot/boot.c
209
error = EFAULT;
sys/arch/sparc/stand/boot/boot.c
223
error = EFAULT;
sys/arch/sparc/stand/common/mmu.c
131
return (EFAULT);
sys/arch/sparc/stand/common/mmu.c
165
return (EFAULT);
sys/arch/sparc64/sparc64/compat_13_machdep.c
104
return (EFAULT);
sys/arch/sparc64/sparc64/compat_13_machdep.c
107
return (EFAULT);
sys/arch/sparc64/sparc64/machdep.c
2677
return pmap_pa_exists(pa) ? 0 : EFAULT;
sys/arch/sparc64/sparc64/machdep.c
776
case EFAULT:
sys/arch/sparc64/sparc64/sunos32_machdep.c
328
return (EFAULT);
sys/arch/sparc64/sparc64/sunos_machdep.c
238
return (EFAULT);
sys/arch/sparc64/sparc64/trap.c
1094
tf->tf_out[0] = EFAULT;
sys/arch/sparc64/sparc64/trap.c
1131
rv = EFAULT;
sys/arch/sparc64/sparc64/trap.c
1194
rv = EFAULT;
sys/arch/sparc64/sparc64/trap.c
1227
tf->tf_out[0] = (rv == EACCES) ? EFAULT : rv;
sys/arch/sparc64/sparc64/trap.c
1418
tf->tf_out[0] = EFAULT;
sys/arch/sun2/sun2/machdep.c
1009
return EFAULT;
sys/arch/sun3/dev/bt_subr.c
102
return (EFAULT);
sys/arch/sun3/dev/bt_subr.c
77
return (EFAULT);
sys/arch/sun3/dev/eeprom.c
178
return EFAULT;
sys/arch/sun3/sun3/machdep.c
590
return EFAULT;
sys/arch/sun3/sun3x/machdep.c
562
return EFAULT;
sys/arch/usermode/usermode/machdep.c
326
return EFAULT;
sys/arch/usermode/usermode/machdep.c
339
return EFAULT;
sys/arch/usermode/usermode/machdep.c
341
return EFAULT;
sys/arch/usermode/usermode/machdep.c
343
return EFAULT;
sys/arch/usermode/usermode/trap.c
476
error = EFAULT;
sys/arch/vax/vax/machdep.c
448
case EFAULT:
sys/arch/vax/vax/machdep.c
760
return (pa < avail_end) ? 0 : EFAULT;
sys/arch/x68k/dev/ite.c
476
return EFAULT;
sys/arch/x68k/dev/ite.c
482
return EFAULT;
sys/arch/x68k/dev/ite.c
504
return EFAULT;
sys/arch/x68k/dev/ite.c
510
return EFAULT;
sys/arch/x68k/dev/opmbell.c
225
return EFAULT;
sys/arch/x68k/dev/opmbell.c
235
return EFAULT;
sys/arch/x68k/dev/sram.c
202
return EFAULT;
sys/arch/x68k/dev/sram.c
213
return EFAULT;
sys/arch/x68k/dev/sram.c
225
return EFAULT;
sys/arch/x86/acpi/acpi_cpu_md.c
248
if (rdmsr_safe(MSR_CMPHALT, &msr) != EFAULT)
sys/arch/x86/acpi/acpi_cpu_md.c
270
if (rdmsr_safe(MSR_CMPHALT, &msr) != EFAULT)
sys/arch/x86/x86/coretemp.c
292
if (rdmsr_safe(MSR_IA32_EXT_CONFIG, &msr) == EFAULT) {
sys/arch/x86/x86/coretemp.c
317
if (rdmsr_safe(MSR_TEMPERATURE_TARGET, &msr) == EFAULT) {
sys/arch/x86/x86/hyperv.c
573
if (rdmsr_safe(MSR_HV_HYPERCALL, &msr) == EFAULT)
sys/arch/x86/x86/intel_busclock.c
108
if (rdmsr_safe(MSR_FSB_FREQ, &msr) == EFAULT) {
sys/arch/x86/x86/intel_busclock.c
125
if (rdmsr_safe(MSR_FSB_FREQ, &msr) == EFAULT) {
sys/arch/x86/x86/intel_busclock.c
147
if (rdmsr_safe(MSR_FSB_FREQ, &msr) == EFAULT) {
sys/arch/x86/x86/intel_busclock.c
215
if (rdmsr_safe(MSR_FSB_FREQ, &msr) == EFAULT) {
sys/arch/x86/x86/intel_busclock.c
245
if (rdmsr_safe(MSR_FSB_FREQ, &msr) == EFAULT) {
sys/arch/x86/x86/intel_busclock.c
274
if (rdmsr_safe(MSR_FSB_FREQ, &msr) == EFAULT) {
sys/arch/x86/x86/lapic.c
246
rdmsr_safe(MSR_APICBASE, &msr) == EFAULT)
sys/arch/x86/x86/viac7temp.c
161
if (rdmsr_safe(sc->sc_temp_msr, &msr) == EFAULT) {
sys/arch/x86/x86/viac7temp.c
82
if (!temp_msr || rdmsr_safe(temp_msr, &val) == EFAULT)
sys/arch/xen/xen/privcmd.c
1070
error = EFAULT;
sys/arch/xen/xen/privcmd.c
1082
error = EFAULT;
sys/arch/xen/xen/privcmd.c
1090
error = EFAULT;
sys/arch/xen/xen/privcmd.c
1100
error = EFAULT;
sys/arch/xen/xen/privcmd.c
162
return EFAULT;
sys/coda/coda_vnops.c
1198
error = EFAULT; /* XXX better value */
sys/compat/freebsd/freebsd_machdep.c
177
return (EFAULT);
sys/compat/linux/arch/alpha/linux_machdep.c
437
return (EFAULT);
sys/compat/linux/arch/alpha/linux_machdep.c
469
return(EFAULT);
sys/compat/linux/arch/arm/linux_machdep.c
213
return (EFAULT);
sys/compat/linux/arch/powerpc/linux_machdep.c
293
return (EFAULT);
sys/compat/linux/arch/powerpc/linux_machdep.c
300
return (EFAULT);
sys/compat/linux/arch/powerpc/linux_machdep.c
388
return (EFAULT);
sys/compat/linux/arch/powerpc/linux_machdep.c
394
return (EFAULT);
sys/compat/netbsd32/netbsd32_compat_43.c
449
return EFAULT;
sys/compat/netbsd32/netbsd32_compat_43.c
528
return EFAULT;
sys/compat/netbsd32/netbsd32_futex.c
124
return EFAULT;
sys/compat/netbsd32/netbsd32_signal.c
77
return EFAULT;
sys/compat/netbsd32/netbsd32_signal.c
98
return EFAULT;
sys/dev/ata/wd.c
1716
return EFAULT;
sys/dev/dksubr.c
789
return EFAULT;
sys/dev/dksubr.c
808
return EFAULT;
sys/dev/dtv/dtv_buffer.c
274
if (error == EFAULT)
sys/dev/dtv/dtv_buffer.c
275
return EFAULT;
sys/dev/dtv/dtv_scatter.c
237
if (err == EFAULT) {
sys/dev/dtv/dtv_scatter.c
240
return EFAULT;
sys/dev/gpib/rd.c
1099
return (EFAULT);
sys/dev/gpib/rd.c
1116
return (EFAULT);
sys/dev/ic/isp_netbsd.c
472
retval = EFAULT;
sys/dev/ic/isp_netbsd.c
501
retval = EFAULT;
sys/dev/ic/isp_netbsd.c
509
retval = EFAULT;
sys/dev/mca/ed_mca.c
623
return EFAULT;
sys/dev/mca/ed_mca.c
639
return EFAULT;
sys/dev/mm.c
179
return EFAULT;
sys/dev/mm.c
248
return EFAULT;
sys/dev/mm.c
284
return EFAULT;
sys/dev/pci/if_ena.c
1073
return (EFAULT);
sys/dev/pci/if_ena.c
1296
return (EFAULT);
sys/dev/pci/if_ena.c
843
return (EFAULT);
sys/dev/pci/if_iwm.c
4969
return EFAULT;
sys/dev/pci/qat/qat.c
1086
return EFAULT;
sys/dev/pci/qat/qat_ae.c
1151
return EFAULT;
sys/dev/pci/qat/qat_ae.c
214
return EFAULT;
sys/dev/pci/qat/qat_ae.c
235
return EFAULT;
sys/dev/pci/qat/qat_hw17.c
171
return received ? 0 : EFAULT;
sys/dev/pci/qat/qat_hw17.c
193
return EFAULT;
sys/dev/pci/twe.c
1864
error = EFAULT;
sys/dev/pci/ubsec.c
2297
crp->crp_etype = EFAULT;
sys/dev/pci/ubsec.c
2314
crp->crp_etype = EFAULT;
sys/dev/pci/xmm7360.c
1073
return -EFAULT;
sys/dev/raidframe/rf_dagfuncs.c
583
return (EFAULT);
sys/dev/raidframe/rf_dagfuncs.c
621
return (EFAULT);
sys/dev/raidframe/rf_dagfuncs.c
675
return (EFAULT);
sys/dev/raidframe/rf_dagfuncs.c
680
return (EFAULT);
sys/dev/raidframe/rf_dagfuncs.c
685
return (EFAULT);
sys/dev/raidframe/rf_dagfuncs.c
749
return (EFAULT);
sys/dev/raidframe/rf_dagfuncs.c
756
return (EFAULT);
sys/dev/raidframe/rf_dagfuncs.c
761
return (EFAULT);
sys/dev/raidframe/rf_dagfuncs.c
767
return (EFAULT);
sys/dev/raidframe/rf_dagfuncs.c
780
return (EFAULT);
sys/dev/raidframe/rf_dagfuncs.c
787
return (EFAULT);
sys/dev/raidframe/rf_dagfuncs.c
792
return (EFAULT);
sys/dev/raidframe/rf_dagfuncs.c
798
return (EFAULT);
sys/dev/scsipi/scsipi_ioctl.c
269
error = EFAULT;
sys/dev/smbios.c
187
return EFAULT;
sys/dev/usb/utoppy.c
408
EFAULT, /* USBD_BAD_ADDRESS */
sys/dev/usb/utoppy.c
427
return EFAULT;
sys/dev/video.c
1893
if (err == EFAULT)
sys/dev/video.c
1894
return EFAULT;
sys/dev/video.c
2939
if (err == EFAULT) {
sys/dev/video.c
2942
return EFAULT;
sys/dist/pf/net/pf_if.c
770
return (EFAULT);
sys/dist/pf/net/pf_ioctl.c
1969
error = EFAULT;
sys/dist/pf/net/pf_ioctl.c
2884
error = EFAULT;
sys/dist/pf/net/pf_ioctl.c
2926
error = EFAULT;
sys/dist/pf/net/pf_ioctl.c
2953
error = EFAULT;
sys/dist/pf/net/pf_ioctl.c
3018
error = EFAULT;
sys/dist/pf/net/pf_ioctl.c
3075
error = EFAULT;
sys/dist/pf/net/pf_table.c
1096
return (EFAULT);
sys/dist/pf/net/pf_table.c
1115
return (EFAULT);
sys/dist/pf/net/pf_table.c
1201
senderr(EFAULT);
sys/dist/pf/net/pf_table.c
1279
return (EFAULT);
sys/dist/pf/net/pf_table.c
1331
return (EFAULT);
sys/dist/pf/net/pf_table.c
1373
return (EFAULT);
sys/dist/pf/net/pf_table.c
1405
return (EFAULT);
sys/dist/pf/net/pf_table.c
1442
return (EFAULT);
sys/dist/pf/net/pf_table.c
1572
senderr(EFAULT);
sys/dist/pf/net/pf_table.c
293
senderr(EFAULT);
sys/dist/pf/net/pf_table.c
323
senderr(EFAULT);
sys/dist/pf/net/pf_table.c
386
return (EFAULT);
sys/dist/pf/net/pf_table.c
397
senderr(EFAULT);
sys/dist/pf/net/pf_table.c
419
senderr(EFAULT);
sys/dist/pf/net/pf_table.c
469
senderr(EFAULT);
sys/dist/pf/net/pf_table.c
507
senderr(EFAULT);
sys/dist/pf/net/pf_table.c
520
senderr(EFAULT);
sys/dist/pf/net/pf_table.c
572
return (EFAULT);
sys/dist/pf/net/pf_table.c
585
return (EFAULT);
sys/dist/pf/net/pf_table.c
701
senderr(EFAULT);
sys/dist/pf/net/pf_table.c
709
senderr(EFAULT);
sys/fs/udf/udf_subr.c
3254
error = EFAULT;
sys/kern/kern_pax.c
738
return SET_ERROR(EFAULT);
sys/kern/kern_proc.c
1798
return SET_ERROR(EFAULT);
sys/kern/subr_copy.c
464
return SET_ERROR(EFAULT); \
sys/kern/subr_physmap.c
112
return SET_ERROR(EFAULT);
sys/kern/subr_physmap.c
90
return SET_ERROR(EFAULT);
sys/kern/sys_futex.c
423
error = EFAULT;
sys/kern/sys_process.c
172
error = EFAULT;
sys/miscfs/deadfs/dead_vnops.c
346
return (EFAULT);
sys/miscfs/deadfs/dead_vnops.c
360
return (EFAULT);
sys/miscfs/kernfs/kernfs_vnops.c
1163
return (EFAULT);
sys/miscfs/procfs/procfs_vnops.c
1933
return (EFAULT);
sys/net80211/ieee80211_ioctl.c
1221
return EFAULT;
sys/netbt/hci_ioctl.c
320
err = EFAULT;
sys/netinet/sctp_output.c
2094
return (EFAULT);
sys/netinet/sctp_output.c
2103
return (EFAULT);
sys/netinet/sctp_output.c
2497
return (EFAULT);
sys/netinet/sctp_output.c
4151
return (EFAULT);
sys/netinet/sctp_output.c
4206
error = EFAULT;
sys/netinet/sctp_output.c
4393
error = EFAULT;
sys/netinet/sctp_output.c
4820
return (EFAULT);
sys/netinet/sctp_output.c
7120
return (EFAULT);
sys/netinet/sctp_output.c
7135
return (EFAULT);
sys/netinet/sctp_output.c
9368
error = EFAULT;
sys/netinet/sctp_output.c
9505
error = EFAULT;
sys/netinet/sctp_output.c
9824
error = EFAULT;
sys/netinet/sctp_output.c
9833
error = EFAULT;
sys/netinet/sctp_peeloff.c
111
return (EFAULT);
sys/netinet/sctp_peeloff.c
152
*error = EFAULT;
sys/netinet/sctp_peeloff.c
93
return (EFAULT);
sys/netinet/sctp_usrreq.c
1180
return (EFAULT);
sys/netinet/sctp_usrreq.c
3335
return (EFAULT);
sys/netinet/sctputil.c
1090
return (EFAULT);
sys/netinet/sctputil.c
1109
return (EFAULT);
sys/netinet/sctputil.c
1126
return (EFAULT);
sys/netinet/sctputil.c
1141
return (EFAULT);
sys/netinet/sctputil.c
1149
return (EFAULT);
sys/netinet/sctputil.c
1166
return (EFAULT);
sys/netinet/sctputil.c
1251
return (EFAULT);
sys/netinet/sctputil.c
1283
return (EFAULT);
sys/netinet/sctputil.c
1286
return (EFAULT);
sys/netinet/sctputil.c
1294
return (EFAULT);
sys/netinet/sctputil.c
1309
return (EFAULT);
sys/netinet/sctputil.c
1320
return (EFAULT);
sys/netinet/sctputil.c
1336
return (EFAULT);
sys/netinet/sctputil.c
1347
return (EFAULT);
sys/netinet/sctputil.c
1363
return (EFAULT);
sys/netinet/sctputil.c
1373
return (EFAULT);
sys/netinet/sctputil.c
1401
return (EFAULT);
sys/netinet/sctputil.c
1414
return (EFAULT);
sys/netinet/sctputil.c
1420
return (EFAULT);
sys/netinet/sctputil.c
1426
return (EFAULT);
sys/netinet/sctputil.c
1432
return (EFAULT);
sys/netinet/sctputil.c
1438
return (EFAULT);
sys/netinet/sctputil.c
1444
return (EFAULT);
sys/netinet/sctputil.c
1466
return (EFAULT);
sys/netinet/sctputil.c
1469
return (EFAULT);
sys/netinet/sctputil.c
1475
return (EFAULT);
sys/netinet/sctputil.c
1481
return (EFAULT);
sys/netinet/sctputil.c
1487
return (EFAULT);
sys/netinet/sctputil.c
1493
return (EFAULT);
sys/netinet/sctputil.c
1499
return (EFAULT);
sys/netinet/sctputil.c
1513
return (EFAULT);
sys/netinet/sctputil.c
1859
return (EFAULT);
sys/netipsec/ipsec_output.c
578
error = EFAULT;
sys/netipsec/ipsec_output.c
788
error = EFAULT;
sys/rump/include/rump/rumperrno2host.h
72
#ifdef EFAULT
sys/rump/include/rump/rumperrno2host.h
74
return EFAULT;
sys/rump/librump/rumpkern/rumpcopy.c
132
return EFAULT;
sys/rump/librump/rumpkern/rumpcopy.c
52
return EFAULT;
sys/rump/librump/rumpkern/rumpcopy.c
74
return EFAULT;
sys/rump/librump/rumpkern/rumpcopy.c
96
return EFAULT;
sys/secmodel/secmodel.c
175
return EFAULT;
sys/secmodel/secmodel.c
205
return EFAULT;
sys/secmodel/secmodel.c
255
error = EFAULT;
sys/uvm/uvm_fault.c
1019
return EFAULT;
sys/uvm/uvm_fault.c
1095
return EFAULT;
sys/uvm/uvm_fault.c
2630
return EFAULT;
sys/uvm/uvm_fault.c
994
return EFAULT;
sys/uvm/uvm_map.c
3507
return EFAULT;
sys/uvm/uvm_map.c
3986
return EFAULT;
sys/uvm/uvm_map.c
4007
return EFAULT;
sys/uvm/uvm_mmap.c
794
if (error == EFAULT)
tests/fs/vfs/t_io.c
236
ATF_REQUIRE_ERRNO(EFAULT, rump_sys_read(fd, NULL, 1) == -1);
tests/fs/vfs/t_vnops.c
489
ATF_CHECK_ERRNO(EFAULT, rump_sys_rename("file2", NULL) == -1);
tests/fs/vfs/t_vnops.c
490
ATF_CHECK_ERRNO(EFAULT, rump_sys_rename(NULL, "file2") == -1);
tests/include/t_errno.c
214
#ifdef EFAULT
tests/kernel/t_memfd_create.c
75
ATF_REQUIRE_ERRNO(EFAULT, true);
tests/lib/libc/gen/execve/t_execve.c
58
ATF_REQUIRE_MSG(errno == EFAULT,
tests/lib/libc/gen/execve/t_execve.c
59
"wrong error returned %d instead of %d", errno, EFAULT);
tests/lib/libc/gen/t_getcwd.c
62
ATF_REQUIRE(errno == EFAULT);
tests/lib/libc/gen/t_getentropy.c
118
ATF_CHECK_ERRNO(EFAULT, getentropy(NULL, 32) == -1);
tests/lib/libc/gen/t_getentropy.c
130
ATF_CHECK_ERRNO(EFAULT, getentropy((char *)(uintptr_t)1, 32) == -1);
tests/lib/libc/gen/t_getentropy.c
164
ATF_CHECK_ERRNO(EFAULT, getentropy(p + pagesize - 1, 2) == -1);
tests/lib/libc/gen/t_getentropy.c
165
ATF_CHECK_ERRNO(EFAULT, getentropy(p + pagesize, 32) == -1);
tests/lib/libc/gen/t_getentropy.c
166
ATF_CHECK_ERRNO(EFAULT, getentropy(p + 2*pagesize - 1, 2) == -1);
tests/lib/libc/stdio/t_fopen.c
375
ATF_REQUIRE_ERRNO(EFAULT, fopen(NULL, "r") == NULL);
tests/lib/libc/sys/t_access.c
104
ATF_REQUIRE(errno == EFAULT);
tests/lib/libc/sys/t_access.c
99
ATF_REQUIRE(errno == EFAULT);
tests/lib/libc/sys/t_chroot.c
127
ATF_REQUIRE_ERRNO(EFAULT, chroot((void *)-1) == -1);
tests/lib/libc/sys/t_futex_ops.c
994
ATF_CHECK_ERRNO(EFAULT,
tests/lib/libc/sys/t_getcontext.c
73
ATF_REQUIRE_ERRNO(EFAULT, getcontext((void *)-1) == -1);
tests/lib/libc/sys/t_getcontext.c
86
ATF_REQUIRE_ERRNO(EFAULT, setcontext((void *)-1) == -1);
tests/lib/libc/sys/t_getgroups.c
56
ATF_REQUIRE(errno == EFAULT);
tests/lib/libc/sys/t_getitimer.c
113
ATF_REQUIRE_ERRNO(EFAULT, getitimer(ITIMER_REAL, (void *)-1) == -1);
tests/lib/libc/sys/t_getitimer.c
167
ATF_REQUIRE_ERRNO(EFAULT, setitimer(ITIMER_REAL,(void*)-1, &ot) == -1);
tests/lib/libc/sys/t_getlogin.c
152
_exit(EFAULT);
tests/lib/libc/sys/t_getlogin.c
154
if (errno != EFAULT)
tests/lib/libc/sys/t_getlogin.c
155
_exit(EFAULT);
tests/lib/libc/sys/t_getlogin.c
172
if (WEXITSTATUS(sta) == EFAULT)
tests/lib/libc/sys/t_getrandom.c
278
ATF_CHECK_EQ(errno, EFAULT);
tests/lib/libc/sys/t_getrusage.c
95
ATF_REQUIRE(errno == EFAULT);
tests/lib/libc/sys/t_gettimeofday.c
51
ATF_REQUIRE_ERRNO(EFAULT, gettimeofday((void *)-1, NULL) != 0);
tests/lib/libc/sys/t_link.c
139
ATF_REQUIRE_ERRNO(EFAULT, link(path, (const char *)-1) == -1);
tests/lib/libc/sys/t_link.c
142
ATF_REQUIRE_ERRNO(EFAULT, link((const char *)-1, "xxx") == -1);
tests/lib/libc/sys/t_lwp_create.c
143
ATF_REQUIRE(serrno == EFAULT);
tests/lib/libc/sys/t_mincore.c
139
ATF_REQUIRE_ERRNO(EFAULT, mincore(map, page, (void *)-1) == -1);
tests/lib/libc/sys/t_mkdir.c
74
ATF_REQUIRE_ERRNO(EFAULT, mkdir((void *)-1, 0500) == -1);
tests/lib/libc/sys/t_mkfifo.c
131
ATF_REQUIRE_ERRNO(EFAULT, mkfifo((char *)-1, 0600) == -1);
tests/lib/libc/sys/t_mknod.c
68
ATF_REQUIRE_ERRNO(EFAULT, mknod((char *)-1, S_IFCHR, 0) == -1);
tests/lib/libc/sys/t_msgctl.c
92
ATF_REQUIRE_ERRNO(EFAULT, msgctl(id, IPC_STAT, (void *)-1) == -1);
tests/lib/libc/sys/t_msgrcv.c
173
ATF_REQUIRE_ERRNO(EFAULT, msgrcv(id, (void *)-1,
tests/lib/libc/sys/t_msgsnd.c
186
ATF_REQUIRE_ERRNO(EFAULT, msgsnd(id, (void *)-1,
tests/lib/libc/sys/t_msync.c
175
ATF_REQUIRE(errno == EFAULT);
tests/lib/libc/sys/t_nanosleep.c
123
ATF_REQUIRE_ERRNO(EFAULT, nanosleep((void *)-1, NULL) == -1);
tests/lib/libc/sys/t_poll.c
239
ATF_REQUIRE_ERRNO(EFAULT, poll((struct pollfd *)-1, 1, -1) == -1);
tests/lib/libc/sys/t_pollts.c
139
ATF_REQUIRE_ERRNO(EFAULT, POLLTS((void *)-1, 1, &timeout, NULL) == -1);
tests/lib/libc/sys/t_revoke.c
111
ATF_REQUIRE_ERRNO(EFAULT, revoke((char *)-1) == -1);
tests/lib/libc/sys/t_setrlimit.c
166
ATF_REQUIRE(errno == EFAULT);
tests/lib/libc/sys/t_stat.c
178
ATF_REQUIRE_ERRNO(EFAULT, stat((void *)-1, &st) == -1);
tests/lib/libc/sys/t_stat.c
181
ATF_REQUIRE_ERRNO(EFAULT, lstat((void *)-1, &st) == -1);
tests/lib/libc/sys/t_stat.c
184
ATF_REQUIRE_ERRNO(EFAULT, stat("/etc/passwd", (void *)-1) == -1);
tests/lib/libc/sys/t_stat.c
187
ATF_REQUIRE_ERRNO(EFAULT, lstat("/etc/passwd", (void *)-1) == -1);
tests/lib/libc/sys/t_truncate.c
156
ATF_REQUIRE_ERRNO(EFAULT, truncate((void *)-1, 999) == -1);
tests/lib/libc/sys/t_write.c
240
ATF_REQUIRE_EQ_MSG(errno, EFAULT, "got: %s", strerror(errno));
tests/lib/libc/sys/t_write.c
266
ATF_REQUIRE_EQ_MSG(errno, EFAULT, "got: %s", strerror(errno));
tests/lib/libc/sys/t_write.c
85
ATF_REQUIRE_ERRNO(EFAULT, write(fd, (void *)-1, 1) == -1);
tests/modules/t_ufetchstore.c
1106
EFAULT);
tests/modules/t_ufetchstore.c
1127
EFAULT);
tests/modules/t_ufetchstore.c
1148
&actual), EFAULT);
tests/modules/t_ufetchstore.c
1169
&actual), EFAULT);
tests/modules/t_ufetchstore.c
1197
0xbeefdead, &actual), EFAULT);
tests/modules/t_ufetchstore.c
1225
0xbeefdead, &actual), EFAULT);
tests/modules/t_ufetchstore.c
475
ATF_REQUIRE_EQ(do_ufetch_8(NULL, &res), EFAULT);
tests/modules/t_ufetchstore.c
494
ATF_REQUIRE_EQ(do_ufetch_16(NULL, &res), EFAULT);
tests/modules/t_ufetchstore.c
513
ATF_REQUIRE_EQ(do_ufetch_32(NULL, &res), EFAULT);
tests/modules/t_ufetchstore.c
533
ATF_REQUIRE_EQ(do_ufetch_64(NULL, &res), EFAULT);
tests/modules/t_ufetchstore.c
553
ATF_REQUIRE_EQ(do_ufetch_8(vm_max_address(), &res), EFAULT);
tests/modules/t_ufetchstore.c
572
ATF_REQUIRE_EQ(do_ufetch_16(vm_max_address(), &res), EFAULT);
tests/modules/t_ufetchstore.c
591
ATF_REQUIRE_EQ(do_ufetch_32(vm_max_address(), &res), EFAULT);
tests/modules/t_ufetchstore.c
611
ATF_REQUIRE_EQ(do_ufetch_64(vm_max_address(), &res), EFAULT);
tests/modules/t_ufetchstore.c
638
ATF_REQUIRE_EQ(do_ufetch_16(vm_max_address_minus(1), &res), EFAULT);
tests/modules/t_ufetchstore.c
664
ATF_REQUIRE_EQ(do_ufetch_32(vm_max_address_minus(3), &res), EFAULT);
tests/modules/t_ufetchstore.c
691
ATF_REQUIRE_EQ(do_ufetch_64(vm_max_address_minus(7), &res), EFAULT);
tests/modules/t_ufetchstore.c
796
ATF_REQUIRE_EQ(do_ustore_8(NULL, 0), EFAULT);
tests/modules/t_ufetchstore.c
813
ATF_REQUIRE_EQ(do_ustore_16(NULL, 0), EFAULT);
tests/modules/t_ufetchstore.c
830
ATF_REQUIRE_EQ(do_ustore_32(NULL, 0), EFAULT);
tests/modules/t_ufetchstore.c
848
ATF_REQUIRE_EQ(do_ustore_64(NULL, 0), EFAULT);
tests/modules/t_ufetchstore.c
866
ATF_REQUIRE_EQ(do_ustore_8(vm_max_address(), 0), EFAULT);
tests/modules/t_ufetchstore.c
883
ATF_REQUIRE_EQ(do_ustore_16(vm_max_address(), 0), EFAULT);
tests/modules/t_ufetchstore.c
900
ATF_REQUIRE_EQ(do_ustore_32(vm_max_address(), 0), EFAULT);
tests/modules/t_ufetchstore.c
918
ATF_REQUIRE_EQ(do_ustore_64(vm_max_address(), 0), EFAULT);
tests/modules/t_ufetchstore.c
943
ATF_REQUIRE_EQ(do_ustore_16(vm_max_address_minus(1), 0), EFAULT);
tests/modules/t_ufetchstore.c
967
ATF_REQUIRE_EQ(do_ustore_32(vm_max_address_minus(3), 0), EFAULT);
tests/modules/t_ufetchstore.c
992
ATF_REQUIRE_EQ(do_ustore_64(vm_max_address_minus(7), 0), EFAULT);
tests/modules/ufetchstore/t_ufetchstore.c
1106
EFAULT);
tests/modules/ufetchstore/t_ufetchstore.c
1127
EFAULT);
tests/modules/ufetchstore/t_ufetchstore.c
1148
&actual), EFAULT);
tests/modules/ufetchstore/t_ufetchstore.c
1169
&actual), EFAULT);
tests/modules/ufetchstore/t_ufetchstore.c
1197
0xbeefdead, &actual), EFAULT);
tests/modules/ufetchstore/t_ufetchstore.c
1225
0xbeefdead, &actual), EFAULT);
tests/modules/ufetchstore/t_ufetchstore.c
475
ATF_REQUIRE_EQ(do_ufetch_8(NULL, &res), EFAULT);
tests/modules/ufetchstore/t_ufetchstore.c
494
ATF_REQUIRE_EQ(do_ufetch_16(NULL, &res), EFAULT);
tests/modules/ufetchstore/t_ufetchstore.c
513
ATF_REQUIRE_EQ(do_ufetch_32(NULL, &res), EFAULT);
tests/modules/ufetchstore/t_ufetchstore.c
533
ATF_REQUIRE_EQ(do_ufetch_64(NULL, &res), EFAULT);
tests/modules/ufetchstore/t_ufetchstore.c
553
ATF_REQUIRE_EQ(do_ufetch_8(vm_max_address(), &res), EFAULT);
tests/modules/ufetchstore/t_ufetchstore.c
572
ATF_REQUIRE_EQ(do_ufetch_16(vm_max_address(), &res), EFAULT);
tests/modules/ufetchstore/t_ufetchstore.c
591
ATF_REQUIRE_EQ(do_ufetch_32(vm_max_address(), &res), EFAULT);
tests/modules/ufetchstore/t_ufetchstore.c
611
ATF_REQUIRE_EQ(do_ufetch_64(vm_max_address(), &res), EFAULT);
tests/modules/ufetchstore/t_ufetchstore.c
638
ATF_REQUIRE_EQ(do_ufetch_16(vm_max_address_minus(1), &res), EFAULT);
tests/modules/ufetchstore/t_ufetchstore.c
664
ATF_REQUIRE_EQ(do_ufetch_32(vm_max_address_minus(3), &res), EFAULT);
tests/modules/ufetchstore/t_ufetchstore.c
691
ATF_REQUIRE_EQ(do_ufetch_64(vm_max_address_minus(7), &res), EFAULT);
tests/modules/ufetchstore/t_ufetchstore.c
796
ATF_REQUIRE_EQ(do_ustore_8(NULL, 0), EFAULT);
tests/modules/ufetchstore/t_ufetchstore.c
813
ATF_REQUIRE_EQ(do_ustore_16(NULL, 0), EFAULT);
tests/modules/ufetchstore/t_ufetchstore.c
830
ATF_REQUIRE_EQ(do_ustore_32(NULL, 0), EFAULT);
tests/modules/ufetchstore/t_ufetchstore.c
848
ATF_REQUIRE_EQ(do_ustore_64(NULL, 0), EFAULT);
tests/modules/ufetchstore/t_ufetchstore.c
866
ATF_REQUIRE_EQ(do_ustore_8(vm_max_address(), 0), EFAULT);
tests/modules/ufetchstore/t_ufetchstore.c
883
ATF_REQUIRE_EQ(do_ustore_16(vm_max_address(), 0), EFAULT);
tests/modules/ufetchstore/t_ufetchstore.c
900
ATF_REQUIRE_EQ(do_ustore_32(vm_max_address(), 0), EFAULT);
tests/modules/ufetchstore/t_ufetchstore.c
918
ATF_REQUIRE_EQ(do_ustore_64(vm_max_address(), 0), EFAULT);
tests/modules/ufetchstore/t_ufetchstore.c
943
ATF_REQUIRE_EQ(do_ustore_16(vm_max_address_minus(1), 0), EFAULT);
tests/modules/ufetchstore/t_ufetchstore.c
967
ATF_REQUIRE_EQ(do_ustore_32(vm_max_address_minus(3), 0), EFAULT);
tests/modules/ufetchstore/t_ufetchstore.c
992
ATF_REQUIRE_EQ(do_ustore_64(vm_max_address_minus(7), 0), EFAULT);
tests/rump/rumpkern/t_copy.c
123
ATF_REQUIRE_EQ(rumpns_copyin(NULL, buf, sizeof(buf)), EFAULT);
tests/rump/rumpkern/t_copy.c
124
ATF_REQUIRE_EQ(rumpns_copyout(buf, NULL, sizeof(buf)), EFAULT);
tests/rump/rumpkern/t_copy.c
126
ATF_REQUIRE_EQ(rumpns_copyinstr(NULL, buf, sizeof(buf), NULL), EFAULT);
tests/rump/rumpkern/t_copy.c
127
ATF_REQUIRE_EQ(rumpns_copyoutstr(buf, NULL, sizeof(buf), NULL), EFAULT);
usr.bin/newgrp/grutil.c
322
case EFAULT:
usr.sbin/inetd/inetd.c
1109
errno = EFAULT;
usr.sbin/mmcformat/uscsi_subr.c
163
return EFAULT;
usr.sbin/mmcformat/uscsi_subr.c
463
return EFAULT;
usr.sbin/mmcformat/uscsi_subr.c
467
return EFAULT;
usr.sbin/mmcformat/uscsi_subr.c
483
return EFAULT;