freebsd-nq/sys/sys
Konstantin Belousov cd85379104 Make MAXPHYS tunable. Bump MAXPHYS to 1M.
Replace MAXPHYS by runtime variable maxphys. It is initialized from
MAXPHYS by default, but can be also adjusted with the tunable kern.maxphys.

Make b_pages[] array in struct buf flexible.  Size b_pages[] for buffer
cache buffers exactly to atop(maxbcachebuf) (currently it is sized to
atop(MAXPHYS)), and b_pages[] for pbufs is sized to atop(maxphys) + 1.
The +1 for pbufs allow several pbuf consumers, among them vmapbuf(),
to use unaligned buffers still sized to maxphys, esp. when such
buffers come from userspace (*).  Overall, we save significant amount
of otherwise wasted memory in b_pages[] for buffer cache buffers,
while bumping MAXPHYS to desired high value.

Eliminate all direct uses of the MAXPHYS constant in kernel and driver
sources, except a place which initialize maxphys.  Some random (and
arguably weird) uses of MAXPHYS, e.g. in linuxolator, are converted
straight.  Some drivers, which use MAXPHYS to size embeded structures,
get private MAXPHYS-like constant; their convertion is out of scope
for this work.

Changes to cam/, dev/ahci, dev/ata, dev/mpr, dev/mpt, dev/mvs,
dev/siis, where either submitted by, or based on changes by mav.

