freebsd-skq/sys/fs/devfs
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
..
devfs_devs.c Remove zero assignments in the cdev allocator. cdp memory is 2016-05-21 09:55:32 +00:00
devfs_dir.c
devfs_int.h Stop enforcing additional reference on all cdevs, which was introduced 2015-01-19 17:36:52 +00:00
devfs_rule.c
devfs_vfsops.c Make it possible to forcibly unmount devfs. 2015-08-24 14:04:44 +00:00
devfs_vnops.c Hide the boottime and bootimebin globals, provide the getboottime(9) 2016-07-27 11:08:59 +00:00
devfs.h