| /freebsd-14.2/sys/riscv/riscv/ |
| H A D | timer.c | 118 uint64_t counts; in riscv_timer_et_start() local 121 counts = ((uint32_t)et->et_frequency * first) >> 32; in riscv_timer_et_start() 122 set_timecmp(get_timecount() + counts); in riscv_timer_et_start() 276 int64_t counts, counts_per_usec; in DELAY() local 285 for (counts = 200; counts > 0; counts--) in DELAY() 305 counts = (0x80000000U / counts_per_usec) - 1; in DELAY() 307 counts = usec * counts_per_usec; in DELAY() 311 while (counts > 0) { in DELAY() 313 counts -= (int64_t)(last - first); in DELAY()
|
| /freebsd-14.2/sys/arm/arm/ |
| H A D | mpcore_timer.c | 499 int32_t counts; in arm_tmr_delay() local 512 counts = (0x80000000U / counts_per_usec) - 1; in arm_tmr_delay() 514 counts = usec * counts_per_usec; in arm_tmr_delay() 518 while (counts > 0) { in arm_tmr_delay() 520 counts -= (int32_t)(last - first); in arm_tmr_delay() 541 int32_t counts; in DELAY() local 547 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 | 344 int counts, ctrl; in arm_tmr_start() local 349 counts = ((uint32_t)et->et_frequency * first) >> 32; in arm_tmr_start() 353 set_tval(counts, sc->physical); in arm_tmr_start() 778 int32_t counts, counts_per_usec; in arm_tmr_do_delay() local 791 counts = (0x80000000U / counts_per_usec) - 1; in arm_tmr_do_delay() 793 counts = usec * counts_per_usec; in arm_tmr_do_delay() 797 while (counts > 0) { in arm_tmr_do_delay() 799 counts -= (int32_t)(last - first); in arm_tmr_do_delay() 808 int32_t counts; in DELAY() local 817 for (counts = 200; counts > 0; counts--) in DELAY()
|
| H A D | sp804.c | 317 int32_t counts; in sp804_timer_delay() local 321 counts = usec * ((sc->tc.tc_frequency / 1000000) + 1); in sp804_timer_delay() 325 while (counts > 0) { in sp804_timer_delay() 330 counts -= (int32_t)(last - first); in sp804_timer_delay() 332 counts -= (int32_t)((0xFFFFFFFF - first) + last); in sp804_timer_delay()
|
| /freebsd-14.2/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-14.2/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-14.2/sys/arm/broadcom/bcm2835/ |
| H A D | bcm2835_systimer.c | 291 int32_t counts; in bcm_systimer_delay() local 295 counts = usec * (bcm_systimer_tc.tc_frequency / 1000000) + 1; in bcm_systimer_delay() 299 while (counts > 0) { in bcm_systimer_delay() 304 counts -= (int32_t)(last - first); in bcm_systimer_delay() 306 counts -= (int32_t)((0xFFFFFFFF - first) + last); in bcm_systimer_delay()
|
| /freebsd-14.2/sys/arm/ti/am335x/ |
| H A D | am335x_dmtimer.c | 385 int32_t counts; in am335x_dmtimer_delay() local 389 counts = (usec + 1) * (sc->sysclk_freq / 1000000); in am335x_dmtimer_delay() 393 while (counts > 0) { in am335x_dmtimer_delay() 396 counts -= (int32_t)(last - first); in am335x_dmtimer_delay() 398 counts -= (int32_t)((0xFFFFFFFF - first) + last); in am335x_dmtimer_delay()
|
| /freebsd-14.2/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-14.2/lib/libc/resolv/ |
| H A D | res_mkupdate.c | 103 int section, numrrs = 0, counts[ns_s_max]; in res_nmkupdate() local 135 memset(counts, 0, sizeof counts); in res_nmkupdate() 141 counts[section]++; in res_nmkupdate() 143 if (counts[i]) in res_nmkupdate() 727 hp->qdcount = htons(counts[0]); in res_nmkupdate() 728 hp->ancount = htons(counts[1]); in res_nmkupdate() 729 hp->nscount = htons(counts[2]); in res_nmkupdate() 730 hp->arcount = htons(counts[3]); in res_nmkupdate()
|
| /freebsd-14.2/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, \ 2317 unsigned ncounts, long *counts, long sched, long chunk_size, long *istart, in KMP_EXPAND_NAME() 2334 ncounts, counts, istart, iend); in KMP_EXPAND_NAME() 2337 ncounts, counts, chunk_size, istart, iend); in KMP_EXPAND_NAME() 2340 ncounts, counts, chunk_size, istart, iend); in KMP_EXPAND_NAME() 2343 ncounts, counts, chunk_size, istart, iend); in KMP_EXPAND_NAME() 2351 unsigned ncounts, unsigned long long *counts, long sched, in KMP_EXPAND_NAME() 2369 ncounts, counts, istart, iend); in KMP_EXPAND_NAME() 2372 ncounts, counts, chunk_size, istart, iend); in KMP_EXPAND_NAME() 2375 ncounts, counts, chunk_size, istart, iend); in KMP_EXPAND_NAME() [all …]
|
| /freebsd-14.2/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_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 | err.D_AGG_FUNC.bad.d | 42 @counts["xyz"] = breakpoint();
|
| 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-14.2/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-14.2/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/ |
| H A D | err.D_AGG_SPEC.SpeculateWithCount.d | 49 @counts["speculate"] = count();
|
| /freebsd-14.2/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()
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/input/ |
| H A D | iqs269a.yaml | 164 increasing or decreasing counts, thereby permitting events to be reported 376 a decrease in counts. Node names suffixed with '-alt' instead corre- 377 spond to an increase in counts. 379 By default, the long-term average tracks an increase in counts such 380 that only events corresponding to a decrease in counts are reported 384 the counts increase or decrease such that events of either direction
|
| /freebsd-14.2/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() 5505 counts[OCS_HW_LINK_STAT_CRC_COUNT].overflow = mbox_rsp->w07of; in ocs_hw_cb_link_stat() 5513 counts[OCS_HW_LINK_STAT_RCV_EOFA_COUNT].overflow = mbox_rsp->w15of; in ocs_hw_cb_link_stat() 5514 counts[OCS_HW_LINK_STAT_RCV_EOFDTI_COUNT].overflow = mbox_rsp->w16of; in ocs_hw_cb_link_stat() 5515 counts[OCS_HW_LINK_STAT_RCV_EOFNI_COUNT].overflow = mbox_rsp->w17of; in ocs_hw_cb_link_stat() 5516 counts[OCS_HW_LINK_STAT_RCV_SOFF_COUNT].overflow = mbox_rsp->w18of; in ocs_hw_cb_link_stat() 5549 counts, in ocs_hw_cb_link_stat() 5630 ocs_hw_host_stat_counts_t counts[OCS_HW_HOST_STAT_MAX]; in ocs_hw_cb_host_stat() local 5633 ocs_memset(counts, 0, sizeof(ocs_hw_host_stat_counts_t) * in ocs_hw_cb_host_stat() [all …]
|
| /freebsd-14.2/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-14.2/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()
|