/freebsd/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()
|
/freebsd/sys/arm/arm/ |
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 | generic_timer.c | 348 int counts, ctrl; in arm_tmr_start() local 353 counts = ((uint32_t)et->et_frequency * first) >> 32; in arm_tmr_start() 357 set_tval(counts, sc->physical_sys); in arm_tmr_start() 812 int32_t counts, counts_per_usec; in arm_tmr_do_delay() local 825 counts = (0x80000000U / counts_per_usec) - 1; in arm_tmr_do_delay() 827 counts = usec * counts_per_usec; in arm_tmr_do_delay() 831 while (counts > 0) { in arm_tmr_do_delay() 833 counts -= (int32_t)(last - first); in arm_tmr_do_delay() 842 int32_t counts; in DELAY() local 851 for (counts = 200; counts > 0; counts--) in 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()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | vdev_indirect_mapping.c | 507 uint64_t offset, uint64_t length, uint32_t *counts) in vdev_indirect_mapping_increment_obsolete_count() argument 528 VERIFY3U(counts[index] + inner_size, <=, size); in vdev_indirect_mapping_increment_obsolete_count() 529 counts[index] += inner_size; in vdev_indirect_mapping_increment_obsolete_count() 560 uint32_t *counts, space_map_t *obsolete_space_sm) in vdev_indirect_mapping_load_obsolete_spacemap() argument 563 losma.losma_counts = counts; in vdev_indirect_mapping_load_obsolete_spacemap() 580 uint32_t *counts = vmem_alloc(counts_size, KM_SLEEP); in vdev_indirect_mapping_load_obsolete_counts() local 585 counts, DMU_READ_PREFETCH)); in vdev_indirect_mapping_load_obsolete_counts() 587 memset(counts, 0, counts_size); in vdev_indirect_mapping_load_obsolete_counts() 589 return (counts); in vdev_indirect_mapping_load_obsolete_counts() 594 uint32_t *counts) in vdev_indirect_mapping_free_obsolete_counts() argument [all …]
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | vdev_indirect_mapping.h | 130 uint32_t *counts, space_map_t *obsolete_space_sm); 133 uint64_t offset, uint64_t asize, uint32_t *counts); 135 vdev_indirect_mapping_t *vim, uint32_t *counts);
|
/freebsd/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()
|
/freebsd/lib/libc/resolv/ |
H A D | res_mkupdate.c | 100 int section, numrrs = 0, counts[ns_s_max]; in res_nmkupdate() local 132 memset(counts, 0, sizeof counts); in res_nmkupdate() 138 counts[section]++; in res_nmkupdate() 140 if (counts[i]) in res_nmkupdate() 724 hp->qdcount = htons(counts[0]); in res_nmkupdate() 725 hp->ancount = htons(counts[1]); in res_nmkupdate() 726 hp->nscount = htons(counts[2]); in res_nmkupdate() 727 hp->arcount = htons(counts[3]); in res_nmkupdate()
|
/freebsd/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 …]
|
/freebsd/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
|
/freebsd/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.
|
/freebsd/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_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 | err.D_FUNC_IDENT.bad.d | 42 @counts[0][2] = tick-1();
|
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();
|
/freebsd/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()
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/ |
H A D | err.D_AGG_SPEC.SpeculateWithCount.d | 49 @counts["speculate"] = count();
|
/freebsd/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 …]
|
/freebsd/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()
|
/freebsd/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()
|
/freebsd/contrib/ntp/ntpq/ |
H A D | ntpq.c | 937 u_short counts[MAXFRAGS+1]; in getresponse() 954 memset(counts , 0, sizeof(counts )); in getresponse() 1044 counts[f], in getresponse() 1045 counts[f]); in getresponse() 1248 count, offset, counts[f], offsets[f])); in getresponse() 1252 if (f > 0 && (offsets[f-1] + counts[f-1]) > offset) { in getresponse() 1254 offset, counts[f-1], offsets[f-1])); in getresponse() 1266 counts[ff] = counts[f in getresponse() 941 u_short counts[MAXFRAGS+1]; getresponse() local [all...] |