Suggested by: mav (*)
Reviewed by:	imp, mav, imp, mckusick, scottl (intermediate versions)
Tested by:	pho
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D27225
2020-11-28 12:12:51 +00:00
..
disk gpart(8): Recognize apple-zfs and solaris-reserved partition ids 2020-08-17 17:07:05 +00:00
_atomic64e.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
_atomic_subword.h Expand generic subword atomic primitives 2020-03-25 23:12:43 +00:00
_bitset.h Implement several enhancements to NUMA policies. 2018-03-29 02:54:50 +00:00
_blockcount.h Add a blocking counter KPI. 2020-02-28 16:05:18 +00:00
_bus_dma.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
_callout.h Add a callout_func_t typedef for functions used with callout_*(). 2019-12-10 21:58:30 +00:00
_cpuset.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
_cscan_atomic.h Add char and short types to kcsan 2020-07-04 06:22:05 +00:00
_cscan_bus.h Add NetBSD compatible bus_space_peek_N() and bus_space_poke_N() functions. 2020-09-19 11:06:41 +00:00
_domainset.h Refactor domainset iterators for use by malloc(9) and UMA. 2018-10-23 16:35:58 +00:00
_eventhandler.h Remove duplicated content from _eventhandler.h 2020-07-25 07:48:20 +00:00
_ffcounter.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
_iovec.h
_lock.h Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
_lockmgr.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
_mutex.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
_null.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
_pctrie.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
_pthreadtypes.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
_rangeset.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
_rmlock.h rms: several cleanups + debug read lockers handling 2020-11-07 16:57:53 +00:00
_rwlock.h Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
_semaphore.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
_seqc.h seqc: add a sleepable variant and convert some routines to macros 2020-07-25 10:29:48 +00:00
_sigset.h Fix undefined behavior: left-shifting into the sign bit. 2019-12-23 20:18:05 +00:00
_smr.h Move SMR pointer type definition and access macros to smr_types.h. 2020-03-07 00:55:46 +00:00
_sockaddr_storage.h
_stack.h stack(9): Drop unused API mode and comment that referenced it 2019-03-15 22:39:55 +00:00
_stdarg.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
_stdint.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
_sx.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
_task.h Add flag to struct task to mark the task as requiring network epoch. 2020-02-11 18:48:07 +00:00
_termios.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
_timespec.h
_timeval.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
_types.h Reduce namespace pollution from r349233 2019-06-21 21:50:14 +00:00
_ucontext.h SPDX: mostly fixes to previous changes. 2017-12-13 16:13:17 +00:00
_uio.h Move uio enums to sys/_uio.h. 2018-03-27 15:20:03 +00:00
_umtx.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
_unrhdr.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
aac_ioctl.h Fix FSACTL_GET_NEXT_ADAPTER_FIB under 32-bit compat. 2018-03-14 21:11:41 +00:00
abi_compat.h Centralize compatability translation macros. 2020-04-14 20:30:48 +00:00
acct.h
acl.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
agpio.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
aio.h Make MAXPHYS tunable. Bump MAXPHYS to 1M. 2020-11-28 12:12:51 +00:00
alq.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
apm.h
arb.h Add copyrights that I forgot to add when splitting arb.h off from tree.h. 2019-10-15 19:44:43 +00:00
assym.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
ata.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
atomic_common.h atomic_common.h: Fix the volatile qualifier placement in atomic_load_ptr 2020-09-20 23:20:18 +00:00
auxv.h SPDX: mostly fixes to previous changes. 2017-12-13 16:13:17 +00:00
backlight.h Add backlight subsystem 2020-10-02 18:18:01 +00:00
bio.h Remove GEOM_SCHED class and gsched tool. 2019-12-29 21:16:03 +00:00
bitset.h bitset: expand bit index type to long 2020-09-21 22:19:12 +00:00
bitstring.h bistring: avoid gcc -Wsign-compare 2019-12-04 20:15:17 +00:00
blist.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
blockcount.h Handle PCATCH in blockcount_sleep() so it can be interrupted. 2020-04-21 17:13:06 +00:00
boot.h Move to using a common kernel path between the boot / laoder bits and 2019-06-24 20:34:53 +00:00
buf_ring.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
buf.h Make MAXPHYS tunable. Bump MAXPHYS to 1M. 2020-11-28 12:12:51 +00:00
bufobj.h bufcache: convert bo_numoutput from long to int 2020-11-09 00:04:58 +00:00
bus_dma_internal.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
bus_dma.h Refine the busdma template interface. Provide tools for filling in fields 2020-09-14 05:58:12 +00:00
bus.h Add NetBSD compatible bus_space_peek_N() and bus_space_poke_N() functions. 2020-09-19 11:06:41 +00:00
busdma_bufalloc.h Fix compile error from r327900 2018-01-12 23:41:12 +00:00
callout.h Remove struct callout_handle. Should have gone with r355732. 2020-01-22 05:47:59 +00:00
caprights.h capsicum: move global caps to caprights.h 2020-08-01 06:31:58 +00:00
capsicum.h capsicum: move global caps to caprights.h 2020-08-01 06:31:58 +00:00
cdefs.h cdefs.h: remove intel_compiler support 2020-10-24 23:21:31 +00:00
cdio.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
cdrio.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
cfictl.h
chio.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
ck.h ck: simplify interface with libkvm consumers by defining ck_queue types 2018-05-21 01:53:23 +00:00
clock.h Kill tz_minuteswest and tz_dsttime. 2019-03-12 04:49:47 +00:00
cnv.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
compressor.h Add support for zstd-compressed user and kernel core dumps. 2018-02-13 19:28:02 +00:00
condvar.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
conf.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
cons.h sys/kern: quiet -Wwrite-strings 2020-02-23 03:32:16 +00:00
consio.h Move font related data structured to sys/font.c and update vtfontcvt 2020-06-14 06:58:58 +00:00
copyright.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
counter.h Add COUNTER_U64_SYSINIT() and COUNTER_U64_DEFINE_EARLY(). 2020-03-06 19:09:01 +00:00
coverage.h Extract the coverage sanitizer KPI to a new file. 2019-01-29 11:04:17 +00:00
cpu.h cpufreq(4): Add support for Intel Speed Shift 2020-01-22 23:28:42 +00:00
cpuctl.h Make it possible to re-evaluate cpu_features. 2018-01-05 21:06:19 +00:00
cpuset.h cpuset: reorder so that cs_mask does not share cacheline with cs_ref 2020-11-17 00:04:30 +00:00
csan.h Port the NetBSD KCSAN runtime to FreeBSD. 2019-11-21 11:22:08 +00:00
ctype.h Change all kernel C-type macros into static inline functions. 2019-03-25 13:50:38 +00:00
devctl.h Use standard bool type, instead of non-standard boolean_t 2020-09-16 06:02:30 +00:00
devicestat.h Fix asymmetry in devstat(9) calls by GEOM. 2020-10-24 21:07:10 +00:00
devmap.h Generalize ARM specific comments in devmap 2019-10-15 23:21:52 +00:00
dirent.h Ensure that directory entry padding bytes are zeroed. 2018-11-23 22:24:59 +00:00
disk_zone.h SPDX: mostly fixes to previous changes. 2017-12-13 16:13:17 +00:00
disk.h Remove frontstuff 2020-10-27 06:43:24 +00:00
disklabel.h
diskmbr.h Remove deprecated GEOM classes 2019-08-13 20:06:55 +00:00
dkstat.h
dnv.h SPDX: mostly fixes to previous changes. 2017-12-13 16:13:17 +00:00
domain.h Simplify dom_<rtattach|rtdetach>. 2020-08-14 21:29:56 +00:00
domainset.h bitset: expand bit index type to long 2020-09-21 22:19:12 +00:00
dtrace_bsd.h dtrace: stop using eventhandlers for the part compiled into the kernel 2020-11-23 18:27:21 +00:00
dvdio.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
efi.h efirt: When present, attempt to use EFI runtime services to shutdown 2018-12-15 05:46:04 +00:00
efiio.h Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
elf32.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
elf64.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
elf_common.h random(4) FenestrasX: Push root seed version to arc4random(3) 2020-10-10 21:52:00 +00:00
elf_generic.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
elf.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
endian.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
epoch.h Add flag to struct task to mark the task as requiring network epoch. 2020-02-11 18:48:07 +00:00
errno.h Allow the pseudo-errnos to be returned as well in boot loader 2020-08-28 17:49:56 +00:00
eui64.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
event.h kqueue: save space by using only one func pointer for assertions 2020-11-09 00:04:35 +00:00
eventhandler.h Use an event handler to notify the SCTP about IP address changes 2019-10-13 18:17:08 +00:00
eventvar.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
exec.h Remove SPARE_USRSPACE. 2019-12-06 19:20:45 +00:00
extattr.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
fail.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
fbio.h Use unsigned intptr_t type for framebuffer addresses 2017-12-06 02:05:21 +00:00
fcntl.h Add O_RESOLVE_BENEATH and AT_RESOLVE_BENEATH to mimic Linux' RESOLVE_BENEATH. 2020-09-22 22:48:12 +00:00
fdcio.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
file.h fd: reorder struct file to reduce false sharing 2020-11-18 19:47:24 +00:00
filedesc.h Split out cwd/root/jail, cmask state from filedesc table 2020-11-17 21:14:13 +00:00
filio.h Support for userspace non-transparent superpages (largepages). 2020-09-09 22:12:51 +00:00
firmware.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
fnv_hash.h
font.h Move font related data structured to sys/font.c and update vtfontcvt 2020-06-14 06:58:58 +00:00
gmon.h
gpio.h SPDX: Fix some cases wrongly attributed to MIT. 2017-11-30 15:10:11 +00:00
gpt.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
gsb_crc32.h Separate kernel crc32() implementation to its own header (gsb_crc32.h) and 2019-06-17 19:49:08 +00:00
gtaskqueue.h Remove the "config" taskqgroup and its KPIs. 2020-03-30 14:24:03 +00:00
hash.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
hhook.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
iconv.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
imgact_aout.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
imgact_binmisc.h imgact_binmisc: limit the extent of match on incoming entries 2020-11-08 04:24:29 +00:00
imgact_elf.h Pass pointers to info parsed from notes, to brandinfo->header_supported filter. 2020-08-23 20:06:55 +00:00
imgact.h Do not leak oldvmspace if image activation failed 2020-09-23 18:03:07 +00:00
interrupt.h Allow swi_sched() to be called from NMI context. 2020-07-25 15:19:38 +00:00
intr.h Add a method to determine whether given interrupt is per CPU or not. 2020-11-07 14:58:01 +00:00
ioccom.h Integrate 4.4BSD-Lite2 changes to IOC_* definitions 2020-10-30 22:00:35 +00:00
ioctl_compat.h
ioctl.h
iov_schema.h SPDX: mostly fixes to previous changes. 2017-12-13 16:13:17 +00:00
iov.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
ipc.h Get rid of the requirement to include SysV IPC headers with _KERNEL 2018-02-16 01:33:01 +00:00
ipmi.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
jail.h jail: introduce per jail suser_enabled setting 2020-11-18 21:07:08 +00:00
joystick.h Remove #warning since it breaks libsysdecode 2018-10-26 04:53:29 +00:00
kbio.h
kcov.h Extract the coverage sanitizer KPI to a new file. 2019-01-29 11:04:17 +00:00
kdb.h Fix handling of NMIs from unknown sources (BMC, hypervisor) 2020-04-26 00:41:29 +00:00
kenv.h Move kernel env global variables, etc to sys/kenv.h 2020-10-07 06:16:37 +00:00
kern_prefetch.h Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
kernel.h Hide tunable definitions behind _KERNEL 2020-09-21 17:28:41 +00:00
kerneldump.h EKCD: Add Chacha20 encryption mode 2019-05-23 20:12:24 +00:00
khelp.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
kobj.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
kpilite.h expose sched_{pin,unpin}_lite to tied modules 2018-07-03 04:02:40 +00:00
ksem.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
kthread.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
ktls.h Support hardware rate limiting (pacing) with TLS offload. 2020-10-29 00:23:16 +00:00
ktr_class.h Remove GEOM_SCHED class and gsched tool. 2019-12-29 21:16:03 +00:00
ktr.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
ktrace.h Annotate branches in the syscall path 2020-02-14 13:08:46 +00:00
libkern.h arc4random(9): Integrate with RANDOM_FENESTRASX push-reseed 2020-10-10 21:48:06 +00:00
limits.h
link_aout.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
link_elf.h Implement Solaris-like link_map l_refname member. 2020-05-22 17:52:09 +00:00
linker_set.h [PowerPC] Only move linker sets to .data on ELFv1 2019-12-19 22:35:16 +00:00
linker.h Add a routine to dump boot metadata 2020-10-08 18:02:05 +00:00
lock_profile.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
lock.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
lockf.h Typo out->in. 2019-10-10 18:52:24 +00:00
lockmgr.h lockmgr: add adaptive spinning 2020-07-22 12:30:31 +00:00
lockstat.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
loginclass.h Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
mac.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
malloc.h [malloc] quieten -Werror=missing-braces with malloc.h wth gcc-6.4 2020-11-13 01:53:59 +00:00
mbuf.h Add m_snd_tag_alloc() as a wrapper around if_snd_tag_alloc(). 2020-10-29 23:28:39 +00:00
mchain.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
md4.h SPDX: some uses of the RSA-MD license. 2017-12-13 16:30:39 +00:00
md5.h SPDX: some uses of the RSA-MD license. 2017-12-13 16:30:39 +00:00
mdioctl.h md(4): remove the unused and unusable MDIOCLIST ioctl. 2019-08-16 18:57:32 +00:00
memdesc.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
memrange.h Add the MEM_EXTRACT_PADDR ioctl to /dev/mem. 2020-09-02 18:12:47 +00:00
mman.h Support for userspace non-transparent superpages (largepages). 2020-09-09 22:12:51 +00:00
module_khelp.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
module.h Reapply, with minor tweaks, r338025, from the original commit: 2018-09-26 17:12:14 +00:00
mount.h vfs: group mount per-cpu vars into one struct 2020-11-09 23:02:13 +00:00
mouse.h psm(4): detect Lenovo top-button clickpads 2019-01-18 22:20:29 +00:00
mpt_ioctl.h
mqueue.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
msg.h Don't define struct mymsg. 2018-03-02 22:13:29 +00:00
msgbuf.h BOOT_TAG: Make a config(5) option, expose as sysctl and loader tunable 2018-08-09 17:47:47 +00:00
mtio.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
mutex.h mtx: add mtx_wait_unlocked 2020-08-04 23:00:00 +00:00
namei.h vfs: add NDREINIT to facilitate repeated namei calls 2020-10-29 12:56:02 +00:00
nlist_aout.h
nv.h libnv: Add nvlist_append_*_array() family of functions. 2018-06-18 22:57:32 +00:00
osd.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
param.h Make MAXPHYS tunable. Bump MAXPHYS to 1M. 2020-11-28 12:12:51 +00:00
pciio.h Add ioctl to conveniently mmap a PCI device BAR into userspace. 2018-08-01 18:58:24 +00:00
pcpu.h Dedup zpcpu assertions into one macro and guard the rest with #ifndef 2020-02-12 11:14:23 +00:00
pctrie.h Use SMR to provide safe unlocked lookup for pctries from SMR zones 2020-07-24 17:32:10 +00:00
physmem.h Convert arm's physmem interface to MI code 2020-04-19 00:12:30 +00:00
pidctrl.h Add a generic Proportional Integral Derivative (PID) controller algorithm and 2018-02-23 22:51:51 +00:00
pipe.h pipe: thundering herd problem in pipelock 2020-11-19 19:25:47 +00:00
pmc.h [PowerPC] hwpmc: add support for POWER8/9 PMCs 2020-11-05 16:36:39 +00:00
pmckern.h Fix annoying whitespace issue. 2019-06-25 19:55:42 +00:00
pmclog.h pmc: convert native to jsonl and track TSC value of samples 2018-06-07 02:03:22 +00:00
poll.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
posix4.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
power.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
priority.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
priv.h vfs: respect PRIV_VFS_LOOKUP in vaccess_smr 2020-08-25 14:18:50 +00:00
prng.h Add prng(9) API 2020-08-13 20:48:14 +00:00
proc.h thread: staticize thread_reap and move td_allocdomain 2020-11-26 06:59:27 +00:00
procctl.h Add procctl(PROC_STACKGAP_CTL) 2019-09-03 18:56:25 +00:00
procdesc.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
procfs.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
protosw.h IPV6_PKTINFO support for v4-mapped IPv6 sockets 2020-08-07 15:13:53 +00:00
ptio.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
ptrace.h Add ptrace op PT_GET_SC_RET. 2019-07-15 21:48:02 +00:00
qmath.h Fix the compilation workaround so it's not entirely dead code - clang 2019-10-09 18:46:56 +00:00
queue.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
racct.h Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
random.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
rangelock.h rangelock: add rangelock_cookie_assert 2019-09-15 02:59:53 +00:00
rangeset.h Implement rangesets. 2019-02-20 09:38:19 +00:00
rctl.h Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
reboot.h Create helper functions for parsing boot args. 2018-07-13 16:43:05 +00:00
refcount.h refcount(9): Add refcount_release_if_last() and refcount_load() 2020-11-04 16:30:30 +00:00
regression.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
resource.h
resourcevar.h thread: batch resource limit free calls 2020-11-14 19:21:46 +00:00
rman.h add support for marking interrupt handlers as suspended 2018-12-17 17:11:00 +00:00
rmlock.h rms: several cleanups + debug read lockers handling 2020-11-07 16:57:53 +00:00
rtprio.h Update to D25266, bin/ps: Make the rtprio option actually show 2020-07-14 18:57:31 +00:00
runq.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
rwlock.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
sbuf.h sbuf(9): Add sbuf_nl_terminate() API 2019-08-07 19:27:14 +00:00
sched.h SPDX: update some tags with two licenses. 2019-12-28 02:58:30 +00:00
sdt.h Provide SDT_PROBES_ENABLED for kernels without KDTRACE. 2018-12-19 23:19:05 +00:00
select.h
selinfo.h
sem.h Don't declare union semun in userspace unless _WANT_SEMUN is defined. 2018-03-02 22:32:53 +00:00
sema.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
seqc.h seqc: add a sleepable variant and convert some routines to macros 2020-07-25 10:29:48 +00:00
serial.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
sf_buf.h Define PHYS_TO_DMAP() and DMAP_TO_PHYS() as panics on the architectures 2018-01-19 22:17:13 +00:00
sglist.h Step 2.2: 2020-05-02 23:46:29 +00:00
shm.h Implement shmat(2) flag SHM_REMAP. 2019-01-16 05:15:57 +00:00
sigio.h
signal.h Improve MD page fault handlers. 2019-09-27 18:43:36 +00:00
signalvar.h Remove an extraneous parameter from SIGIO_ASSERT_LOCKED() 2020-11-11 14:03:49 +00:00
sleepqueue.h sleep(9), sleepqueue(9): const'ify wchan pointers 2019-12-24 16:19:33 +00:00
slicer.h Update a comment to reflect reality; no functional changes. 2019-02-26 22:07:59 +00:00
smp.h smp.h: Reconcile definition and declaration of smp_ncpus 2020-08-11 20:42:21 +00:00
smr_types.h Move SMR pointer type definition and access macros to smr_types.h. 2020-03-07 00:55:46 +00:00
smr.h Move SMR pointer type definition and access macros to smr_types.h. 2020-03-07 00:55:46 +00:00
snoop.h Revert r327005 - SPDX tags for license similar to BSD-2-Clause. 2017-12-20 20:25:28 +00:00
sockbuf.h Add support for KTLS RX via software decryption. 2020-07-23 23:48:18 +00:00
socket.h unix(4): Enhance LOCAL_CREDS_PERSISTENT ABI 2020-11-17 20:01:21 +00:00
socketvar.h Add support for KTLS RX via software decryption. 2020-07-23 23:48:18 +00:00
sockio.h Implement SIOCGIFALIAS. 2020-10-14 09:22:54 +00:00
sockopt.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
soundcard.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
spigenio.h Add the ioctl definitions for spigen get/set spi mode. Should have been 2018-04-07 20:53:34 +00:00
stack.h kern.tty_info_kstacks: add a compact format 2020-07-06 16:33:28 +00:00
stat.h sys/stat.h: Improve timespec compatibility with other BSDs 2019-03-18 19:23:19 +00:00
stats.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
statvfs.h
stdatomic.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
stddef.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
stdint.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
sx.h Standalone SX shims 2020-09-29 18:06:02 +00:00
syscall.h Oops, missed syscall.h and sysproto.h for r361602. 2020-05-28 23:57:50 +00:00
syscall.mk Oops two, missed syscall.mk as well. 2020-05-29 00:10:19 +00:00
syscallsubr.h _umtx_op: move compat32 definitions back in 2020-11-22 05:34:51 +00:00
sysctl.h Add read only sysctl variable user.localbase 2020-10-30 18:48:09 +00:00
sysent.h Provide ABI modules hooks for process exec/exit and thread exit. 2020-11-23 17:29:25 +00:00
syslimits.h Double the size of ARG_MAX on LP64 platforms. 2019-12-16 23:55:30 +00:00
syslog.h
sysproto.h Regen after r366145. 2020-09-25 10:05:38 +00:00
systm.h Make MAXPHYS tunable. Bump MAXPHYS to 1M. 2020-11-28 12:12:51 +00:00
taskqueue.h Remove assertion from TASK_INIT() macro, since some users of 2020-02-11 20:59:41 +00:00
terminal.h teken, vt(4): New callbacks to lock the terminal once 2018-05-16 09:01:02 +00:00
termios.h
thr.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
tiio.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
tim_filter.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
time.h Treat the boot loader as the same as the kernel for what's visible 2020-08-28 17:55:54 +00:00
timeb.h
timeet.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
timeffc.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
timepps.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
timers.h Stop using eventhandlers for itimers subsystem exec and exit hooks. 2020-11-21 21:43:36 +00:00
times.h
timespec.h
timetc.h SPDX: mostly fixes to previous changes. 2017-12-13 16:13:17 +00:00
timex.h
tree.h sys: clean up empty lines in .c and .h files 2020-09-01 22:12:58 +00:00
tslog.h Wrap includes in sys/tslog.h with #ifdef TSLOG. 2017-12-31 21:00:21 +00:00
tty.h tty: convert tty_lock_assert to tty_assert_locked to hide lock type 2020-04-17 18:34:49 +00:00
ttycom.h
ttydefaults.h
ttydevsw.h tty: convert tty_lock_assert to tty_assert_locked to hide lock type 2020-04-17 18:34:49 +00:00
ttydisc.h tty: convert tty_lock_assert to tty_assert_locked to hide lock type 2020-04-17 18:34:49 +00:00
ttyhook.h tty: convert tty_lock_assert to tty_assert_locked to hide lock type 2020-04-17 18:34:49 +00:00
ttyqueue.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
turnstile.h Fix the turnstile_lock() KPI. 2019-07-24 23:04:59 +00:00
types.h Remove obsolete check for GCC < 3 and support for Intel Compiler 2020-10-24 23:21:06 +00:00
ucontext.h sys/sys: further adoption of SPDX licensing ID tags. 2017-11-27 15:01:59 +00:00
ucred.h cred: fix minor nits in r367695 2020-11-19 04:28:39 +00:00
uio.h Remove copyinfrom() and copyinstrfrom(). 2020-05-20 20:58:17 +00:00
umtx.h [2/2] _umtx_op: introduce 32-bit/i386 flags for operations 2020-11-22 05:47:45 +00:00
un.h unix(4): Add SOL_LOCAL:LOCAL_CREDS_PERSISTENT 2020-11-03 01:17:45 +00:00
unistd.h rfork(2): add RFSPAWN flag 2019-09-25 19:20:41 +00:00
unpcb.h unix(4): Add SOL_LOCAL:LOCAL_CREDS_PERSISTENT 2020-11-03 01:17:45 +00:00
user.h Remove the cloned file descriptors for /dev/crypto. 2020-11-25 00:10:54 +00:00
utsname.h
uuid.h validate_uuid: absorb the rest of parse_uuid with a flags arg 2020-04-15 18:39:12 +00:00
vdso.h random(4) FenestrasX: Push root seed version to arc4random(3) 2020-10-10 21:52:00 +00:00
vmem.h Don't import 0 into vmem quantum caches. 2018-10-22 16:16:42 +00:00
vmmeter.h Provide separate accounting for user-wired pages. 2019-05-13 16:38:48 +00:00
vnode.h Make max ticks for pause in vn_lock_pair() adjustable at runtime. 2020-11-26 18:00:26 +00:00
vtoc.h
wait.h
watchdog.h Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00