freebsd-dev/sys
Bjoern A. Zeeb 407b19379c MFC r205345:
Split eventhandler_register() into an internal part and a wrapper function
  that provides the allocated and setup eventhandler entry.

  Add a new wrapper for VIMAGE that allocates extra space to hold the
  callback function and argument in addition to an extra wrapper function.
  While the wrapper function goes as normal callback function the
  argument points to the extra space allocated holding the original func
  and arg that the wrapper function can then call.

  Provide an iterator function for the virtual network stack (vnet) that
  will call the callback function for each network stack.

  Provide a new set of macros for VNET that in the non-VIMAGE case will
  just call eventhandler_register() while in the VIMAGE case it will use
  vimage_eventhandler_register() passing in the extra iterator function
  but will only register once rather than per-vnet.
  We need a special macro in case we are interested in the tag returned
  as we must check for curvnet and can neither simply assign the
  return value, nor not change it in the non-vnet0 case without that.

  Discussed with:       jhb
  Reviewed by:  zec (earlier version), jhb
2010-04-21 19:45:41 +00:00
..
amd64 MFC r206553: 2010-04-20 08:19:43 +00:00
arm MFC r206053, r206054: 2010-04-15 12:30:46 +00:00
boot MFC r204328: 2010-04-20 22:55:07 +00:00
bsm Merge r197624 from head to stable/8: 2009-12-14 00:15:56 +00:00
cam This is an MFC of 206029 2010-04-08 18:33:35 +00:00
cddl MFC r203504,r204067,r204073,r204101,r204804,r205079,r205080,r205132,r205133, 2010-04-18 21:36:34 +00:00
compat Regen. 2010-04-07 14:53:49 +00:00
conf MFC r204662: 2010-04-21 00:15:58 +00:00
contrib MFC r202607: 2010-04-17 23:04:42 +00:00
crypto Changed to M_NOWAIT when reallocing psc_buf in padlock_sha_update(), 2009-05-27 09:52:12 +00:00
ddb MFC r199355: 2009-12-19 12:06:12 +00:00
dev MFC r205141: 2010-04-21 00:23:23 +00:00
fs MFC: r206236 2010-04-20 01:25:18 +00:00
gdb
geom MFC r206551 (forgotten in previous commit): fix builds with ktr 2010-04-20 21:33:14 +00:00
gnu MFC a number of changes from head for ISP (203478,203463,203444,202418,201758, 2010-02-11 18:34:06 +00:00
i386 MFC r206553: 2010-04-20 08:19:43 +00:00
ia64 MFC r205014,205015: 2010-04-07 02:24:41 +00:00
isa MFC x86emu/x86bios emulator and make previously i386 only dpms and vesa 2010-03-02 01:56:55 +00:00
kern MFC r205345: 2010-04-21 19:45:41 +00:00
kgssapi When the KOBJMETHOD() macro was updated, it resulted in the 2009-06-14 17:33:46 +00:00
libkern MFC r199208, r199223: 2009-11-22 16:04:49 +00:00
mips MFC rev 198341 and 198342: 2010-03-31 02:43:58 +00:00
modules MFC r204326: 2010-04-20 21:55:44 +00:00
net MFC r205345: 2010-04-21 19:45:41 +00:00
net80211 MFC r205140: 2010-04-17 23:48:07 +00:00
netatalk Merge r196121 from head to stable/8: 2009-08-13 14:50:39 +00:00
netgraph MFC r206021, r206032, r206049, r206050: 2010-04-15 12:46:16 +00:00
netinet MFC r206456: 2010-04-17 17:40:12 +00:00
netinet6 MFC of 206137 2010-04-17 04:15:46 +00:00
netipsec MFC r205789: 2010-04-02 17:48:01 +00:00
netipx Use queue(9) instead of hand-crafted link lists for the global IPX 2009-06-24 20:57:50 +00:00
netnatm Reimplement the netisr framework in order to support parallel netisr 2009-06-01 10:41:38 +00:00
netncp
netsmb Rework socket upcalls to close some races with setup/teardown of upcalls. 2009-06-01 21:17:03 +00:00
nfs MFC: r203731 2010-03-30 19:52:45 +00:00
nfsclient MFC: r203731 2010-03-30 19:52:45 +00:00
nfsserver MFC: r205661 2010-04-09 01:14:39 +00:00
nlm MFC: revision 197730 2009-10-07 14:14:05 +00:00
opencrypto MFC r201898: 2010-01-17 13:36:13 +00:00
pc98 MFC r204641, r204753: 2010-03-30 11:19:29 +00:00
pci MFC r206436: 2010-04-14 01:22:33 +00:00
powerpc MFC r204694,204719,205370 2010-04-01 13:27:27 +00:00
rpc MFC: r205562 2010-04-06 23:03:20 +00:00
security MFC r201438: 2010-03-27 15:05:06 +00:00
sparc64 MFC: r206086 2010-04-05 18:25:30 +00:00
sun4v MFC rev 198341 and 198342: 2010-03-31 02:43:58 +00:00
sys MFC r205345: 2010-04-21 19:45:41 +00:00
tools MFC: Allow KMOD with hypens and dots. 2009-11-02 09:47:15 +00:00
ufs MFC r202971: 2010-04-19 18:22:21 +00:00
vm MFC r206409 2010-04-14 16:31:59 +00:00
xdr MFC r196149: 2009-08-12 20:30:27 +00:00
xen MFC a number of changes from head for ISP (203478,203463,203444,202418,201758, 2010-02-11 18:34:06 +00:00
Makefile Remove the unmaintained University of Michigan NFSv4 client from 8.x 2009-05-22 12:35:12 +00:00