Searched refs:diskcount (Results 1 – 1 of 1) sorted by relevance
3087 unsigned int diskcount; in mib_diskio() local3091 len = sizeof(diskcount); in mib_diskio()3093 if (sysctl(mib, nitems(mib), &diskcount, &len, NULL, 0) == -1) { in mib_diskio()3116 } else if (idx > diskcount) { in mib_diskio()3122 stats = calloc(diskcount, sizeof(*stats)); in mib_diskio()3129 len = diskcount * sizeof(*stats); in mib_diskio()