Home
last modified time | relevance | path

Searched refs:counts (Results 1 – 25 of 132) sorted by relevance

123456

/freebsd-13.1/sys/riscv/riscv/
H A Dtimer.c107 uint64_t counts; in get_counts() local
109 counts = get_cycles(); in get_counts()
111 return (counts); in get_counts()
127 uint64_t counts; in riscv_timer_start() local
131 sbi_set_timer(get_cycles() + counts); in riscv_timer_start()
267 int64_t counts, counts_per_usec; in DELAY() local
276 for (counts = 200; counts > 0; counts--) in DELAY()
296 counts = (0x80000000U / counts_per_usec) - 1; in DELAY()
298 counts = usec * counts_per_usec; in DELAY()
302 while (counts > 0) { in DELAY()
[all …]
/freebsd-13.1/sys/arm/arm/
H A Dgeneric_timer.c259 int counts, ctrl; in arm_tmr_start() local
264 counts = ((uint32_t)et->et_frequency * first) >> 32; in arm_tmr_start()
268 set_tval(counts, sc->physical); in arm_tmr_start()
539 int32_t counts, counts_per_usec; in arm_tmr_do_delay() local
552 counts = (0x80000000U / counts_per_usec) - 1; in arm_tmr_do_delay()
554 counts = usec * counts_per_usec; in arm_tmr_do_delay()
558 while (counts > 0) { in arm_tmr_do_delay()
560 counts -= (int32_t)(last - first); in arm_tmr_do_delay()
569 int32_t counts; in DELAY() local
578 for (counts = 200; counts > 0; counts--) in DELAY()
H A Dmpcore_timer.c503 int32_t counts; in arm_tmr_delay() local
516 counts = (0x80000000U / counts_per_usec) - 1; in arm_tmr_delay()
518 counts = usec * counts_per_usec; in arm_tmr_delay()
522 while (counts > 0) { in arm_tmr_delay()
524 counts -= (int32_t)(last - first); in arm_tmr_delay()
545 int32_t counts; in DELAY() local
551 for (counts = 200; counts > 0; counts--) in DELAY()
H A Dplatform.c211 int counts; in platform_delay() local
214 for (counts = plat_obj->cls->delay_count; counts > 0; counts--) in platform_delay()
/freebsd-13.1/sys/contrib/openzfs/module/zfs/
H A Dvdev_indirect_mapping.c505 uint64_t offset, uint64_t length, uint32_t *counts) in vdev_indirect_mapping_increment_obsolete_count() argument
526 VERIFY3U(counts[index] + inner_size, <=, size); in vdev_indirect_mapping_increment_obsolete_count()
527 counts[index] += inner_size; in vdev_indirect_mapping_increment_obsolete_count()
558 uint32_t *counts, space_map_t *obsolete_space_sm) in vdev_indirect_mapping_load_obsolete_spacemap() argument
561 losma.losma_counts = counts; in vdev_indirect_mapping_load_obsolete_spacemap()
578 uint32_t *counts = vmem_alloc(counts_size, KM_SLEEP); in vdev_indirect_mapping_load_obsolete_counts() local
583 counts, DMU_READ_PREFETCH)); in vdev_indirect_mapping_load_obsolete_counts()
585 bzero(counts, counts_size); in vdev_indirect_mapping_load_obsolete_counts()
587 return (counts); in vdev_indirect_mapping_load_obsolete_counts()
592 uint32_t *counts) in vdev_indirect_mapping_free_obsolete_counts() argument
[all …]
/freebsd-13.1/sys/contrib/openzfs/include/sys/
H A Dvdev_indirect_mapping.h130 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-13.1/sys/arm/broadcom/bcm2835/
H A Dbcm2835_systimer.c296 int32_t counts; in bcm_systimer_delay() local
302 counts = usec * (bcm_systimer_tc.tc_frequency / 1000000) + 1; in bcm_systimer_delay()
306 while (counts > 0) { in bcm_systimer_delay()
311 counts -= (int32_t)(last - first); in bcm_systimer_delay()
313 counts -= (int32_t)((0xFFFFFFFF - first) + last); in bcm_systimer_delay()
/freebsd-13.1/sys/arm/versatile/
H A Dsp804.c324 int32_t counts; in sp804_timer_delay() local
328 counts = usec * ((sc->tc.tc_frequency / 1000000) + 1); in sp804_timer_delay()
332 while (counts > 0) { in sp804_timer_delay()
337 counts -= (int32_t)(last - first); in sp804_timer_delay()
339 counts -= (int32_t)((0xFFFFFFFF - first) + last); in sp804_timer_delay()
/freebsd-13.1/sys/arm/ti/am335x/
H A Dam335x_dmtimer.c391 int32_t counts; in am335x_dmtimer_delay() local
395 counts = (usec + 1) * (sc->sysclk_freq / 1000000); in am335x_dmtimer_delay()
399 while (counts > 0) { in am335x_dmtimer_delay()
402 counts -= (int32_t)(last - first); in am335x_dmtimer_delay()
404 counts -= (int32_t)((0xFFFFFFFF - first) + last); in am335x_dmtimer_delay()
/freebsd-13.1/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_gsupport.cpp727 bool func(unsigned ncounts, long *counts, long chunk_sz, long *p_lb, \
2258 unsigned ncounts, long *counts, long sched, long chunk_size, long *istart, in KMP_EXPAND_NAME()
2275 ncounts, counts, istart, iend); in KMP_EXPAND_NAME()
2278 ncounts, counts, chunk_size, istart, iend); in KMP_EXPAND_NAME()
2281 ncounts, counts, chunk_size, istart, iend); in KMP_EXPAND_NAME()
2284 ncounts, counts, chunk_size, istart, iend); in KMP_EXPAND_NAME()
2292 unsigned ncounts, unsigned long long *counts, long sched, in KMP_EXPAND_NAME()
2310 ncounts, counts, istart, iend); in KMP_EXPAND_NAME()
2313 ncounts, counts, chunk_size, istart, iend); in KMP_EXPAND_NAME()
2316 ncounts, counts, chunk_size, istart, iend); in KMP_EXPAND_NAME()
[all …]
/freebsd-13.1/sys/contrib/device-tree/Bindings/mfd/
H A Dmxs-lradc.txt17 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-13.1/lib/libc/resolv/
H A Dres_mkupdate.c106 int section, numrrs = 0, counts[ns_s_max]; in res_nmkupdate() local
138 memset(counts, 0, sizeof counts); in res_nmkupdate()
144 counts[section]++; in res_nmkupdate()
146 if (counts[i]) in res_nmkupdate()
730 hp->qdcount = htons(counts[0]); in res_nmkupdate()
731 hp->ancount = htons(counts[1]); in res_nmkupdate()
732 hp->nscount = htons(counts[2]); in res_nmkupdate()
733 hp->arcount = htons(counts[3]); in res_nmkupdate()
/freebsd-13.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/
H A Derr.D_FUNC_UNDEF.badaggfunc.d41 @counts["badtest"] = foo();
H A Derr.D_AGG_MDIM.bad.d42 @counts[0][2] = count();
H A Derr.D_FUNC_IDENT.bad.d42 @counts[0][2] = tick-1();
H A Derr.D_AGG_FUNC.bad.d42 @counts["xyz"] = breakpoint();
H A Dtst.count2.d47 @counts["tick-count"] = count();
H A Dtst.goodkey.d47 @counts[execname, pid, id, tid, arg0, vtimestamp ] = count();
/freebsd-13.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/
H A Derr.D_AGG_SPEC.SpeculateWithCount.d49 @counts["speculate"] = count();
/freebsd-13.1/sys/dev/drm2/
H A Ddrm_fops.c74 for (i = 0; i < ARRAY_SIZE(dev->counts); i++) in drm_setup()
75 atomic_set(&dev->counts[i], 0); in drm_setup()
150 atomic_inc(&dev->counts[_DRM_STAT_OPENS]); in drm_open()
455 atomic_inc(&dev->counts[_DRM_STAT_CLOSES]); in drm_release()
/freebsd-13.1/sys/contrib/device-tree/Bindings/input/
H A Diqs269a.yaml164 increasing or decreasing counts, thereby permitting events to be reported
375 a decrease in counts. Node names suffixed with '-alt' instead corre-
376 spond to an increase in counts.
378 By default, the long-term average tracks an increase in counts such
379 that only events corresponding to a decrease in counts are reported
383 the counts increase or decrease such that events of either direction
/freebsd-13.1/sys/dev/ocs_fc/
H A Docs_hw.c5477 ocs_hw_link_stat_counts_t counts[OCS_HW_LINK_STAT_MAX]; in ocs_hw_cb_link_stat() local
5480 ocs_memset(counts, 0, sizeof(ocs_hw_link_stat_counts_t) * in ocs_hw_cb_link_stat()
5488 counts[OCS_HW_LINK_STAT_CRC_COUNT].overflow = mbox_rsp->w07of; in ocs_hw_cb_link_stat()
5496 counts[OCS_HW_LINK_STAT_RCV_EOFA_COUNT].overflow = mbox_rsp->w15of; in ocs_hw_cb_link_stat()
5497 counts[OCS_HW_LINK_STAT_RCV_EOFDTI_COUNT].overflow = mbox_rsp->w16of; in ocs_hw_cb_link_stat()
5498 counts[OCS_HW_LINK_STAT_RCV_EOFNI_COUNT].overflow = mbox_rsp->w17of; in ocs_hw_cb_link_stat()
5499 counts[OCS_HW_LINK_STAT_RCV_SOFF_COUNT].overflow = mbox_rsp->w18of; in ocs_hw_cb_link_stat()
5532 counts, in ocs_hw_cb_link_stat()
5613 ocs_hw_host_stat_counts_t counts[OCS_HW_HOST_STAT_MAX]; in ocs_hw_cb_host_stat() local
5616 ocs_memset(counts, 0, sizeof(ocs_hw_host_stat_counts_t) * in ocs_hw_cb_host_stat()
[all …]
/freebsd-13.1/crypto/openssl/doc/man1/
H A Dpkcs12.pod117 used and iteration counts.
253 These options affect the iteration counts on the MAC and key algorithms.
262 By default both MAC and encryption iteration counts are set to 2048, using
263 these options the MAC and encryption iteration counts can be set to 1, since
265 really have to. Most software supports both MAC and key iteration counts.
266 MSIE 4.0 doesn't support MAC iteration counts so it needs the B<-nomaciter>
272 to be needed to use MAC iterations counts but they are now used by default.
/freebsd-13.1/contrib/ntp/sntp/libevent/
H A Dbufferevent_openssl.c306 struct bio_data_counts counts; member
547 bev_ssl->counts.n_written = in init_bio_counts()
549 bev_ssl->counts.n_read = in init_bio_counts()
559 unsigned long w = num_w - bev_ssl->counts.n_written; in decrement_buckets()
560 unsigned long r = num_r - bev_ssl->counts.n_read; in decrement_buckets()
565 bev_ssl->counts.n_written = num_w; in decrement_buckets()
566 bev_ssl->counts.n_read = num_r; in decrement_buckets()
/freebsd-13.1/contrib/libevent/
H A Dbufferevent_openssl.c304 struct bio_data_counts counts; member
552 bev_ssl->counts.n_written = wbio ? BIO_number_written(wbio) : 0; in init_bio_counts()
554 bev_ssl->counts.n_read = rbio ? BIO_number_read(rbio) : 0; in init_bio_counts()
563 unsigned long w = num_w - bev_ssl->counts.n_written; in decrement_buckets()
564 unsigned long r = num_r - bev_ssl->counts.n_read; in decrement_buckets()
569 bev_ssl->counts.n_written = num_w; in decrement_buckets()
570 bev_ssl->counts.n_read = num_r; in decrement_buckets()

123456