opnsense-src/sys
Mark Johnston 731c145612 e1000: Fix some issues in em_newitr()
- Load packet and byte counters exactly once, as they can be
  concurrently mutated.
- Rename bytes_packets to bytes_per_packet, which seems clearer.
- Use local variables that have the same types as the counter values,
  rather than truncating unsigned long to u32.

Reviewed by:	kbowling
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D50416
2025-05-27 17:33:39 +00:00
..
amd64 ppt: Fix panic when configuring unavailable MSI-X vector 2025-05-16 13:29:08 +02:00
arm subr_devmap: Implement pmap_mapdev with pmap_mapdev_attr 2025-05-15 16:09:46 +01:00
arm64 rk_i2s: correct some bit-field definitions, add more bits 2025-05-19 12:19:03 +03:00
bsm
cam scsi/da: Only send SYNC CACHE for devices with mode page 8 2025-05-07 15:36:55 -06:00
cddl
compat LinuxKPI: 802.11: mark struct ieee80211_ht_cap __packed 2025-05-26 23:33:08 +00:00
conf mac_do(4): allow compiling into kernel 2025-05-22 17:59:32 +01:00
contrib iwlwifi: update script to extract firmware/chipset generations/flavors/.. 2025-05-13 00:04:46 +00:00
crypto
ddb
dev e1000: Fix some issues in em_newitr() 2025-05-27 17:33:39 +00:00
dts
fs namei: Fix cn_flags width in various places 2025-05-27 13:29:14 +00:00
gdb
geom sysctl(9): Ease exporting struct sizes; Discourage doing that 2025-05-07 12:13:40 +02:00
gnu
i386 i386: replace tailq pointers with iterators 2025-04-20 23:05:48 -05:00
isa
kern namei: Fix cn_flags width in various places 2025-05-27 13:29:14 +00:00
kgssapi crypto: Remove uses of CRYPTO_F_DONE 2025-05-09 00:29:23 +00:00
libkern
modules buildkernel: fix build for kernels without VIMAGE 2025-05-26 08:23:37 -07:00
net bridge: check allow_llz_overlap before member_ifaddrs 2025-05-23 19:08:14 +01:00
net80211 net80211: remove direct references to ifp->if_xname 2025-05-25 08:24:10 -07:00
netgraph ng_sample: fix style nits 2025-05-16 21:29:47 +01:00
netinet netinet: Disallow connections to INADDR_ANY 2025-05-24 14:13:09 -04:00
netinet6 icmp6: fix use-after-reference-release 2025-05-27 11:47:43 +02:00
netipsec
netlink jail: add allow.routing jail permission 2025-05-12 23:13:18 +01:00
netpfil pf: use __func__ rather than hardcoded function names 2025-05-09 22:49:29 +02:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed ofed: jiffies is unsigned long 2025-04-29 13:53:40 +00:00
opencrypto crypto: Remove uses of CRYPTO_F_DONE 2025-05-09 00:29:23 +00:00
powerpc powerpc: Enable VIMAGE on more kernel configs 2025-05-20 12:09:29 +08:00
riscv subr_devmap: Reduce the use of the static devmap 2025-05-02 16:39:04 +01:00
rpc
security MAC/do: Fix a too stringent debug assertion for a target of 'uid=*' 2025-05-27 11:20:07 +02:00
sys namei: Make stackable filesystems check harder for jail roots 2025-05-23 13:03:38 +00:00
teken
tests
tools vnode_if: Remove some branching around SDT probes in VOP wrappers 2025-05-22 14:37:49 +00:00
ufs
vm vm_object: drop reverse walk from collect_flush 2025-05-25 22:02:37 -05:00
x86 tls: Introduce struct dtv and struct dtv_slot 2025-05-07 20:20:26 +01:00
xdr
xen
Makefile
README.md man filesystems: fix more xrefs after move to s4 2024-06-27 18:32:05 -06:00

FreeBSD Kernel Source:

This directory contains the source files and build glue that make up the FreeBSD kernel and its modules, including both original and contributed software.

Kernel configuration files are located in the conf/ subdirectory of each architecture. GENERIC is the configuration used in release builds. NOTES contains documentation of all possible entries. LINT is a compile-only configuration used to maximize build coverage and detect regressions.

Documentation:

Source code documentation is maintained in a set of man pages, under section 9. These pages are located in share/man/man9, from the top-level of the src tree. Consult intro(9) for an overview of existing pages.

Some additional high-level documentation of the kernel is maintained in the Architecture Handbook.

Source Roadmap:

Directory Description
amd64 AMD64 (64-bit x86) architecture support
arm 32-bit ARM architecture support
arm64 64-bit ARM (AArch64) architecture support
cam Common Access Method storage subsystem - cam(4) and ctl(4)
cddl CDDL-licensed optional sources such as DTrace
conf kernel build glue
compat Linux compatibility layer, FreeBSD 32-bit compatibility
contrib 3rd-party imported software such as OpenZFS
crypto crypto drivers
ddb interactive kernel debugger - ddb(4)
fs most filesystems, excluding UFS, NFS, and ZFS
dev device drivers and other arch independent code
gdb kernel remote GDB stub - gdb(4)
geom GEOM framework - geom(4)
i386 i386 (32-bit x86) architecture support
kern main part of the kernel
libkern libc-like and other support functions for kernel use
modules kernel module infrastructure
net core networking code
net80211 wireless networking (IEEE 802.11) - net80211(4)
netgraph graph-based networking subsystem - netgraph(4)
netinet IPv4 protocol implementation - inet(4)
netinet6 IPv6 protocol implementation - inet6(4)
netipsec IPsec protocol implementation - ipsec(4)
netpfil packet filters - ipfw(4), pf(4), and ipfilter(4)
opencrypto OpenCrypto framework - crypto(7)
powerpc PowerPC/POWER (32 and 64-bit) architecture support
riscv 64-bit RISC-V architecture support
security security facilities - audit(4) and mac(4)
sys kernel headers
tests kernel unit tests
ufs Unix File System - ffs(4)
vm virtual memory system
x86 code shared by AMD64 and i386 architectures