freebsd-skq/sys/sys
rrs 8e2d411633 Change the callout to supply -1 to indicate we are not changing
CPU, also add protection against invalid CPU's as well as
split c_flags and c_iflags so that if a user plays with the active
flag (the one expected to be played with by callers in MPSAFE) without
a lock, it won't adversely affect the callout system by causing a corrupt
list. This also means that all callers need to use the macros and *not*
play with the falgs directly (like netgraph used to).

Differential Revision: htts://reviews.freebsd.org/D1894
Reviewed by: .. timed out but looked at by jhb, imp, adrian hselasky
             tested by hiren and netflix.
Sponsored by:	Netflix Inc.
2015-03-28 12:50:24 +00:00
..
_bitset.h
_bus_dma.h
_callout.h Change the callout to supply -1 to indicate we are not changing 2015-03-28 12:50:24 +00:00
_cpuset.h
_ffcounter.h
_iovec.h
_kstack_cache.h
_lock.h
_lockmgr.h
_mutex.h
_null.h
_pctrie.h
_pthreadtypes.h
_rmlock.h
_rwlock.h
_semaphore.h
_sigset.h
_sockaddr_storage.h
_stack.h
_stdint.h
_sx.h
_task.h
_termios.h
_timespec.h
_timeval.h
_types.h
_umtx.h
_unrhdr.h
aac_ioctl.h
acct.h
acl.h
agpio.h
aio.h
alq.h
apm.h
assym.h
ata.h
bio.h
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
buf_ring.h
buf.h - In vnode_pager_generic_getpages() use different free counters for 2015-03-06 14:15:30 +00:00
bufobj.h
bus_dma.h
bus.h Fix SR-IOV passthrough devices to allow ppt to attach 2015-03-10 23:27:13 +00:00
busdma_bufalloc.h
callout.h Change the callout to supply -1 to indicate we are not changing 2015-03-28 12:50:24 +00:00
capability.h
caprights.h
capsicum.h Introduce a cap_ioctl_t used for the 'cmds' arguments to cap_ioctls_limit() 2015-03-16 17:42:53 +00:00
cdefs.h Fix __size_alloc() 2015-03-27 02:01:22 +00:00
cdio.h
cdrio.h
cfictl.h
chio.h
clock.h
condvar.h
conf.h Remove the d_thread_t compatibility shim provided in 5.0 to handle the 2015-01-29 19:55:33 +00:00
cons.h
consio.h
copyright.h Add the ability to print a vendor copyright in dmesg. 2015-02-09 23:04:30 +00:00
counter.h
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
cpuset.h Use __builtin_popcnt() to implement a BIT_COUNT() operation for bitsets and 2015-02-09 21:03:23 +00:00
ctype.h
dataacq.h
devicestat.h
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
diskmbr.h Add MBR EFI partition type definition 2015-01-09 19:37:12 +00:00
diskpc98.h
dkstat.h
dnv.h Move libnv into the kernel and hook it into the kernel build 2015-03-01 00:34:27 +00:00
domain.h
dtrace_bsd.h
dvdio.h
efi.h
elf32.h
elf64.h
elf_common.h Update the ELFOSABI_* constants. 2015-03-06 16:43:54 +00:00
elf_generic.h
elf.h
endian.h
errno.h
eui64.h
event.h
eventhandler.h hook userland threads suspend + resume into acpi suspend code 2015-01-27 17:33:18 +00:00
eventvar.h
exec.h
extattr.h
fail.h
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
fdcio.h
file.h filedesc: simplify fget_unlocked & friends 2015-02-17 23:54:06 +00:00
filedesc.h filedesc: simplify fget_unlocked & friends 2015-02-17 23:54:06 +00:00
filio.h
firmware.h
fnv_hash.h
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 GUID and alias for Apple Core Storage partition. 2015-03-12 18:51:31 +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
hhook.h
iconv.h
imgact_aout.h
imgact_binmisc.h
imgact_elf.h
imgact.h
inflate.h
interrupt.h
ioccom.h
ioctl_compat.h
ioctl.h
iov_schema.h Add infrastructure for exporting config schema from PF drivers 2015-03-01 00:40:42 +00:00
iov.h Pass SR-IOV configuration to kernel using an nvlist 2015-03-01 00:40:57 +00:00
ipc.h
ipmi.h
jail.h Allow the kern.osrelease and kern.osreldate sysctl values to be set in a 2015-02-27 16:28:55 +00:00
joystick.h
kbio.h
kdb.h
kenv.h
kernel.h
kerneldump.h Remove ALPHA leftover 2015-03-27 14:40:58 +00:00
khelp.h
kobj.h
ksem.h
ksyms.h
kthread.h
ktr_class.h give others fair warning that _SPARE2 isn't just cxgb, but used by large 2015-03-02 20:05:16 +00:00
ktr.h
ktrace.h
libkern.h Expand the bitcount* API to support 64-bit integers, plain ints and longs 2015-03-20 10:27:06 +00:00
limits.h
link_aout.h
link_elf.h
linker_set.h
linker.h
lock_profile.h
lock.h
lockf.h
lockmgr.h
lockstat.h
loginclass.h
mac.h
malloc.h
mbpool.h
mbuf.h Clear an mbuf's external storage flags in m_extaddref(). They are cleared 2015-03-18 14:51:03 +00:00
mchain.h
md4.h
md5.h
mdioctl.h
memdesc.h
memrange.h
mman.h
module_khelp.h
module.h Reserve and ignore the a new module metadata type MDT_PNP_INFO for 2015-01-15 00:46:30 +00:00
mount.h
mouse.h
mpt_ioctl.h
mqueue.h
msg.h
msgbuf.h
mtio.h Significant upgrades to sa(4) and mt(1). 2015-02-23 21:59:30 +00:00
mutex.h
namei.h
nlist_aout.h
nv_impl.h Move libnv into the kernel and hook it into the kernel build 2015-03-01 00:34:27 +00:00
nv.h Move libnv into the kernel and hook it into the kernel build 2015-03-01 00:34:27 +00:00
nvlist_impl.h Move libnv into the kernel and hook it into the kernel build 2015-03-01 00:34:27 +00:00
nvpair_impl.h Move libnv into the kernel and hook it into the kernel build 2015-03-01 00:34:27 +00:00
osd.h
param.h Remove defunct SSLv2 support from fetch(1) and fetch(3). 2015-03-25 18:56:36 +00:00
pciio.h
pcpu.h
pctrie.h
pioctl.h
pipe.h
pmc.h Add ARMv7 performance monitoring counters. 2015-01-28 16:08:07 +00:00
pmckern.h
pmclog.h
poll.h
posix4.h
power.h
priority.h
priv.h Add procctl(2) PROC_TRACE_CTL command to enable or disable debugger 2015-01-18 15:13:11 +00:00
proc.h Add a WITNESS_WARN check to STOPEVENT() to match the one in _STOPEVENT(). 2015-01-31 02:15:16 +00:00
procctl.h Add procctl(2) PROC_TRACE_CTL command to enable or disable debugger 2015-01-18 15:13:11 +00:00
procdesc.h
procfs.h
protosw.h
ptio.h
ptrace.h
queue.h Pass macro arguments properly. 2015-02-24 17:36:44 +00:00
racct.h
random.h
rangelock.h
rctl.h
reboot.h
refcount.h
regression.h
resource.h
resourcevar.h
rman.h
rmlock.h
rtprio.h
runq.h
rwlock.h
sbuf.h Merge ^/head r279985 through r279994. 2015-03-14 17:25:17 +00:00
sched.h
sdt.h
select.h
selinfo.h
sem.h
sema.h
seq.h
serial.h
sf_buf.h
sglist.h
shm.h
sigio.h
signal.h
signalvar.h Make SIGSTOP working for sleeps done while waiting for fifo readers or 2015-01-18 15:03:26 +00:00
sleepqueue.h
slicer.h
smp.h Create a cpuset mask for each NUMA domain that is available in the 2015-01-08 15:53:13 +00:00
snoop.h
sockbuf.h sbspace: size of bleft, mleft must match sockbuf fields to avoid 2015-02-13 23:19:35 +00:00
socket.h
socketvar.h
sockio.h
sockopt.h
sockstate.h
soundcard.h
stack.h
stat.h Add futimens and utimensat system calls. 2015-01-23 21:07:08 +00:00
statvfs.h
stdatomic.h
stddef.h
stdint.h
sun_disklabel.h
sx.h
syscall.h Run make sysent. 2015-01-23 21:08:24 +00:00
syscall.mk Run make sysent. 2015-01-23 21:08:24 +00:00
syscallsubr.h Add futimens and utimensat system calls. 2015-01-23 21:07:08 +00:00
sysctl.h Merge ^/head r279995 through r280029. 2015-03-15 11:58:52 +00:00
sysent.h
syslimits.h
syslog.h
sysproto.h Run make sysent. 2015-01-23 21:08:24 +00:00
systm.h Expand the bitcount* API to support 64-bit integers, plain ints and longs 2015-03-20 10:27:06 +00:00
taskqueue.h Remove taskqueue_start_threads_pinned(); there's noa generic cpuset version of this. 2015-02-25 21:59:03 +00:00
terminal.h
termios.h
thr.h
tiio.h
time.h
timeb.h
timeet.h
timeffc.h
timepps.h Add mutex support to the pps_ioctl() API in the kernel. 2015-03-07 18:23:32 +00:00
timers.h
times.h
timespec.h
timetc.h
timex.h
tree.h Provide individual prototype and generate macros for the red-black tree. 2015-01-24 12:43:36 +00:00
tty.h
ttycom.h
ttydefaults.h
ttydevsw.h
ttydisc.h
ttyhook.h
ttyqueue.h
turnstile.h
types.h Expand the bitcount* API to support 64-bit integers, plain ints and longs 2015-03-20 10:27:06 +00:00
ucontext.h Do not qualify the mcontext_t *mcp argument for set_mcontext(9) as 2015-01-31 21:43:46 +00:00
ucred.h cred: add proc_set_cred_init helper 2015-03-21 20:24:54 +00:00
uio.h
umtx.h
un.h
unistd.h
unpcb.h
user.h
utsname.h
uuid.h
vdso.h Update the vdso timehands only via tc_windup(). 2015-01-20 03:54:30 +00:00
vmem.h
vmmeter.h
vnode.h The VNASSERT in vflush() FORCECLOSE case is trying to panic early to 2015-02-27 16:43:50 +00:00
vtoc.h
wait.h
watchdog.h