Home
last modified time | relevance | path

Searched refs:max_count (Results 1 – 25 of 38) sorted by path

12

/freebsd/contrib/elftoolchain/libdwarf/
H A Ddwarf_macinfo.c50 Dwarf_Unsigned max_count, Dwarf_Signed *entry_cnt, in dwarf_get_macro_details() argument
75 if (max_count != 0 && cnt > max_count) in dwarf_get_macro_details()
76 cnt = max_count; in dwarf_get_macro_details()
/freebsd/contrib/expat/tests/
H A Dstructdata.c75 storage->max_count = 0; in StructData_Init()
86 if (storage->count == storage->max_count) { in StructData_AddItem()
89 storage->max_count += STRUCT_EXTENSION_COUNT; in StructData_AddItem()
91 storage->entries, storage->max_count * sizeof(StructDataEntry)); in StructData_AddItem()
H A Dstructdata.h51 int max_count; /* Number of StructDataEntry items in `entries` */ member
/freebsd/contrib/file/src/
H A Dapprentice.c93 uint32_t max_count; member
2060 if (me->cont_count == me->max_count) { in parse()
2062 size_t cnt = me->max_count + ALLOC_CHUNK; in parse()
2069 me->max_count = CAST(uint32_t, cnt); in parse()
2083 me->max_count = ALLOC_CHUNK; in parse()
/freebsd/contrib/googletest/googletest/src/
H A Dgtest-port.cc859 const size_t max_count = (repeat == '?') ? 1 : static_cast<size_t>(-1) - 1; in MatchRepetitionAndRegexAtHead() local
863 for (size_t i = 0; i <= max_count; ++i) { in MatchRepetitionAndRegexAtHead()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_local_cache.h56 if (UNLIKELY(c->count == c->max_count)) in Deallocate()
80 u32 max_count; member
88 if (LIKELY(c->max_count)) in InitCache()
96 DCHECK_NE(c->max_count, 0UL); in InitCache()
102 const uptr num_requested_chunks = c->max_count / 2; in Refill()
181 if (UNLIKELY(c->count == c->max_count)) in Deallocate()
208 uptr max_count; member
217 if (LIKELY(c->max_count)) in InitCache()
224 c->max_count = 2 * max_cached; in InitCache()
238 DCHECK_NE(c->max_count, 0UL); in InitCache()
[all …]
H A Dsanitizer_allocator_primary32.h317 TransferBatch **current_batch, uptr max_count, in PopulateBatches() argument
332 if (b->Count() == max_count) { in PopulateBatches()
352 const uptr max_count = TransferBatch::MaxCached(size); in PopulateFreeList() local
353 DCHECK_GT(max_count, 0); in PopulateFreeList()
361 if (UNLIKELY(!PopulateBatches(c, sci, class_id, &b, max_count, in PopulateFreeList()
368 if (UNLIKELY(!PopulateBatches(c, sci, class_id, &b, max_count, in PopulateFreeList()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DBroadcaster.cpp56 size_t max_count = m_listeners.size(); in GetListeners() local
58 max_count++; in GetListeners()
59 listeners.reserve(max_count); in GetListeners()
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_affinity.cpp1094 int max_count; in filter_hw_subset() local
1123 max_count = get_ratio(level); in filter_hw_subset()
1124 if (max_count < 0 || in filter_hw_subset()
1125 (num != kmp_hw_subset_t::USE_ALL && num + offset > max_count)) { in filter_hw_subset()
1198 max_count = get_ncores_with_attr_per(item.attr[j], level_above); in filter_hw_subset()
1199 if (max_count <= 0 || in filter_hw_subset()
1200 (num != kmp_hw_subset_t::USE_ALL && num + offset > max_count)) { in filter_hw_subset()
/freebsd/contrib/ntp/ntpd/
H A Drefclock_oncore.c325 u_char max_count; /* count for message statistics */ member
4129 instance->max_count++; in oncore_log_f()
4130 if (instance->max_count % 100 == 0) in oncore_log_f()
/freebsd/contrib/ofed/libibverbs/
H A Dneigh.c283 uint64_t max_count = UDP_SOCKET_MAX_SENDTO; in try_send_to() local
292 } while (-1 == err && EADDRNOTAVAIL == errno && --max_count); in try_send_to()
/freebsd/contrib/ofed/opensm/include/complib/
H A Dcl_pool.h292 IN const size_t max_count,
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_console.c1053 uint32_t max_count = 0; in switchbalance_check() local
1111 if (count[port_num] > max_count) in switchbalance_check()
1112 max_count = count[port_num]; in switchbalance_check()
1115 if (verbose || ((max_count - min_count) > 1)) { in switchbalance_check()
1116 if ((max_count - min_count) > 1) in switchbalance_check()
/freebsd/contrib/wpa/wpa_supplicant/
H A Dblacklist.c126 int max_count = 0; in wpa_blacklist_clear() local
131 if (e->count > max_count) in wpa_blacklist_clear()
132 max_count = e->count; in wpa_blacklist_clear()
140 wpa_s->extra_blacklist_count += max_count; in wpa_blacklist_clear()
/freebsd/crypto/heimdal/lib/sl/
H A Dsl.c213 int max_count; member
/freebsd/sys/arm64/vmm/io/
H A Dvgic_v3.c564 int16_t max_count; in vgic_v3_max_cpu_count() local
567 max_count = vm_get_maxcpus(hyp->vm); in vgic_v3_max_cpu_count()
571 return (max_count); in vgic_v3_max_cpu_count()
580 if (count > max_count) in vgic_v3_max_cpu_count()
581 return (max_count); in vgic_v3_max_cpu_count()
/freebsd/sys/contrib/dev/athk/
H A Ddfs_pri_detector.c219 if (pde->count >= pde->max_count) in pulse_queue_enqueue()
306 u32 max_count = 0; in pseq_handler_add_to_existing_seqs() local
326 if (max_count < ps->count) in pseq_handler_add_to_existing_seqs()
327 max_count = ps->count; in pseq_handler_add_to_existing_seqs()
332 return max_count; in pseq_handler_add_to_existing_seqs()
431 de->max_count = rs->ppb * 2; in pri_detector_init()
H A Ddfs_pri_detector.h72 u32 max_count; member
/freebsd/sys/contrib/libfdt/
H A Dlibfdt_env.h136 static inline size_t fdt_strnlen(const char *string, size_t max_count) in fdt_strnlen() argument
138 const char *p = memchr(string, 0, max_count); in fdt_strnlen()
139 return p ? p - string : max_count; in fdt_strnlen()
/freebsd/sys/contrib/zlib/
H A Dtrees.c716 int max_count = 7; /* max repeat count */ in scan_tree() local
719 if (nextlen == 0) max_count = 138, min_count = 3; in scan_tree()
724 if (++count < max_count && curlen == nextlen) { in scan_tree()
738 max_count = 138, min_count = 3; in scan_tree()
740 max_count = 6, min_count = 3; in scan_tree()
742 max_count = 7, min_count = 4; in scan_tree()
757 int max_count = 7; /* max repeat count */ in send_tree() local
761 if (nextlen == 0) max_count = 138, min_count = 3; in send_tree()
785 max_count = 138, min_count = 3; in send_tree()
787 max_count = 6, min_count = 3; in send_tree()
[all …]
/freebsd/sys/dev/liquidio/base/
H A Dcn23xx_pf_device.c417 lio_write_csr32(oct, LIO_CN23XX_SLI_IQ_SIZE(iq_no), iq->max_count); in lio_cn23xx_pf_setup_iq_regs()
462 lio_write_csr32(oct, LIO_CN23XX_SLI_OQ_SIZE(oq_no), droq->max_count); in lio_cn23xx_pf_setup_oq_regs()
800 iq->max_count; in lio_cn23xx_pf_update_read_index()
H A Dlio_ctrl.h136 (oct->instr_queue[q_no]->max_count - 2)); in lio_iq_is_full()
H A Dlio_device.c852 return (oct->instr_queue[q_no]->max_count); in lio_get_tx_qsize()
864 return (oct->droq[q_no]->max_count); in lio_get_rx_qsize()
H A Dlio_droq.c163 for (i = 0; i < droq->max_count; i++) { in lio_droq_destroy_ring_buffers()
181 for (i = 0; i < droq->max_count; i++) { in lio_droq_setup_ring_buffers()
286 droq->max_count = c_num_descs; in lio_init_droq()
300 size = droq->max_count * LIO_DROQ_RECVBUF_SIZE; in lio_init_droq()
399 idx = lio_incr_index(idx, 1, droq->max_count); in lio_create_recv_info()
432 droq->max_count); in lio_droq_refill_pullup_descs()
499 droq->max_count); in lio_droq_refill()
582 droq->max_count); in lio_droq_drop_packets()
629 droq->max_count); in lio_droq_fast_process_packets()
642 1, droq->max_count); in lio_droq_fast_process_packets()
[all …]
H A Dlio_droq.h282 uint32_t max_count; member

12