/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_allocator_local_cache.h | 56 if (UNLIKELY(c->count == c->max_count)) in Deallocate() 80 u32 max_count; member 88 if (LIKELY(c->max_count)) in InitCache() 93 c->max_count = 2 * SizeClassMap::MaxCachedHint(size); in InitCache() 96 DCHECK_NE(c->max_count, 0UL); in InitCache() 102 const uptr num_requested_chunks = c->max_count / 2; in Refill() 113 Drain(&memory_mapper, c, allocator, class_id, c->max_count / 2); in DrainHalfMax() 181 if (UNLIKELY(c->count == c->max_count)) in Deallocate() 208 uptr max_count; member 217 if (LIKELY(c->max_count)) in InitCache() [all …]
|
H A D | sanitizer_allocator_primary32.h | 317 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/sys/dev/liquidio/base/ |
H A D | lio_droq.c | 144 droq->max_empty_descs = droq->max_count - droq->max_empty_descs; in lio_droq_compute_max_packet_bufs() 163 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() 223 lio_dma_free((droq->max_count * LIO_DROQ_DESC_SIZE), in lio_delete_droq() 286 droq->max_count = c_num_descs; in lio_init_droq() 289 desc_ring_size = droq->max_count * LIO_DROQ_DESC_SIZE; in lio_init_droq() 298 lio_dev_dbg(oct, "droq[%d]: num_desc: %d\n", q_no, droq->max_count); 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() [all …]
|
H A D | lio_request_manager.c | 106 iq->max_count = num_descs; in lio_init_instr_queue() 122 iq->max_count); in lio_init_instr_queue() 207 for (i = 0; i < iq->max_count; i++, request_buf++) { in lio_delete_instr_queue() 247 q_size = iq->max_count * desc_size; in lio_delete_instr_queue() 354 (int32_t)(iq->max_count - 1)) { in __lio_post_command2() 361 (int32_t)(iq->max_count - 2)) in __lio_post_command2() 369 iq->max_count); in __lio_post_command2() 461 old = lio_incr_index(old, 1, iq->max_count); in lio_process_iq_request_list()
|
H A D | lio_droq.h | 282 uint32_t max_count; member
|
H A D | lio_ctrl.h | 136 (oct->instr_queue[q_no]->max_count - 2)); in lio_iq_is_full()
|
H A D | cn23xx_pf_device.c | 417 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 D | lio_iq.h | 129 uint32_t max_count; member
|
/freebsd/contrib/elftoolchain/libdwarf/ |
H A D | dwarf_macinfo.c | 50 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/wpa/wpa_supplicant/ |
H A D | blacklist.c | 126 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 D | structdata.c | 75 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 D | structdata.h | 51 int max_count; /* Number of StructDataEntry items in `entries` */ member
|
/freebsd/sys/contrib/libfdt/ |
H A D | libfdt_env.h | 136 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 D | dfs_pri_detector.c | 219 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 D | dfs_pri_detector.h | 72 u32 max_count; member
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | ecore_rdma.c | 57 u32 max_count, in ecore_rdma_bmap_alloc() argument 62 DP_VERBOSE(p_hwfn, ECORE_MSG_RDMA, "max_count = %08x\n", max_count); in ecore_rdma_bmap_alloc() 64 bmap->max_count = max_count; in ecore_rdma_bmap_alloc() 66 if (!max_count) { in ecore_rdma_bmap_alloc() 72 DIV_ROUND_UP(max_count, (sizeof(unsigned long) * 8)); in ecore_rdma_bmap_alloc() 93 *id_num = OSAL_FIND_FIRST_ZERO_BIT(bmap->bitmap, bmap->max_count); in ecore_rdma_bmap_alloc_id() 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() 112 bmap->name, id_num, bmap->max_count); in ecore_bmap_set_id() 129 if (id_num >= bmap->max_count) in ecore_bmap_release_id() [all …]
|
H A D | ecore_rdma.h | 98 u32 max_count; member 240 u32 max_count,
|
H A D | ecore_cxt.c | 197 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 D | trees.c | 716 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() 765 if (++count < max_count && curlen == nextlen) { in send_tree() 785 max_count = 138, min_count = 3; in send_tree() [all …]
|
/freebsd/sys/riscv/vmm/ |
H A D | vmm_aplic.c | 584 int16_t max_count; in aplic_max_cpu_count() local 586 max_count = vm_get_maxcpus(hyp->vm); in aplic_max_cpu_count() 588 return (max_count); in aplic_max_cpu_count()
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_uverbs_std_types_device.c | 62 u64 max_count = out_len / sizeof(u32); in gather_objects_handle() local 81 if (count >= max_count) in gather_objects_handle()
|
/freebsd/contrib/llvm-project/lldb/source/Utility/ |
H A D | Broadcaster.cpp | 56 size_t max_count = m_listeners.size(); in GetListeners() local 58 max_count++; in GetListeners() 59 listeners.reserve(max_count); in GetListeners()
|
/freebsd/contrib/ofed/opensm/include/complib/ |
H A D | cl_pool.h | 292 IN const size_t max_count,
|
/freebsd/sys/vm/ |
H A D | vm_extern.h | 95 vm_prot_t prot, vm_page_t *ma, int max_count);
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_console.c | 1053 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()
|