mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-25 15:25:45 +00:00
e450b58636
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.
19 lines
421 B
C
19 lines
421 B
C
/* Do not edit this file. It was automatically generated. */
|
|
|
|
#ifndef HEADER_openzfs_sysctl
|
|
#define HEADER_openzfs_sysctl
|
|
/*
|
|
htop - zfs/openzfs_sysctl.h
|
|
(C) 2014 Hisham H. Muhammad
|
|
Released under the GNU GPL, see the COPYING file
|
|
in the source distribution for its full text.
|
|
*/
|
|
|
|
#include "zfs/ZfsArcStats.h"
|
|
|
|
void openzfs_sysctl_init(ZfsArcStats *stats);
|
|
|
|
void openzfs_sysctl_updateArcStats(ZfsArcStats *stats);
|
|
|
|
#endif
|