freebsd-dev/sys
Colin Percival 2c1bb20746 Introduce a callout_drain() function. This acts in the same manner as
callout_stop(), except that if the callout being stopped is currently
in progress, it blocks attempts to reset the callout and waits until the
callout is completed before it returns.

This makes it possible to clean up callout-using code safely, e.g.,
without potentially freeing memory which is still being used by a callout.

Reviewed by:	mux, gallatin, rwatson, jhb
2004-04-06 23:08:49 +00:00
..
alpha Remove the advertsing clause, per the Regent's letter dated July 22, 1999. 2004-04-05 21:00:51 +00:00
amd64 Remove advertising clause from University of California Regent's license, 2004-04-05 23:55:14 +00:00
arm Remove advertising clause from University of California Regent's license, 2004-04-05 21:29:41 +00:00
boot Remove advertising clause from University of California Regent's license, 2004-04-05 23:41:29 +00:00
cam Compare the *number* of patterns to zero, not the *pointer* to the 2004-02-28 12:59:56 +00:00
coda Device megapatch 5/6: 2004-02-21 21:32:15 +00:00
compat - The MiniportReset() function can return NDIS_STATUS_PENDING, in which 2004-04-05 08:26:52 +00:00
conf Add a new kernel option MUTEX_WAKE_ALL that changes the mutex unlock code 2004-04-06 19:12:24 +00:00
contrib Unbreak the bootloader build by excluding ctype.h. 2004-04-05 17:30:15 +00:00
crypto Fix a reentrancy issue in md5_calc(). 2004-01-27 18:57:21 +00:00
ddb Give DDB a "watchdog" command which disables all watchdogs. 2004-02-29 09:55:32 +00:00
dev Better checks to make sure that we get good alignment. This code is a 2004-04-06 22:50:50 +00:00
fs Remove ps_argsopen from this check, because of two reasons: 2004-04-01 00:04:23 +00:00
geom Calculate bio_completed properly or die! 2004-04-04 20:37:28 +00:00
gnu Properly vector all bwrite() and BUF_WRITE() calls through the same path 2004-03-11 18:02:36 +00:00
i4b Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
i386 Uncomment the cy driver since it works again. 2004-04-05 19:31:18 +00:00
ia64 Remove avail_end. As of yesterday, it is unused. 2004-04-06 01:38:28 +00:00
isa Put a bunch of output that us really only useful in a debug 2004-04-04 16:36:21 +00:00
isofs/cd9660 Remove unused second arg to vfinddev(). 2004-03-11 16:33:11 +00:00
kern Introduce a callout_drain() function. This acts in the same manner as 2004-04-06 23:08:49 +00:00
libkern Bring these files closer to style(9) conformance by comparing a 2004-03-29 21:15:41 +00:00
modules Make pf* modules respect NOINET6 from make.conf(5) in order to build them 2004-04-06 15:12:50 +00:00
net Properly detect loops by recording the interface pointer in an mtag. 2004-04-05 16:55:15 +00:00
net80211 Resolve the issue of whether frames have FCS or not. Frame data does not 2004-04-05 22:13:21 +00:00
netatalk Rename 'ddpcb' variable to 'ddpcb_list' to better distinguish it from 2004-03-22 04:54:36 +00:00
netatm These are changes to allow to use the Intel C/C++ compiler (lang/icc) 2004-03-12 21:45:33 +00:00
netgraph Rename internal structure to fix cut & paste error. 2004-04-04 21:33:09 +00:00
netinet Fixed misspelling of IPPORT_MAX as USHRT_MAX. Don't include <sys/limits.h> 2004-04-06 10:59:11 +00:00
netinet6 UDP checksum is mandatory in IPv6 (RFC2460 p.28) 2004-04-01 13:48:23 +00:00
netipsec This file was erroneously removed from HEAD when TCP-MD5 support was MFC'd; 2004-04-03 05:31:38 +00:00
netipx Rename dup_sockaddr() to sodupsockaddr() for consistency with other 2004-03-01 03:14:23 +00:00
netkey avoid duplicate free. 2004-01-25 17:18:12 +00:00
netnatm Rename dup_sockaddr() to sodupsockaddr() for consistency with other 2004-03-01 03:14:23 +00:00
netncp Make the process_exit eventhandler run without Giant. Add Giant hooks 2004-03-14 02:06:28 +00:00
netsmb Rename dup_sockaddr() to sodupsockaddr() for consistency with other 2004-03-01 03:14:23 +00:00
nfs
nfs4client fix for 64-bit arch: 2004-03-26 22:44:59 +00:00
nfsclient Spell 2 as SHUT_RDWR when used as an argument to soshutdown(). 2004-04-04 19:24:08 +00:00
nfsserver Add imperfect comments identifying the function of various nfs socket 2004-04-06 01:58:58 +00:00
opencrypto kthread_exit() no longer requires Giant, so don't force callers to acquire 2004-03-05 22:42:17 +00:00
pc98 MFi386: Enable the cy driver. 2004-04-06 14:19:45 +00:00
pccard Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
pci Actually fix the TX performance with polling(4) enabled 2004-04-06 11:04:54 +00:00
posix4 The sem_timedwait() and ksem_timedwait() functions both 2004-02-03 22:27:03 +00:00
powerpc Remove avail_start on those platforms that no longer use it. (Only amd64 2004-04-05 04:08:00 +00:00
rpc Reset callout if in nfs_timeout and rpcclnt_timeout functions. Timer 2004-03-28 05:55:27 +00:00
security Define BPFD_LOCK_ASSERT() to assert the BPF descriptor lock. 2004-02-29 15:33:56 +00:00
sparc64 Remove avail_start on those platforms that no longer use it. (Only amd64 2004-04-05 04:08:00 +00:00
sys Introduce a callout_drain() function. This acts in the same manner as 2004-04-06 23:08:49 +00:00
tools Attempt to clean up the emu10k1-alsa.h stuff so that config doesn't 2004-02-05 22:51:16 +00:00
ufs Fix a paste-o from the buf_prewrite() cleanup commit and check for the 2004-04-06 19:20:24 +00:00
vm Remove advertising clause from University of California Regent's license, 2004-04-06 20:15:37 +00:00
Makefile Replaced outdated comment. 2004-01-17 03:28:27 +00:00