freebsd-skq/sys/sys
trasz 9411c8c253 Get rid of rctl_lock; use racct_lock where appropriate. The fast paths
already required both of them, so having a separate rctl_lock didn't
buy us anything.

Reviewed by:	mjg@
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D5914
2016-04-21 16:22:52 +00:00
..
_bitset.h Remove an erroneous semicolon. 2015-10-24 03:16:40 +00:00
_bus_dma.h
_callout.h Revert r287780 until more developers have their say. 2015-09-22 06:51:55 +00:00
_cpuset.h Bump the default size of cpuset_t masks in userland from 128 bits to 256. 2014-08-20 16:05:15 +00:00
_ffcounter.h
_iovec.h
_kstack_cache.h
_lock.h
_lockmgr.h
_mutex.h
_null.h
_pctrie.h - Add a new general purpose path-compressed radix trie which can be used 2013-05-12 04:05:01 +00:00
_pthreadtypes.h
_rmlock.h Several improvements to rmlock(9). Many of these are based on patches 2013-06-25 18:44:15 +00:00
_rwlock.h Drop the 3rd clause from all 3 clause BSD licenses where I am the sole 2014-02-05 18:13:27 +00:00
_semaphore.h
_sigset.h
_sockaddr_storage.h
_stack.h
_stdint.h Move intmax_t and uintmax_t type declarations to sys/_stdint.h to give 2015-11-07 12:30:43 +00:00
_sx.h
_task.h Revert r256587. 2013-10-18 11:25:08 +00:00
_termios.h
_timespec.h
_timeval.h
_types.h Use uintmax_t (typedef'd to rman_res_t type) for rman ranges. 2016-03-18 01:28:41 +00:00
_ucontext.h POSIX states that #include <signal.h> shall make both mcontext_t and 2016-02-12 07:38:19 +00:00
_umtx.h The current POSIX semaphore implementation stores the _has_waiters flag 2014-10-24 20:02:44 +00:00
_unrhdr.h Move the definition of the struct unrhdr into a separate header file, 2013-08-30 07:37:45 +00:00
_vm_domain.h Add an initial NUMA affinity/policy configuration for threads and processes. 2015-07-11 15:21:37 +00:00
aac_ioctl.h
acct.h
acl.h Expose an interface to determine if an ACE is inherited. 2015-09-04 00:14:20 +00:00
agpio.h
aio.h Fully handle size_t lengths in AIO requests. 2016-03-21 21:37:33 +00:00
alq.h
apm.h
assym.h
ata.h Add defines for WRITE_UNCORRECTABLE ATA command, and improve command logging 2016-02-04 19:53:54 +00:00
bio.h Bump bio_cmd and bio_*flags from 8 bits to 16. 2016-04-14 05:10:41 +00:00
bitset.h Expand the bitcount* API to support 64-bit integers, plain ints and longs 2015-03-20 10:27:06 +00:00
bitstring.h
blist.h
boot.h howto_names: unify declaration 2014-03-11 10:13:06 +00:00
buf_ring.h buf_ring/drbr: Add buf_ring_peek_clear_sc and use it in drbr_peek 2016-02-29 03:54:51 +00:00
buf.h Bump bio_cmd and bio_*flags from 8 bits to 16. 2016-04-14 05:10:41 +00:00
bufobj.h The vinactive() call in vgonel() may start writes for the dirty pages, 2014-12-13 16:02:37 +00:00
bus_dma.h Style cleanups after r285270 2015-07-08 22:09:47 +00:00
bus.h Add a function to lookup a device_t object by name. 2016-04-10 05:05:02 +00:00
busdma_bufalloc.h Fix integer truncation bug in malloc(9) 2015-04-01 12:42:26 +00:00
callout.h If callout_stop_safe() noted that the callout is currently executing, 2016-03-02 18:46:17 +00:00
capability.h Fix a comment in capability.h: it got renamed to capsicum.h, not 2014-03-16 21:05:00 +00:00
caprights.h Change the cap_rights_t type from uint64_t to a structure that we can extend 2013-09-05 00:09:56 +00:00
capsicum.h Decompose linkat()/renameat() rights to source and target. 2015-08-27 15:16:41 +00:00
cdefs.h Welcome the RISC-V 64-bit kernel. 2016-01-29 15:12:31 +00:00
cdio.h
cdrio.h
cfictl.h
chio.h Update chio(1) and ch(4) to support reporting element designators. 2013-04-19 20:03:51 +00:00
clock.h
condvar.h Revert r282971. It depends on condvar consumers not destroying condvars 2015-05-21 16:43:26 +00:00
conf.h Add 4Kn kernel dump support 2016-04-15 17:45:12 +00:00
cons.h Prefer vt(4) for UEFI boot 2014-07-02 13:24:21 +00:00
consio.h vt(4): Add PIO_VFONT_DEFAULT ioctl to restore the default builtin font 2014-10-23 12:38:05 +00:00
copyright.h Bump copyright year. 2015-12-31 11:21:45 +00:00
counter.h - While we are spreading the counter(9) across network stack, more userland 2013-10-15 10:05:37 +00:00
cpu.h Add support to get the cpu ID from its device driver in a generic way. 2015-02-19 12:47:48 +00:00
cpuctl.h Restore the ABI of the cpuctl(4) ioctl request CPUCTL_CPUID, use 2014-06-20 13:13:38 +00:00
cpuset.h Add forward declaration of struct thread. 2015-07-09 07:31:40 +00:00
ctype.h
dataacq.h
devicestat.h MFprojects/camlock r254905: 2013-10-16 09:12:40 +00:00
digiio.h
dir.h
dirent.h
disk.h Teach CTL to ask GEOM devices about BIO_DELETE support. 2015-02-13 13:26:23 +00:00
disklabel.h Remove old ioctl use and support, once and for all. 2015-01-06 05:28:37 +00:00
diskmbr.h Add apple-boot, apple-hfs and apple-ufs aliases to MBR scheme. 2015-05-05 09:33:02 +00:00
diskpc98.h Change <sys/diskpc98.h> to not redefine the same symbols that are 2013-08-07 00:00:48 +00:00
dkstat.h
dnv.h Remove non-existent dnvlist functions. 2015-07-04 10:33:33 +00:00
domain.h Fix cleanup race between unp_dispose and unp_gc 2015-07-14 02:00:50 +00:00
dtrace_bsd.h Restore the trap type argument to the DTrace trap hook, removed in r268600. 2014-12-23 15:38:19 +00:00
dvdio.h
efi.h Save the physical address passed into the kernel of the UEFI system 2015-12-19 19:01:43 +00:00
elf32.h Update ELF headers to include additional defines 2015-01-02 15:36:29 +00:00
elf64.h Update ELF headers to include additional defines 2015-01-02 15:36:29 +00:00
elf_common.h Rename SHT_AMD64_UNWIND to SHT_X86_64_UNWIND per ABI doc 2016-04-07 20:26:27 +00:00
elf_generic.h
elf.h
endian.h
errno.h Fix autofs triggering problem. Assume you have an NFS server, 2016-03-12 07:54:42 +00:00
eui64.h
event.h Rename aiocblist to kaiocb and use consistent variable names. 2016-02-05 20:38:09 +00:00
eventhandler.h hook userland threads suspend + resume into acpi suspend code 2015-01-27 17:33:18 +00:00
eventvar.h Add a resource limit for the total number of kqueues available to the 2013-10-21 16:44:53 +00:00
exec.h Fix core corruption caused by race in note_procstat_vmmap 2015-10-06 18:07:00 +00:00
extattr.h Fix return type of extattr_set_* and fix rmextattr(8) utility. 2013-04-02 05:30:41 +00:00
fail.h fail(9): Upstreaming some fail point enhancements 2016-03-16 04:22:32 +00:00
fbio.h vt(4): Add support to "downgrade" from eg. vt_fb to vt_vga 2015-03-01 12:54:22 +00:00
fcntl.h When cleaning up from failed adv locking and checking for write, do 2016-01-17 08:40:51 +00:00
fdcio.h Add raw RX-50 support. These are 400k single sided disks with 80 2016-03-10 00:36:38 +00:00
file.h The sendfile(2) allows to send extra data from userspace before the file 2016-03-29 19:57:11 +00:00
filedesc.h fd: make the common case in filecaps_copy work lockless 2015-09-07 20:02:56 +00:00
filio.h
firmware.h
fnv_hash.h Remove ia64. 2014-07-07 00:27:09 +00:00
gmon.h
gpio.h Add a new ioctl to allow the setting of GPIO pin names. 2015-03-08 00:47:50 +00:00
gpt.h Add some additional GPT partition types 2015-12-27 18:12:13 +00:00
gzio.h Reimplement support for userland core dump compression using a new interface 2015-03-09 03:50:53 +00:00
hash.h Add a complete implementation of MurmurHash3. Tweak both implementations 2014-10-18 22:15:11 +00:00
hhook.h Overhaul if_enc(4) and make it loadable in run-time. 2015-11-25 07:31:59 +00:00
iconv.h
imgact_aout.h
imgact_binmisc.h sys/kern/imgact_binmisc.c -- free the right pointer mask vs magic 2014-04-08 22:12:01 +00:00
imgact_elf.h Add missing forward declaration of struct image_params. 2015-10-21 16:32:01 +00:00
imgact.h Implement CloudABI's exec() call. 2015-07-16 07:05:42 +00:00
inflate.h
interrupt.h Migrate ie->ie_assign_cpu and associated code to use an int for CPU rather 2014-09-17 17:33:22 +00:00
intr.h Implement intr_isrc_init_on_cpu() and use it to replace very same 2016-04-07 15:00:25 +00:00
ioccom.h
ioctl_compat.h
ioctl.h
iov_schema.h Clean up repeated "All rights reserved" 2016-03-14 17:41:17 +00:00
iov.h Clean up repeated "All rights reserved" 2016-03-14 17:41:17 +00:00
ipc.h
ipmi.h
jail.h Doh, commit in a wrong directory. Fix r290857. 2015-11-15 12:50:14 +00:00
joystick.h
kbio.h
kdb.h Add constant missed in r244099 2012-12-10 23:12:51 +00:00
kenv.h
kernel.h Create wrappers for uint64_t and int64_t for the tunables. While not 2016-04-15 03:09:55 +00:00
kerneldump.h Welcome the RISC-V 64-bit kernel. 2016-01-29 15:12:31 +00:00
khelp.h For vendors like Juniper, extensibility for sockets is important. A 2014-08-18 23:45:40 +00:00
kobj.h
ksem.h Add a new fo_fill_kinfo fileops method to add type-specific information to 2014-09-22 16:20:47 +00:00
ksyms.h
kthread.h Add const to char * pointers. This breaks nothing, and means const 2015-06-28 12:52:28 +00:00
ktr_class.h ioat: Introduce KTR probes 2015-10-26 02:21:19 +00:00
ktr.h Expand ktr_mask to be a 64-bit unsigned integer. 2015-05-22 11:09:41 +00:00
ktrace.h Change the cap_rights_t type from uint64_t to a structure that we can extend 2013-09-05 00:09:56 +00:00
libkern.h Add ummax()/ummin() to libkern. 2016-03-18 01:26:55 +00:00
limits.h
link_aout.h
link_elf.h Add rtld private interface for dso to detect dynamic loading 2015-01-03 18:09:53 +00:00
linker_set.h Rename __weak to __weak_symbol to avoid language conflict with objective-C. 2015-06-23 22:40:22 +00:00
linker.h Add a generic firmware dependent handle to pass from the loader to the 2015-12-18 06:13:18 +00:00
lock_profile.h
lock.h Add _NEW flag to mtx(9), sx(9), rmlock(9) and rwlock(9). 2014-12-13 21:00:10 +00:00
lockf.h
lockmgr.h vfs: implement v_holdcnt/v_usecount manipulation using atomic ops 2015-07-16 13:57:05 +00:00
lockstat.h Declare lockstat_enabled even when KDTRACE_HOOKS is not defined. 2015-07-20 04:41:25 +00:00
loginclass.h Doh, commit in a wrong directory. Fix r290857. 2015-11-15 12:50:14 +00:00
mac.h
malloc.h Make use of GCC alloc_align attribute 2015-05-15 20:43:37 +00:00
mbpool.h All mbuf external free functions never fail, so let them be void. 2014-07-11 13:58:48 +00:00
mbuf.h Space and style(9) corrections for recent mbuf changes. 2016-03-24 20:06:52 +00:00
mchain.h
md4.h
md5.h
mdioctl.h Add "null" backend to mdconfig(8). This does exactly what the name 2013-12-04 07:38:23 +00:00
memdesc.h Reform the busdma API so that new types may be added without modifying 2013-02-12 16:57:20 +00:00
memrange.h
mman.h Implement process-shared locks support for libthr.so.3, without 2016-02-28 17:52:33 +00:00
module_khelp.h Now that the necessary infrastructure is in place to ensure hhook points which 2013-06-15 10:38:31 +00:00
module.h Fix typos (intenral -> internal) in comments 2016-04-15 02:36:14 +00:00
mount.h Remove remnants of the old NFS from vnode pager. 2015-11-20 23:52:27 +00:00
mouse.h synaptics: more support for semi-MT trackpads. 2015-05-10 20:36:57 +00:00
mpt_ioctl.h
mqueue.h
msg.h Get function prototypes for msg, shm, sem functions 2015-07-30 18:59:01 +00:00
msgbuf.h
mtio.h Significant upgrades to sa(4) and mt(1). 2015-02-23 21:59:30 +00:00
mutex.h Implement the lockstat provider using SDT(9) instead of the custom provider 2015-07-19 22:14:09 +00:00
namei.h Remove cn_consume from 'struct componentname'. It was never set to anything 2016-03-12 08:50:38 +00:00
nlist_aout.h Revert r102953 2015-05-28 22:06:05 +00:00
numa.h Add an initial NUMA affinity/policy configuration for threads and processes. 2015-07-11 15:21:37 +00:00
nv.h Allow libnv to be built externally using GCC. 2016-01-07 20:52:35 +00:00
osd.h Add osd_reserve() and osd_set_reserved(), which allow M_WAITOK allocation 2016-03-30 16:57:28 +00:00
param.h Fix sed functions 'i' and 'a' from discarding leading white space. 2016-04-06 00:55:39 +00:00
pciio.h MFH@260988. 2014-01-21 20:48:02 +00:00
pcpu.h Remove weighted page handling from vm_page_advise(). 2015-08-28 00:44:17 +00:00
pctrie.h Mark unused static inline functions defined by the PCTRIE_DEFINE() macro 2013-12-28 21:31:58 +00:00
pioctl.h
pipe.h Ignore the error from pipespace_new when creating a pipe. 2014-05-02 00:52:13 +00:00
pmc.h Adjust the size of PMC_DEFAULT_DEBUG_FLAGS to match the size of the 2016-02-12 07:20:27 +00:00
pmckern.h Use __predict_false() on sensitive lock paths as most of the times, 2014-01-07 14:03:42 +00:00
pmclog.h
poll.h Add the ppoll() system call. 2014-11-13 05:26:14 +00:00
posix4.h Remove single-use macros obfuscating malloc(9) and free(9) calls. 2015-08-30 17:58:11 +00:00
power.h
priority.h
priv.h Update comment to note the function, prison_priv_check(), that needs to 2016-01-21 20:52:20 +00:00
proc.h The struct thread td_estcpu member is only used by the 4BSD scheduler. 2016-04-17 11:04:27 +00:00
procctl.h Reassign copyright statements on several files from Advanced 2015-04-23 14:22:20 +00:00
procdesc.h Correct typo in comment 2014-07-30 00:28:29 +00:00
procfs.h Remove THRMISC_VERSION. The thrmisc structure doesn't include a version 2015-04-16 12:58:51 +00:00
protosw.h Merge from projects/sendfile: extend protocols API to support 2014-11-30 13:24:21 +00:00
ptio.h
ptrace.h Add ptrace(2) reporting for LWP events. 2015-12-29 23:25:26 +00:00
queue.h Make the system queue header file fully usable within C++ programs by 2015-06-28 21:06:45 +00:00
racct.h Get rid of rctl_lock; use racct_lock where appropriate. The fast paths 2016-04-21 16:22:52 +00:00
random.h Remove opt_random.h header pollution from sys/random.h by moving 2015-09-08 08:50:28 +00:00
rangelock.h Change the queue of locks in kern_rangelock.c from holding lock requests in 2013-08-15 20:19:17 +00:00
rctl.h Add four new RCTL resources - readbps, readiops, writebps and writeiops, 2016-04-07 04:23:25 +00:00
reboot.h Kernel part of reroot support - a way to change rootfs without reboot. 2015-09-18 17:32:22 +00:00
refcount.h Drop the 3rd clause from all 3 clause BSD licenses where I am the sole 2014-02-05 18:13:27 +00:00
regression.h
resource.h Implement process-shared locks support for libthr.so.3, without 2016-02-28 17:52:33 +00:00
resourcevar.h Implement process-shared locks support for libthr.so.3, without 2016-02-28 17:52:33 +00:00
rman.h Fix the definition of RM_MAX_END. 2016-02-20 01:34:13 +00:00
rmlock.h Add _NEW flag to mtx(9), sx(9), rmlock(9) and rwlock(9). 2014-12-13 21:00:10 +00:00
rtprio.h
runq.h
rwlock.h Consistently use a reader/writer flag for lockstat probes in rwlock(9) and 2015-07-19 22:24:33 +00:00
sbuf.h Add support for reading MAM attributes to camcontrol(8) and libcam(3). 2015-06-09 21:39:38 +00:00
sched.h The struct thread td_estcpu member is only used by the 4BSD scheduler. 2016-04-17 11:04:27 +00:00
sdt.h sdt.h: no need for argtype_list_head 2015-09-29 12:14:59 +00:00
select.h Drop explicit unsigned from FD_SETSIZE constant 2014-04-28 13:42:41 +00:00
selinfo.h
sem.h Get function prototypes for msg, shm, sem functions 2015-07-30 18:59:01 +00:00
sema.h
seq.h seq: use seq_consistent_nomb in seq_consistent 2015-07-08 22:21:25 +00:00
serial.h
sf_buf.h New sendfile(2) syscall. A joint effort of NGINX and Netflix from 2013 and 2016-01-08 20:34:57 +00:00
sglist.h Add sglist_append_bio(9) to append a struct bio's data to a sglist 2014-01-13 04:41:08 +00:00
shm.h Get function prototypes for msg, shm, sem functions 2015-07-30 18:59:01 +00:00
sigio.h
signal.h POSIX states that #include <signal.h> shall make both mcontext_t and 2016-02-12 07:38:19 +00:00
signalvar.h Simplify AIO initialization now that it is standard. 2016-03-09 19:05:11 +00:00
sleepqueue.h fail(9): Only gather/print stacks if STACK is enabled 2016-03-17 01:05:53 +00:00
slicer.h Create a RouterBoard platform and use it to create a flash map 2015-08-22 05:50:18 +00:00
smp.h new x86 smp topology detection code 2016-04-04 16:09:29 +00:00
snoop.h
sockbuf.h Refactor the AIO subsystem to permit file-type-specific handling and 2016-03-01 18:12:14 +00:00
socket.h The sendfile(2) allows to send extra data from userspace before the file 2016-03-29 19:57:11 +00:00
socketvar.h Refactor the AIO subsystem to permit file-type-specific handling and 2016-03-01 18:12:14 +00:00
sockio.h Fix SIOCGI2C structure requirement. 2015-05-24 11:24:14 +00:00
sockopt.h
sockstate.h
soundcard.h
stack.h Add stack_save_td_running(), a function to trace the kernel stack of a 2015-09-11 03:54:37 +00:00
stat.h Add futimens and utimensat system calls. 2015-01-23 21:07:08 +00:00
statvfs.h
stdatomic.h Rename __wchar_t so it no longer conflicts with __wchar_t from clang 3.4 2014-04-01 14:46:11 +00:00
stddef.h
stdint.h Move intmax_t and uintmax_t type declarations to sys/_stdint.h to give 2015-11-07 12:30:43 +00:00
sun_disklabel.h
sx.h Consistently use a reader/writer flag for lockstat probes in rwlock(9) and 2015-07-19 22:24:33 +00:00
syscall.h Regen. 2016-03-21 21:38:35 +00:00
syscall.mk Regen. 2016-03-21 21:38:35 +00:00
syscallsubr.h Improve error handling for posix_fallocate(2) and posix_fadvise(2). 2016-02-25 19:58:23 +00:00
sysctl.h Improve the implementation and documentation of the 2016-03-16 08:37:52 +00:00
sysent.h Implement vsyscall hack. Prior to 2.13 glibc uses vsyscall 2016-01-09 20:18:53 +00:00
syslimits.h
syslog.h Add static/const keywords to the arrays. 2013-04-09 16:16:34 +00:00
sysproto.h Regen. 2016-03-21 21:38:35 +00:00
systm.h Create wrappers for uint64_t and int64_t for the tunables. While not 2016-04-15 03:09:55 +00:00
taskqueue.h Remove taskqueue_enqueue_fast(). 2016-03-01 17:47:32 +00:00
terminal.h vt(4): Adjust the cursor position after changing the window size 2014-11-01 17:05:15 +00:00
termios.h
thr.h
tiio.h
time.h Where appropriate, use the modern terms for the one true time base 2014-12-21 05:07:11 +00:00
timeb.h
timeet.h Constify the pointers to eventtimer and timecounter name strings. 2015-08-13 14:43:25 +00:00
timeffc.h
timepps.h Implement a mechanism for making changes in the kernel<->driver PPS 2015-05-04 17:59:39 +00:00
timers.h
times.h
timespec.h
timetc.h Constify the pointers to eventtimer and timecounter name strings. 2015-08-13 14:43:25 +00:00
timex.h This is a white-space/comment cleanup commit as a precursor for 2014-09-19 07:44:49 +00:00
tree.h Provide individual prototype and generate macros for the red-black tree. 2015-01-24 12:43:36 +00:00
tty.h - Rename tty_makedev() into tty_makedevf() and make it capable 2013-12-18 12:50:43 +00:00
ttycom.h
ttydefaults.h Add static/const keywords to the arrays. 2013-04-09 16:16:34 +00:00
ttydevsw.h - Make the code consistent with itself style-wise and bring it closer 2016-01-25 22:58:06 +00:00
ttydisc.h
ttyhook.h
ttyqueue.h
turnstile.h Drop the 3rd clause from all 3 clause BSD licenses where I am the sole 2014-02-05 18:13:27 +00:00
types.h Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
ucontext.h POSIX states that #include <signal.h> shall make both mcontext_t and 2016-02-12 07:38:19 +00:00
ucred.h Call crextend() before copying old credentials to the new credentials 2016-01-14 10:16:25 +00:00
uio.h Add asynchronous command support to the pass(4) driver, and the new 2015-12-03 20:54:55 +00:00
umtx.h Implement process-shared locks support for libthr.so.3, without 2016-02-28 17:52:33 +00:00
un.h Add placeholder constants to reserve a portion of the socket option 2013-02-01 15:32:20 +00:00
unistd.h Simplify AIO initialization now that it is standard. 2016-03-09 19:05:11 +00:00
unpcb.h Fix cleanup race between unp_dispose and unp_gc 2015-07-14 02:00:50 +00:00
user.h Fix core corruption caused by race in note_procstat_vmmap 2015-10-06 18:07:00 +00:00
utsname.h
uuid.h Decouple the UUID generator from network interfaces by having MAC 2013-07-24 04:24:21 +00:00
vdso.h Split kerne timekeep ABI structure vdso_sv_tk out of the struct 2015-11-23 07:09:35 +00:00
vmem.h Make ZFS ARC track both KVA usage and fragmentation. 2015-04-03 14:45:48 +00:00
vmmeter.h Remove the v_cache_min and v_cache_max sysctls. They are unused and have 2015-09-11 03:00:24 +00:00
vnode.h Simplify AIO initialization now that it is standard. 2016-03-09 19:05:11 +00:00
vtoc.h
wait.h The si_status field of the siginfo_t, provided by the waitid(2) and 2015-07-18 09:02:50 +00:00
watchdog.h watchdogd(8) and watchdog(4) enhancements. 2013-02-27 19:03:31 +00:00
zlib.h Move zlib.c from net to libkern. 2015-04-22 14:38:58 +00:00
zutil.h Move zlib.c from net to libkern. 2015-04-22 14:38:58 +00:00