Home
last modified time | relevance | path

Searched refs:fs_buf (Results 1 – 1 of 1) sorted by relevance

/freebsd-14.2/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_storage_tbl.c117 static struct statfs *fs_buf; variable
457 fs_buf = reallocf(fs_buf, fs_buf_count * sizeof(struct statfs)); in storage_OS_get_fs()
458 if (fs_buf == NULL) { in storage_OS_get_fs()
465 if ((mounted_fs_count = getfsstat(fs_buf, in storage_OS_get_fs()
478 fs_buf[i].f_fstypename, fs_buf[i].f_mntfromname); in storage_OS_get_fs()
491 units = fs_buf[i].f_bsize; in storage_OS_get_fs()
492 size = fs_buf[i].f_blocks; in storage_OS_get_fs()
493 used = fs_buf[i].f_blocks - fs_buf[i].f_bfree; in storage_OS_get_fs()
536 if (fs_buf != NULL) { in fini_storage_tbl()
537 free(fs_buf); in fini_storage_tbl()
[all …]