summaryrefslogtreecommitdiffstats
path: root/sys/nfs/nfs_srvcache.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Convert infinite sleeps to tsleep_nsec(9).mpi2019-12-051-3/+3
| | | | ok jca@
* fairly simple sizes for free(); ok teduderaadt2015-08-281-2/+2
|
* Remove some includes include-what-you-use claims don'tjsg2015-03-141-2/+1
| | | | | | | have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels. ok tedu@ deraadt@
* use siphash for key lookups in all the filesystem hashes.dlg2014-11-181-5/+13
| | | | ok deraadt@ tedu@
* remove uneeded proc.h includesjsg2014-09-141-2/+1
| | | | ok mpi@ kspillner@
* add a size argument to free. will be used soon, but for now default to 0.tedu2014-07-121-2/+2
| | | | after discussions with beck deraadt kettenis.
* Plug mbuf leaks in the DRC, when we reuse entries we didn'tthib2009-06-041-9/+17
| | | | | | | | | free the mbufs the entry has (socket name, reply). Found with dlg@'s amazing mbuf debug diff, fix is based on the same thing in NetBSD (by yamt@netbsd.org). OK blambert@
* Remove unused procnums (NQNFS leftovers) and cleanup.thib2009-05-301-3/+2
| | | | OK blambert@ sometime ago
* Replace the TRUE/FALSE defines with 1/0 respectively. This doesn'tthib2008-12-241-48/+8
| | | | | | | hurt readability and it was just plain annoying seeing them defined in every other .c file. OK blambert@
* Be pedantically correct in freeing allocated mbufs, even upon clearingblambert2008-10-201-1/+5
| | | | | | the server cache on shutdown. ok thib@
* use m_freem() instead of MFREE() since we ignore thethib2008-07-051-2/+2
| | | | | | | mbuf that points to the rest of the chain (if it is a chain). ok blambert@
* Remove now-vestigial bpos pointer from NFS. For building outgoingblambert2008-06-121-4/+2
| | | | | | | | | NFS mbufs, mbufs now contain all their internal buffer state internally, the way god intended. ok thib@ testing johan@ (and possibly merdely@; this diff's been around for a bit...)
* Canonical for() -> queue.h FOREACH macro conversions.blambert2008-06-111-1/+2
| | | | | | | | | Also, it is historical practice to #include <sys/queue.h> when using queue.h macros. ok thib@ krw@ special thanks to krw@ for reminders vice violence
* move the cache lookup code into a function, instead repeatingthib2008-04-141-73/+82
| | | | | | | | it twice, makes this nicer as a bonus; From NetBSD. tested by johan@, ok blambert@.
* Touch of KNF and style(9), spaces and comments.thib2007-10-291-37/+22
| | | | | | make pretty. ok krw@
* Remove the "frev" argument from nfs_rephead(); and clean up the "frev"thib2007-10-281-2/+2
| | | | | | | variables, that are declared all over, since they are passed via macros to nfs_rephead(); which doesn't do anything with it. OK krw@
* MALLOC/FREE -> malloc/free + M_ZERO.thib2007-09-201-4/+2
| | | | | | Uneeded includes and casts... ok krw@
* Use list and queue macros where applicable to make the code easier to read;miod2004-12-261-5/+3
| | | | no change in compiler assembly output.
* kill netiso stuff here as well, millert okhenning2004-07-161-6/+2
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Remove unused function parameter 'cache' from nfs_repheadnate2002-07-031-2/+2
| | | | ok costa@
* use queue.h macro'sericj2002-01-161-15/+15
| | | | remove register
* Remove NQNFScsapuntz2001-06-251-2/+1
|
* zap the newhashinit hack.art1999-04-281-2/+2
| | | | | Add an extra flag to hashinit telling if it should wait in malloc. update all calls to hashinit.
* partial sync with netbsd 960418, more to comederaadt1996-04-211-2/+2
|
* Minor cleanups. Checked against Lite2.mickey1996-04-171-2/+2
| | | | (NetBSD's was really just a Lite2's, but w/ 64bit support)
* From NetBSD: NFSv3 import (tomorrow's Net's kernel)mickey1996-03-311-25/+29
| | | | | Open's patches kept in. i'll possibly take a look at Lite2 soon, is there smth usefull ?..
* From NetBSD: merge with 960217 (still NFSv2)niklas1996-02-291-1/+5
|
* initial import of NetBSD treederaadt1995-10-181-0/+332