Lines Matching refs:version
233 * Get the current devstat version. The return value of this function
242 int version;
247 * Get the current devstat version.
250 if (sysctlbyname("kern.devstat.version", &version, &versize,
253 "%s: error getting devstat version\n%s: %s",
257 return(version);
259 if (KREADNL(kd, X_VERSION, version) == -1)
262 return(version);
267 * Check the devstat version we know about against the devstat version the
274 int buflen, res, retval = 0, version;
276 version = devstat_getversion(kd);
278 if (version != DEVSTAT_VERSION) {
285 if (version == -1)
292 "%s%s: userland devstat version %d is not "
294 "version %d\n", version == -1 ? "\n" : "",
295 __func__, DEVSTAT_VERSION, __func__, version);
301 if (version < DEVSTAT_VERSION)
503 * - compiled version of the command line device type arguments (matches)