Searched defs:counter (Results 51 - 75 of 97) sorted by relevance

1234

/illumos-gate/usr/src/uts/sun4v/io/iospc/
H A Diospc.c322 /* Create counter kstats */
462 * Program a performance counter.
464 * reggroup is which type of counter.
465 * counter is the counter number.
466 * event is the event to program for that counter.
475 int counter; local
487 for (counter = 0; counter < grp_p->num_counters; counter
544 int counter; local
[all...]
/illumos-gate/usr/src/uts/sun4v/io/n2piupc/
H A Dn2piupc_kstats.c122 /* Create counter kstats */
326 * Program a performance counter.
328 * reggroup is which type of counter.
329 * counter is the counter number.
330 * event is the event to program for that counter.
339 int counter; local
355 for (counter = 0; counter < grp_p->num_counters; counter
408 int counter; local
[all...]
/illumos-gate/usr/src/uts/sun4/io/fpc/
H A Dfpc-impl.c56 JBC_PIC0_EVT_MASK, /* JBC counter 0 */
57 JBC_PIC1_EVT_MASK, /* JBC counter 1 */
58 IMU_PIC0_EVT_MASK, /* IMU counter 0 */
59 IMU_PIC1_EVT_MASK, /* IMU counter 1 */
60 MMU_PIC0_EVT_MASK, /* MMU counter 0 */
61 MMU_PIC1_EVT_MASK, /* MMU counter 1 */
62 TLU_PIC0_EVT_MASK, /* TLU counter 0 */
63 TLU_PIC1_EVT_MASK, /* TLU counter 1 */
64 TLU_PIC2_EVT_MASK, /* TLU counter 2 */
65 LPU_PIC0_EVT_MASK, /* LPU counter
181 fpc_get_counter_reg_index(fire_perfcnt_t regtype, int counter) argument
210 int num_counters, counter; local
280 int num_counters, counter; local
[all...]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dbbc_beep.c217 /* Map the Beep Control and Beep counter Registers */
328 unsigned long counter; local
334 /* Convert the frequency in hz to the bbc counter value */
335 counter = bbc_beep_hztocounter(freq);
337 /* Extract relevant second and third byte of counter value */
338 beep_c2 = (counter & 0xff00) >> 8;
339 beep_c3 = (counter & 0xff0000) >> 16;
354 "bbc_beep_freq: dip = 0x%p, freq = %d, counter = 0x%x : Done",
355 (void *)dip, freq, (int)counter));
473 * Where n = position of the bit of counter registe
484 unsigned long counter; local
[all...]
H A Dtodds1337.c738 int counter = 4; local
774 while (tod_read[0] == -1 && counter > 0) {
790 counter--;
797 counter-- > 0);
799 if (counter < 0)
/illumos-gate/usr/src/uts/sun4u/io/px/
H A Dpx_err_impl.h38 * counter Counter for number of errors countered for this bit
45 uint_t counter; member in struct:px_err_bit_desc
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dfs_mounts.c871 int counter = 0; local
901 while (counter <= (value_len-1)) {
902 value[counter] = opt_string[opt_len+counter];
903 counter = counter + 1;
908 value[counter] = '\0';
/illumos-gate/usr/src/cmd/ucodeadm/
H A Ducodeadm.c241 int fd, count, counter; local
305 counter = 0;
309 uh->uh_cpu_rev, counter++);
/illumos-gate/usr/src/common/crypto/modes/
H A Dccm.c64 uint64_t counter; local
108 /* ccm_cb is the counter block */
115 * Increment counter. Counter bits are confined
116 * to the bottom 64 bits of the counter block.
118 counter = ntohll(ctx->ccm_cb[1] & ctx->ccm_counter_mask);
119 counter = htonll(counter + 1);
120 counter &= ctx->ccm_counter_mask;
122 (ctx->ccm_cb[1] & ~(ctx->ccm_counter_mask)) | counter;
125 * XOR encrypted counter bloc
186 uint64_t counter; local
370 uint64_t counter; local
[all...]
H A Dgcm.c147 uint64_t counter; local
181 * Increment counter. Counter bits are confined
182 * to the bottom 32 bits of the counter block.
184 counter = ntohll(ctx->gcm_cb[1] & counter_mask);
185 counter = htonll(counter + 1);
186 counter &= counter_mask;
187 ctx->gcm_cb[1] = (ctx->gcm_cb[1] & ~counter_mask) | counter;
269 uint64_t counter; local
278 * Increment counter
335 uint64_t counter; local
418 uint64_t counter; local
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dmmd.c56 uint_t counter; /* scratch counter */ member in struct:mmd_data_s
152 data.counter = 0;
215 data.counter = 0;
221 i = data.counter; /* claimed */
228 data.counter = 0;
234 mdb_printf("\tActive header refs:\t%-12d bytes\n", data.counter);
240 data.counter = 0;
246 k = data.counter; /* active */
247 mdb_printf("Active:\t\t\t%-4d", data.counter);
[all...]
/illumos-gate/usr/src/common/ficl/
H A Dtools.c813 int counter = 0; local
818 word = word->link, counter++) {
826 counter, (long)(dictionary->here - dictionary->base),
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dpxe.c162 int counter; local
188 for (counter = 0; counter < pxenv_p->Length; counter++)
210 for (counter = 0; counter < pxe_p->StructLength;
211 counter++)
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/
H A Dclient_init.c813 static int counter = 0; local
815 + 3*sizeof(counter));
816 sprintf(handle->cache_name, "MEMORY:kadm5_%u", counter++);
/illumos-gate/usr/src/lib/libc/port/aio/
H A Dposix_aio.c333 _aio_suspend_cleanup(int *counter) argument
336 (*counter)--; /* _aio_kernel_suspend or _aio_suscv_cnt */
/illumos-gate/usr/src/uts/common/os/
H A Daio_subr.c1198 int counter; local
1226 counter = 0;
1233 counter++;
1237 if (counter == 0) {
1243 aiop->aio_portpendcnt += counter;
/illumos-gate/usr/src/uts/i86pc/io/
H A Dhpet_acpi.c249 * Read main counter twice to record HPET latency for debugging.
264 * HPET main counter reads are supported now.
526 uint32_t *counter; local
529 counter = (uint32_t *)HPET_MAIN_COUNTER_ADDRESS(hip->logical_address);
535 value = (uint64_t)*counter;
544 high2 = counter[1];
547 low = counter[0];
548 high2 = counter[1];
706 * Return 0 if main counter is less than timer after enabling timer.
708 * Return !0 if main counter i
[all...]
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_tx.c1555 uint32_t counter; local
1579 for (counter = 0; counter < array_elements; counter++) {
1587 desc_array.descriptor[counter].address;
1589 desc_array.descriptor[counter].length;
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Ddigest_md5.c94 * it shouldn't matter too much if two threads step on this counter
97 static int counter; local
149 MD5Update(&ctx, (unsigned char *) &counter, sizeof (counter));
150 ++counter;
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Dwpa.c147 inc_byte_array(uint8_t *counter, size_t len) argument
151 counter[pos]++;
152 if (counter[pos] != 0)
/illumos-gate/usr/src/cmd/sgs/ar/common/
H A Dfile.c1425 int counter; local
1509 for (counter = 1; counter < no_of_symbols; counter++) {
1511 (void) gelf_getsym(sym_data, counter, &sym);
/illumos-gate/usr/src/uts/common/avs/ns/rdc/
H A Drdc_diskq.c1233 /* increment counter for i/o blocks only */
3168 int threads, counter; local
3205 counter = 0;
3230 * No progress see, decrement retry counter
3232 if (counter++ > NUM_RETRIES) {
3234 * No progress seen, increment retry counter
3243 * Reset counter, as we've made progress
3245 counter = 0;
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_server.c933 uint32_t counter = 0; local
935 counter = smb_llist_get_count(&sv->sv_nbt_daemon.ld_session_list);
936 counter += smb_llist_get_count(&sv->sv_tcp_daemon.ld_session_list);
938 return (counter);
/illumos-gate/usr/src/boot/lib/libstand/
H A Dnandfs.c637 int nlinks = 0, counter, len, link_len, nameidx; local
672 done = counter = 0;
694 counter += dirent->rec_len;
697 if (counter == fs->nf_blocksize)
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.c75 * 3) monotonic-counter: last counter value for name of token object file.
97 #define KS_COUNTER_SIZE 4 /* size in bytes of the monotonic counter */
413 /* write monotonic-counter. Counter for keystore objects start at 1 */
1471 * file for updating version and counter information
1506 /* read and write counter, no modification necessary */
2197 unsigned int counter, version; local
2230 * file for updating version and counter information
2265 if (readn_nointr(fd, &counter, KS_COUNTER_SIZE) != KS_COUNTER_SIZE) {
2268 counter
[all...]

Completed in 169 milliseconds

1234