freebsd-skq/sys/nfs
Konstantin Belousov 584b675ed6 Hide the boottime and bootimebin globals, provide the getboottime(9)
and getboottimebin(9) KPI. Change consumers of boottime to use the
KPI.  The variables were renamed to avoid shadowing issues with local
variables of the same name.

Issue is that boottime* should be adjusted from tc_windup(), which
requires them to be members of the timehands structure.  As a
preparation, this commit only introduces the interface.

Some uses of boottime were found doubtful, e.g. NLM uses boottime to
identify the system boot instance.  Arguably the identity should not
change on the leap second adjustment, but the commit is about the
timekeeping code and the consumers were kept bug-to-bug compatible.

Tested by:	pho (as part of the bigger patch)
Reviewed by:	jhb (same)
Discussed with:	bde
Sponsored by:	The FreeBSD Foundation
MFC after:	1 month
X-Differential revision:	https://reviews.freebsd.org/D7302
2016-07-27 11:08:59 +00:00
..
bootp_subr.c Do not try to install a default route for each interface found, because 2016-03-27 23:16:37 +00:00
krpc_subr.c NFS: spelling fixes on comments. 2016-04-29 16:07:25 +00:00
krpc.h
nfs_common.h
nfs_diskless.c It appears nfs_mountroot() will use the env var "boot.netif.mtu" if it 2016-03-20 21:48:26 +00:00
nfs_fha.c Fix/improve fhe_stats sysctl output. 2014-06-14 12:26:12 +00:00
nfs_fha.h
nfs_kdtrace.h
nfs_lock.c Hide the boottime and bootimebin globals, provide the getboottime(9) 2016-07-27 11:08:59 +00:00
nfs_lock.h
nfs_mountcommon.h
nfs_nfssvc.c NFS: spelling fixes on comments. 2016-04-29 16:07:25 +00:00
nfsdiskless.h
nfsproto.h
nfssvc.h Add kernel support to the NFS server for the "-manage-gids" 2015-11-30 21:54:27 +00:00
xdr_subs.h