Home
last modified time | relevance | path

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

12

/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/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/sys/dev/liquidio/base/
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_request_manager.c106 iq->max_count = num_descs; in lio_init_instr_queue()
122 iq->max_count); in lio_init_instr_queue()
216 for (i = 0; i < iq->max_count; i++, request_buf++) { in lio_delete_instr_queue()
256 q_size = iq->max_count * desc_size; in lio_delete_instr_queue()
363 (int32_t)(iq->max_count - 1)) { in __lio_post_command2()
370 (int32_t)(iq->max_count - 2)) in __lio_post_command2()
378 iq->max_count); in __lio_post_command2()
470 old = lio_incr_index(old, 1, iq->max_count); in lio_process_iq_request_list()
H A Dlio_droq.h282 uint32_t max_count; member
H A Dlio_ctrl.h136 (oct->instr_queue[q_no]->max_count - 2)); in lio_iq_is_full()
H A Dlio_iq.h129 uint32_t max_count; member
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()
/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/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/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/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/dev/qlnx/qlnxe/
H A Decore_rdma.c57 u32 max_count, in ecore_rdma_bmap_alloc() argument
64 bmap->max_count = max_count; in ecore_rdma_bmap_alloc()
66 if (!max_count) { in ecore_rdma_bmap_alloc()
94 if (*id_num >= bmap->max_count) in ecore_rdma_bmap_alloc_id()
109 if (id_num >= bmap->max_count) { in ecore_bmap_set_id()
129 if (id_num >= bmap->max_count) in ecore_bmap_release_id()
148 if (id_num >= bmap->max_count) { in ecore_bmap_test_id()
163 return (bmap->max_count == in ecore_bmap_is_empty()
468 last_line = bmap->max_count / (64*8); in ecore_rdma_bmap_free()
487 if ((bmap->max_count % (64*8)) && in ecore_rdma_bmap_free()
[all …]
H A Decore_rdma.h98 u32 max_count; member
240 u32 max_count,
H A Decore_cxt.c197 u32 max_count; member
1209 p_mngr->acquired[type].max_count = 0; in ecore_cid_map_free()
1216 p_mngr->acquired_vf[type][vf].max_count = 0; in ecore_cid_map_free()
1237 p_map->max_count = cid_count; in ecore_cid_map_alloc_single()
1242 type, p_map->start_cid, p_map->max_count); in ecore_cid_map_alloc_single()
1407 len = DIV_ROUND_UP(p_map->max_count, in ecore_cxt_mngr_setup()
1418 len = DIV_ROUND_UP(p_map->max_count, in ecore_cxt_mngr_setup()
2021 p_map->max_count); in _ecore_cxt_acquire_cid()
2023 if (rel_cid >= p_map->max_count) { in _ecore_cxt_acquire_cid()
2065 cid < (*pp_map)->start_cid + (*pp_map)->max_count) { in ecore_cxt_test_cid_acquired()
/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/ofed/drivers/infiniband/core/
H A Dib_uverbs_std_types_device.c62 u64 max_count = out_len / sizeof(u32); in gather_objects_handle() local
81 if (count >= max_count) in gather_objects_handle()
/freebsd/contrib/ofed/opensm/include/complib/
H A Dcl_pool.h292 IN const size_t max_count,
/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/sys/vm/
H A Dvm_extern.h95 vm_prot_t prot, vm_page_t *ma, int 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/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()

12