Lines Matching refs:current

52 compute_stats(struct devstat *current, struct devstat *previous,
215 * Get the current generation number.
235 * Get the current devstat version. The return value of this function
249 * Get the current devstat version.
324 * Get the current list of devices and statistics, and the current
367 * The kern.devstat.all sysctl returns the current
457 * If the generation has changed, and if the current number of
501 * - current number of devices selected (num_selected)
505 * - current devstat generation (current_generation)
506 * - current list of devices and statistics (devices)
507 * - number of devices in the current device list (numdevs)
510 * - The matching code pays attention to the current selection mode. So
530 * current selected, as only mode would, but it will also not
542 * - the selection generation may be changed to match the current generation
624 * We want to make a backup of the current selection list if
742 * Determine whether or not the current device
912 * made a backup of the selection list, compare it to the current
940 * the current array is the same as the device at
952 * the current array isn't the same device as the
962 * in the current array. If the selection
1073 /* Make sure the current entry is clear */
1163 * that is "current". Everything else is optional. The caller passes in
1171 compute_stats(struct devstat *current, struct devstat *previous,
1178 return(devstat_compute_statistics(current, previous, etime,
1217 (current->field[(index)] - (previous ? previous->field[(index)] : 0))
1220 devstat_compute_etime(&current->field, \
1224 devstat_compute_statistics(struct devstat *current, struct devstat *previous,
1242 * current is the only mandatory field.
1244 if (current == NULL) {
1246 "%s: current stats structure was NULL", __func__);
1267 if (current->block_size > 0) {
1268 totalblocks /= current->block_size;
1269 totalblocksread /= current->block_size;
1270 totalblockswrite /= current->block_size;
1271 totalblocksfree /= current->block_size;
1542 *destu64 = current->start_count - current->end_count;