Lines Matching +defs:count +defs:lines

488 		    " [[-n] interval [count]]\n"));
494 "\t [-T d|u] [pool] [interval [count]]\n"));
527 "\t [-T d|u] [pool] [interval [count]]\n"));
2190 int count = 0;
2192 while (count < 3 && readdir(dirp) != NULL)
2193 count++;
2196 if (count > 2) {
2637 for (i = 0; i < vcdl->count; i++) {
2648 val = data->lines[k];
2658 if (data->lines[j]) {
2661 data->lines[j]);
2668 /* Print command output lines for specific vdev in a specific pool */
2676 for (i = 0; i < vcdl->count; i++) {
2692 val = data->lines[k];
2714 val = data->lines[j];
4501 /* check argument count */
4910 if (vcdl->count == 0 || data == NULL)
5143 * __data to the stat data, and then set *data = &__data with count = 1. Then,
5144 * we can just use *data and count.
5148 uint_t count; /* Number of entries in data[] */
5158 max = MAX(max, array64_max(nva[i].data, nva[i].count));
5178 ret = nvpair_value_uint64_array(tmp, &nva->data, &nva->count);
5183 nva->count = 1;
5227 calcnva[j].count = newnva[j].count;
5228 alloc_size = calcnva[j].count * sizeof (calcnva[j].data[0]);
5235 for (i = 0; i < oldnva[j].count; i++)
5271 /* All these histos are the same size, so just use nva[0].count */
5272 buckets = nva[0].count;
5379 uint64_t count = 0, total = 0;
5394 count += histo[i];
5399 return (count == 0 ? 0 : total / count);
5476 val = single_histo_average(nva[i].data, nva[i].count);
5535 * Returns the number of stat lines printed.
5871 * Parse the input string, get the 'interval' and 'count' value if there is one.
5878 unsigned long count = 0;
5911 * If the last argument is also an integer, then we have both a count
5918 count = interval;
5938 *cnt = count;
6152 * guids as interval/count values. Assumes VDEV_NAME_GUID is set in
6157 unsigned long *count, iostat_cbdata_t *cb)
6187 interval, count);
6219 char **lines = NULL;
6223 rc = libzfs_run_process_get_stdout_nopath(path, argv, NULL, &lines,
6225 if (rc != 0 || lines == NULL || lines_cnt <= 0) {
6226 if (lines != NULL)
6227 libzfs_free_str_array(lines, lines_cnt);
6232 if (!is_blank_str(lines[i]))
6233 printf(" %-14s %s\n", name, lines[i]);
6235 libzfs_free_str_array(lines, lines_cnt);
6321 * line up by justifying all lines to the same width. If that max
6324 * wrap on the screen. We only want lines with long names to wrap.
6347 * [interval [count]]
6378 unsigned long count = 0;
6496 /* Get our interval and count values (if any) */
6499 &count, &cb);
6501 get_interval_count(&argc, argv, &interval, &count);
6733 if (count != 0 && --count == 0)
7312 * zpool list [-gHLpP] [-o prop[,prop]*] [-T d|u] [pool] ... [interval [count]]
7342 unsigned long count = 0;
7422 get_interval_count(&argc, argv, &interval, &count);
7475 if (count != 0 && --count == 0)
9526 int count = 0;
9534 count++;
9536 count * sizeof (char *));
9555 (const char **)errl, count);
9556 for (int i = 0; i < count; ++i)
10983 * [-T d|u] [pool] [interval [count]]
11013 unsigned long count = 0;
11128 get_interval_count(&argc, argv, &interval, &count);
11216 if (count != 0 && --count == 0)
11237 int *count = (int *)unsupp_fs;
11243 (*count)++;
11312 int i, ret, count;
11326 count = 0;
11343 count++;
11357 *countp = count;
11394 int count;
11395 ret = upgrade_enable_all(zhp, &count);
11399 if (count > 0) {
11554 int count = 0;
11555 ret = upgrade_enable_all(zhp, &count);
11559 if (count != 0) {
12304 int count, ret;
12306 ret = zpool_events_clear(g_zfs, &count);
12308 (void) printf(gettext("cleared %d events\n"), count);
13288 unsigned long count;
13352 get_interval_count(&argc, argv, &wd.wd_interval, &count);
13353 if (count != 0) {
13354 /* This subcmd only accepts an interval, not a count */