freebsd-nq/sys
Matthew Dillon b064d43d8f remove holdfp()
Replace uses of holdfp() with fget*() or fgetvp*() calls as appropriate

introduce fget(), fget_read(), fget_write() - these functions will take
a thread and file descriptor and return a file pointer with its ref
count bumped.

introduce fgetvp(), fgetvp_read(), fgetvp_write() - these functions will
take a thread and file descriptor and return a vref()'d vnode.

*_read() requires that the file pointer be FREAD, *_write that it be
FWRITE.

This continues the cleanup of struct filedesc and struct file access
routines which, when are all through with it, will allow us to then
make the API calls MP safe and be able to move Giant down into the fo_*
functions.
2001-11-14 06:30:36 +00:00
..
alpha Don't call cdevsw_add(). 2001-11-04 11:50:08 +00:00
amd64 Use newer constraints for atomic_cmpset(). 2001-11-12 18:53:45 +00:00
arm Remove funky right justification. 2001-10-23 00:42:15 +00:00
boot Initialize first to -1; this will create a (nearly) empty file on failure, 2001-11-07 17:53:25 +00:00
cam Fix a signed bug in the crashdump code for systems with > 2GB of ram. 2001-11-13 01:08:54 +00:00
coda Change the vnode list under the mount point from a LIST to a TAILQ 2001-10-23 01:21:29 +00:00
compat o Replace reference to 'struct proc' with 'struct thread' in 'struct 2001-11-08 02:13:18 +00:00
conf Create a mutex pool API for short term leaf mutexes. 2001-11-13 21:55:13 +00:00
contrib Apply a local change to ACPICA. 2001-11-11 15:36:35 +00:00
crypto
ddb GC the a.out support in DDB, nothing anywhere would pull this 2001-11-05 21:55:42 +00:00
dev Add yet another VIA ATA100 southbridge. 2001-11-13 11:37:23 +00:00
fs Switch behavior of fifos to more closely match what goes on in other OSes. 2001-11-08 10:28:32 +00:00
geom KSE Milestone 2 2001-09-12 08:38:13 +00:00
gnu Change constraints to use "+" in inline asm instead of mapping input 2001-11-12 21:58:27 +00:00
i4b fix kvprintf panic in attach routine 2001-10-24 14:12:47 +00:00
i386 Replace use of "0" constraints in inline asm with "+" constraints, 2001-11-13 19:55:20 +00:00
ia64 Implement eficlock_set() to set hardware clock. 2001-11-12 09:29:05 +00:00
isa Some fix for the recent apm module changes. 2001-11-01 16:34:07 +00:00
isofs/cd9660 Fix the fix. BIO_ERROR must be set in b_ioflags, not b_flags 2001-11-04 23:52:49 +00:00
kern remove holdfp() 2001-11-14 06:30:36 +00:00
libkern rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
modules Add S4BIOS sleep (BIOS hibernation) and DSDT overriding support. 2001-11-06 15:00:30 +00:00
net 3.5 years ago Wollman wrote: 2001-11-05 21:25:02 +00:00
netatalk KSE Milestone 2 2001-09-12 08:38:13 +00:00
netatm KSE Milestone 2 2001-09-12 08:38:13 +00:00
netgraph A node that allows ethernet type packets to be filtered to different 2001-10-30 07:28:17 +00:00
netinet o Replace reference to 'struct proc' with 'struct thread' in 'struct 2001-11-08 02:13:18 +00:00
netinet6 o Replace reference to 'struct proc' with 'struct thread' in 'struct 2001-11-08 02:13:18 +00:00
netipx FreeBSD/vax is quite some time away. 2001-11-03 08:24:00 +00:00
netkey Fixed the behavior when there is no inbound policy for the ipsec 2001-11-06 22:45:29 +00:00
netnatm
netncp Change the kernel's ucred API as follows: 2001-10-11 23:38:17 +00:00
netns Desupport FreeBSD/vax 2001-11-03 13:35:07 +00:00
netsmb
nfs Unwind some more macros. NFSMADV() was kinda silly since it was right 2001-09-28 04:37:08 +00:00
nfsclient Allow users to use the 'nolockd' or -L options with mount_nfs in order 2001-11-12 02:33:52 +00:00
nfsserver Now that nfsm_reply() does not usually set 'error' to 0, we need 2001-10-25 19:07:56 +00:00
pc98 Use make_dev_alias() instead of call make_dev() twice. 2001-11-12 13:06:04 +00:00
pccard Better error message when cardtype is not recognized 2001-11-13 06:46:19 +00:00
pci Add support for Intel's i820/i840/i845/i850/i860 chipset. 2001-11-08 16:03:23 +00:00
posix4 KSE Milestone 2 2001-09-12 08:38:13 +00:00
powerpc The interrupt nesting level is per-thread not per-CPU on FreeBSD. 2001-11-14 01:00:40 +00:00
rpc
sparc64 Add a file forgotten in the previous commit (a kobj interface that 2001-11-09 20:43:44 +00:00
svr4
sys remove holdfp() 2001-11-14 06:30:36 +00:00
tools Move from using PCCARD_ symbols gereated from this file to using PCMCIA_ 2001-11-11 20:15:06 +00:00
ufs Implement IO_NOWDRAIN and B_NOWDRAIN - prevents the buffer cache from blocking 2001-11-05 18:48:54 +00:00
vm Fix deadlock introduced in 1.73 (Jan 1998). The paging-in-progress count 2001-11-09 21:34:45 +00:00
Makefile