History log of /openbsd/sys/nfs/nfs_srvcache.c (Results 1 – 25 of 32)
Revision Date Author Comments
# 8d80561b 18-Sep-2024 jsg <jsg@openbsd.org>

remove unneeded semicolons after switch statements


# 564dba15 01-May-2024 jsg <jsg@openbsd.org>

remove unneeded includes
ok miod@ mpi@


# 45db009a 30-Apr-2024 miod <miod@openbsd.org>

Constify NFS data whenever possible. Also make a few more const data static.

ok jsg@ semarie@


# ae991a59 05-Dec-2019 mpi <mpi@openbsd.org>

Convert infinite sleeps to tsleep_nsec(9).

ok jca@


# bae2bd50 28-Aug-2015 deraadt <deraadt@openbsd.org>

fairly simple sizes for free(); ok tedu


# 21dab745 14-Mar-2015 jsg <jsg@openbsd.org>

Remove some includes include-what-you-use claims don't
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.

ok tedu@ deraadt@


# 9dc9bb81 18-Nov-2014 dlg <dlg@openbsd.org>

use siphash for key lookups in all the filesystem hashes.

ok deraadt@ tedu@


# 7f58a11f 14-Sep-2014 jsg <jsg@openbsd.org>

remove uneeded proc.h includes
ok mpi@ kspillner@


# 825c4e6a 12-Jul-2014 tedu <tedu@openbsd.org>

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.


# 6d8dfc9a 04-Jun-2009 thib <thib@openbsd.org>

Plug mbuf leaks in the DRC, when we reuse entries we didn't
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

Plug mbuf leaks in the DRC, when we reuse entries we didn't
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@

show more ...


# 0a877889 30-May-2009 thib <thib@openbsd.org>

Remove unused procnums (NQNFS leftovers) and cleanup.

OK blambert@ sometime ago


# a537d742 24-Dec-2008 thib <thib@openbsd.org>

Replace the TRUE/FALSE defines with 1/0 respectively. This doesn't
hurt readability and it was just plain annoying seeing them defined
in every other .c file.

OK blambert@


# 17a0233e 20-Oct-2008 blambert <blambert@openbsd.org>

Be pedantically correct in freeing allocated mbufs, even upon clearing
the server cache on shutdown.

ok thib@


# 8eab880b 05-Jul-2008 thib <thib@openbsd.org>

use m_freem() instead of MFREE() since we ignore the
mbuf that points to the rest of the chain (if it is a
chain).

ok blambert@


# 65faa1c0 12-Jun-2008 blambert <blambert@openbsd.org>

Remove now-vestigial bpos pointer from NFS. For building outgoing
NFS mbufs, mbufs now contain all their internal buffer state internally,
the way god intended.

ok thib@

testing johan@ (and possibl

Remove now-vestigial bpos pointer from NFS. For building outgoing
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...)

show more ...


# d8c62b08 11-Jun-2008 blambert <blambert@openbsd.org>

Canonical for() -> queue.h FOREACH macro conversions.
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 vi

Canonical for() -> queue.h FOREACH macro conversions.
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

show more ...


# b2458ef5 14-Apr-2008 thib <thib@openbsd.org>

move the cache lookup code into a function, instead repeating
it twice, makes this nicer as a bonus;

From NetBSD.

tested by johan@, ok blambert@.


# 9a61f037 29-Oct-2007 thib <thib@openbsd.org>

Touch of KNF and style(9), spaces and comments.
make pretty.

ok krw@


# b4f07eb0 28-Oct-2007 thib <thib@openbsd.org>

Remove the "frev" argument from nfs_rephead(); and clean up the "frev"
variables, that are declared all over, since they are passed via macros
to nfs_rephead(); which doesn't do anything with it.

OK

Remove the "frev" argument from nfs_rephead(); and clean up the "frev"
variables, that are declared all over, since they are passed via macros
to nfs_rephead(); which doesn't do anything with it.

OK krw@

show more ...


# 3e258649 20-Sep-2007 thib <thib@openbsd.org>

MALLOC/FREE -> malloc/free + M_ZERO.
Uneeded includes and casts...

ok krw@


# 9d08f8e5 26-Dec-2004 miod <miod@openbsd.org>

Use list and queue macros where applicable to make the code easier to read;
no change in compiler assembly output.


# bfbc2ff7 16-Jul-2004 henning <henning@openbsd.org>

kill netiso stuff here as well, millert ok


# 29295d1c 02-Jun-2003 millert <millert@openbsd.org>

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# 6c90fdaf 03-Jul-2002 nate <nate@openbsd.org>

Remove unused function parameter 'cache' from nfs_rephead
ok costa@


# 04b702e4 16-Jan-2002 ericj <ericj@openbsd.org>

use queue.h macro's
remove register


12