| /src/sys/riscv/riscv/ |
| H A D | timer.c | 117 uint64_t counts; in riscv_timer_et_start() local 120 counts = ((uint32_t)et->et_frequency * first) >> 32; in riscv_timer_et_start() 121 set_timecmp(get_timecount() + counts); in riscv_timer_et_start() 280 int64_t counts, counts_per_usec; in DELAY() local 289 for (counts = 200; counts > 0; counts--) in DELAY() 309 counts = (0x80000000U / counts_per_usec) - 1; in DELAY() 311 counts = usec * counts_per_usec; in DELAY() 315 while (counts > 0) { in DELAY() 317 counts -= (int64_t)(last - first); in DELAY()
|
| /src/sys/arm/arm/ |
| H A D | generic_timer.c | 375 int counts, ctrl; in arm_tmr_start() local 380 counts = ((uint32_t)et->et_frequency * first) >> 32; in arm_tmr_start() 384 set_tval(counts, sc->physical_sys); in arm_tmr_start() 844 int64_t counts, counts_per_usec; in arm_tmr_get_counts() local 856 counts = (0x80000000U / counts_per_usec) - 1; in arm_tmr_get_counts() 858 counts = usec * counts_per_usec; in arm_tmr_get_counts() 860 return counts; in arm_tmr_get_counts() 867 int64_t counts; in arm_tmr_do_delay() local 873 counts = arm_tmr_get_counts(usec); in arm_tmr_do_delay() 876 end = first + counts; in arm_tmr_do_delay() [all …]
|
| H A D | mpcore_timer.c | 498 int32_t counts; in arm_tmr_delay() local 511 counts = (0x80000000U / counts_per_usec) - 1; in arm_tmr_delay() 513 counts = usec * counts_per_usec; in arm_tmr_delay() 517 while (counts > 0) { in arm_tmr_delay() 519 counts -= (int32_t)(last - first); in arm_tmr_delay() 540 int32_t counts; in DELAY() local 546 for (counts = 200; counts > 0; counts--) in DELAY()
|
| H A D | platform.c | 209 int counts; in platform_delay() local 212 for (counts = plat_obj->cls->delay_count; counts > 0; counts--) in platform_delay()
|
| H A D | sp804.c | 316 int32_t counts; in sp804_timer_delay() local 320 counts = usec * ((sc->tc.tc_frequency / 1000000) + 1); in sp804_timer_delay() 324 while (counts > 0) { in sp804_timer_delay() 329 counts -= (int32_t)(last - first); in sp804_timer_delay() 331 counts -= (int32_t)((0xFFFFFFFF - first) + last); in sp804_timer_delay()
|
| /src/sys/contrib/openzfs/module/zfs/ |
| H A D | vdev_indirect_mapping.c | 509 uint64_t offset, uint64_t length, uint32_t *counts) in vdev_indirect_mapping_increment_obsolete_count() argument 530 VERIFY3U(counts[index] + inner_size, <=, size); in vdev_indirect_mapping_increment_obsolete_count() 531 counts[index] += inner_size; in vdev_indirect_mapping_increment_obsolete_count() 562 uint32_t *counts, space_map_t *obsolete_space_sm) in vdev_indirect_mapping_load_obsolete_spacemap() argument 565 losma.losma_counts = counts; in vdev_indirect_mapping_load_obsolete_spacemap() 582 uint32_t *counts = vmem_alloc(counts_size, KM_SLEEP); in vdev_indirect_mapping_load_obsolete_counts() local 587 counts, DMU_READ_PREFETCH)); in vdev_indirect_mapping_load_obsolete_counts() 589 memset(counts, 0, counts_size); in vdev_indirect_mapping_load_obsolete_counts() 591 return (counts); in vdev_indirect_mapping_load_obsolete_counts() 596 uint32_t *counts) in vdev_indirect_mapping_free_obsolete_counts() argument [all …]
|
| /src/sys/contrib/openzfs/include/sys/ |
| H A D | vdev_indirect_mapping.h | 131 uint32_t *counts, space_map_t *obsolete_space_sm); 134 uint64_t offset, uint64_t asize, uint32_t *counts); 136 vdev_indirect_mapping_t *vim, uint32_t *counts);
|
| /src/sys/arm/ti/am335x/ |
| H A D | am335x_dmtimer.c | 384 int32_t counts; in am335x_dmtimer_delay() local 388 counts = (usec + 1) * (sc->sysclk_freq / 1000000); in am335x_dmtimer_delay() 392 while (counts > 0) { in am335x_dmtimer_delay() 395 counts -= (int32_t)(last - first); in am335x_dmtimer_delay() 397 counts -= (int32_t)((0xFFFFFFFF - first) + last); in am335x_dmtimer_delay()
|
| /src/crypto/openssl/test/recipes/70-test_quic_multistream_data/ |
| H A D | verify-qlog.py | 149 counts = frame_type_counts[event['name']] 151 counts.setdefault(frame_type, 0) 152 counts[frame_type] += 1
|
| /src/lib/libc/resolv/ |
| H A D | res_mkupdate.c | 96 int section, numrrs = 0, counts[ns_s_max]; in res_nmkupdate() local 128 memset(counts, 0, sizeof counts); in res_nmkupdate() 134 counts[section]++; in res_nmkupdate() 136 if (counts[i]) in res_nmkupdate() 720 hp->qdcount = htons(counts[0]); in res_nmkupdate() 721 hp->ancount = htons(counts[1]); in res_nmkupdate() 722 hp->nscount = htons(counts[2]); in res_nmkupdate() 723 hp->arcount = htons(counts[3]); in res_nmkupdate()
|
| /src/sys/contrib/device-tree/Bindings/mfd/ |
| H A D | mxs-lradc.txt | 17 2 ... 2048. It is used if 'fsl,ave-ctrl' > 1, counts at 20 1 ... 2047. It counts at 2 kHz and its default is
|
| /src/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_gsupport.cpp | 757 bool func(unsigned ncounts, long *counts, long chunk_sz, long *p_lb, \ 767 dims[i].up = counts[i] - 1; \ 772 ub = counts[0]; \ 804 int func(unsigned ncounts, long *counts, long *p_lb, long *p_ub) { \ 814 dims[i].up = counts[i] - 1; \ 819 ub = counts[0]; \ 1046 int func(unsigned ncounts, unsigned long long *counts, \ 1057 dims[i].up = counts[i] - 1; \ 1062 ub = counts[0]; \ 1095 int func(unsigned ncounts, unsigned long long *counts, \ [all …]
|
| /src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/ |
| H A D | err.D_FUNC_UNDEF.badaggfunc.d | 41 @counts["badtest"] = foo();
|
| H A D | err.D_FUNC_IDENT.bad.d | 42 @counts[0][2] = tick-1();
|
| H A D | err.D_AGG_FUNC.bad.d | 42 @counts["xyz"] = breakpoint();
|
| H A D | err.D_AGG_MDIM.bad.d | 42 @counts[0][2] = count();
|
| H A D | tst.count2.d | 47 @counts["tick-count"] = count();
|
| H A D | tst.goodkey.d | 47 @counts[execname, pid, id, tid, arg0, vtimestamp ] = count();
|
| /src/crypto/openssl/doc/internal/man3/ |
| H A D | ossl_cmp_ctx_set1_caPubs.pod | 35 The reference counts of those certificates handled successfully are increased. 51 The reference counts of those certificates handled successfully are increased.
|
| /src/sys/dev/drm2/ |
| H A D | drm_fops.c | 72 for (i = 0; i < ARRAY_SIZE(dev->counts); i++) in drm_setup() 73 atomic_set(&dev->counts[i], 0); in drm_setup() 148 atomic_inc(&dev->counts[_DRM_STAT_OPENS]); in drm_open() 449 atomic_inc(&dev->counts[_DRM_STAT_CLOSES]); in drm_release()
|
| H A D | drm_lock.c | 90 atomic_inc(&dev->counts[_DRM_STAT_LOCKS]); in drm_lock() 161 atomic_inc(&dev->counts[_DRM_STAT_UNLOCKS]); in drm_unlock()
|
| /src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/ |
| H A D | err.D_AGG_SPEC.SpeculateWithCount.d | 49 @counts["speculate"] = count();
|
| /src/sys/dev/ocs_fc/ |
| H A D | ocs_hw.c | 5494 ocs_hw_link_stat_counts_t counts[OCS_HW_LINK_STAT_MAX]; in ocs_hw_cb_link_stat() local 5497 ocs_memset(counts, 0, sizeof(ocs_hw_link_stat_counts_t) * in ocs_hw_cb_link_stat() 5500 counts[OCS_HW_LINK_STAT_LINK_FAILURE_COUNT].overflow = mbox_rsp->w02of; in ocs_hw_cb_link_stat() 5501 counts[OCS_HW_LINK_STAT_LOSS_OF_SYNC_COUNT].overflow = mbox_rsp->w03of; in ocs_hw_cb_link_stat() 5502 counts[OCS_HW_LINK_STAT_LOSS_OF_SIGNAL_COUNT].overflow = mbox_rsp->w04of; in ocs_hw_cb_link_stat() 5503 counts[OCS_HW_LINK_STAT_PRIMITIVE_SEQ_COUNT].overflow = mbox_rsp->w05of; in ocs_hw_cb_link_stat() 5504 counts[OCS_HW_LINK_STAT_INVALID_XMIT_WORD_COUNT].overflow = mbox_rsp->w06of; in ocs_hw_cb_link_stat() 5505 counts[OCS_HW_LINK_STAT_CRC_COUNT].overflow = mbox_rsp->w07of; in ocs_hw_cb_link_stat() 5506 counts[OCS_HW_LINK_STAT_PRIMITIVE_SEQ_TIMEOUT_COUNT].overflow = mbox_rsp->w08of; in ocs_hw_cb_link_stat() 5507 counts[OCS_HW_LINK_STAT_ELASTIC_BUFFER_OVERRUN_COUNT].overflow = mbox_rsp->w09of; in ocs_hw_cb_link_stat() [all …]
|
| /src/contrib/ntp/sntp/libevent/ |
| H A D | bufferevent_openssl.c | 305 struct bio_data_counts counts; member 556 bev_ssl->counts.n_written = wbio ? BIO_number_written(wbio) : 0; in init_bio_counts() 558 bev_ssl->counts.n_read = rbio ? BIO_number_read(rbio) : 0; in init_bio_counts() 567 unsigned long w = num_w - bev_ssl->counts.n_written; in decrement_buckets() 568 unsigned long r = num_r - bev_ssl->counts.n_read; in decrement_buckets() 573 bev_ssl->counts.n_written = num_w; in decrement_buckets() 574 bev_ssl->counts.n_read = num_r; in decrement_buckets()
|
| /src/contrib/libevent/ |
| H A D | bufferevent_openssl.c | 305 struct bio_data_counts counts; member 556 bev_ssl->counts.n_written = wbio ? BIO_number_written(wbio) : 0; in init_bio_counts() 558 bev_ssl->counts.n_read = rbio ? BIO_number_read(rbio) : 0; in init_bio_counts() 567 unsigned long w = num_w - bev_ssl->counts.n_written; in decrement_buckets() 568 unsigned long r = num_r - bev_ssl->counts.n_read; in decrement_buckets() 573 bev_ssl->counts.n_written = num_w; in decrement_buckets() 574 bev_ssl->counts.n_read = num_r; in decrement_buckets()
|