Home
last modified time | relevance | path

Searched refs:count (Results 126 – 150 of 2307) sorted by relevance

12345678910>>...93

/illumos-gate/usr/src/uts/sun4v/io/
H A Ddrctl.c296 bcopy(res, rsrc, count * sizeof (*res)); in drctl_generate_resp()
298 for (i = 0; i < count; i++) { in drctl_generate_resp()
354 if (count != 1) in verify_response()
364 for (i = 0; i < count; i++) in verify_response()
420 count, rsize, DRCTL_STATUS_ALLOW); in drctl_config_common()
470 __func__, cmd, flags, (void *)res, count); in drctl_config_init()
483 count, *rbuf, rq_size, *rsize)) != 0) { in drctl_config_init()
576 flags, res, count, NULL, 0, &rq_size); in drctl_config_fini()
663 *data_size = count * sizeof (drctl_rsrc_t); in pack_message()
669 *data_size = count * sizeof (drctl_rsrc_t); in pack_message()
[all …]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/llquantize/
H A Dtst.range.d.out3 value ------------- Distribution ------------- count
8 value ------------- Distribution ------------- count
13 value ------------- Distribution ------------- count
18 value ------------- Distribution ------------- count
24 value ------------- Distribution ------------- count
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/
H A DLgrp.xs309 int count; variable
316 XSRETURN_IV(count);
318 if (count > 0) {
319 if (New(0, lgrps, count, lgrp_id_t) == NULL) {
323 count = lgrp_children(cookie, lgrp, lgrps, count);
324 PUSHARRAY(lgrps, count);
338 int count; variable
345 XSRETURN_IV(count);
347 if (count > 0) {
352 count = lgrp_parents(cookie, lgrp, lgrps, count);
[all …]
/illumos-gate/usr/src/cmd/sgs/common/
H A Dfindprime.c34 findprime(uint_t count) in findprime() argument
38 if (count <= 3) in findprime()
46 if ((count & 0x1) == 0) in findprime()
47 count++; in findprime()
49 for (h = count, f = 2; f * f <= h; f++) in findprime()
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dnblk.c43 fsblkcnt_t tot, count, count1, d_indirect, t_indirect, ind; in nblk() local
61 count = count1 + count1 / ind + ind + 3; in nblk()
63 count = (tot - (DIRECT + 1)) / ind + 2; in nblk()
65 count = 1; in nblk()
67 count = 0; in nblk()
74 tot += count; in nblk()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Ddist.c159 dist_print_header(const char *label, int width, const char *count) in dist_print_header() argument
168 if (count == NULL) in dist_print_header()
169 count = "count"; in dist_print_header()
176 count); in dist_print_header()
197 uint64_t count = 0; /* bucket value */ in dist_print_bucket() local
210 count += counts[b]; in dist_print_bucket()
212 nats = (NCHARS * count) / total; in dist_print_bucket()
222 mdb_printf("%*s |%s%s %lld\n", width, range, ats, spaces, count); in dist_print_bucket()
/illumos-gate/usr/src/cmd/rmt/
H A Drmt.c210 getstring(count, sizeof (count)); in main()
212 DEBUG2("rmtd: L %s %s\n", count, pos); in main()
227 getstring(count, sizeof (count)); in main()
228 DEBUG3("rmtd: %c %s %s\n", key, op, count); in main()
230 mtop.mt_count = atoi(count); in main()
356 getstring(count, sizeof (count)); in main()
357 n = (size_t)atol(count); in main()
359 DEBUG1("rmtd: W %s\n", count); in main()
381 getstring(count, sizeof (count)); in main()
382 n = (size_t)atol(count); in main()
[all …]
/illumos-gate/usr/src/cmd/ctfdump/
H A Dctfdump.c486 int *count = arg; in ctfdump_member_cb() local
489 *count = *count + 1; in ctfdump_member_cb()
496 int *count = arg; in ctfdump_enum_cb() local
498 *count = *count + 1; in ctfdump_enum_cb()
506 int kind, i, count; in ctfdump_types_cb() local
600 count = 0; in ctfdump_types_cb()
627 count = 0; in ctfdump_types_cb()
913 *count = *count + 1; in ctfsrc_collect_objects_cb()
944 *count = *count + 1; in ctfsrc_collect_functions_cb()
1074 size_t count = 0; in ctfdump_source() local
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dthreads.c513 m->count++; in k5_mutex_lock_update_stats()
517 if (m->count == 1 || m->lockwait.valmin > tdiff) in k5_mutex_lock_update_stats()
519 if (m->count == 1 || m->lockwait.valmax < tdiff) in k5_mutex_lock_update_stats()
532 if (m->count == 1 || m->lockheld.valmin > tdiff) in krb5int_mutex_unlock_update_stats()
534 if (m->count == 1 || m->lockheld.valmax < tdiff) in krb5int_mutex_unlock_update_stats()
542 get_stddev(struct k5_timediff_stats sp, int count) in get_stddev() argument
545 mu = (long double) sp.valsum / count; in get_stddev()
552 rho_squared = (sp.valsqsum - 2 * mu * sp.valsum + count * mu_squared) / count; in get_stddev()
562 if (m->stats.count < 10) in krb5int_mutex_report_stats()
574 if (m->stats.count == 0) in krb5int_mutex_report_stats()
[all …]
H A Dplugins.c321 int newcount = *count + 1; in krb5int_plugin_file_handle_array_add()
329 *count = newcount; in krb5int_plugin_file_handle_array_add()
379 size_t count = 0; in krb5int_get_plugin_filenames() local
426 int count = 0; in krb5int_open_plugin_dirs() local
562 int count = 0; in krb5int_get_plugin_dir_data() local
583 count++; in krb5int_get_plugin_dir_data()
589 p[count - 1] = sym; in krb5int_get_plugin_dir_data()
590 p[count] = NULL; in krb5int_get_plugin_dir_data()
621 int count = 0; in krb5int_get_plugin_dir_func() local
642 count++; in krb5int_get_plugin_dir_func()
[all …]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/aggs/
H A Dtst.aggpack.d.out3 min .--------------------------------. max | count
7 min .--------------------------------. max | count
11 min .---. max | count
14 key min .---. max | count
17 key min .---. max | count
20 key min .---. max | count
23 key min .---. max | count
H A Dtst.aggpackzoom.d.out3 value ------------- Distribution ------------- count
48 value ------------- Distribution ------------- count
93 value ------------- Distribution ------------- count
139 key min .------------------------------------------. max | count
145 key min .------------------------------------------. max | count
/illumos-gate/usr/src/lib/libnisdb/
H A Dnisdb_rw.c81 rw->writer.count = rw->reader.count = 0; in __nisdb_rwinit()
194 rw->writer.count = 1; in __nisdb_wlock_trylock()
204 if (rr->count) { in __nisdb_wlock_trylock()
297 rw->writer.count++; in __nisdb_wlock_trylock()
328 rr->count = 0; in increment_reader()
337 rr->count++; in increment_reader()
445 rw->writer.count--; in __nisdb_wulock()
511 rr->count--; in __nisdb_rulock()
512 if (rr->count == 0) { in __nisdb_rulock()
525 rw->reader.count = rr->count; in __nisdb_rulock()
[all …]
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DStddevValue.java48 private final long count; field in StddevValue
142 count = stddevCount; in StddevValue()
147 if (count < 0) { in StddevValue()
176 count = stddevCount; in StddevValue()
184 if (count < 0) { in validate()
188 if (count == 0) { in validate()
195 if (stddev != standardDeviation(count, total, totalSquares)) { in validate()
199 count + ", and total squares " + totalSquares); in validate()
239 return count; in getCount()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dsa.c276 if (count != tbf->lot_attr_count) in sa_layout_equal()
279 for (i = 0; i != count; i++) { in sa_layout_equal()
332 ASSERT(count > 0); in sa_attr_op()
333 for (i = 0; i != count; i++) { in sa_attr_op()
869 for (i = 0; i != count; i++) { in sa_attr_table_setup()
964 for (i = 0; i != count; i++) { in sa_attr_table_setup()
1513 int count = 0, err = 0; in sa_add_projid() local
1604 count = 0; in sa_add_projid()
1842 int count; in sa_modify_attrs() local
1893 count = bonus_attr_count; in sa_modify_attrs()
[all …]
/illumos-gate/usr/src/uts/common/crypto/core/
H A Dkcf_crypto.c37 crypto_free_provider_list(crypto_provider_entry_t *array, uint_t count) in crypto_free_provider_list() argument
39 if (count == 0 || array == NULL) in crypto_free_provider_list()
42 kmem_free(array, count * sizeof (crypto_provider_entry_t)); in crypto_free_provider_list()
48 uint_t *count, crypto_mech_name_t **array) in crypto_get_provider_mechanisms() argument
54 array, count, KM_SLEEP)); in crypto_get_provider_mechanisms()
/illumos-gate/usr/src/cmd/format/
H A Ddefect.c135 size = deflist_size(cur_blksz, list->header.count); in read_list()
214 for (i = 0; i < (list->header.count * in checkdefsum()
281 return (list->header.count); in sort_defect()
285 for (ptr = list->list; ptr - list->list < list->header.count; ptr++) { in sort_defect()
355 size = deflist_size(cur_blksz, list->header.count); in write_deflist()
440 int count, i; in add_def() local
446 count = list->header.count; in add_def()
447 if (deflist_size(cur_blksz, count + 1) > deflist_size(cur_blksz, count)) in add_def()
449 deflist_size(cur_blksz, count + 1) * cur_blksz); in add_def()
453 for (i = count; i > index; i--) in add_def()
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_ioctl.c454 for (count = 0; count < 11; count++) { in ql_get_feature_bits()
464 for (count = 0; count < 16; count++) { in ql_get_feature_bits()
530 for (count = 0; count < sizeof (nvram_t) / 2; count++) { in ql_set_feature_bits()
553 for (count = 0; count < sizeof (nvram_t) - 1; count++) { in ql_set_feature_bits()
563 for (count = 0; count < sizeof (nvram_t) / 2; count++) { in ql_set_feature_bits()
572 for (count = 0; count < sizeof (nvram_t) / 2; count++) { in ql_set_feature_bits()
731 for (count = 0; count < sizeof (nvram_t) - 1; count++) { in ql_set_nvram_adapter_defaults()
741 for (count = 0; count < sizeof (nvram_t) / 2; count++) { in ql_set_nvram_adapter_defaults()
799 for (count = 0; count < 11; count++) { in ql_load_nvram()
828 for (count = 0; count < 27; count++) { in ql_load_nvram()
[all …]
/illumos-gate/usr/src/lib/libcrypt/common/
H A Dcryptio.c55 unsigned int count; member
120 run_crypt(long offset, char *buffer, unsigned int count, int *p) in run_crypt() argument
126 header.count = count; in run_crypt()
136 if (write(p[READER], buffer, count) < count) { in run_crypt()
142 if (read(p[WRITER], buffer, count) < count) { in run_crypt()
/illumos-gate/usr/src/lib/libgss/
H A Dg_initialize.c188 int count, i, j; local
240 if (g_mechSet.count != 0) {
245 g_mechSet.count = 0;
250 count = 0;
252 count++;
257 if (count > 0) {
270 g_mechSet.count = count;
271 count = 0;
287 g_mechSet.count = 0;
294 count++;
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dinst_sync.c200 int count; member
207 in_write(struct vnode *vp, offset_t *vo, caddr_t buf, int count) in in_write() argument
211 rlim64_t rlimit = *vo + count + 1; in in_write()
213 error = vn_rdwr(UIO_WRITE, vp, buf, count, *vo, in in_write()
216 *vo += (offset_t)(count - resid); in in_write()
249 if (fp->count) in in_fflush()
250 error = in_write(fp->vp, &fp->voffset, fp->buf, fp->count); in in_fflush()
263 if (++fp->count == FBUFSIZE) { in in_fputs()
265 fp->count); in in_fputs()
268 fp->count = 0; in in_fputs()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/slog/
H A Dslog_replay_fs_001.ksh82 oflag=dsync,sync bs=1 count=1
115 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS/payload bs=1k count=8
138 bs=128k count=64 oflag=sync
141 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS/holes.1 bs=128k count=8
142 log_must dd if=/dev/zero of=/$TESTPOOL/$TESTFS/holes.1 bs=128k count=2
144 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS/holes.2 bs=128k count=8
145 log_must dd if=/dev/zero of=/$TESTPOOL/$TESTFS/holes.2 bs=128k count=2 seek=2
147 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS/holes.3 bs=128k count=8
148 log_must dd if=/dev/zero of=/$TESTPOOL/$TESTFS/holes.3 bs=128k count=2 \
165 count=8
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dgb18030.c75 return (ps == NULL || ((const _GB18030State *)ps)->count == 0); in _GB18030_mbsinit()
89 if (gs->count < 0 || gs->count > sizeof (gs->bytes)) { in _GB18030_mbrtowc()
100 ncopy = MIN(MIN(n, MB_CUR_MAX), sizeof (gs->bytes) - gs->count); in _GB18030_mbrtowc()
101 (void) memcpy(gs->bytes + gs->count, s, ncopy); in _GB18030_mbrtowc()
102 ocount = gs->count; in _GB18030_mbrtowc()
103 gs->count += ncopy; in _GB18030_mbrtowc()
105 n = gs->count; in _GB18030_mbrtowc()
155 gs->count = 0; in _GB18030_mbrtowc()
176 if (gs->count != 0) { in _GB18030_wcrtomb()
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dhash.c39 new->count = 0; in sqliteHashInit()
65 pH->count = 0; in sqliteHashClear()
195 new_ht[h].count++; in rehash()
215 count = pH->ht[h].count; in findElementGivenHash()
217 while( count-- && elem ){ in findElementGivenHash()
246 pH->ht[h].count--; in removeElementGivenHash()
247 if( pH->ht[h].count<=0 ){ in removeElementGivenHash()
254 pH->count--; in removeElementGivenHash()
327 pH->count++; in sqliteHashInsert()
330 pH->count = 0; in sqliteHashInsert()
[all …]
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dnfs3ops.c85 read_args.count = size; in nfs3read()
87 read_args.count = nfs_readsize; in nfs3read()
97 if ((count + read_args.count) > size) in nfs3read()
98 read_args.count = size - count; in nfs3read()
109 read_args.count); in nfs3read()
122 read_args.count /= 2; in nfs3read()
156 if (readcnt < read_args.count) { in nfs3read()
161 readcnt, read_args.count); in nfs3read()
167 count += readcnt; in nfs3read()
177 } while (count < size && !done); in nfs3read()
[all …]

12345678910>>...93