Home
last modified time | relevance | path

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

12

/freebsd-13.1/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.h318 TransferBatch **current_batch, uptr max_count, in PopulateBatches() argument
333 if (b->Count() == max_count) { in PopulateBatches()
353 const uptr max_count = TransferBatch::MaxCached(size); in PopulateFreeList() local
354 DCHECK_GT(max_count, 0); in PopulateFreeList()
362 if (UNLIKELY(!PopulateBatches(c, sci, class_id, &b, max_count, in PopulateFreeList()
369 if (UNLIKELY(!PopulateBatches(c, sci, class_id, &b, max_count, in PopulateFreeList()
/freebsd-13.1/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-13.1/sys/dev/liquidio/base/
H A Dlio_droq.c164 for (i = 0; i < droq->max_count; i++) { in lio_droq_destroy_ring_buffers()
182 for (i = 0; i < droq->max_count; i++) { in lio_droq_setup_ring_buffers()
287 droq->max_count = c_num_descs; in lio_init_droq()
301 size = droq->max_count * LIO_DROQ_RECVBUF_SIZE; in lio_init_droq()
400 idx = lio_incr_index(idx, 1, droq->max_count); in lio_create_recv_info()
433 droq->max_count); in lio_droq_refill_pullup_descs()
500 droq->max_count); in lio_droq_refill()
583 droq->max_count); in lio_droq_drop_packets()
630 droq->max_count); in lio_droq_fast_process_packets()
643 1, droq->max_count); in lio_droq_fast_process_packets()
[all …]
H A Dlio_request_manager.c107 iq->max_count = num_descs; in lio_init_instr_queue()
123 iq->max_count); in lio_init_instr_queue()
217 for (i = 0; i < iq->max_count; i++, request_buf++) { in lio_delete_instr_queue()
257 q_size = iq->max_count * desc_size; in lio_delete_instr_queue()
364 (int32_t)(iq->max_count - 1)) { in __lio_post_command2()
371 (int32_t)(iq->max_count - 2)) in __lio_post_command2()
379 iq->max_count); in __lio_post_command2()
473 old = lio_incr_index(old, 1, iq->max_count); in lio_process_iq_request_list()
H A Dlio_droq.h283 uint32_t max_count; member
H A Dlio_ctrl.h137 (oct->instr_queue[q_no]->max_count - 2)); in lio_iq_is_full()
H A Dlio_iq.h130 uint32_t max_count; member
H A Dcn23xx_pf_device.c418 lio_write_csr32(oct, LIO_CN23XX_SLI_IQ_SIZE(iq_no), iq->max_count); in lio_cn23xx_pf_setup_iq_regs()
463 lio_write_csr32(oct, LIO_CN23XX_SLI_OQ_SIZE(oq_no), droq->max_count); in lio_cn23xx_pf_setup_oq_regs()
801 iq->max_count; in lio_cn23xx_pf_update_read_index()
/freebsd-13.1/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-13.1/contrib/expat/tests/
H A Dstructdata.c70 storage->max_count = 0; in StructData_Init()
81 if (storage->count == storage->max_count) { in StructData_AddItem()
84 storage->max_count += STRUCT_EXTENSION_COUNT; in StructData_AddItem()
86 storage->max_count * sizeof(StructDataEntry)); in StructData_AddItem()
H A Dstructdata.h51 int max_count; /* Number of StructDataEntry items in `entries` */ member
/freebsd-13.1/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-13.1/sys/dev/qlnx/qlnxe/
H A Decore_rdma.c59 u32 max_count, in ecore_rdma_bmap_alloc() argument
66 bmap->max_count = max_count; in ecore_rdma_bmap_alloc()
68 if (!max_count) { in ecore_rdma_bmap_alloc()
96 if (*id_num >= bmap->max_count) in ecore_rdma_bmap_alloc_id()
111 if (id_num >= bmap->max_count) { in ecore_bmap_set_id()
131 if (id_num >= bmap->max_count) in ecore_bmap_release_id()
150 if (id_num >= bmap->max_count) { in ecore_bmap_test_id()
165 return (bmap->max_count == in ecore_bmap_is_empty()
470 last_line = bmap->max_count / (64*8); in ecore_rdma_bmap_free()
489 if ((bmap->max_count % (64*8)) && in ecore_rdma_bmap_free()
[all …]
H A Decore_rdma.h100 u32 max_count; member
242 u32 max_count,
H A Decore_cxt.c199 u32 max_count; member
1211 p_mngr->acquired[type].max_count = 0; in ecore_cid_map_free()
1218 p_mngr->acquired_vf[type][vf].max_count = 0; in ecore_cid_map_free()
1239 p_map->max_count = cid_count; in ecore_cid_map_alloc_single()
1244 type, p_map->start_cid, p_map->max_count); in ecore_cid_map_alloc_single()
1409 len = DIV_ROUND_UP(p_map->max_count, in ecore_cxt_mngr_setup()
1420 len = DIV_ROUND_UP(p_map->max_count, in ecore_cxt_mngr_setup()
2023 p_map->max_count); in _ecore_cxt_acquire_cid()
2025 if (rel_cid >= p_map->max_count) { in _ecore_cxt_acquire_cid()
2067 cid < (*pp_map)->start_cid + (*pp_map)->max_count) { in ecore_cxt_test_cid_acquired()
/freebsd-13.1/sys/contrib/zlib/
H A Dtrees.c713 int max_count = 7; /* max repeat count */ local
716 if (nextlen == 0) max_count = 138, min_count = 3;
721 if (++count < max_count && curlen == nextlen) {
735 max_count = 138, min_count = 3;
737 max_count = 6, min_count = 3;
739 max_count = 7, min_count = 4;
758 int max_count = 7; /* max repeat count */ local
762 if (nextlen == 0) max_count = 138, min_count = 3;
786 max_count = 138, min_count = 3;
788 max_count = 6, min_count = 3;
[all …]
/freebsd-13.1/contrib/ofed/opensm/include/complib/
H A Dcl_pool.h292 IN const size_t max_count,
/freebsd-13.1/contrib/subversion/subversion/libsvn_fs_x/
H A Dlow_level.h179 int max_count,
H A Dlow_level.c977 int max_count, in svn_fs_x__read_changes() argument
994 for (; max_count > 0; --max_count) in svn_fs_x__read_changes()
/freebsd-13.1/contrib/subversion/subversion/libsvn_fs_fs/
H A Dlow_level.h106 int max_count,
H A Dlow_level.c485 int max_count, in svn_fs_fs__read_changes() argument
502 for (; max_count > 0; --max_count) in svn_fs_fs__read_changes()
/freebsd-13.1/sys/vm/
H A Dvm_extern.h97 vm_prot_t prot, vm_page_t *ma, int max_count);
/freebsd-13.1/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-13.1/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