htop/zfs
Ross Williams e450b58636 Refactor openzfs_sysctl_init() and ZfsArcMeter...
openzfs_sysctl_init() now returns void instead of int.
The ZfsArcStats->enabled flag is set inside the init function
now, instead of having to be set from its return value.
Preparation for more flag setting in Compressed ARC commit.

ZfsArcMeter_readStats() added and all Meter->values[] setting
moved to it, eliminating duplicated code in
{darwin,freebsd,linux,solaris}/Platform.c.
2019-09-03 18:21:33 +00:00
..
openzfs_sysctl.c Refactor openzfs_sysctl_init() and ZfsArcMeter... 2019-09-03 18:21:33 +00:00
openzfs_sysctl.h Refactor openzfs_sysctl_init() and ZfsArcMeter... 2019-09-03 18:21:33 +00:00
ZfsArcMeter.c Refactor openzfs_sysctl_init() and ZfsArcMeter... 2019-09-03 18:21:33 +00:00
ZfsArcMeter.h Refactor openzfs_sysctl_init() and ZfsArcMeter... 2019-09-03 18:21:33 +00:00
ZfsArcStats.c Refactor common OpenZFS sysctl access 2019-07-07 23:10:54 -04:00
ZfsArcStats.h Refactor common OpenZFS sysctl access 2019-07-07 23:10:54 -04:00