aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/Makefile72
-rw-r--r--sys/amd64/Makefile40
-rw-r--r--sys/amd64/acpica/acpi_machdep.c292
-rw-r--r--sys/amd64/acpica/acpi_wakecode.S294
-rw-r--r--sys/amd64/amd64/apic_vector.S267
-rw-r--r--sys/amd64/amd64/atpic_vector.S70
-rw-r--r--sys/amd64/amd64/bios.c97
-rw-r--r--sys/amd64/amd64/bpf_jit_machdep.c653
-rw-r--r--sys/amd64/amd64/bpf_jit_machdep.h502
-rw-r--r--sys/amd64/amd64/copyout.c201
-rw-r--r--sys/amd64/amd64/cpu_switch.S503
-rw-r--r--sys/amd64/amd64/db_disasm.c1759
-rw-r--r--sys/amd64/amd64/db_interface.c110
-rw-r--r--sys/amd64/amd64/db_trace.c618
-rw-r--r--sys/amd64/amd64/efirt_machdep.c356
-rw-r--r--sys/amd64/amd64/efirt_support.S121
-rw-r--r--sys/amd64/amd64/elf_machdep.c429
-rw-r--r--sys/amd64/amd64/exception.S1414
-rw-r--r--sys/amd64/amd64/fpu.c1225
-rw-r--r--sys/amd64/amd64/gdb_machdep.c141
-rw-r--r--sys/amd64/amd64/genassym.c277
-rw-r--r--sys/amd64/amd64/in_cksum.c243
-rw-r--r--sys/amd64/amd64/initcpu.c333
-rw-r--r--sys/amd64/amd64/io.c61
-rw-r--r--sys/amd64/amd64/locore.S140
-rw-r--r--sys/amd64/amd64/machdep.c2816
-rw-r--r--sys/amd64/amd64/mem.c240
-rw-r--r--sys/amd64/amd64/minidump_machdep.c478
-rw-r--r--sys/amd64/amd64/mp_machdep.c1139
-rw-r--r--sys/amd64/amd64/mpboot.S273
-rw-r--r--sys/amd64/amd64/pmap.c11191
-rw-r--r--sys/amd64/amd64/prof_machdep.c323
-rw-r--r--sys/amd64/amd64/ptrace_machdep.c280
-rw-r--r--sys/amd64/amd64/sigtramp.S56
-rw-r--r--sys/amd64/amd64/support.S1922
-rw-r--r--sys/amd64/amd64/sys_machdep.c813
-rw-r--r--sys/amd64/amd64/trap.c1197
-rw-r--r--sys/amd64/amd64/uio_machdep.c134
-rw-r--r--sys/amd64/amd64/uma_machdep.c79
-rw-r--r--sys/amd64/amd64/vm_machdep.c731
-rw-r--r--sys/amd64/amd64/xen-locore.S234
-rw-r--r--sys/amd64/cloudabi32/cloudabi32_sysvec.c234
-rw-r--r--sys/amd64/cloudabi64/cloudabi64_sysvec.c221
-rw-r--r--sys/amd64/conf/DEFAULTS24
-rw-r--r--sys/amd64/conf/GENERIC379
-rw-r--r--sys/amd64/conf/GENERIC-KCSAN33
-rw-r--r--sys/amd64/conf/GENERIC-MMCCAM35
-rw-r--r--sys/amd64/conf/GENERIC-NODEBUG43
-rw-r--r--sys/amd64/conf/GENERIC.hints34
-rw-r--r--sys/amd64/conf/MINIMAL154
-rw-r--r--sys/amd64/conf/Makefile6
-rw-r--r--sys/amd64/conf/NOTES680
-rw-r--r--sys/amd64/ia32/ia32_exception.S80
-rw-r--r--sys/amd64/ia32/ia32_misc.c82
-rw-r--r--sys/amd64/ia32/ia32_reg.c240
-rw-r--r--sys/amd64/ia32/ia32_signal.c975
-rw-r--r--sys/amd64/ia32/ia32_sigtramp.S117
-rw-r--r--sys/amd64/ia32/ia32_syscall.c281
-rw-r--r--sys/amd64/include/_align.h6
-rw-r--r--sys/amd64/include/_bus.h47
-rw-r--r--sys/amd64/include/_inttypes.h6
-rw-r--r--sys/amd64/include/_limits.h6
-rw-r--r--sys/amd64/include/_stdint.h6
-rw-r--r--sys/amd64/include/_types.h6
-rw-r--r--sys/amd64/include/acpica_machdep.h6
-rw-r--r--sys/amd64/include/apm_bios.h6
-rw-r--r--sys/amd64/include/asm.h112
-rw-r--r--sys/amd64/include/asmacros.h322
-rw-r--r--sys/amd64/include/atomic.h684
-rw-r--r--sys/amd64/include/bus.h6
-rw-r--r--sys/amd64/include/bus_dma.h36
-rw-r--r--sys/amd64/include/clock.h46
-rw-r--r--sys/amd64/include/counter.h92
-rw-r--r--sys/amd64/include/cpu.h102
-rw-r--r--sys/amd64/include/cpufunc.h1048
-rw-r--r--sys/amd64/include/cputypes.h6
-rw-r--r--sys/amd64/include/csan.h73
-rw-r--r--sys/amd64/include/db_machdep.h86
-rw-r--r--sys/amd64/include/dump.h6
-rw-r--r--sys/amd64/include/efi.h78
-rw-r--r--sys/amd64/include/elf.h6
-rw-r--r--sys/amd64/include/endian.h6
-rw-r--r--sys/amd64/include/exec.h40
-rw-r--r--sys/amd64/include/fdt.h6
-rw-r--r--sys/amd64/include/float.h6
-rw-r--r--sys/amd64/include/floatingpoint.h45
-rw-r--r--sys/amd64/include/fpu.h96
-rw-r--r--sys/amd64/include/frame.h50
-rw-r--r--sys/amd64/include/gdb_machdep.h57
-rw-r--r--sys/amd64/include/ieeefp.h311
-rw-r--r--sys/amd64/include/in_cksum.h86
-rw-r--r--sys/amd64/include/intr_machdep.h44
-rw-r--r--sys/amd64/include/iodev.h48
-rw-r--r--sys/amd64/include/iommu.h6
-rw-r--r--sys/amd64/include/kdb.h61
-rw-r--r--sys/amd64/include/limits.h46
-rw-r--r--sys/amd64/include/md_var.h93
-rw-r--r--sys/amd64/include/memdev.h42
-rw-r--r--sys/amd64/include/metadata.h6
-rw-r--r--sys/amd64/include/minidump.h48
-rw-r--r--sys/amd64/include/mp_watchdog.h36
-rw-r--r--sys/amd64/include/nexusvar.h45
-rw-r--r--sys/amd64/include/npx.h6
-rw-r--r--sys/amd64/include/ofw_machdep.h6
-rw-r--r--sys/amd64/include/param.h167
-rw-r--r--sys/amd64/include/pc/bios.h126
-rw-r--r--sys/amd64/include/pc/display.h45
-rw-r--r--sys/amd64/include/pcb.h139
-rw-r--r--sys/amd64/include/pci_cfgreg.h6
-rw-r--r--sys/amd64/include/pcpu.h318
-rw-r--r--sys/amd64/include/pcpu_aux.h62
-rw-r--r--sys/amd64/include/pmap.h543
-rw-r--r--sys/amd64/include/pmc_mdep.h139
-rw-r--r--sys/amd64/include/ppireg.h51
-rw-r--r--sys/amd64/include/proc.h125
-rw-r--r--sys/amd64/include/procctl.h6
-rw-r--r--sys/amd64/include/profile.h199
-rw-r--r--sys/amd64/include/psl.h6
-rw-r--r--sys/amd64/include/ptrace.h6
-rw-r--r--sys/amd64/include/pvclock.h6
-rw-r--r--sys/amd64/include/reg.h6
-rw-r--r--sys/amd64/include/reloc.h51
-rw-r--r--sys/amd64/include/resource.h47
-rw-r--r--sys/amd64/include/runq.h48
-rw-r--r--sys/amd64/include/segments.h107
-rw-r--r--sys/amd64/include/setjmp.h6
-rw-r--r--sys/amd64/include/sf_buf.h53
-rw-r--r--sys/amd64/include/sgx.h64
-rw-r--r--sys/amd64/include/sgxreg.h155
-rw-r--r--sys/amd64/include/sigframe.h6
-rw-r--r--sys/amd64/include/signal.h6
-rw-r--r--sys/amd64/include/smp.h48
-rw-r--r--sys/amd64/include/specialreg.h6
-rw-r--r--sys/amd64/include/stack.h6
-rw-r--r--sys/amd64/include/stdarg.h6
-rw-r--r--sys/amd64/include/sysarch.h6
-rw-r--r--sys/amd64/include/timerreg.h56
-rw-r--r--sys/amd64/include/trap.h6
-rw-r--r--sys/amd64/include/tss.h68
-rw-r--r--sys/amd64/include/ucontext.h6
-rw-r--r--sys/amd64/include/vdso.h6
-rw-r--r--sys/amd64/include/vm.h47
-rw-r--r--sys/amd64/include/vmm.h776
-rw-r--r--sys/amd64/include/vmm_dev.h464
-rw-r--r--sys/amd64/include/vmm_instruction_emul.h135
-rw-r--r--sys/amd64/include/vmm_snapshot.h156
-rw-r--r--sys/amd64/include/vmparam.h257
-rw-r--r--sys/amd64/include/xen/hypercall.h432
-rw-r--r--sys/amd64/include/xen/synch_bitops.h129
-rw-r--r--sys/amd64/include/xen/xen-os.h6
-rw-r--r--sys/amd64/linux/Makefile7
-rw-r--r--sys/amd64/linux/linux.h448
-rw-r--r--sys/amd64/linux/linux_dummy.c188
-rw-r--r--sys/amd64/linux/linux_genassym.c15
-rw-r--r--sys/amd64/linux/linux_locore.asm108
-rw-r--r--sys/amd64/linux/linux_machdep.c339
-rw-r--r--sys/amd64/linux/linux_proto.h1947
-rw-r--r--sys/amd64/linux/linux_ptrace.c653
-rw-r--r--sys/amd64/linux/linux_support.s227
-rw-r--r--sys/amd64/linux/linux_syscall.h332
-rw-r--r--sys/amd64/linux/linux_syscalls.c439
-rw-r--r--sys/amd64/linux/linux_sysent.c449
-rw-r--r--sys/amd64/linux/linux_systrace_args.c8315
-rw-r--r--sys/amd64/linux/linux_sysvec.c935
-rw-r--r--sys/amd64/linux/linux_vdso.lds.s69
-rw-r--r--sys/amd64/linux/syscalls.conf11
-rw-r--r--sys/amd64/linux/syscalls.master2055
-rw-r--r--sys/amd64/linux32/Makefile7
-rw-r--r--sys/amd64/linux32/linux.h633
-rw-r--r--sys/amd64/linux32/linux32_dummy.c204
-rw-r--r--sys/amd64/linux32/linux32_genassym.c18
-rw-r--r--sys/amd64/linux32/linux32_locore.asm156
-rw-r--r--sys/amd64/linux32/linux32_machdep.c783
-rw-r--r--sys/amd64/linux32/linux32_proto.h2339
-rw-r--r--sys/amd64/linux32/linux32_support.s227
-rw-r--r--sys/amd64/linux32/linux32_syscall.h392
-rw-r--r--sys/amd64/linux32/linux32_syscalls.c439
-rw-r--r--sys/amd64/linux32/linux32_sysent.c449
-rw-r--r--sys/amd64/linux32/linux32_systrace_args.c9645
-rw-r--r--sys/amd64/linux32/linux32_sysvec.c1091
-rw-r--r--sys/amd64/linux32/linux32_vdso.lds.s66
-rw-r--r--sys/amd64/linux32/syscalls.conf11
-rw-r--r--sys/amd64/linux32/syscalls.master2413
-rw-r--r--sys/amd64/pci/pci_cfgreg.c329
-rw-r--r--sys/amd64/sgx/sgx.c1222
-rw-r--r--sys/amd64/sgx/sgx_linux.c115
-rw-r--r--sys/amd64/sgx/sgx_support.S70
-rw-r--r--sys/amd64/sgx/sgxvar.h91
-rw-r--r--sys/amd64/vmm/amd/amdv.c135
-rw-r--r--sys/amd64/vmm/amd/amdvi_hw.c1460
-rwxr-xr-xsys/amd64/vmm/amd/amdvi_priv.h413
-rwxr-xr-xsys/amd64/vmm/amd/ivrs_drv.c734
-rw-r--r--sys/amd64/vmm/amd/npt.c88
-rw-r--r--sys/amd64/vmm/amd/npt.h38
-rw-r--r--sys/amd64/vmm/amd/svm.c2662
-rw-r--r--sys/amd64/vmm/amd/svm.h74
-rw-r--r--sys/amd64/vmm/amd/svm_genassym.c52
-rw-r--r--sys/amd64/vmm/amd/svm_msr.c180
-rw-r--r--sys/amd64/vmm/amd/svm_msr.h46
-rw-r--r--sys/amd64/vmm/amd/svm_softc.h116
-rw-r--r--sys/amd64/vmm/amd/svm_support.S163
-rw-r--r--sys/amd64/vmm/amd/vmcb.c560
-rw-r--r--sys/amd64/vmm/amd/vmcb.h346
-rw-r--r--sys/amd64/vmm/intel/ept.c208
-rw-r--r--sys/amd64/vmm/intel/ept.h41
-rw-r--r--sys/amd64/vmm/intel/vmcs.c645
-rw-r--r--sys/amd64/vmm/intel/vmcs.h424
-rw-r--r--sys/amd64/vmm/intel/vmx.c4169
-rw-r--r--sys/amd64/vmm/intel/vmx.h171
-rw-r--r--sys/amd64/vmm/intel/vmx_controls.h98
-rw-r--r--sys/amd64/vmm/intel/vmx_cpufunc.h220
-rw-r--r--sys/amd64/vmm/intel/vmx_genassym.c94
-rw-r--r--sys/amd64/vmm/intel/vmx_msr.c521
-rw-r--r--sys/amd64/vmm/intel/vmx_msr.h74
-rw-r--r--sys/amd64/vmm/intel/vmx_support.S332
-rw-r--r--sys/amd64/vmm/intel/vtd.c776
-rw-r--r--sys/amd64/vmm/io/iommu.c342
-rw-r--r--sys/amd64/vmm/io/iommu.h76
-rw-r--r--sys/amd64/vmm/io/ppt.c702
-rw-r--r--sys/amd64/vmm/io/ppt.h56
-rw-r--r--sys/amd64/vmm/io/vatpic.c853
-rw-r--r--sys/amd64/vmm/io/vatpic.h63
-rw-r--r--sys/amd64/vmm/io/vatpit.c516
-rw-r--r--sys/amd64/vmm/io/vatpit.h52
-rw-r--r--sys/amd64/vmm/io/vhpet.c812
-rw-r--r--sys/amd64/vmm/io/vhpet.h52
-rw-r--r--sys/amd64/vmm/io/vioapic.c523
-rw-r--r--sys/amd64/vmm/io/vioapic.h59
-rw-r--r--sys/amd64/vmm/io/vlapic.c1758
-rw-r--r--sys/amd64/vmm/io/vlapic.h118
-rw-r--r--sys/amd64/vmm/io/vlapic_priv.h191
-rw-r--r--sys/amd64/vmm/io/vpmtmr.c121
-rw-r--r--sys/amd64/vmm/io/vpmtmr.h49
-rw-r--r--sys/amd64/vmm/io/vrtc.c1067
-rw-r--r--sys/amd64/vmm/io/vrtc.h57
-rw-r--r--sys/amd64/vmm/vmm.c2923
-rw-r--r--sys/amd64/vmm/vmm_dev.c1238
-rw-r--r--sys/amd64/vmm/vmm_host.c172
-rw-r--r--sys/amd64/vmm/vmm_host.h82
-rw-r--r--sys/amd64/vmm/vmm_instruction_emul.c2942
-rw-r--r--sys/amd64/vmm/vmm_ioport.c178
-rw-r--r--sys/amd64/vmm/vmm_ioport.h39
-rw-r--r--sys/amd64/vmm/vmm_ktr.h71
-rw-r--r--sys/amd64/vmm/vmm_lapic.c243
-rw-r--r--sys/amd64/vmm/vmm_lapic.h77
-rw-r--r--sys/amd64/vmm/vmm_mem.c124
-rw-r--r--sys/amd64/vmm/vmm_mem.h43
-rw-r--r--sys/amd64/vmm/vmm_snapshot.c141
-rw-r--r--sys/amd64/vmm/vmm_stat.c172
-rw-r--r--sys/amd64/vmm/vmm_stat.h163
-rw-r--r--sys/amd64/vmm/vmm_util.c108
-rw-r--r--sys/amd64/vmm/vmm_util.h42
-rw-r--r--sys/amd64/vmm/x86.c640
-rw-r--r--sys/amd64/vmm/x86.h83
-rw-r--r--sys/arm/allwinner/a10/a10_intc.c391
-rw-r--r--sys/arm/allwinner/a10/a10_padconf.c230
-rw-r--r--sys/arm/allwinner/a10/files.a105
-rw-r--r--sys/arm/allwinner/a10_ahci.c426
-rw-r--r--sys/arm/allwinner/a10_codec.c1214
-rw-r--r--sys/arm/allwinner/a10_dmac.c473
-rw-r--r--sys/arm/allwinner/a10_dmac.h158
-rw-r--r--sys/arm/allwinner/a10_fb.c662
-rw-r--r--sys/arm/allwinner/a10_hdmi.c725
-rw-r--r--sys/arm/allwinner/a10_hdmiaudio.c437
-rw-r--r--sys/arm/allwinner/a10_sramc.c153
-rw-r--r--sys/arm/allwinner/a10_sramc.h37
-rw-r--r--sys/arm/allwinner/a10_timer.c480
-rw-r--r--sys/arm/allwinner/a13/a13_padconf.c128
-rw-r--r--sys/arm/allwinner/a13/files.a134
-rw-r--r--sys/arm/allwinner/a20/a20_cpu_cfg.c139
-rw-r--r--sys/arm/allwinner/a20/a20_cpu_cfg.h69
-rw-r--r--sys/arm/allwinner/a20/a20_padconf.c230
-rw-r--r--sys/arm/allwinner/a20/files.a204
-rw-r--r--sys/arm/allwinner/a31/a31_padconf.c219
-rw-r--r--sys/arm/allwinner/a31/a31_r_padconf.c65
-rw-r--r--sys/arm/allwinner/a31/a31s_padconf.c199
-rw-r--r--sys/arm/allwinner/a31/files.a316
-rw-r--r--sys/arm/allwinner/a31_dmac.c559
-rw-r--r--sys/arm/allwinner/a33/a33_padconf.c148
-rw-r--r--sys/arm/allwinner/a33/files.a333
-rw-r--r--sys/arm/allwinner/a64/a64_padconf.c159
-rw-r--r--sys/arm/allwinner/a64/a64_r_padconf.c63
-rw-r--r--sys/arm/allwinner/a83t/a83t_padconf.c161
-rw-r--r--sys/arm/allwinner/a83t/a83t_r_padconf.c61
-rw-r--r--sys/arm/allwinner/a83t/files.a83t6
-rw-r--r--sys/arm/allwinner/allwinner_pinctrl.h48
-rw-r--r--sys/arm/allwinner/aw_ccu.c254
-rw-r--r--sys/arm/allwinner/aw_cir.c555
-rw-r--r--sys/arm/allwinner/aw_dwc3.c147
-rw-r--r--sys/arm/allwinner/aw_gmacclk.c279
-rw-r--r--sys/arm/allwinner/aw_gpio.c1498
-rw-r--r--sys/arm/allwinner/aw_if_dwc.c145
-rw-r--r--sys/arm/allwinner/aw_machdep.c306
-rw-r--r--sys/arm/allwinner/aw_machdep.h51
-rw-r--r--sys/arm/allwinner/aw_mmc.c1587
-rw-r--r--sys/arm/allwinner/aw_mmc.h228
-rw-r--r--sys/arm/allwinner/aw_mp.c288
-rw-r--r--sys/arm/allwinner/aw_mp.h34
-rw-r--r--sys/arm/allwinner/aw_nmi.c420
-rw-r--r--sys/arm/allwinner/aw_pwm.c387
-rw-r--r--sys/arm/allwinner/aw_reset.c165
-rw-r--r--sys/arm/allwinner/aw_rsb.c501
-rw-r--r--sys/arm/allwinner/aw_rtc.c367
-rw-r--r--sys/arm/allwinner/aw_sid.c415
-rw-r--r--sys/arm/allwinner/aw_sid.h39
-rw-r--r--sys/arm/allwinner/aw_spi.c607
-rw-r--r--sys/arm/allwinner/aw_syscon.c86
-rw-r--r--sys/arm/allwinner/aw_thermal.c732
-rw-r--r--sys/arm/allwinner/aw_ts.c229
-rw-r--r--sys/arm/allwinner/aw_usb3phy.c299
-rw-r--r--sys/arm/allwinner/aw_usbphy.c508
-rw-r--r--sys/arm/allwinner/aw_wdog.c273
-rw-r--r--sys/arm/allwinner/aw_wdog.h35
-rw-r--r--sys/arm/allwinner/axp209.c1425
-rw-r--r--sys/arm/allwinner/axp209reg.h247
-rw-r--r--sys/arm/allwinner/axp81x.c1651
-rw-r--r--sys/arm/allwinner/clkng/aw_ccung.c364
-rw-r--r--sys/arm/allwinner/clkng/aw_ccung.h110
-rw-r--r--sys/arm/allwinner/clkng/aw_clk.h604
-rw-r--r--sys/arm/allwinner/clkng/aw_clk_frac.c399
-rw-r--r--sys/arm/allwinner/clkng/aw_clk_frac.h55
-rw-r--r--sys/arm/allwinner/clkng/aw_clk_m.c290
-rw-r--r--sys/arm/allwinner/clkng/aw_clk_m.h48
-rw-r--r--sys/arm/allwinner/clkng/aw_clk_mipi.c297
-rw-r--r--sys/arm/allwinner/clkng/aw_clk_mipi.h53
-rw-r--r--sys/arm/allwinner/clkng/aw_clk_nkmp.c414
-rw-r--r--sys/arm/allwinner/clkng/aw_clk_nkmp.h56
-rw-r--r--sys/arm/allwinner/clkng/aw_clk_nm.c351
-rw-r--r--sys/arm/allwinner/clkng/aw_clk_nm.h52
-rw-r--r--sys/arm/allwinner/clkng/aw_clk_nmm.c285
-rw-r--r--sys/arm/allwinner/clkng/aw_clk_nmm.h52
-rw-r--r--sys/arm/allwinner/clkng/aw_clk_np.c267
-rw-r--r--sys/arm/allwinner/clkng/aw_clk_np.h51
-rw-r--r--sys/arm/allwinner/clkng/aw_clk_prediv_mux.c183
-rw-r--r--sys/arm/allwinner/clkng/aw_clk_prediv_mux.h48
-rw-r--r--sys/arm/allwinner/clkng/ccu_a10.c626
-rw-r--r--sys/arm/allwinner/clkng/ccu_a13.c571
-rw-r--r--sys/arm/allwinner/clkng/ccu_a31.c981
-rw-r--r--sys/arm/allwinner/clkng/ccu_a64.c841
-rw-r--r--sys/arm/allwinner/clkng/ccu_a83t.c789
-rw-r--r--sys/arm/allwinner/clkng/ccu_de2.c166
-rw-r--r--sys/arm/allwinner/clkng/ccu_h3.c794
-rw-r--r--sys/arm/allwinner/clkng/ccu_h6.c501
-rw-r--r--sys/arm/allwinner/clkng/ccu_h6_r.c172
-rw-r--r--sys/arm/allwinner/clkng/ccu_sun8i_r.c265
-rw-r--r--sys/arm/allwinner/files.allwinner46
-rw-r--r--sys/arm/allwinner/files.allwinner_up3
-rw-r--r--sys/arm/allwinner/h3/files.h36
-rw-r--r--sys/arm/allwinner/h3/h3_padconf.c150
-rw-r--r--sys/arm/allwinner/h3/h3_r_padconf.c63
-rw-r--r--sys/arm/allwinner/h6/h6_padconf.c126
-rw-r--r--sys/arm/allwinner/h6/h6_r_padconf.c60
-rw-r--r--sys/arm/allwinner/if_awg.c1962
-rw-r--r--sys/arm/allwinner/if_awgreg.h181
-rw-r--r--sys/arm/allwinner/if_emac.c1204
-rw-r--r--sys/arm/allwinner/if_emacreg.h244
-rw-r--r--sys/arm/allwinner/std.allwinner12
-rw-r--r--sys/arm/allwinner/std.allwinner_up11
-rw-r--r--sys/arm/allwinner/sunxi_dma_if.m98
-rw-r--r--sys/arm/altera/socfpga/files.socfpga20
-rw-r--r--sys/arm/altera/socfpga/socfpga_a10_manager.c444
-rw-r--r--sys/arm/altera/socfpga/socfpga_common.c45
-rw-r--r--sys/arm/altera/socfpga/socfpga_common.h38
-rw-r--r--sys/arm/altera/socfpga/socfpga_l3regs.h54
-rw-r--r--sys/arm/altera/socfpga/socfpga_machdep.c176
-rw-r--r--sys/arm/altera/socfpga/socfpga_manager.c431
-rw-r--r--sys/arm/altera/socfpga/socfpga_mp.c232
-rw-r--r--sys/arm/altera/socfpga/socfpga_mp.h35
-rw-r--r--sys/arm/altera/socfpga/socfpga_rstmgr.c260
-rw-r--r--sys/arm/altera/socfpga/socfpga_rstmgr.h50
-rw-r--r--sys/arm/altera/socfpga/std.socfpga7
-rw-r--r--sys/arm/amlogic/aml8726/aml8726_ccm.c229
-rw-r--r--sys/arm/amlogic/aml8726/aml8726_ccm.h325
-rw-r--r--sys/arm/amlogic/aml8726/aml8726_clkmsr.c300
-rw-r--r--sys/arm/amlogic/aml8726/aml8726_clkmsr.h34
-rw-r--r--sys/arm/amlogic/aml8726/aml8726_fb.c470
-rw-r--r--sys/arm/amlogic/aml8726/aml8726_fb.h163
-rw-r--r--sys/arm/amlogic/aml8726/aml8726_gpio.c371
-rw-r--r--sys/arm/amlogic/aml8726/aml8726_i2c.c283
-rw-r--r--sys/arm/amlogic/aml8726/aml8726_identsoc.c142
-rw-r--r--sys/arm/amlogic/aml8726/aml8726_if_dwc.c98
-rw-r--r--sys/arm/amlogic/aml8726/aml8726_l2cache.c92
-rw-r--r--sys/arm/amlogic/aml8726/aml8726_machdep.c196
-rw-r--r--sys/arm/amlogic/aml8726/aml8726_machdep.h41
-rw-r--r--sys/arm/amlogic/aml8726/aml8726_mmc.c1115
-rw-r--r--sys/arm/amlogic/aml8726/aml8726_mmc.h123
-rw-r--r--sys/arm/amlogic/aml8726/aml8726_mp.c628
-rw-r--r--sys/arm/amlogic/aml8726/aml8726_pic.c277
-rw-r--r--sys/arm/amlogic/aml8726/aml8726_pinctrl.c432
-rw-r--r--sys/arm/amlogic/aml8726/aml8726_pinctrl.h1084
-rw-r--r--sys/arm/amlogic/aml8726/aml8726_rng.c153
-rw-r--r--sys/arm/amlogic/aml8726/aml8726_rtc.c489
-rw-r--r--sys/arm/amlogic/aml8726/aml8726_sdxc-m8.c1396
-rw-r--r--sys/arm/amlogic/aml8726/aml8726_sdxc-m8.h223
-rw-r--r--sys/arm/amlogic/aml8726/aml8726_soc.h58
-rw-r--r--sys/arm/amlogic/aml8726/aml8726_timer.c396
-rw-r--r--sys/arm/amlogic/aml8726/aml8726_uart.h107
-rw-r--r--sys/arm/amlogic/aml8726/aml8726_uart_console.c180
-rw-r--r--sys/arm/amlogic/aml8726/aml8726_usb_phy-m3.c428
-rw-r--r--sys/arm/amlogic/aml8726/aml8726_usb_phy-m6.c418
-rw-r--r--sys/arm/amlogic/aml8726/aml8726_wdt.c307
-rw-r--r--sys/arm/amlogic/aml8726/files.aml872629
-rw-r--r--sys/arm/amlogic/aml8726/std.aml872625
-rw-r--r--sys/arm/amlogic/aml8726/uart_dev_aml8726.c771
-rw-r--r--sys/arm/annapurna/alpine/alpine_ccu.c131
-rw-r--r--sys/arm/annapurna/alpine/alpine_common.c72
-rw-r--r--sys/arm/annapurna/alpine/alpine_machdep.c162
-rw-r--r--sys/arm/annapurna/alpine/alpine_machdep_mp.c252
-rw-r--r--sys/arm/annapurna/alpine/alpine_mp.h35
-rw-r--r--sys/arm/annapurna/alpine/alpine_nb_service.c129
-rw-r--r--sys/arm/annapurna/alpine/alpine_pci.c159
-rw-r--r--sys/arm/annapurna/alpine/alpine_pci_msix.c394
-rw-r--r--sys/arm/annapurna/alpine/alpine_serdes.c225
-rw-r--r--sys/arm/annapurna/alpine/alpine_serdes.h61
-rw-r--r--sys/arm/annapurna/alpine/files.alpine8
-rw-r--r--sys/arm/annapurna/alpine/std.alpine13
-rw-r--r--sys/arm/arm/autoconf.c102
-rw-r--r--sys/arm/arm/bcopy_page.S282
-rw-r--r--sys/arm/arm/bcopyinout.S641
-rw-r--r--sys/arm/arm/bcopyinout_xscale.S958
-rw-r--r--sys/arm/arm/blockio.S596
-rw-r--r--sys/arm/arm/bus_space_asm_generic.S359
-rw-r--r--sys/arm/arm/bus_space_base.c161
-rw-r--r--sys/arm/arm/bus_space_generic.c135
-rw-r--r--sys/arm/arm/busdma_machdep.c1785
-rw-r--r--sys/arm/arm/copystr.S138
-rw-r--r--sys/arm/arm/cpu_asm-v6.S270
-rw-r--r--sys/arm/arm/cpufunc.c595
-rw-r--r--sys/arm/arm/cpufunc_asm.S124
-rw-r--r--sys/arm/arm/cpufunc_asm_arm11x6.S88
-rw-r--r--sys/arm/arm/cpufunc_asm_arm9.S69
-rw-r--r--sys/arm/arm/cpufunc_asm_armv4.S74
-rw-r--r--sys/arm/arm/cpufunc_asm_armv5_ec.S217
-rw-r--r--sys/arm/arm/cpufunc_asm_armv7.S44
-rw-r--r--sys/arm/arm/cpufunc_asm_pj4b.S98
-rw-r--r--sys/arm/arm/cpufunc_asm_sheeva.S424
-rw-r--r--sys/arm/arm/cpuinfo.c540
-rw-r--r--sys/arm/arm/db_disasm.c81
-rw-r--r--sys/arm/arm/db_interface.c330
-rw-r--r--sys/arm/arm/db_trace.c188
-rw-r--r--sys/arm/arm/debug_monitor.c1040
-rw-r--r--sys/arm/arm/disassem.c695
-rw-r--r--sys/arm/arm/dump_machdep.c104
-rw-r--r--sys/arm/arm/elf_machdep.c347
-rw-r--r--sys/arm/arm/elf_note.S36
-rw-r--r--sys/arm/arm/exception.S503
-rw-r--r--sys/arm/arm/fiq.c174
-rw-r--r--sys/arm/arm/fiq_subr.S94
-rw-r--r--sys/arm/arm/fusu.S328
-rw-r--r--sys/arm/arm/gdb_machdep.c117
-rw-r--r--sys/arm/arm/genassym.c179
-rw-r--r--sys/arm/arm/generic_timer.c600
-rw-r--r--sys/arm/arm/gic.c1259
-rw-r--r--sys/arm/arm/gic.h88
-rw-r--r--sys/arm/arm/gic_acpi.c360
-rw-r--r--sys/arm/arm/gic_common.h102
-rw-r--r--sys/arm/arm/gic_fdt.c363
-rw-r--r--sys/arm/arm/hypervisor-stub.S87
-rw-r--r--sys/arm/arm/identcpu-v4.c342
-rw-r--r--sys/arm/arm/identcpu-v6.c385
-rw-r--r--sys/arm/arm/in_cksum.c154
-rw-r--r--sys/arm/arm/in_cksum_arm.S344
-rw-r--r--sys/arm/arm/intr.c204
-rw-r--r--sys/arm/arm/locore-v4.S494
-rw-r--r--sys/arm/arm/locore-v6.S598
-rw-r--r--sys/arm/arm/locore.S41
-rw-r--r--sys/arm/arm/machdep.c1309
-rw-r--r--sys/arm/arm/machdep_boot.c501
-rw-r--r--sys/arm/arm/machdep_intr.c232
-rw-r--r--sys/arm/arm/machdep_kdb.c147
-rw-r--r--sys/arm/arm/machdep_ptrace.c326
-rw-r--r--sys/arm/arm/mem.c174
-rw-r--r--sys/arm/arm/minidump_machdep.c373
-rw-r--r--sys/arm/arm/mp_machdep.c395
-rw-r--r--sys/arm/arm/mpcore_timer.c564
-rw-r--r--sys/arm/arm/mpcore_timervar.h47
-rw-r--r--sys/arm/arm/nexus.c473
-rw-r--r--sys/arm/arm/nexusvar.h36
-rw-r--r--sys/arm/arm/ofw_machdep.c75
-rw-r--r--sys/arm/arm/pl190.c311
-rw-r--r--sys/arm/arm/pl310.c598
-rw-r--r--sys/arm/arm/platform.c244
-rw-r--r--sys/arm/arm/platform_if.m148
-rw-r--r--sys/arm/arm/platform_pl310_if.m84
-rw-r--r--sys/arm/arm/pmap-v4.c4464
-rw-r--r--sys/arm/arm/pmap-v6.c6959
-rw-r--r--sys/arm/arm/pmu.c228
-rw-r--r--sys/arm/arm/ptrace_machdep.c62
-rw-r--r--sys/arm/arm/sc_machdep.c88
-rw-r--r--sys/arm/arm/setcpsr.S82
-rw-r--r--sys/arm/arm/setstack.s95
-rw-r--r--sys/arm/arm/stack_machdep.c88
-rw-r--r--sys/arm/arm/stdatomic.c880
-rw-r--r--sys/arm/arm/support.S2965
-rw-r--r--sys/arm/arm/swtch-v4.S376
-rw-r--r--sys/arm/arm/swtch-v6.S508
-rw-r--r--sys/arm/arm/swtch.S121
-rw-r--r--sys/arm/arm/sys_machdep.c244
-rw-r--r--sys/arm/arm/syscall.c171
-rw-r--r--sys/arm/arm/trap-v4.c722
-rw-r--r--sys/arm/arm/trap-v6.c667
-rw-r--r--sys/arm/arm/uio_machdep.c126
-rw-r--r--sys/arm/arm/undefined.c352
-rw-r--r--sys/arm/arm/unwind.c575
-rw-r--r--sys/arm/arm/vfp.c327
-rw-r--r--sys/arm/arm/vm_machdep.c361
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_audio.c969
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_bsc.c727
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_bscreg.h69
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_bscvar.h71
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_clkman.c213
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_clkman.h43
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_cpufreq.c1609
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_dma.c770
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_dma.h66
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_fb.c852
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_fbd.c287
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_firmware.c184
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_firmware.h202
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_ft5406.c336
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_gpio.c1324
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_intr.c455
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_machdep.c158
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_mbox.c595
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_mbox.h44
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_mbox_prop.h466
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_pwm.c513
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_rng.c467
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_sdhci.c869
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_sdhost.c1295
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_spi.c572
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_spireg.h77
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_spivar.h62
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_systimer.c318
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_vcbus.c280
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_vcbus.h81
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_vcio.c118
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_wdog.c261
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_wdog.h34
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2836.c745
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2836_mp.c146
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2836_mp.h37
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2838_pci.c743
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2838_xhci.c217
-rw-r--r--sys/arm/broadcom/bcm2835/bcm283x_dwc_fdt.c105
-rw-r--r--sys/arm/broadcom/bcm2835/files.bcm28353
-rw-r--r--sys/arm/broadcom/bcm2835/files.bcm28364
-rw-r--r--sys/arm/broadcom/bcm2835/files.bcm283x48
-rw-r--r--sys/arm/broadcom/bcm2835/raspberrypi_gpio.c457
-rw-r--r--sys/arm/broadcom/bcm2835/std.bcm283510
-rw-r--r--sys/arm/broadcom/bcm2835/std.bcm283610
-rw-r--r--sys/arm/broadcom/bcm2835/std.rpi3
-rw-r--r--sys/arm/broadcom/bcm2835/vc_vchi_audioserv_defs.h156
-rw-r--r--sys/arm/cloudabi32/cloudabi32_sysvec.c196
-rw-r--r--sys/arm/conf/ALPINE82
-rw-r--r--sys/arm/conf/APALIS-IMX631
-rw-r--r--sys/arm/conf/ARMADA38X104
-rw-r--r--sys/arm/conf/ARMADAXP88
-rw-r--r--sys/arm/conf/ARNDALE28
-rw-r--r--sys/arm/conf/ARNDALE-OCTA28
-rw-r--r--sys/arm/conf/COLIBRI-VF5028
-rw-r--r--sys/arm/conf/COSMIC28
-rw-r--r--sys/arm/conf/DEFAULTS7
-rw-r--r--sys/arm/conf/EA3250.hints4
-rw-r--r--sys/arm/conf/EFIKA_MX132
-rw-r--r--sys/arm/conf/GENERIC295
-rw-r--r--sys/arm/conf/GENERIC-MMCCAM22
-rw-r--r--sys/arm/conf/GENERIC-NODEBUG38
-rw-r--r--sys/arm/conf/IMX53120
-rw-r--r--sys/arm/conf/IMX6127
-rw-r--r--sys/arm/conf/JETSON-TK137
-rw-r--r--sys/arm/conf/Makefile5
-rw-r--r--sys/arm/conf/NOTES82
-rw-r--r--sys/arm/conf/QUARTZ28
-rw-r--r--sys/arm/conf/RPI-B98
-rw-r--r--sys/arm/conf/SAM9G20EK.hints10
-rw-r--r--sys/arm/conf/SOCDK30
-rw-r--r--sys/arm/conf/SOCFPGA100
-rw-r--r--sys/arm/conf/SOCKIT30
-rw-r--r--sys/arm/conf/SOCKIT-BERI37
-rw-r--r--sys/arm/conf/TEGRA124139
-rw-r--r--sys/arm/conf/VERSATILEPB75
-rw-r--r--sys/arm/conf/VSATV10231
-rw-r--r--sys/arm/conf/VYBRID107
-rw-r--r--sys/arm/conf/YYHD1826
-rw-r--r--sys/arm/conf/ZEDBOARD85
-rw-r--r--sys/arm/conf/std.armv687
-rw-r--r--sys/arm/conf/std.armv786
-rw-r--r--sys/arm/freescale/fsl_ocotp.c207
-rw-r--r--sys/arm/freescale/fsl_ocotpreg.h90
-rw-r--r--sys/arm/freescale/fsl_ocotpvar.h36
-rw-r--r--sys/arm/freescale/imx/files.imx556
-rw-r--r--sys/arm/freescale/imx/files.imx669
-rw-r--r--sys/arm/freescale/imx/imx51_ccm.c664
-rw-r--r--sys/arm/freescale/imx/imx51_ccmreg.h260
-rw-r--r--sys/arm/freescale/imx/imx51_ccmvar.h112
-rw-r--r--sys/arm/freescale/imx/imx51_dpllreg.h107
-rw-r--r--sys/arm/freescale/imx/imx51_ipuv3.c880
-rw-r--r--sys/arm/freescale/imx/imx51_ipuv3_fbd.c364
-rw-r--r--sys/arm/freescale/imx/imx51_ipuv3reg.h924
-rw-r--r--sys/arm/freescale/imx/imx51_machdep.c104
-rw-r--r--sys/arm/freescale/imx/imx51_sdmareg.h144
-rw-r--r--sys/arm/freescale/imx/imx51_ssireg.h182
-rw-r--r--sys/arm/freescale/imx/imx51_tzicreg.h87
-rw-r--r--sys/arm/freescale/imx/imx53_machdep.c100
-rw-r--r--sys/arm/freescale/imx/imx6_ahci.c363
-rw-r--r--sys/arm/freescale/imx/imx6_anatop.c819
-rw-r--r--sys/arm/freescale/imx/imx6_anatopreg.h193
-rw-r--r--sys/arm/freescale/imx/imx6_anatopvar.h49
-rw-r--r--sys/arm/freescale/imx/imx6_audmux.c157
-rw-r--r--sys/arm/freescale/imx/imx6_ccm.c521
-rw-r--r--sys/arm/freescale/imx/imx6_ccmreg.h165
-rw-r--r--sys/arm/freescale/imx/imx6_hdmi.c218
-rw-r--r--sys/arm/freescale/imx/imx6_ipu.c1272
-rw-r--r--sys/arm/freescale/imx/imx6_machdep.c382
-rw-r--r--sys/arm/freescale/imx/imx6_machdep.h38
-rw-r--r--sys/arm/freescale/imx/imx6_mp.c164
-rw-r--r--sys/arm/freescale/imx/imx6_pl310.c67
-rw-r--r--sys/arm/freescale/imx/imx6_sdma.c515
-rw-r--r--sys/arm/freescale/imx/imx6_sdma.h245
-rw-r--r--sys/arm/freescale/imx/imx6_snvs.c240
-rw-r--r--sys/arm/freescale/imx/imx6_src.c173
-rw-r--r--sys/arm/freescale/imx/imx6_src.h34
-rw-r--r--sys/arm/freescale/imx/imx6_ssi.c862
-rw-r--r--sys/arm/freescale/imx/imx6_usbphy.c210
-rw-r--r--sys/arm/freescale/imx/imx_ccmvar.h66
-rw-r--r--sys/arm/freescale/imx/imx_common.c72
-rw-r--r--sys/arm/freescale/imx/imx_console.c177
-rw-r--r--sys/arm/freescale/imx/imx_epit.c491
-rw-r--r--sys/arm/freescale/imx/imx_gpio.c959
-rw-r--r--sys/arm/freescale/imx/imx_gpt.c425
-rw-r--r--sys/arm/freescale/imx/imx_gptreg.h103
-rw-r--r--sys/arm/freescale/imx/imx_i2c.c732
-rw-r--r--sys/arm/freescale/imx/imx_iomux.c331
-rw-r--r--sys/arm/freescale/imx/imx_iomuxreg.h61
-rw-r--r--sys/arm/freescale/imx/imx_iomuxvar.h49
-rw-r--r--sys/arm/freescale/imx/imx_machdep.c133
-rw-r--r--sys/arm/freescale/imx/imx_machdep.h72
-rw-r--r--sys/arm/freescale/imx/imx_nop_usbphy.c123
-rw-r--r--sys/arm/freescale/imx/imx_spi.c611
-rw-r--r--sys/arm/freescale/imx/imx_wdog.c264
-rw-r--r--sys/arm/freescale/imx/imx_wdogreg.h64
-rw-r--r--sys/arm/freescale/imx/std.imx516
-rw-r--r--sys/arm/freescale/imx/std.imx536
-rw-r--r--sys/arm/freescale/imx/std.imx67
-rw-r--r--sys/arm/freescale/imx/tzic.c312
-rw-r--r--sys/arm/freescale/vybrid/files.vybrid22
-rw-r--r--sys/arm/freescale/vybrid/std.vybrid7
-rw-r--r--sys/arm/freescale/vybrid/vf_adc.c243
-rw-r--r--sys/arm/freescale/vybrid/vf_adc.h30
-rw-r--r--sys/arm/freescale/vybrid/vf_anadig.c246
-rw-r--r--sys/arm/freescale/vybrid/vf_ccm.c502
-rw-r--r--sys/arm/freescale/vybrid/vf_common.h45
-rw-r--r--sys/arm/freescale/vybrid/vf_dcu4.c471
-rw-r--r--sys/arm/freescale/vybrid/vf_dmamux.c155
-rw-r--r--sys/arm/freescale/vybrid/vf_dmamux.h50
-rw-r--r--sys/arm/freescale/vybrid/vf_edma.c338
-rw-r--r--sys/arm/freescale/vybrid/vf_edma.h188
-rw-r--r--sys/arm/freescale/vybrid/vf_ehci.c429
-rw-r--r--sys/arm/freescale/vybrid/vf_gpio.c388
-rw-r--r--sys/arm/freescale/vybrid/vf_i2c.c615
-rw-r--r--sys/arm/freescale/vybrid/vf_iomuxc.c213
-rw-r--r--sys/arm/freescale/vybrid/vf_iomuxc.h167
-rw-r--r--sys/arm/freescale/vybrid/vf_machdep.c88
-rw-r--r--sys/arm/freescale/vybrid/vf_mscm.c126
-rw-r--r--sys/arm/freescale/vybrid/vf_port.c250
-rw-r--r--sys/arm/freescale/vybrid/vf_port.h45
-rw-r--r--sys/arm/freescale/vybrid/vf_sai.c805
-rw-r--r--sys/arm/freescale/vybrid/vf_spi.c293
-rw-r--r--sys/arm/freescale/vybrid/vf_src.c150
-rw-r--r--sys/arm/freescale/vybrid/vf_src.h32
-rw-r--r--sys/arm/freescale/vybrid/vf_tcon.c138
-rw-r--r--sys/arm/freescale/vybrid/vf_uart.c518
-rw-r--r--sys/arm/include/_align.h58
-rw-r--r--sys/arm/include/_bus.h47
-rw-r--r--sys/arm/include/_inttypes.h215
-rw-r--r--sys/arm/include/_limits.h89
-rw-r--r--sys/arm/include/_stdint.h160
-rw-r--r--sys/arm/include/_types.h114
-rw-r--r--sys/arm/include/acle-compat.h185
-rw-r--r--sys/arm/include/armreg.h485
-rw-r--r--sys/arm/include/asm.h262
-rw-r--r--sys/arm/include/asmacros.h65
-rw-r--r--sys/arm/include/atags.h130
-rw-r--r--sys/arm/include/atomic-v4.h662
-rw-r--r--sys/arm/include/atomic-v6.h1036
-rw-r--r--sys/arm/include/atomic.h108
-rw-r--r--sys/arm/include/blockio.h58
-rw-r--r--sys/arm/include/bus.h769
-rw-r--r--sys/arm/include/bus_dma.h102
-rw-r--r--sys/arm/include/clock.h34
-rw-r--r--sys/arm/include/counter.h91
-rw-r--r--sys/arm/include/cpu-v4.h186
-rw-r--r--sys/arm/include/cpu-v6.h689
-rw-r--r--sys/arm/include/cpu.h94
-rw-r--r--sys/arm/include/cpufunc.h436
-rw-r--r--sys/arm/include/cpuinfo.h132
-rw-r--r--sys/arm/include/db_machdep.h98
-rw-r--r--sys/arm/include/debug_monitor.h90
-rw-r--r--sys/arm/include/disassem.h56
-rw-r--r--sys/arm/include/dump.h70
-rw-r--r--sys/arm/include/efi.h12
-rw-r--r--sys/arm/include/elf.h116
-rw-r--r--sys/arm/include/endian.h142
-rw-r--r--sys/arm/include/exec.h39
-rw-r--r--sys/arm/include/fdt.h54
-rw-r--r--sys/arm/include/fiq.h73
-rw-r--r--sys/arm/include/float.h100
-rw-r--r--sys/arm/include/floatingpoint.h44
-rw-r--r--sys/arm/include/frame.h142
-rw-r--r--sys/arm/include/gdb_machdep.h67
-rw-r--r--sys/arm/include/ieee.h167
-rw-r--r--sys/arm/include/ieeefp.h53
-rw-r--r--sys/arm/include/in_cksum.h66
-rw-r--r--sys/arm/include/intr.h107
-rw-r--r--sys/arm/include/kdb.h69
-rw-r--r--sys/arm/include/limits.h46
-rw-r--r--sys/arm/include/machdep.h84
-rw-r--r--sys/arm/include/md_var.h81
-rw-r--r--sys/arm/include/memdev.h42
-rw-r--r--sys/arm/include/metadata.h59
-rw-r--r--sys/arm/include/minidump.h61
-rw-r--r--sys/arm/include/ofw_machdep.h49
-rw-r--r--sys/arm/include/param.h146
-rw-r--r--sys/arm/include/pcb.h90
-rw-r--r--sys/arm/include/pcpu.h155
-rw-r--r--sys/arm/include/pcpu_aux.h52
-rw-r--r--sys/arm/include/pl310.h192
-rw-r--r--sys/arm/include/platform.h66
-rw-r--r--sys/arm/include/platformvar.h124
-rw-r--r--sys/arm/include/pmap-v4.h382
-rw-r--r--sys/arm/include/pmap-v6.h194
-rw-r--r--sys/arm/include/pmap.h81
-rw-r--r--sys/arm/include/pmap_var.h494
-rw-r--r--sys/arm/include/pmc_mdep.h89
-rw-r--r--sys/arm/include/proc.h89
-rw-r--r--sys/arm/include/procctl.h4
-rw-r--r--sys/arm/include/profile.h126
-rw-r--r--sys/arm/include/psl.h84
-rw-r--r--sys/arm/include/pte-v4.h350
-rw-r--r--sys/arm/include/pte-v6.h297
-rw-r--r--sys/arm/include/ptrace.h23
-rw-r--r--sys/arm/include/reg.h42
-rw-r--r--sys/arm/include/reloc.h55
-rw-r--r--sys/arm/include/resource.h49
-rw-r--r--sys/arm/include/runq.h48
-rw-r--r--sys/arm/include/sc_machdep.h73
-rw-r--r--sys/arm/include/setjmp.h107
-rw-r--r--sys/arm/include/sf_buf.h56
-rw-r--r--sys/arm/include/sigframe.h2
-rw-r--r--sys/arm/include/signal.h52
-rw-r--r--sys/arm/include/smp.h35
-rw-r--r--sys/arm/include/stack.h68
-rw-r--r--sys/arm/include/stdarg.h39
-rw-r--r--sys/arm/include/swi.h23
-rw-r--r--sys/arm/include/sysarch.h104
-rw-r--r--sys/arm/include/sysreg.h335
-rw-r--r--sys/arm/include/trap.h11
-rw-r--r--sys/arm/include/ucontext.h89
-rw-r--r--sys/arm/include/undefined.h94
-rw-r--r--sys/arm/include/utrap.h112
-rw-r--r--sys/arm/include/vdso.h39
-rw-r--r--sys/arm/include/vfp.h161
-rw-r--r--sys/arm/include/vm.h54
-rw-r--r--sys/arm/include/vmparam.h196
-rw-r--r--sys/arm/linux/Makefile7
-rw-r--r--sys/arm/linux/linux_proto.h1842
-rw-r--r--sys/arm/linux/linux_syscall.h326
-rw-r--r--sys/arm/linux/linux_syscalls.c417
-rw-r--r--sys/arm/linux/linux_sysent.c427
-rw-r--r--sys/arm/linux/linux_systrace_args.c7741
-rw-r--r--sys/arm/linux/syscalls.conf11
-rw-r--r--sys/arm/linux/syscalls.master1928
-rw-r--r--sys/arm/mv/a37x0_gpio.c343
-rw-r--r--sys/arm/mv/a37x0_iic.c484
-rw-r--r--sys/arm/mv/a37x0_iicreg.h69
-rw-r--r--sys/arm/mv/a37x0_spi.c494
-rw-r--r--sys/arm/mv/armada/thermal.c315
-rw-r--r--sys/arm/mv/armada/wdt.c379
-rw-r--r--sys/arm/mv/armada38x/armada38x.c226
-rw-r--r--sys/arm/mv/armada38x/armada38x_mp.c148
-rw-r--r--sys/arm/mv/armada38x/armada38x_pl310.c82
-rw-r--r--sys/arm/mv/armada38x/armada38x_pl310.h37
-rw-r--r--sys/arm/mv/armada38x/armada38x_rtc.c370
-rw-r--r--sys/arm/mv/armada38x/files.armada38x11
-rw-r--r--sys/arm/mv/armada38x/pmsu.c156
-rw-r--r--sys/arm/mv/armada38x/pmsu.h35
-rw-r--r--sys/arm/mv/armada38x/std.armada38x6
-rw-r--r--sys/arm/mv/armadaxp/armadaxp.c322
-rw-r--r--sys/arm/mv/armadaxp/armadaxp_mp.c183
-rw-r--r--sys/arm/mv/armadaxp/files.armadaxp8
-rw-r--r--sys/arm/mv/armadaxp/mptramp.S61
-rw-r--r--sys/arm/mv/armadaxp/std.armadaxp2
-rw-r--r--sys/arm/mv/armadaxp/std.mv78x604
-rw-r--r--sys/arm/mv/files.arm738
-rw-r--r--sys/arm/mv/gpio.c1216
-rw-r--r--sys/arm/mv/ic.c315
-rw-r--r--sys/arm/mv/mpic.c611
-rw-r--r--sys/arm/mv/mv_ap806_clock.c210
-rw-r--r--sys/arm/mv/mv_ap806_gicp.c331
-rw-r--r--sys/arm/mv/mv_ap806_sei.c419
-rw-r--r--sys/arm/mv/mv_armv7_machdep.c483
-rw-r--r--sys/arm/mv/mv_common.c3045
-rw-r--r--sys/arm/mv/mv_cp110_clock.c371
-rw-r--r--sys/arm/mv/mv_cp110_clock.h82
-rw-r--r--sys/arm/mv/mv_cp110_icu.c357
-rw-r--r--sys/arm/mv/mv_cp110_icu_bus.c78
-rw-r--r--sys/arm/mv/mv_localbus.c494
-rw-r--r--sys/arm/mv/mv_pci.c1288
-rw-r--r--sys/arm/mv/mv_pci_ctrl.c350
-rw-r--r--sys/arm/mv/mv_spi.c409
-rw-r--r--sys/arm/mv/mv_thermal.c382
-rw-r--r--sys/arm/mv/mv_ts.c182
-rw-r--r--sys/arm/mv/mvebu_gpio.c869
-rw-r--r--sys/arm/mv/mvebu_pinctrl.c240
-rw-r--r--sys/arm/mv/mvreg.h443
-rw-r--r--sys/arm/mv/mvvar.h151
-rw-r--r--sys/arm/mv/mvwin.h394
-rw-r--r--sys/arm/mv/rtc.c195
-rw-r--r--sys/arm/mv/std-pj4b.mv12
-rw-r--r--sys/arm/mv/std.mv7
-rw-r--r--sys/arm/mv/timer.c569
-rw-r--r--sys/arm/nvidia/as3722.c411
-rw-r--r--sys/arm/nvidia/as3722.h323
-rw-r--r--sys/arm/nvidia/as3722_gpio.c577
-rw-r--r--sys/arm/nvidia/as3722_regulators.c717
-rw-r--r--sys/arm/nvidia/as3722_rtc.c115
-rw-r--r--sys/arm/nvidia/drm2/hdmi.c1229
-rw-r--r--sys/arm/nvidia/drm2/hdmi.h335
-rw-r--r--sys/arm/nvidia/drm2/tegra_bo.c368
-rw-r--r--sys/arm/nvidia/drm2/tegra_dc.c1447
-rw-r--r--sys/arm/nvidia/drm2/tegra_dc_if.m57
-rw-r--r--sys/arm/nvidia/drm2/tegra_dc_reg.h400
-rw-r--r--sys/arm/nvidia/drm2/tegra_drm.h125
-rw-r--r--sys/arm/nvidia/drm2/tegra_drm_if.m68
-rw-r--r--sys/arm/nvidia/drm2/tegra_drm_subr.c177
-rw-r--r--sys/arm/nvidia/drm2/tegra_fb.c338
-rw-r--r--sys/arm/nvidia/drm2/tegra_hdmi.c1326
-rw-r--r--sys/arm/nvidia/drm2/tegra_hdmi_reg.h285
-rw-r--r--sys/arm/nvidia/drm2/tegra_host1x.c650
-rw-r--r--sys/arm/nvidia/tegra124/files.tegra12467
-rw-r--r--sys/arm/nvidia/tegra124/std.tegra1246
-rw-r--r--sys/arm/nvidia/tegra124/tegra124_car.c609
-rw-r--r--sys/arm/nvidia/tegra124/tegra124_car.h337
-rw-r--r--sys/arm/nvidia/tegra124/tegra124_clk_per.c828
-rw-r--r--sys/arm/nvidia/tegra124/tegra124_clk_pll.c1147
-rw-r--r--sys/arm/nvidia/tegra124/tegra124_clk_super.c265
-rw-r--r--sys/arm/nvidia/tegra124/tegra124_coretemp.c273
-rw-r--r--sys/arm/nvidia/tegra124/tegra124_cpufreq.c598
-rw-r--r--sys/arm/nvidia/tegra124/tegra124_machdep.c156
-rw-r--r--sys/arm/nvidia/tegra124/tegra124_mp.c128
-rw-r--r--sys/arm/nvidia/tegra124/tegra124_mp.h35
-rw-r--r--sys/arm/nvidia/tegra124/tegra124_pmc.c563
-rw-r--r--sys/arm/nvidia/tegra124/tegra124_xusbpadctl.c1212
-rw-r--r--sys/arm/nvidia/tegra_abpmisc.c193
-rw-r--r--sys/arm/nvidia/tegra_ahci.c624
-rw-r--r--sys/arm/nvidia/tegra_efuse.c366
-rw-r--r--sys/arm/nvidia/tegra_efuse.h61
-rw-r--r--sys/arm/nvidia/tegra_ehci.c318
-rw-r--r--sys/arm/nvidia/tegra_gpio.c891
-rw-r--r--sys/arm/nvidia/tegra_i2c.c803
-rw-r--r--sys/arm/nvidia/tegra_lic.c289
-rw-r--r--sys/arm/nvidia/tegra_mc.c311
-rw-r--r--sys/arm/nvidia/tegra_pcie.c1636
-rw-r--r--sys/arm/nvidia/tegra_pinmux.c799
-rw-r--r--sys/arm/nvidia/tegra_pmc.h115
-rw-r--r--sys/arm/nvidia/tegra_rtc.c303
-rw-r--r--sys/arm/nvidia/tegra_sdhci.c464
-rw-r--r--sys/arm/nvidia/tegra_soctherm.c696
-rw-r--r--sys/arm/nvidia/tegra_soctherm_if.m42
-rw-r--r--sys/arm/nvidia/tegra_uart.c254
-rw-r--r--sys/arm/nvidia/tegra_usbphy.c857
-rw-r--r--sys/arm/nvidia/tegra_xhci.c1162
-rw-r--r--sys/arm/qemu/files.qemu7
-rw-r--r--sys/arm/qemu/std.virt10
-rw-r--r--sys/arm/qemu/virt_machdep.c84
-rw-r--r--sys/arm/qemu/virt_mp.c74
-rw-r--r--sys/arm/qemu/virt_mp.h35
-rw-r--r--sys/arm/rockchip/files.rk30xx11
-rw-r--r--sys/arm/rockchip/rk30xx_gpio.c632
-rw-r--r--sys/arm/rockchip/rk30xx_grf.c132
-rw-r--r--sys/arm/rockchip/rk30xx_grf.h143
-rw-r--r--sys/arm/rockchip/rk30xx_machdep.c105
-rw-r--r--sys/arm/rockchip/rk30xx_mp.c176
-rw-r--r--sys/arm/rockchip/rk30xx_mp.h38
-rw-r--r--sys/arm/rockchip/rk30xx_pmu.c132
-rw-r--r--sys/arm/rockchip/rk30xx_pmu.h62
-rw-r--r--sys/arm/rockchip/rk30xx_wdog.c202
-rw-r--r--sys/arm/rockchip/rk30xx_wdog.h37
-rw-r--r--sys/arm/rockchip/std.rk30xx8
-rw-r--r--sys/arm/samsung/exynos/chrome_ec.c301
-rw-r--r--sys/arm/samsung/exynos/chrome_ec.h38
-rw-r--r--sys/arm/samsung/exynos/chrome_ec_spi.c228
-rw-r--r--sys/arm/samsung/exynos/chrome_kb.c918
-rw-r--r--sys/arm/samsung/exynos/chrome_kb.h118
-rw-r--r--sys/arm/samsung/exynos/exynos5_combiner.c415
-rw-r--r--sys/arm/samsung/exynos/exynos5_combiner.h29
-rw-r--r--sys/arm/samsung/exynos/exynos5_common.h40
-rw-r--r--sys/arm/samsung/exynos/exynos5_ehci.c398
-rw-r--r--sys/arm/samsung/exynos/exynos5_fimd.c412
-rw-r--r--sys/arm/samsung/exynos/exynos5_i2c.c481
-rw-r--r--sys/arm/samsung/exynos/exynos5_machdep.c96
-rw-r--r--sys/arm/samsung/exynos/exynos5_mct.c137
-rw-r--r--sys/arm/samsung/exynos/exynos5_mp.c136
-rw-r--r--sys/arm/samsung/exynos/exynos5_mp.h34
-rw-r--r--sys/arm/samsung/exynos/exynos5_pad.c856
-rw-r--r--sys/arm/samsung/exynos/exynos5_pad.h29
-rw-r--r--sys/arm/samsung/exynos/exynos5_pmu.c179
-rw-r--r--sys/arm/samsung/exynos/exynos5_pmu.h30
-rw-r--r--sys/arm/samsung/exynos/exynos5_spi.c236
-rw-r--r--sys/arm/samsung/exynos/exynos5_usb_phy.c271
-rw-r--r--sys/arm/samsung/exynos/exynos5_xhci.c313
-rw-r--r--sys/arm/samsung/exynos/exynos_uart.c389
-rw-r--r--sys/arm/samsung/exynos/exynos_uart.h126
-rw-r--r--sys/arm/samsung/exynos/files.exynos523
-rw-r--r--sys/arm/samsung/exynos/std.exynos52507
-rw-r--r--sys/arm/samsung/exynos/std.exynos54207
-rw-r--r--sys/arm/ti/aintc.c311
-rw-r--r--sys/arm/ti/am335x/am3359_cppi41.c192
-rw-r--r--sys/arm/ti/am335x/am335x_dmtimer.c408
-rw-r--r--sys/arm/ti/am335x/am335x_dmtpps.c621
-rw-r--r--sys/arm/ti/am335x/am335x_dmtreg.h88
-rw-r--r--sys/arm/ti/am335x/am335x_ecap.c200
-rw-r--r--sys/arm/ti/am335x/am335x_ehrpwm.c719
-rw-r--r--sys/arm/ti/am335x/am335x_gpio.c158
-rw-r--r--sys/arm/ti/am335x/am335x_lcd.c1104
-rw-r--r--sys/arm/ti/am335x/am335x_lcd.h60
-rw-r--r--sys/arm/ti/am335x/am335x_lcd_syscons.c772
-rw-r--r--sys/arm/ti/am335x/am335x_musb.c462
-rw-r--r--sys/arm/ti/am335x/am335x_pmic.c328
-rw-r--r--sys/arm/ti/am335x/am335x_pwm.h35
-rw-r--r--sys/arm/ti/am335x/am335x_pwmss.c179
-rw-r--r--sys/arm/ti/am335x/am335x_reg.h43
-rw-r--r--sys/arm/ti/am335x/am335x_rtc.c213
-rw-r--r--sys/arm/ti/am335x/am335x_rtcreg.h76
-rw-r--r--sys/arm/ti/am335x/am335x_rtcvar.h34
-rw-r--r--sys/arm/ti/am335x/am335x_scm.c198
-rw-r--r--sys/arm/ti/am335x/am335x_scm.h51
-rw-r--r--sys/arm/ti/am335x/am335x_scm_padconf.c303
-rw-r--r--sys/arm/ti/am335x/am335x_scm_padconf.h47
-rw-r--r--sys/arm/ti/am335x/am335x_usb_phy.c121
-rw-r--r--sys/arm/ti/am335x/files.am335x25
-rw-r--r--sys/arm/ti/am335x/std.am335x8
-rw-r--r--sys/arm/ti/am335x/tda19988.c801
-rw-r--r--sys/arm/ti/am335x/tps65217x.h114
-rw-r--r--sys/arm/ti/clk/clock_common.c152
-rw-r--r--sys/arm/ti/clk/clock_common.h43
-rw-r--r--sys/arm/ti/clk/ti_clk_clkctrl.c219
-rw-r--r--sys/arm/ti/clk/ti_clk_clkctrl.h43
-rw-r--r--sys/arm/ti/clk/ti_clk_dpll.c341
-rw-r--r--sys/arm/ti/clk/ti_clk_dpll.h97
-rw-r--r--sys/arm/ti/clk/ti_clkctrl.c353
-rw-r--r--sys/arm/ti/clk/ti_divider_clock.c264
-rw-r--r--sys/arm/ti/clk/ti_dpll_clock.c375
-rw-r--r--sys/arm/ti/clk/ti_gate_clock.c266
-rw-r--r--sys/arm/ti/clk/ti_mux_clock.c249
-rw-r--r--sys/arm/ti/cpsw/if_cpsw.c3028
-rw-r--r--sys/arm/ti/cpsw/if_cpswreg.h210
-rw-r--r--sys/arm/ti/cpsw/if_cpswvar.h151
-rw-r--r--sys/arm/ti/files.ti34
-rw-r--r--sys/arm/ti/omap4/files.omap422
-rw-r--r--sys/arm/ti/omap4/omap4_gpio.c149
-rw-r--r--sys/arm/ti/omap4/omap4_l2cache.c91
-rw-r--r--sys/arm/ti/omap4/omap4_machdep.h40
-rw-r--r--sys/arm/ti/omap4/omap4_mp.c76
-rw-r--r--sys/arm/ti/omap4/omap4_prcm_clks.c1514
-rw-r--r--sys/arm/ti/omap4/omap4_reg.h588
-rw-r--r--sys/arm/ti/omap4/omap4_scm_padconf.c305
-rw-r--r--sys/arm/ti/omap4/omap4_scm_padconf.h83
-rw-r--r--sys/arm/ti/omap4/omap4_smc.h54
-rw-r--r--sys/arm/ti/omap4/omap4_wugen.c250
-rw-r--r--sys/arm/ti/omap4/pandaboard/pandaboard.c174
-rw-r--r--sys/arm/ti/omap4/pandaboard/pandaboard.h32
-rw-r--r--sys/arm/ti/omap4/std.omap48
-rw-r--r--sys/arm/ti/std.ti6
-rw-r--r--sys/arm/ti/ti_adc.c970
-rw-r--r--sys/arm/ti/ti_adcreg.h127
-rw-r--r--sys/arm/ti/ti_adcvar.h87
-rw-r--r--sys/arm/ti/ti_cpuid.c292
-rw-r--r--sys/arm/ti/ti_cpuid.h91
-rw-r--r--sys/arm/ti/ti_edma3.c425
-rw-r--r--sys/arm/ti/ti_edma3.h83
-rw-r--r--sys/arm/ti/ti_gpio.c1141
-rw-r--r--sys/arm/ti/ti_gpio.h70
-rw-r--r--sys/arm/ti/ti_gpio_if.m49
-rw-r--r--sys/arm/ti/ti_i2c.c978
-rw-r--r--sys/arm/ti/ti_i2c.h133
-rw-r--r--sys/arm/ti/ti_machdep.c166
-rw-r--r--sys/arm/ti/ti_mbox.c268
-rw-r--r--sys/arm/ti/ti_mbox.h46
-rw-r--r--sys/arm/ti/ti_omap4_cm.c151
-rw-r--r--sys/arm/ti/ti_omap4_cm.h34
-rw-r--r--sys/arm/ti/ti_pinmux.c463
-rw-r--r--sys/arm/ti/ti_pinmux.h80
-rw-r--r--sys/arm/ti/ti_prcm.c345
-rw-r--r--sys/arm/ti/ti_prcm.h39
-rw-r--r--sys/arm/ti/ti_prm.c210
-rw-r--r--sys/arm/ti/ti_prm.h38
-rw-r--r--sys/arm/ti/ti_pruss.c854
-rw-r--r--sys/arm/ti/ti_pruss.h57
-rw-r--r--sys/arm/ti/ti_scm.c162
-rw-r--r--sys/arm/ti/ti_scm.h58
-rw-r--r--sys/arm/ti/ti_scm_syscon.c294
-rw-r--r--sys/arm/ti/ti_sdhci.c770
-rw-r--r--sys/arm/ti/ti_sdma.c1252
-rw-r--r--sys/arm/ti/ti_sdma.h113
-rw-r--r--sys/arm/ti/ti_sdmareg.h135
-rw-r--r--sys/arm/ti/ti_smc.S41
-rw-r--r--sys/arm/ti/ti_smc.h35
-rw-r--r--sys/arm/ti/ti_spi.c582
-rw-r--r--sys/arm/ti/ti_spireg.h97
-rw-r--r--sys/arm/ti/ti_spivar.h71
-rw-r--r--sys/arm/ti/ti_sysc.c622
-rw-r--r--sys/arm/ti/ti_sysc.h43
-rw-r--r--sys/arm/ti/ti_wdt.c276
-rw-r--r--sys/arm/ti/ti_wdt.h74
-rw-r--r--sys/arm/ti/tivar.h43
-rw-r--r--sys/arm/ti/twl/twl.c463
-rw-r--r--sys/arm/ti/twl/twl.h41
-rw-r--r--sys/arm/ti/twl/twl_clks.c674
-rw-r--r--sys/arm/ti/twl/twl_clks.h40
-rw-r--r--sys/arm/ti/twl/twl_vreg.c1054
-rw-r--r--sys/arm/ti/twl/twl_vreg.h38
-rw-r--r--sys/arm/ti/usb/omap_ehci.c471
-rw-r--r--sys/arm/ti/usb/omap_host.c468
-rw-r--r--sys/arm/ti/usb/omap_tll.c363
-rw-r--r--sys/arm/ti/usb/omap_usb.h50
-rw-r--r--sys/arm/versatile/files.versatile10
-rw-r--r--sys/arm/versatile/pl050.c742
-rw-r--r--sys/arm/versatile/sp804.c343
-rw-r--r--sys/arm/versatile/versatile_clcd.c922
-rw-r--r--sys/arm/versatile/versatile_common.c73
-rw-r--r--sys/arm/versatile/versatile_machdep.c105
-rw-r--r--sys/arm/versatile/versatile_pci.c548
-rw-r--r--sys/arm/versatile/versatile_scm.c144
-rw-r--r--sys/arm/versatile/versatile_scm.h49
-rw-r--r--sys/arm/versatile/versatile_sic.c324
-rw-r--r--sys/arm/xilinx/files.zynq717
-rw-r--r--sys/arm/xilinx/std.zynq710
-rw-r--r--sys/arm/xilinx/uart_dev_cdnc.c716
-rw-r--r--sys/arm/xilinx/zy7_devcfg.c850
-rw-r--r--sys/arm/xilinx/zy7_ehci.c374
-rw-r--r--sys/arm/xilinx/zy7_gpio.c378
-rw-r--r--sys/arm/xilinx/zy7_l2cache.c53
-rw-r--r--sys/arm/xilinx/zy7_machdep.c104
-rw-r--r--sys/arm/xilinx/zy7_machdep.h38
-rw-r--r--sys/arm/xilinx/zy7_mp.c144
-rw-r--r--sys/arm/xilinx/zy7_qspi.c763
-rw-r--r--sys/arm/xilinx/zy7_reg.h74
-rw-r--r--sys/arm/xilinx/zy7_slcr.c714
-rw-r--r--sys/arm/xilinx/zy7_slcr.h329
-rw-r--r--sys/arm/xilinx/zy7_spi.c606
-rw-r--r--sys/arm64/acpica/OsdEnvironment.c77
-rw-r--r--sys/arm64/acpica/acpi_iort.c589
-rw-r--r--sys/arm64/acpica/acpi_machdep.c246
-rw-r--r--sys/arm64/acpica/acpi_wakeup.c61
-rw-r--r--sys/arm64/acpica/pci_cfgreg.c76
-rw-r--r--sys/arm64/arm64/autoconf.c92
-rw-r--r--sys/arm64/arm64/bus_machdep.c230
-rw-r--r--sys/arm64/arm64/bus_space_asm.S399
-rw-r--r--sys/arm64/arm64/busdma_bounce.c1359
-rw-r--r--sys/arm64/arm64/busdma_machdep.c285
-rw-r--r--sys/arm64/arm64/bzero.S206
-rw-r--r--sys/arm64/arm64/clock.c39
-rw-r--r--sys/arm64/arm64/copyinout.S226
-rw-r--r--sys/arm64/arm64/cpu_errata.c192
-rw-r--r--sys/arm64/arm64/cpufunc_asm.S182
-rw-r--r--sys/arm64/arm64/db_disasm.c70
-rw-r--r--sys/arm64/arm64/db_interface.c194
-rw-r--r--sys/arm64/arm64/db_trace.c133
-rw-r--r--sys/arm64/arm64/debug_monitor.c565
-rw-r--r--sys/arm64/arm64/disassem.c545
-rw-r--r--sys/arm64/arm64/dump_machdep.c73
-rw-r--r--sys/arm64/arm64/efirt_machdep.c280
-rw-r--r--sys/arm64/arm64/elf32_machdep.c261
-rw-r--r--sys/arm64/arm64/elf_machdep.c284
-rw-r--r--sys/arm64/arm64/exception.S255
-rw-r--r--sys/arm64/arm64/freebsd32_machdep.c440
-rw-r--r--sys/arm64/arm64/genassym.c79
-rw-r--r--sys/arm64/arm64/gic_v3.c1271
-rw-r--r--sys/arm64/arm64/gic_v3_acpi.c390
-rw-r--r--sys/arm64/arm64/gic_v3_fdt.c331
-rw-r--r--sys/arm64/arm64/gic_v3_reg.h434
-rw-r--r--sys/arm64/arm64/gic_v3_var.h146
-rw-r--r--sys/arm64/arm64/gicv3_its.c1961
-rw-r--r--sys/arm64/arm64/identcpu.c1658
-rw-r--r--sys/arm64/arm64/in_cksum.c241
-rw-r--r--sys/arm64/arm64/locore.S835
-rw-r--r--sys/arm64/arm64/machdep.c1374
-rw-r--r--sys/arm64/arm64/machdep_boot.c234
-rw-r--r--sys/arm64/arm64/mem.c131
-rw-r--r--sys/arm64/arm64/memcpy.S219
-rw-r--r--sys/arm64/arm64/memmove.S150
-rw-r--r--sys/arm64/arm64/minidump_machdep.c448
-rw-r--r--sys/arm64/arm64/mp_machdep.c889
-rw-r--r--sys/arm64/arm64/nexus.c551
-rw-r--r--sys/arm64/arm64/ofw_machdep.c58
-rw-r--r--sys/arm64/arm64/pmap.c6700
-rw-r--r--sys/arm64/arm64/stack_machdep.c93
-rw-r--r--sys/arm64/arm64/support.S290
-rw-r--r--sys/arm64/arm64/swtch.S292
-rw-r--r--sys/arm64/arm64/sys_machdep.c47
-rw-r--r--sys/arm64/arm64/trap.c567
-rw-r--r--sys/arm64/arm64/uio_machdep.c134
-rw-r--r--sys/arm64/arm64/uma_machdep.c77
-rw-r--r--sys/arm64/arm64/undefined.c177
-rw-r--r--sys/arm64/arm64/unwind.c53
-rw-r--r--sys/arm64/arm64/vfp.c381
-rw-r--r--sys/arm64/arm64/vm_machdep.c300
-rw-r--r--sys/arm64/broadcom/brcmmdio/mdio_mux_iproc.c399
-rw-r--r--sys/arm64/broadcom/brcmmdio/mdio_nexus_iproc.c234
-rw-r--r--sys/arm64/broadcom/brcmmdio/mdio_ns2_pcie_phy.c162
-rw-r--r--sys/arm64/broadcom/genet/if_genet.c1764
-rw-r--r--sys/arm64/broadcom/genet/if_genetreg.h223
-rw-r--r--sys/arm64/cavium/thunder_pcie_common.c210
-rw-r--r--sys/arm64/cavium/thunder_pcie_common.h48
-rw-r--r--sys/arm64/cavium/thunder_pcie_fdt.c161
-rw-r--r--sys/arm64/cavium/thunder_pcie_pem.c923
-rw-r--r--sys/arm64/cavium/thunder_pcie_pem.h54
-rw-r--r--sys/arm64/cavium/thunder_pcie_pem_fdt.c201
-rw-r--r--sys/arm64/cloudabi32/cloudabi32_sysvec.c204
-rw-r--r--sys/arm64/cloudabi64/cloudabi64_sysvec.c188
-rw-r--r--sys/arm64/conf/DEFAULTS16
-rw-r--r--sys/arm64/conf/GENERIC364
-rw-r--r--sys/arm64/conf/GENERIC-MMCCAM23
-rw-r--r--sys/arm64/conf/GENERIC-NODEBUG41
-rw-r--r--sys/arm64/conf/GENERIC-UP23
-rw-r--r--sys/arm64/conf/Makefile5
-rw-r--r--sys/arm64/conf/NOTES233
-rw-r--r--sys/arm64/coresight/coresight.c126
-rw-r--r--sys/arm64/coresight/coresight.h163
-rw-r--r--sys/arm64/coresight/coresight_acpi.c373
-rw-r--r--sys/arm64/coresight/coresight_cmd.c159
-rw-r--r--sys/arm64/coresight/coresight_cpu_debug.c164
-rw-r--r--sys/arm64/coresight/coresight_etm4x.c267
-rw-r--r--sys/arm64/coresight/coresight_etm4x.h184
-rw-r--r--sys/arm64/coresight/coresight_etm4x_acpi.c92
-rw-r--r--sys/arm64/coresight/coresight_etm4x_fdt.c94
-rw-r--r--sys/arm64/coresight/coresight_fdt.c154
-rw-r--r--sys/arm64/coresight/coresight_funnel.c144
-rw-r--r--sys/arm64/coresight/coresight_funnel.h80
-rw-r--r--sys/arm64/coresight/coresight_funnel_acpi.c108
-rw-r--r--sys/arm64/coresight/coresight_funnel_fdt.c106
-rw-r--r--sys/arm64/coresight/coresight_if.m58
-rw-r--r--sys/arm64/coresight/coresight_replicator.c128
-rw-r--r--sys/arm64/coresight/coresight_replicator.h48
-rw-r--r--sys/arm64/coresight/coresight_replicator_acpi.c94
-rw-r--r--sys/arm64/coresight/coresight_replicator_fdt.c95
-rw-r--r--sys/arm64/coresight/coresight_tmc.c349
-rw-r--r--sys/arm64/coresight/coresight_tmc.h137
-rw-r--r--sys/arm64/coresight/coresight_tmc_acpi.c92
-rw-r--r--sys/arm64/coresight/coresight_tmc_fdt.c94
-rw-r--r--sys/arm64/freescale/imx/clk/imx_clk_composite.c309
-rw-r--r--sys/arm64/freescale/imx/clk/imx_clk_composite.h45
-rw-r--r--sys/arm64/freescale/imx/clk/imx_clk_frac_pll.c177
-rw-r--r--sys/arm64/freescale/imx/clk/imx_clk_frac_pll.h42
-rw-r--r--sys/arm64/freescale/imx/clk/imx_clk_gate.c117
-rw-r--r--sys/arm64/freescale/imx/clk/imx_clk_gate.h45
-rw-r--r--sys/arm64/freescale/imx/clk/imx_clk_mux.c138
-rw-r--r--sys/arm64/freescale/imx/clk/imx_clk_mux.h45
-rw-r--r--sys/arm64/freescale/imx/clk/imx_clk_sscg_pll.c195
-rw-r--r--sys/arm64/freescale/imx/clk/imx_clk_sscg_pll.h42
-rw-r--r--sys/arm64/freescale/imx/imx7gpc.c263
-rw-r--r--sys/arm64/freescale/imx/imx8mq_ccm.c484
-rw-r--r--sys/arm64/freescale/imx/imx8mq_ccm.h173
-rw-r--r--sys/arm64/freescale/imx/imx_ccm_clk.h212
-rw-r--r--sys/arm64/include/_align.h44
-rw-r--r--sys/arm64/include/_bus.h45
-rw-r--r--sys/arm64/include/_inttypes.h213
-rw-r--r--sys/arm64/include/_limits.h85
-rw-r--r--sys/arm64/include/_stdint.h158
-rw-r--r--sys/arm64/include/_types.h100
-rw-r--r--sys/arm64/include/acpica_machdep.h64
-rw-r--r--sys/arm64/include/armreg.h931
-rw-r--r--sys/arm64/include/asm.h105
-rw-r--r--sys/arm64/include/atomic.h609
-rw-r--r--sys/arm64/include/bus.h476
-rw-r--r--sys/arm64/include/bus_dma.h153
-rw-r--r--sys/arm64/include/bus_dma_impl.h97
-rw-r--r--sys/arm64/include/clock.h1
-rw-r--r--sys/arm64/include/counter.h87
-rw-r--r--sys/arm64/include/cpu.h213
-rw-r--r--sys/arm64/include/cpufunc.h244
-rw-r--r--sys/arm64/include/csan.h110
-rw-r--r--sys/arm64/include/db_machdep.h123
-rw-r--r--sys/arm64/include/debug_monitor.h70
-rw-r--r--sys/arm64/include/disassem.h42
-rw-r--r--sys/arm64/include/dump.h74
-rw-r--r--sys/arm64/include/efi.h58
-rw-r--r--sys/arm64/include/elf.h124
-rw-r--r--sys/arm64/include/endian.h122
-rw-r--r--sys/arm64/include/exec.h1
-rw-r--r--sys/arm64/include/float.h94
-rw-r--r--sys/arm64/include/floatingpoint.h3
-rw-r--r--sys/arm64/include/fpu.h6
-rw-r--r--sys/arm64/include/frame.h83
-rw-r--r--sys/arm64/include/hypervisor.h185
-rw-r--r--sys/arm64/include/ieeefp.h44
-rw-r--r--sys/arm64/include/ifunc.h51
-rw-r--r--sys/arm64/include/in_cksum.h52
-rw-r--r--sys/arm64/include/intr.h56
-rw-r--r--sys/arm64/include/iodev.h65
-rw-r--r--sys/arm64/include/kdb.h55
-rw-r--r--sys/arm64/include/machdep.h64
-rw-r--r--sys/arm64/include/md_var.h50
-rw-r--r--sys/arm64/include/memdev.h40
-rw-r--r--sys/arm64/include/metadata.h54
-rw-r--r--sys/arm64/include/minidump.h48
-rw-r--r--sys/arm64/include/ofw_machdep.h44
-rw-r--r--sys/arm64/include/param.h130
-rw-r--r--sys/arm64/include/pcb.h81
-rw-r--r--sys/arm64/include/pci_cfgreg.h36
-rw-r--r--sys/arm64/include/pcpu.h86
-rw-r--r--sys/arm64/include/pcpu_aux.h52
-rw-r--r--sys/arm64/include/pmap.h206
-rw-r--r--sys/arm64/include/pmc_mdep.h67
-rw-r--r--sys/arm64/include/proc.h71
-rw-r--r--sys/arm64/include/procctl.h4
-rw-r--r--sys/arm64/include/profile.h80
-rw-r--r--sys/arm64/include/psl.h1
-rw-r--r--sys/arm64/include/pte.h158
-rw-r--r--sys/arm64/include/ptrace.h1
-rw-r--r--sys/arm64/include/reg.h99
-rw-r--r--sys/arm64/include/reloc.h1
-rw-r--r--sys/arm64/include/resource.h49
-rw-r--r--sys/arm64/include/runq.h46
-rw-r--r--sys/arm64/include/setjmp.h73
-rw-r--r--sys/arm64/include/sf_buf.h51
-rw-r--r--sys/arm64/include/sigframe.h2
-rw-r--r--sys/arm64/include/signal.h50
-rw-r--r--sys/arm64/include/smp.h55
-rw-r--r--sys/arm64/include/stack.h43
-rw-r--r--sys/arm64/include/stdarg.h39
-rw-r--r--sys/arm64/include/sysarch.h47
-rw-r--r--sys/arm64/include/trap.h1
-rw-r--r--sys/arm64/include/ucontext.h90
-rw-r--r--sys/arm64/include/undefined.h68
-rw-r--r--sys/arm64/include/vdso.h39
-rw-r--r--sys/arm64/include/vfp.h78
-rw-r--r--sys/arm64/include/vm.h45
-rw-r--r--sys/arm64/include/vmparam.h246
-rw-r--r--sys/arm64/intel/firmware.c122
-rw-r--r--sys/arm64/intel/intel-smc.h99
-rw-r--r--sys/arm64/intel/stratix10-soc-fpga-mgr.c290
-rw-r--r--sys/arm64/intel/stratix10-svc.c271
-rw-r--r--sys/arm64/intel/stratix10-svc.h60
-rw-r--r--sys/arm64/linux/Makefile7
-rw-r--r--sys/arm64/linux/linux.h300
-rw-r--r--sys/arm64/linux/linux_dummy.c167
-rw-r--r--sys/arm64/linux/linux_genassym.c2
-rw-r--r--sys/arm64/linux/linux_locore.asm63
-rw-r--r--sys/arm64/linux/linux_machdep.c143
-rw-r--r--sys/arm64/linux/linux_proto.h1619
-rw-r--r--sys/arm64/linux/linux_ptrace.c56
-rw-r--r--sys/arm64/linux/linux_support.s57
-rw-r--r--sys/arm64/linux/linux_syscall.h272
-rw-r--r--sys/arm64/linux/linux_syscalls.c302
-rw-r--r--sys/arm64/linux/linux_sysent.c312
-rw-r--r--sys/arm64/linux/linux_systrace_args.c7055
-rw-r--r--sys/arm64/linux/linux_sysvec.c566
-rw-r--r--sys/arm64/linux/linux_vdso.lds.s22
-rw-r--r--sys/arm64/linux/syscalls.conf11
-rw-r--r--sys/arm64/linux/syscalls.master1669
-rw-r--r--sys/arm64/qoriq/clk/ls1046a_clkgen.c255
-rw-r--r--sys/arm64/qoriq/clk/qoriq_clk_pll.c152
-rw-r--r--sys/arm64/qoriq/clk/qoriq_clk_pll.h53
-rw-r--r--sys/arm64/qoriq/clk/qoriq_clkgen.c319
-rw-r--r--sys/arm64/qoriq/clk/qoriq_clkgen.h96
-rw-r--r--sys/arm64/qoriq/ls1046_gpio.c586
-rw-r--r--sys/arm64/qualcomm/qcom_gcc.c148
-rw-r--r--sys/arm64/rockchip/clk/rk3328_cru.c1515
-rw-r--r--sys/arm64/rockchip/clk/rk3399_cru.c1285
-rw-r--r--sys/arm64/rockchip/clk/rk3399_cru_dt.h320
-rw-r--r--sys/arm64/rockchip/clk/rk3399_pmucru.c870
-rw-r--r--sys/arm64/rockchip/clk/rk_clk_armclk.c257
-rw-r--r--sys/arm64/rockchip/clk/rk_clk_armclk.h63
-rw-r--r--sys/arm64/rockchip/clk/rk_clk_composite.c370
-rw-r--r--sys/arm64/rockchip/clk/rk_clk_composite.h60
-rw-r--r--sys/arm64/rockchip/clk/rk_clk_fract.c247
-rw-r--r--sys/arm64/rockchip/clk/rk_clk_fract.h44
-rw-r--r--sys/arm64/rockchip/clk/rk_clk_gate.c135
-rw-r--r--sys/arm64/rockchip/clk/rk_clk_gate.h49
-rw-r--r--sys/arm64/rockchip/clk/rk_clk_mux.c139
-rw-r--r--sys/arm64/rockchip/clk/rk_clk_mux.h47
-rw-r--r--sys/arm64/rockchip/clk/rk_clk_pll.c543
-rw-r--r--sys/arm64/rockchip/clk/rk_clk_pll.h66
-rw-r--r--sys/arm64/rockchip/clk/rk_cru.c306
-rw-r--r--sys/arm64/rockchip/clk/rk_cru.h252
-rw-r--r--sys/arm64/rockchip/if_dwc_rk.c625
-rw-r--r--sys/arm64/rockchip/rk3399_emmcphy.c341
-rw-r--r--sys/arm64/rockchip/rk805.c741
-rw-r--r--sys/arm64/rockchip/rk805reg.h99
-rw-r--r--sys/arm64/rockchip/rk_dwc3.c210
-rw-r--r--sys/arm64/rockchip/rk_gpio.c474
-rw-r--r--sys/arm64/rockchip/rk_grf.c79
-rw-r--r--sys/arm64/rockchip/rk_i2c.c702
-rw-r--r--sys/arm64/rockchip/rk_iodomain.c222
-rw-r--r--sys/arm64/rockchip/rk_pcie.c1411
-rw-r--r--sys/arm64/rockchip/rk_pcie_phy.c369
-rw-r--r--sys/arm64/rockchip/rk_pinctrl.c1350
-rw-r--r--sys/arm64/rockchip/rk_pwm.c403
-rw-r--r--sys/arm64/rockchip/rk_spi.c483
-rw-r--r--sys/arm64/rockchip/rk_tsadc.c793
-rw-r--r--sys/arm64/rockchip/rk_tsadc_if.m43
-rw-r--r--sys/arm64/rockchip/rk_typec_phy.c474
-rw-r--r--sys/arm64/rockchip/rk_usb2phy.c417
-rw-r--r--sys/bsm/audit.h347
-rw-r--r--sys/bsm/audit_domain.h116
-rw-r--r--sys/bsm/audit_errno.h219
-rw-r--r--sys/bsm/audit_fcntl.h142
-rw-r--r--sys/bsm/audit_internal.h119
-rw-r--r--sys/bsm/audit_kevents.h848
-rw-r--r--sys/bsm/audit_record.h313
-rw-r--r--sys/bsm/audit_socket_type.h48
-rw-r--r--sys/cam/README.quirks212
-rw-r--r--sys/cam/ata/ata_all.c1280
-rw-r--r--sys/cam/ata/ata_all.h194
-rw-r--r--sys/cam/ata/ata_da.c3712
-rw-r--r--sys/cam/ata/ata_pmp.c863
-rw-r--r--sys/cam/ata/ata_xpt.c2285
-rw-r--r--sys/cam/cam.c595
-rw-r--r--sys/cam/cam.h413
-rw-r--r--sys/cam/cam_ccb.h1540
-rw-r--r--sys/cam/cam_compat.c423
-rw-r--r--sys/cam/cam_compat.h225
-rw-r--r--sys/cam/cam_debug.h140
-rw-r--r--sys/cam/cam_iosched.c1970
-rw-r--r--sys/cam/cam_iosched.h107
-rw-r--r--sys/cam/cam_periph.c2182
-rw-r--r--sys/cam/cam_periph.h274
-rw-r--r--sys/cam/cam_queue.c386
-rw-r--r--sys/cam/cam_queue.h282
-rw-r--r--sys/cam/cam_sim.c196
-rw-r--r--sys/cam/cam_sim.h148
-rw-r--r--sys/cam/cam_xpt.c5611
-rw-r--r--sys/cam/cam_xpt.h167
-rw-r--r--sys/cam/cam_xpt_internal.h219
-rw-r--r--sys/cam/cam_xpt_periph.h62
-rw-r--r--sys/cam/cam_xpt_sim.h55
-rw-r--r--sys/cam/ctl/README.ctl.txt402
-rw-r--r--sys/cam/ctl/ctl.c13589
-rw-r--r--sys/cam/ctl/ctl.h210
-rw-r--r--sys/cam/ctl/ctl_backend.c142
-rw-r--r--sys/cam/ctl/ctl_backend.h252
-rw-r--r--sys/cam/ctl/ctl_backend_block.c2812
-rw-r--r--sys/cam/ctl/ctl_backend_ramdisk.c1268
-rw-r--r--sys/cam/ctl/ctl_cmd_table.c1871
-rw-r--r--sys/cam/ctl/ctl_debug.h64
-rw-r--r--sys/cam/ctl/ctl_error.c995
-rw-r--r--sys/cam/ctl/ctl_error.h100
-rw-r--r--sys/cam/ctl/ctl_frontend.c393
-rw-r--r--sys/cam/ctl/ctl_frontend.h339
-rw-r--r--sys/cam/ctl/ctl_frontend_cam_sim.c790
-rw-r--r--sys/cam/ctl/ctl_frontend_ioctl.c647
-rw-r--r--sys/cam/ctl/ctl_frontend_iscsi.c3041
-rw-r--r--sys/cam/ctl/ctl_frontend_iscsi.h131
-rw-r--r--sys/cam/ctl/ctl_ha.c949
-rw-r--r--sys/cam/ctl/ctl_ha.h143
-rw-r--r--sys/cam/ctl/ctl_io.h602
-rw-r--r--sys/cam/ctl/ctl_ioctl.h782
-rw-r--r--sys/cam/ctl/ctl_private.h551
-rw-r--r--sys/cam/ctl/ctl_scsi_all.c207
-rw-r--r--sys/cam/ctl/ctl_scsi_all.h54
-rw-r--r--sys/cam/ctl/ctl_ser_table.c84
-rw-r--r--sys/cam/ctl/ctl_tpc.c2475
-rw-r--r--sys/cam/ctl/ctl_tpc.h41
-rw-r--r--sys/cam/ctl/ctl_tpc_local.c332
-rw-r--r--sys/cam/ctl/ctl_util.c899
-rw-r--r--sys/cam/ctl/ctl_util.h128
-rw-r--r--sys/cam/ctl/scsi_ctl.c1995
-rw-r--r--sys/cam/mmc/mmc.h105
-rw-r--r--sys/cam/mmc/mmc_all.h77
-rw-r--r--sys/cam/mmc/mmc_bus.h5
-rw-r--r--sys/cam/mmc/mmc_da.c2023
-rw-r--r--sys/cam/mmc/mmc_xpt.c1185
-rw-r--r--sys/cam/nvme/nvme_all.c211
-rw-r--r--sys/cam/nvme/nvme_all.h52
-rw-r--r--sys/cam/nvme/nvme_da.c1363
-rw-r--r--sys/cam/nvme/nvme_xpt.c852
-rw-r--r--sys/cam/scsi/scsi_all.c9258
-rw-r--r--sys/cam/scsi/scsi_all.h4483
-rw-r--r--sys/cam/scsi/scsi_cd.c4258
-rw-r--r--sys/cam/scsi/scsi_cd.h889
-rw-r--r--sys/cam/scsi/scsi_ch.c1935
-rw-r--r--sys/cam/scsi/scsi_ch.h512
-rw-r--r--sys/cam/scsi/scsi_da.c6638
-rw-r--r--sys/cam/scsi/scsi_da.h712
-rw-r--r--sys/cam/scsi/scsi_enc.c1037
-rw-r--r--sys/cam/scsi/scsi_enc.h255
-rw-r--r--sys/cam/scsi/scsi_enc_internal.h234
-rw-r--r--sys/cam/scsi/scsi_enc_safte.c1132
-rw-r--r--sys/cam/scsi/scsi_enc_ses.c3058
-rw-r--r--sys/cam/scsi/scsi_iu.h40
-rw-r--r--sys/cam/scsi/scsi_message.h76
-rw-r--r--sys/cam/scsi/scsi_pass.c2256
-rw-r--r--sys/cam/scsi/scsi_pass.h52
-rw-r--r--sys/cam/scsi/scsi_pt.c637
-rw-r--r--sys/cam/scsi/scsi_pt.h50
-rw-r--r--sys/cam/scsi/scsi_sa.c5925
-rw-r--r--sys/cam/scsi/scsi_sa.h1083
-rw-r--r--sys/cam/scsi/scsi_ses.h2473
-rw-r--r--sys/cam/scsi/scsi_sg.c1041
-rw-r--r--sys/cam/scsi/scsi_sg.h169
-rw-r--r--sys/cam/scsi/scsi_targ_bh.c767
-rw-r--r--sys/cam/scsi/scsi_target.c1161
-rw-r--r--sys/cam/scsi/scsi_targetio.h79
-rw-r--r--sys/cam/scsi/scsi_xpt.c3240
-rw-r--r--sys/cam/scsi/smp_all.c621
-rw-r--r--sys/cam/scsi/smp_all.h522
-rw-r--r--sys/cddl/boot/zfs/README16
-rw-r--r--sys/cddl/boot/zfs/blkptr.c73
-rw-r--r--sys/cddl/boot/zfs/fletcher.c96
-rw-r--r--sys/cddl/boot/zfs/lzjb.c74
-rw-r--r--sys/cddl/boot/zfs/sha256.c325
-rw-r--r--sys/cddl/boot/zfs/skein_zfs.c92
-rw-r--r--sys/cddl/boot/zfs/zfsimpl.h1848
-rw-r--r--sys/cddl/boot/zfs/zfssubr.c1816
-rw-r--r--sys/cddl/boot/zfs/zle.c54
-rw-r--r--sys/cddl/compat/opensolaris/kern/opensolaris.c103
-rw-r--r--sys/cddl/compat/opensolaris/kern/opensolaris_acl.c221
-rw-r--r--sys/cddl/compat/opensolaris/kern/opensolaris_atomic.c123
-rw-r--r--sys/cddl/compat/opensolaris/kern/opensolaris_cmn_err.c93
-rw-r--r--sys/cddl/compat/opensolaris/kern/opensolaris_dtrace.c36
-rw-r--r--sys/cddl/compat/opensolaris/kern/opensolaris_kmem.c296
-rw-r--r--sys/cddl/compat/opensolaris/kern/opensolaris_kobj.c210
-rw-r--r--sys/cddl/compat/opensolaris/kern/opensolaris_kstat.c148
-rw-r--r--sys/cddl/compat/opensolaris/kern/opensolaris_lookup.c64
-rw-r--r--sys/cddl/compat/opensolaris/kern/opensolaris_misc.c54
-rw-r--r--sys/cddl/compat/opensolaris/kern/opensolaris_policy.c429
-rw-r--r--sys/cddl/compat/opensolaris/kern/opensolaris_proc.c53
-rw-r--r--sys/cddl/compat/opensolaris/kern/opensolaris_string.c106
-rw-r--r--sys/cddl/compat/opensolaris/kern/opensolaris_sunddi.c194
-rw-r--r--sys/cddl/compat/opensolaris/kern/opensolaris_sysevent.c338
-rw-r--r--sys/cddl/compat/opensolaris/kern/opensolaris_taskq.c190
-rw-r--r--sys/cddl/compat/opensolaris/kern/opensolaris_uio.c92
-rw-r--r--sys/cddl/compat/opensolaris/kern/opensolaris_vfs.c252
-rw-r--r--sys/cddl/compat/opensolaris/kern/opensolaris_vm.c71
-rw-r--r--sys/cddl/compat/opensolaris/kern/opensolaris_zone.c256
-rw-r--r--sys/cddl/compat/opensolaris/rpc/xdr.h70
-rw-r--r--sys/cddl/compat/opensolaris/sys/acl.h39
-rw-r--r--sys/cddl/compat/opensolaris/sys/assfail.h86
-rw-r--r--sys/cddl/compat/opensolaris/sys/atomic.h176
-rw-r--r--sys/cddl/compat/opensolaris/sys/bitmap.h118
-rw-r--r--sys/cddl/compat/opensolaris/sys/byteorder.h96
-rw-r--r--sys/cddl/compat/opensolaris/sys/callo.h37
-rw-r--r--sys/cddl/compat/opensolaris/sys/cmn_err.h54
-rw-r--r--sys/cddl/compat/opensolaris/sys/cpupart.h38
-rw-r--r--sys/cddl/compat/opensolaris/sys/cpuvar.h134
-rw-r--r--sys/cddl/compat/opensolaris/sys/cpuvar_defs.h59
-rw-r--r--sys/cddl/compat/opensolaris/sys/cred.h59
-rw-r--r--sys/cddl/compat/opensolaris/sys/debug.h42
-rw-r--r--sys/cddl/compat/opensolaris/sys/debug_compat.h37
-rw-r--r--sys/cddl/compat/opensolaris/sys/dirent.h45
-rw-r--r--sys/cddl/compat/opensolaris/sys/disp.h40
-rw-r--r--sys/cddl/compat/opensolaris/sys/dkio.h87
-rw-r--r--sys/cddl/compat/opensolaris/sys/dnlc.h40
-rw-r--r--sys/cddl/compat/opensolaris/sys/elf.h116
-rw-r--r--sys/cddl/compat/opensolaris/sys/feature_tests.h35
-rw-r--r--sys/cddl/compat/opensolaris/sys/file.h64
-rw-r--r--sys/cddl/compat/opensolaris/sys/freebsd_rwlock.h34
-rw-r--r--sys/cddl/compat/opensolaris/sys/kcondvar.h72
-rw-r--r--sys/cddl/compat/opensolaris/sys/kidmap.h41
-rw-r--r--sys/cddl/compat/opensolaris/sys/kmem.h92
-rw-r--r--sys/cddl/compat/opensolaris/sys/kobj.h60
-rw-r--r--sys/cddl/compat/opensolaris/sys/kstat.h86
-rw-r--r--sys/cddl/compat/opensolaris/sys/lock.h45
-rw-r--r--sys/cddl/compat/opensolaris/sys/misc.h61
-rw-r--r--sys/cddl/compat/opensolaris/sys/mman.h37
-rw-r--r--sys/cddl/compat/opensolaris/sys/mntent.h60
-rw-r--r--sys/cddl/compat/opensolaris/sys/mnttab.h36
-rw-r--r--sys/cddl/compat/opensolaris/sys/modctl.h38
-rw-r--r--sys/cddl/compat/opensolaris/sys/mount.h41
-rw-r--r--sys/cddl/compat/opensolaris/sys/mutex.h77
-rw-r--r--sys/cddl/compat/opensolaris/sys/nvpair.h230
-rw-r--r--sys/cddl/compat/opensolaris/sys/objfs.h35
-rw-r--r--sys/cddl/compat/opensolaris/sys/param.h41
-rw-r--r--sys/cddl/compat/opensolaris/sys/pathname.h43
-rw-r--r--sys/cddl/compat/opensolaris/sys/pcpu.h37
-rw-r--r--sys/cddl/compat/opensolaris/sys/policy.h76
-rw-r--r--sys/cddl/compat/opensolaris/sys/proc.h105
-rw-r--r--sys/cddl/compat/opensolaris/sys/random.h37
-rw-r--r--sys/cddl/compat/opensolaris/sys/refstr.h34
-rw-r--r--sys/cddl/compat/opensolaris/sys/rwlock.h94
-rw-r--r--sys/cddl/compat/opensolaris/sys/sdt.h45
-rw-r--r--sys/cddl/compat/opensolaris/sys/sema.h40
-rw-r--r--sys/cddl/compat/opensolaris/sys/sid.h84
-rw-r--r--sys/cddl/compat/opensolaris/sys/sig.h69
-rw-r--r--sys/cddl/compat/opensolaris/sys/stat.h65
-rw-r--r--sys/cddl/compat/opensolaris/sys/string.h39
-rw-r--r--sys/cddl/compat/opensolaris/sys/sunddi.h69
-rw-r--r--sys/cddl/compat/opensolaris/sys/systeminfo.h6
-rw-r--r--sys/cddl/compat/opensolaris/sys/systm.h47
-rw-r--r--sys/cddl/compat/opensolaris/sys/time.h95
-rw-r--r--sys/cddl/compat/opensolaris/sys/types.h101
-rw-r--r--sys/cddl/compat/opensolaris/sys/uio.h89
-rw-r--r--sys/cddl/compat/opensolaris/sys/varargs.h38
-rw-r--r--sys/cddl/compat/opensolaris/sys/vfs.h125
-rw-r--r--sys/cddl/compat/opensolaris/sys/vm.h61
-rw-r--r--sys/cddl/compat/opensolaris/sys/vnode.h287
-rw-r--r--sys/cddl/compat/opensolaris/sys/zone.h73
-rw-r--r--sys/cddl/contrib/opensolaris/OPENSOLARIS.LICENSE384
-rw-r--r--sys/cddl/contrib/opensolaris/common/acl/acl_common.c1765
-rw-r--r--sys/cddl/contrib/opensolaris/common/acl/acl_common.h69
-rw-r--r--sys/cddl/contrib/opensolaris/common/atomic/i386/opensolaris_atomic.S133
-rw-r--r--sys/cddl/contrib/opensolaris/common/avl/avl.c1063
-rw-r--r--sys/cddl/contrib/opensolaris/common/lz4/lz4.c1043
-rw-r--r--sys/cddl/contrib/opensolaris/common/lz4/lz4.h50
-rw-r--r--sys/cddl/contrib/opensolaris/common/nvpair/opensolaris_fnvpair.c512
-rw-r--r--sys/cddl/contrib/opensolaris/common/nvpair/opensolaris_nvpair.c3600
-rw-r--r--sys/cddl/contrib/opensolaris/common/nvpair/opensolaris_nvpair_alloc_fixed.c118
-rw-r--r--sys/cddl/contrib/opensolaris/common/unicode/u8_textprep.c2130
-rw-r--r--sys/cddl/contrib/opensolaris/common/util/strtolctype.h79
-rw-r--r--sys/cddl/contrib/opensolaris/common/zfs/zfeature_common.c310
-rw-r--r--sys/cddl/contrib/opensolaris/common/zfs/zfeature_common.h111
-rw-r--r--sys/cddl/contrib/opensolaris/common/zfs/zfs_comutil.c206
-rw-r--r--sys/cddl/contrib/opensolaris/common/zfs/zfs_comutil.h52
-rw-r--r--sys/cddl/contrib/opensolaris/common/zfs/zfs_deleg.c235
-rw-r--r--sys/cddl/contrib/opensolaris/common/zfs/zfs_deleg.h90
-rw-r--r--sys/cddl/contrib/opensolaris/common/zfs/zfs_fletcher.c279
-rw-r--r--sys/cddl/contrib/opensolaris/common/zfs/zfs_fletcher.h58
-rw-r--r--sys/cddl/contrib/opensolaris/common/zfs/zfs_ioctl_compat.c1380
-rw-r--r--sys/cddl/contrib/opensolaris/common/zfs/zfs_ioctl_compat.h543
-rw-r--r--sys/cddl/contrib/opensolaris/common/zfs/zfs_namecheck.c399
-rw-r--r--sys/cddl/contrib/opensolaris/common/zfs/zfs_namecheck.h66
-rw-r--r--sys/cddl/contrib/opensolaris/common/zfs/zfs_prop.c718
-rw-r--r--sys/cddl/contrib/opensolaris/common/zfs/zfs_prop.h131
-rw-r--r--sys/cddl/contrib/opensolaris/common/zfs/zpool_prop.c250
-rw-r--r--sys/cddl/contrib/opensolaris/common/zfs/zprop_common.c430
-rw-r--r--sys/cddl/contrib/opensolaris/uts/aarch64/dtrace/fasttrap_isa.c29
-rw-r--r--sys/cddl/contrib/opensolaris/uts/aarch64/sys/fasttrap_isa.h46
-rw-r--r--sys/cddl/contrib/opensolaris/uts/arm/dtrace/fasttrap_isa.c30
-rw-r--r--sys/cddl/contrib/opensolaris/uts/arm/sys/fasttrap_isa.h94
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/Makefile.files183
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/ctf/ctf_mod.c177
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/ctf/ctf_subr.c96
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c18424
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace_xoroshiro128_plus.c89
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace_xoroshiro128_plus.h41
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/dtrace/fasttrap.c2663
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/vnode.c94
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/THIRDPARTYLICENSE.cityhash19
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/THIRDPARTYLICENSE.cityhash.descrip1
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/THIRDPARTYLICENSE.lz430
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/THIRDPARTYLICENSE.lz4.descrip1
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/abd.c960
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/aggsum.c234
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c8569
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/blkptr.c152
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/bplist.c77
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/bpobj.c606
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/bptree.c301
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/bqueue.c111
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/cityhash.c63
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dbuf.c4248
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dbuf_stats.c242
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ddt.c1189
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ddt_zap.c165
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu.c2748
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_diff.c251
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_object.c444
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_objset.c2484
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_send.c3550
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_traverse.c712
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_tx.c1345
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_zfetch.c374
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode.c2418
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode_sync.c779
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_bookmark.c566
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dataset.c4252
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_deadlist.c561
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_deleg.c760
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_destroy.c1097
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dir.c2184
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_pool.c1372
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_prop.c1211
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_scan.c4001
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_synctask.c256
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_userhold.c667
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/edonr_zfs.c114
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/gzip.c69
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/README.zfs80
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lapi.c1283
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lapi.h24
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lauxlib.c791
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lauxlib.h176
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lbaselib.c296
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lbitlib.c212
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lcode.c885
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lcode.h83
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lcompat.c102
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lcorolib.c154
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lctype.c52
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lctype.h93
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/ldebug.c607
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/ldebug.h34
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/ldo.c691
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/ldo.h46
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/ldump.c173
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lfunc.c161
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lfunc.h33
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lgc.c1220
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lgc.h157
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/llex.c529
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/llex.h78
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/llimits.h308
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lmem.c99
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lmem.h57
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lobject.c283
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lobject.h606
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lopcodes.c107
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lopcodes.h288
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lparser.c1637
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lparser.h119
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lstate.c321
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lstate.h228
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lstring.c185
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lstring.h46
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lstrlib.c1050
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/ltable.c589
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/ltable.h45
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/ltablib.c284
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/ltm.c77
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/ltm.h57
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lua.h443
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/luaconf.h555
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lualib.h55
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lundump.c258
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lundump.h28
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lvm.c930
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lvm.h44
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lzio.c76
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lzio.h65
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lzjb.c129
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/metaslab.c4624
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/mmp.c750
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/multilist.c423
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/range_tree.c670
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/refcount.c321
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/rrwlock.c396
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sa.c2012
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sha256.c105
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/skein_zfs.c105
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c8972
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_checkpoint.c623
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_config.c594
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_errlog.c406
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_history.c628
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c2523
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/space_map.c1073
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/space_reftree.c149
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/abd.h154
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/aggsum.h58
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/arc.h290
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/blkptr.h39
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/bplist.h57
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/bpobj.h95
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/bptree.h65
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/bqueue.h54
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/cityhash.h41
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dbuf.h417
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ddt.h248
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dmu.h1028
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dmu_impl.h315
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dmu_objset.h221
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dmu_send.h93
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dmu_traverse.h69
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dmu_tx.h152
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dmu_zfetch.h76
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dnode.h599
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dsl_bookmark.h52
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dsl_dataset.h457
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dsl_deadlist.h89
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dsl_deleg.h81
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dsl_destroy.h68
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dsl_dir.h209
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dsl_pool.h191
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dsl_prop.h115
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dsl_scan.h188
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dsl_synctask.h127
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dsl_userhold.h57
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/metaslab.h127
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/metaslab_impl.h501
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/mmp.h74
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/multilist.h107
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/range_tree.h124
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/refcount.h125
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/rrwlock.h112
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/sa.h170
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/sa_impl.h291
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/spa.h969
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/spa_boot.h48
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/spa_checkpoint.h44
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/spa_impl.h435
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/space_map.h230
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/space_reftree.h57
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/trim_map.h51
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/txg.h136
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/txg_impl.h125
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/uberblock.h50
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/uberblock_impl.h145
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/unique.h57
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/vdev.h196
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/vdev_disk.h67
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/vdev_file.h49
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/vdev_impl.h571
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/vdev_indirect_births.h80
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/vdev_indirect_mapping.h141
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/vdev_initialize.h46
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/vdev_raidz.h50
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/vdev_removal.h96
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zap.h514
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zap_impl.h242
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zap_leaf.h248
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zcp.h185
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zcp_global.h35
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zcp_iter.h41
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zcp_prop.h34
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfeature.h73
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_acl.h248
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_context.h146
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_ctldir.h65
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_debug.h99
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_dir.h74
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_fuid.h132
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_ioctl.h466
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_onexit.h66
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_rlock.h90
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_sa.h142
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_stat.h55
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_vfsops.h192
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_znode.h374
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zil.h464
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zil_impl.h229
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zio.h675
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zio_checksum.h119
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zio_compress.h128
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zio_impl.h256
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zio_priority.h43
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zrlock.h63
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zthr.h39
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zvol.h85
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/trim_map.c634
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/txg.c977
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/uberblock.c74
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/unique.c112
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev.c4520
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_cache.c434
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_disk.c971
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_file.c307
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c1193
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_indirect.c1849
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_indirect_births.c212
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_indirect_mapping.c593
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_initialize.c782
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_label.c1701
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_mirror.c779
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_missing.c113
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_queue.c1047
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_raidz.c2707
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_removal.c2156
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_root.c157
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zap.c1378
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zap_leaf.c849
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zap_micro.c1609
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zcp.c1432
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zcp_get.c865
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zcp_global.c89
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zcp_iter.c531
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zcp_synctask.c360
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfeature.c505
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs.conf28
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_acl.c2778
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_byteswap.c199
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c1364
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_debug.c112
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_dir.c968
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_fm.c871
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_fuid.c762
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c7692
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_log.c688
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_onexit.c254
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_replay.c1069
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_rlock.c641
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_sa.c326
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c2813
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c6124
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c2388
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c3499
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c4386
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio_checksum.c475
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio_compress.c215
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio_inject.c755
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zle.c86
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zrlock.c187
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zthr.c431
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zvol.c3347
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/os/callb.c438
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/os/fm.c1399
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/os/list.c243
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/os/nvpair_alloc_system.c63
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/acl.h313
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/acl_impl.h61
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/asm_linkage.h82
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/avl.h333
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/avl_impl.h164
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/bitmap.h198
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/callb.h215
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/ccompile.h127
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/cmn_err.h128
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/compress.h46
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/cpupart.h158
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/cpuvar.h830
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/cred.h193
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/ctf.h360
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/ctf_api.h251
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/debug.h159
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/dtrace.h2510
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/dtrace_impl.h1351
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/errorq.h83
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/extdirent.h77
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/fasttrap.h98
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/fasttrap_impl.h235
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/feature_tests.h431
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/fm/fs/zfs.h97
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/fm/protocol.h369
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/fm/util.h102
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/fs/zfs.h1248
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/fs/zut.h93
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/idmap.h97
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/isa_defs.h697
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/list.h65
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/list_impl.h51
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/note.h54
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/nvpair.h351
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/nvpair_impl.h90
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/processor.h140
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/procset.h166
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/synch.h162
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/sysevent.h289
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/sysevent/dev.h256
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/sysevent/eventdefs.h230
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/sysmacros.h466
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/taskq.h108
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/u8_textprep.h115
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/u8_textprep_data.h35376
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/vnode.h427
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/sys/zmod.h68
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/zmod/zmod.c138
-rw-r--r--sys/cddl/contrib/opensolaris/uts/intel/dtrace/fasttrap_isa.c1841
-rw-r--r--sys/cddl/contrib/opensolaris/uts/intel/sys/fasttrap_isa.h114
-rw-r--r--sys/cddl/contrib/opensolaris/uts/mips/dtrace/fasttrap_isa.c30
-rw-r--r--sys/cddl/contrib/opensolaris/uts/mips/sys/fasttrap_isa.h48
-rw-r--r--sys/cddl/contrib/opensolaris/uts/powerpc/dtrace/fasttrap_isa.c548
-rw-r--r--sys/cddl/contrib/opensolaris/uts/powerpc/sys/fasttrap_isa.h76
-rw-r--r--sys/cddl/contrib/opensolaris/uts/riscv/dtrace/fasttrap_isa.c29
-rw-r--r--sys/cddl/contrib/opensolaris/uts/riscv/sys/fasttrap_isa.h46
-rw-r--r--sys/cddl/dev/dtmalloc/dtmalloc.c239
-rw-r--r--sys/cddl/dev/dtrace/aarch64/dtrace_asm.S174
-rw-r--r--sys/cddl/dev/dtrace/aarch64/dtrace_isa.c409
-rw-r--r--sys/cddl/dev/dtrace/aarch64/dtrace_subr.c335
-rw-r--r--sys/cddl/dev/dtrace/aarch64/regset.h51
-rw-r--r--sys/cddl/dev/dtrace/amd64/dtrace_asm.S423
-rw-r--r--sys/cddl/dev/dtrace/amd64/dtrace_isa.c742
-rw-r--r--sys/cddl/dev/dtrace/amd64/dtrace_subr.c468
-rw-r--r--sys/cddl/dev/dtrace/arm/dtrace_asm.S198
-rw-r--r--sys/cddl/dev/dtrace/arm/dtrace_isa.c263
-rw-r--r--sys/cddl/dev/dtrace/arm/dtrace_subr.c356
-rw-r--r--sys/cddl/dev/dtrace/arm/regset.h57
-rw-r--r--sys/cddl/dev/dtrace/dtrace_anon.c84
-rw-r--r--sys/cddl/dev/dtrace/dtrace_cddl.h174
-rw-r--r--sys/cddl/dev/dtrace/dtrace_debug.c560
-rw-r--r--sys/cddl/dev/dtrace/dtrace_hacks.c10
-rw-r--r--sys/cddl/dev/dtrace/dtrace_ioctl.c848
-rw-r--r--sys/cddl/dev/dtrace/dtrace_load.c170
-rw-r--r--sys/cddl/dev/dtrace/dtrace_modevent.c47
-rw-r--r--sys/cddl/dev/dtrace/dtrace_sysctl.c100
-rw-r--r--sys/cddl/dev/dtrace/dtrace_test.c111
-rw-r--r--sys/cddl/dev/dtrace/dtrace_unload.c126
-rw-r--r--sys/cddl/dev/dtrace/dtrace_vtime.c101
-rw-r--r--sys/cddl/dev/dtrace/i386/dtrace_asm.S339
-rw-r--r--sys/cddl/dev/dtrace/i386/dtrace_isa.c679
-rw-r--r--sys/cddl/dev/dtrace/i386/dtrace_subr.c469
-rw-r--r--sys/cddl/dev/dtrace/mips/dtrace_asm.S234
-rw-r--r--sys/cddl/dev/dtrace/mips/dtrace_isa.c725
-rw-r--r--sys/cddl/dev/dtrace/mips/dtrace_subr.c289
-rw-r--r--sys/cddl/dev/dtrace/mips/regset.h62
-rw-r--r--sys/cddl/dev/dtrace/powerpc/dtrace_asm.S191
-rw-r--r--sys/cddl/dev/dtrace/powerpc/dtrace_isa.c692
-rw-r--r--sys/cddl/dev/dtrace/powerpc/dtrace_subr.c367
-rw-r--r--sys/cddl/dev/dtrace/powerpc/regset.h63
-rw-r--r--sys/cddl/dev/dtrace/riscv/dtrace_asm.S177
-rw-r--r--sys/cddl/dev/dtrace/riscv/dtrace_isa.c394
-rw-r--r--sys/cddl/dev/dtrace/riscv/dtrace_subr.c316
-rw-r--r--sys/cddl/dev/dtrace/riscv/regset.h51
-rw-r--r--sys/cddl/dev/dtrace/x86/dis_tables.c5597
-rw-r--r--sys/cddl/dev/dtrace/x86/dis_tables.h111
-rw-r--r--sys/cddl/dev/dtrace/x86/instr_size.c140
-rw-r--r--sys/cddl/dev/dtrace/x86/regset.h178
-rw-r--r--sys/cddl/dev/fbt/aarch64/fbt_isa.c177
-rw-r--r--sys/cddl/dev/fbt/aarch64/fbt_isa.h30
-rw-r--r--sys/cddl/dev/fbt/arm/fbt_isa.c196
-rw-r--r--sys/cddl/dev/fbt/arm/fbt_isa.h30
-rw-r--r--sys/cddl/dev/fbt/fbt.c1197
-rw-r--r--sys/cddl/dev/fbt/fbt.h81
-rw-r--r--sys/cddl/dev/fbt/mips/fbt_isa.c164
-rw-r--r--sys/cddl/dev/fbt/mips/fbt_isa.h30
-rw-r--r--sys/cddl/dev/fbt/powerpc/fbt_isa.c242
-rw-r--r--sys/cddl/dev/fbt/powerpc/fbt_isa.h30
-rw-r--r--sys/cddl/dev/fbt/riscv/fbt_isa.c245
-rw-r--r--sys/cddl/dev/fbt/riscv/fbt_isa.h30
-rw-r--r--sys/cddl/dev/fbt/x86/fbt_isa.c354
-rw-r--r--sys/cddl/dev/fbt/x86/fbt_isa.h30
-rw-r--r--sys/cddl/dev/profile/profile.c718
-rw-r--r--sys/cddl/dev/prototype.c144
-rw-r--r--sys/cddl/dev/sdt/sdt.c418
-rw-r--r--sys/cddl/dev/systrace/systrace.c417
-rw-r--r--sys/compat/cloudabi/cloudabi_clock.c135
-rw-r--r--sys/compat/cloudabi/cloudabi_errno.c123
-rw-r--r--sys/compat/cloudabi/cloudabi_fd.c475
-rw-r--r--sys/compat/cloudabi/cloudabi_file.c763
-rw-r--r--sys/compat/cloudabi/cloudabi_futex.c1165
-rw-r--r--sys/compat/cloudabi/cloudabi_mem.c161
-rw-r--r--sys/compat/cloudabi/cloudabi_proc.c148
-rw-r--r--sys/compat/cloudabi/cloudabi_proto.h36
-rw-r--r--sys/compat/cloudabi/cloudabi_random.c53
-rw-r--r--sys/compat/cloudabi/cloudabi_sock.c186
-rw-r--r--sys/compat/cloudabi/cloudabi_thread.c69
-rw-r--r--sys/compat/cloudabi/cloudabi_util.h87
-rw-r--r--sys/compat/cloudabi/cloudabi_vdso.c90
-rw-r--r--sys/compat/cloudabi/cloudabi_vdso.lds51
-rw-r--r--sys/compat/cloudabi32/Makefile6
-rw-r--r--sys/compat/cloudabi32/cloudabi32_fd.c145
-rw-r--r--sys/compat/cloudabi32/cloudabi32_module.c184
-rw-r--r--sys/compat/cloudabi32/cloudabi32_poll.c340
-rw-r--r--sys/compat/cloudabi32/cloudabi32_proto.h420
-rw-r--r--sys/compat/cloudabi32/cloudabi32_sock.c128
-rw-r--r--sys/compat/cloudabi32/cloudabi32_syscall.h57
-rw-r--r--sys/compat/cloudabi32/cloudabi32_syscalls.c58
-rw-r--r--sys/compat/cloudabi32/cloudabi32_sysent.c66
-rw-r--r--sys/compat/cloudabi32/cloudabi32_systrace_args.c1458
-rw-r--r--sys/compat/cloudabi32/cloudabi32_thread.c77
-rw-r--r--sys/compat/cloudabi32/cloudabi32_util.h51
-rw-r--r--sys/compat/cloudabi32/syscalls.conf15
-rw-r--r--sys/compat/cloudabi64/Makefile6
-rw-r--r--sys/compat/cloudabi64/cloudabi64_fd.c145
-rw-r--r--sys/compat/cloudabi64/cloudabi64_module.c184
-rw-r--r--sys/compat/cloudabi64/cloudabi64_poll.c340
-rw-r--r--sys/compat/cloudabi64/cloudabi64_proto.h420
-rw-r--r--sys/compat/cloudabi64/cloudabi64_sock.c128
-rw-r--r--sys/compat/cloudabi64/cloudabi64_syscall.h57
-rw-r--r--sys/compat/cloudabi64/cloudabi64_syscalls.c58
-rw-r--r--sys/compat/cloudabi64/cloudabi64_sysent.c66
-rw-r--r--sys/compat/cloudabi64/cloudabi64_systrace_args.c1458
-rw-r--r--sys/compat/cloudabi64/cloudabi64_thread.c77
-rw-r--r--sys/compat/cloudabi64/cloudabi64_util.h51
-rw-r--r--sys/compat/cloudabi64/syscalls.conf15
-rw-r--r--sys/compat/freebsd32/Makefile7
-rw-r--r--sys/compat/freebsd32/freebsd32.h391
-rw-r--r--sys/compat/freebsd32/freebsd32_capability.c157
-rw-r--r--sys/compat/freebsd32/freebsd32_ioctl.c247
-rw-r--r--sys/compat/freebsd32/freebsd32_ioctl.h63
-rw-r--r--sys/compat/freebsd32/freebsd32_ipc.h194
-rw-r--r--sys/compat/freebsd32/freebsd32_misc.c3767
-rw-r--r--sys/compat/freebsd32/freebsd32_misc.h49
-rw-r--r--sys/compat/freebsd32/freebsd32_proto.h1469
-rw-r--r--sys/compat/freebsd32/freebsd32_signal.h68
-rw-r--r--sys/compat/freebsd32/freebsd32_syscall.h506
-rw-r--r--sys/compat/freebsd32/freebsd32_syscalls.c616
-rw-r--r--sys/compat/freebsd32/freebsd32_sysent.c669
-rw-r--r--sys/compat/freebsd32/freebsd32_systrace_args.c11036
-rw-r--r--sys/compat/freebsd32/freebsd32_util.h125
-rw-r--r--sys/compat/freebsd32/syscalls.conf13
-rw-r--r--sys/compat/freebsd32/syscalls.master1171
-rw-r--r--sys/compat/ia32/ia32_genassym.c27
-rw-r--r--sys/compat/ia32/ia32_signal.h212
-rw-r--r--sys/compat/ia32/ia32_sysvec.c235
-rw-r--r--sys/compat/ia32/ia32_util.h59
-rw-r--r--sys/compat/lindebugfs/lindebugfs.c317
-rw-r--r--sys/compat/linprocfs/linprocfs.c1951
-rw-r--r--sys/compat/linsysfs/linsysfs.c701
-rw-r--r--sys/compat/linux/check_error.d144
-rw-r--r--sys/compat/linux/check_internal_locks.d97
-rw-r--r--sys/compat/linux/linux.c629
-rw-r--r--sys/compat/linux/linux.h195
-rw-r--r--sys/compat/linux/linux_common.c107
-rw-r--r--sys/compat/linux/linux_common.h45
-rw-r--r--sys/compat/linux/linux_dtrace.h92
-rw-r--r--sys/compat/linux/linux_emul.c384
-rw-r--r--sys/compat/linux/linux_emul.h85
-rw-r--r--sys/compat/linux/linux_errno.c6
-rw-r--r--sys/compat/linux/linux_errno.inc149
-rw-r--r--sys/compat/linux/linux_event.c1343
-rw-r--r--sys/compat/linux/linux_event.h71
-rw-r--r--sys/compat/linux/linux_file.c1822
-rw-r--r--sys/compat/linux/linux_file.h177
-rw-r--r--sys/compat/linux/linux_fork.c448
-rw-r--r--sys/compat/linux/linux_futex.c1320
-rw-r--r--sys/compat/linux/linux_futex.h86
-rw-r--r--sys/compat/linux/linux_getcwd.c84
-rw-r--r--sys/compat/linux/linux_ioctl.c3807
-rw-r--r--sys/compat/linux/linux_ioctl.h792
-rw-r--r--sys/compat/linux/linux_ipc.c931
-rw-r--r--sys/compat/linux/linux_ipc.h97
-rw-r--r--sys/compat/linux/linux_ipc64.h158
-rw-r--r--sys/compat/linux/linux_mib.c569
-rw-r--r--sys/compat/linux/linux_mib.h71
-rw-r--r--sys/compat/linux/linux_misc.c2543
-rw-r--r--sys/compat/linux/linux_misc.h165
-rw-r--r--sys/compat/linux/linux_mmap.c417
-rw-r--r--sys/compat/linux/linux_mmap.h73
-rw-r--r--sys/compat/linux/linux_persona.h56
-rw-r--r--sys/compat/linux/linux_signal.c745
-rw-r--r--sys/compat/linux/linux_signal.h51
-rw-r--r--sys/compat/linux/linux_socket.c1839
-rw-r--r--sys/compat/linux/linux_socket.h248
-rw-r--r--sys/compat/linux/linux_stats.c729
-rw-r--r--sys/compat/linux/linux_sysctl.c195
-rw-r--r--sys/compat/linux/linux_sysproto.h38
-rw-r--r--sys/compat/linux/linux_time.c656
-rw-r--r--sys/compat/linux/linux_timer.c169
-rw-r--r--sys/compat/linux/linux_timer.h118
-rw-r--r--sys/compat/linux/linux_uid16.c439
-rw-r--r--sys/compat/linux/linux_util.c282
-rw-r--r--sys/compat/linux/linux_util.h157
-rw-r--r--sys/compat/linux/linux_vdso.c245
-rw-r--r--sys/compat/linux/linux_vdso.h65
-rw-r--r--sys/compat/linux/linux_videodev2_compat.h137
-rw-r--r--sys/compat/linux/linux_videodev_compat.h59
-rw-r--r--sys/compat/linux/stats_timing.d93
-rw-r--r--sys/compat/linux/trace_futexes.d182
-rw-r--r--sys/compat/linuxkpi/common/include/asm/atomic-long.h134
-rw-r--r--sys/compat/linuxkpi/common/include/asm/atomic.h321
-rw-r--r--sys/compat/linuxkpi/common/include/asm/atomic64.h149
-rw-r--r--sys/compat/linuxkpi/common/include/asm/byteorder.h94
-rw-r--r--sys/compat/linuxkpi/common/include/asm/fcntl.h36
-rw-r--r--sys/compat/linuxkpi/common/include/asm/io.h36
-rw-r--r--sys/compat/linuxkpi/common/include/asm/msr.h37
-rw-r--r--sys/compat/linuxkpi/common/include/asm/pgtable.h43
-rw-r--r--sys/compat/linuxkpi/common/include/asm/smp.h48
-rw-r--r--sys/compat/linuxkpi/common/include/asm/types.h64
-rw-r--r--sys/compat/linuxkpi/common/include/asm/uaccess.h72
-rw-r--r--sys/compat/linuxkpi/common/include/linux/atomic.h36
-rw-r--r--sys/compat/linuxkpi/common/include/linux/bitmap.h354
-rw-r--r--sys/compat/linuxkpi/common/include/linux/bitops.h410
-rw-r--r--sys/compat/linuxkpi/common/include/linux/bottom_half.h34
-rw-r--r--sys/compat/linuxkpi/common/include/linux/cache.h37
-rw-r--r--sys/compat/linuxkpi/common/include/linux/cdev.h152
-rw-r--r--sys/compat/linuxkpi/common/include/linux/clocksource.h38
-rw-r--r--sys/compat/linuxkpi/common/include/linux/compat.h60
-rw-r--r--sys/compat/linuxkpi/common/include/linux/compiler.h117
-rw-r--r--sys/compat/linuxkpi/common/include/linux/completion.h69
-rw-r--r--sys/compat/linuxkpi/common/include/linux/dcache.h46
-rw-r--r--sys/compat/linuxkpi/common/include/linux/debugfs.h51
-rw-r--r--sys/compat/linuxkpi/common/include/linux/delay.h76
-rw-r--r--sys/compat/linuxkpi/common/include/linux/device.h562
-rw-r--r--sys/compat/linuxkpi/common/include/linux/dma-attrs.h57
-rw-r--r--sys/compat/linuxkpi/common/include/linux/dma-mapping.h295
-rw-r--r--sys/compat/linuxkpi/common/include/linux/dmapool.h86
-rw-r--r--sys/compat/linuxkpi/common/include/linux/err.h83
-rw-r--r--sys/compat/linuxkpi/common/include/linux/errno.h62
-rw-r--r--sys/compat/linuxkpi/common/include/linux/etherdevice.h117
-rw-r--r--sys/compat/linuxkpi/common/include/linux/export.h33
-rw-r--r--sys/compat/linuxkpi/common/include/linux/file.h190
-rw-r--r--sys/compat/linuxkpi/common/include/linux/fs.h305
-rw-r--r--sys/compat/linuxkpi/common/include/linux/gfp.h187
-rw-r--r--sys/compat/linuxkpi/common/include/linux/hardirq.h43
-rw-r--r--sys/compat/linuxkpi/common/include/linux/hrtimer.h89
-rw-r--r--sys/compat/linuxkpi/common/include/linux/idr.h150
-rw-r--r--sys/compat/linuxkpi/common/include/linux/if_arp.h37
-rw-r--r--sys/compat/linuxkpi/common/include/linux/if_ether.h55
-rw-r--r--sys/compat/linuxkpi/common/include/linux/if_vlan.h59
-rw-r--r--sys/compat/linuxkpi/common/include/linux/in.h47
-rw-r--r--sys/compat/linuxkpi/common/include/linux/in6.h36
-rw-r--r--sys/compat/linuxkpi/common/include/linux/inetdevice.h93
-rw-r--r--sys/compat/linuxkpi/common/include/linux/interrupt.h215
-rw-r--r--sys/compat/linuxkpi/common/include/linux/io-mapping.h117
-rw-r--r--sys/compat/linuxkpi/common/include/linux/io.h482
-rw-r--r--sys/compat/linuxkpi/common/include/linux/ioctl.h38
-rw-r--r--sys/compat/linuxkpi/common/include/linux/irq_work.h52
-rw-r--r--sys/compat/linuxkpi/common/include/linux/irqreturn.h40
-rw-r--r--sys/compat/linuxkpi/common/include/linux/jhash.h147
-rw-r--r--sys/compat/linuxkpi/common/include/linux/jiffies.h166
-rw-r--r--sys/compat/linuxkpi/common/include/linux/kdev_t.h46
-rw-r--r--sys/compat/linuxkpi/common/include/linux/kernel.h599
-rw-r--r--sys/compat/linuxkpi/common/include/linux/kmod.h52
-rw-r--r--sys/compat/linuxkpi/common/include/linux/kobject.h154
-rw-r--r--sys/compat/linuxkpi/common/include/linux/kref.h132
-rw-r--r--sys/compat/linuxkpi/common/include/linux/kthread.h73
-rw-r--r--sys/compat/linuxkpi/common/include/linux/ktime.h259
-rw-r--r--sys/compat/linuxkpi/common/include/linux/list.h498
-rw-r--r--sys/compat/linuxkpi/common/include/linux/lockdep.h87
-rw-r--r--sys/compat/linuxkpi/common/include/linux/log2.h131
-rw-r--r--sys/compat/linuxkpi/common/include/linux/math64.h103
-rw-r--r--sys/compat/linuxkpi/common/include/linux/miscdevice.h76
-rw-r--r--sys/compat/linuxkpi/common/include/linux/mm.h266
-rw-r--r--sys/compat/linuxkpi/common/include/linux/mm_types.h82
-rw-r--r--sys/compat/linuxkpi/common/include/linux/module.h105
-rw-r--r--sys/compat/linuxkpi/common/include/linux/moduleparam.h133
-rw-r--r--sys/compat/linuxkpi/common/include/linux/mutex.h176
-rw-r--r--sys/compat/linuxkpi/common/include/linux/net.h79
-rw-r--r--sys/compat/linuxkpi/common/include/linux/net_dim.h410
-rw-r--r--sys/compat/linuxkpi/common/include/linux/netdevice.h143
-rw-r--r--sys/compat/linuxkpi/common/include/linux/notifier.h57
-rw-r--r--sys/compat/linuxkpi/common/include/linux/overflow.h65
-rw-r--r--sys/compat/linuxkpi/common/include/linux/page.h96
-rw-r--r--sys/compat/linuxkpi/common/include/linux/pci.h1065
-rw-r--r--sys/compat/linuxkpi/common/include/linux/pfn.h44
-rw-r--r--sys/compat/linuxkpi/common/include/linux/pfn_t.h56
-rw-r--r--sys/compat/linuxkpi/common/include/linux/pid.h70
-rw-r--r--sys/compat/linuxkpi/common/include/linux/poll.h48
-rw-r--r--sys/compat/linuxkpi/common/include/linux/preempt.h43
-rw-r--r--sys/compat/linuxkpi/common/include/linux/printk.h130
-rw-r--r--sys/compat/linuxkpi/common/include/linux/radix-tree.h85
-rw-r--r--sys/compat/linuxkpi/common/include/linux/random.h71
-rw-r--r--sys/compat/linuxkpi/common/include/linux/rbtree.h98
-rw-r--r--sys/compat/linuxkpi/common/include/linux/rculist.h108
-rw-r--r--sys/compat/linuxkpi/common/include/linux/rcupdate.h120
-rw-r--r--sys/compat/linuxkpi/common/include/linux/refcount.h82
-rw-r--r--sys/compat/linuxkpi/common/include/linux/rwlock.h68
-rw-r--r--sys/compat/linuxkpi/common/include/linux/rwsem.h84
-rw-r--r--sys/compat/linuxkpi/common/include/linux/scatterlist.h483
-rw-r--r--sys/compat/linuxkpi/common/include/linux/sched.h198
-rw-r--r--sys/compat/linuxkpi/common/include/linux/semaphore.h70
-rw-r--r--sys/compat/linuxkpi/common/include/linux/seq_file.h88
-rw-r--r--sys/compat/linuxkpi/common/include/linux/shmem_fs.h55
-rw-r--r--sys/compat/linuxkpi/common/include/linux/sizes.h51
-rw-r--r--sys/compat/linuxkpi/common/include/linux/slab.h187
-rw-r--r--sys/compat/linuxkpi/common/include/linux/smp.h39
-rw-r--r--sys/compat/linuxkpi/common/include/linux/socket.h69
-rw-r--r--sys/compat/linuxkpi/common/include/linux/spinlock.h163
-rw-r--r--sys/compat/linuxkpi/common/include/linux/srcu.h56
-rw-r--r--sys/compat/linuxkpi/common/include/linux/string.h170
-rw-r--r--sys/compat/linuxkpi/common/include/linux/swap.h52
-rw-r--r--sys/compat/linuxkpi/common/include/linux/sysfs.h300
-rw-r--r--sys/compat/linuxkpi/common/include/linux/time.h135
-rw-r--r--sys/compat/linuxkpi/common/include/linux/timer.h94
-rw-r--r--sys/compat/linuxkpi/common/include/linux/types.h87
-rw-r--r--sys/compat/linuxkpi/common/include/linux/uaccess.h96
-rw-r--r--sys/compat/linuxkpi/common/include/linux/usb.h318
-rw-r--r--sys/compat/linuxkpi/common/include/linux/vmalloc.h43
-rw-r--r--sys/compat/linuxkpi/common/include/linux/wait.h313
-rw-r--r--sys/compat/linuxkpi/common/include/linux/wait_bit.h64
-rw-r--r--sys/compat/linuxkpi/common/include/linux/workqueue.h259
-rw-r--r--sys/compat/linuxkpi/common/include/linux/ww_mutex.h143
-rw-r--r--sys/compat/linuxkpi/common/include/net/if_inet6.h53
-rw-r--r--sys/compat/linuxkpi/common/include/net/ip.h103
-rw-r--r--sys/compat/linuxkpi/common/include/net/ipv6.h114
-rw-r--r--