summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/atm3
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>2001-11-14 06:30:36 +0000
committerdillon <dillon@FreeBSD.org>2001-11-14 06:30:36 +0000
commite3b965f7d57557c7273b062793ee6de6ff40223d (patch)
treedc13d87ccb395b03afaf10cd5a87755eea002ec3 /etc/rc.d/atm3
parent06b00a671bcb44fa0375ea17871931d7e0b5c5ca (diff)
downloadFreeBSD-src-e3b965f7d57557c7273b062793ee6de6ff40223d.zip
FreeBSD-src-e3b965f7d57557c7273b062793ee6de6ff40223d.tar.gz
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.
Diffstat (limited to 'etc/rc.d/atm3')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud