Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_local_cache.h63 if (UNLIKELY(c->count == c->max_count)) in Deallocate()
64 Drain(c, allocator, class_id, c->max_count / 2); in Deallocate()
87 u32 max_count; member
95 if (LIKELY(c->max_count)) in InitCache()
103 DCHECK_NE(c->max_count, 0UL); in InitCache()
109 const uptr num_requested_chunks = c->max_count / 2; in Refill()
182 if (UNLIKELY(c->count == c->max_count)) in Deallocate()
209 uptr max_count; member
218 if (LIKELY(c->max_count)) in InitCache()
225 c->max_count = 2 * max_cached; in InitCache()
[all …]
H A Dsanitizer_allocator_primary32.h305 TransferBatch **current_batch, uptr max_count, in PopulateBatches() argument
320 if (b->Count() == max_count) { in PopulateBatches()
340 const uptr max_count = TransferBatch::MaxCached(size); in PopulateFreeList() local
341 DCHECK_GT(max_count, 0); in PopulateFreeList()
349 if (UNLIKELY(!PopulateBatches(c, sci, class_id, &b, max_count, in PopulateFreeList()
356 if (UNLIKELY(!PopulateBatches(c, sci, class_id, &b, max_count, in PopulateFreeList()
/freebsd-12.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 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()
H A Dlio_iq.h130 uint32_t max_count; member
/freebsd-12.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-12.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-12.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-12.1/contrib/libstdc++/include/ext/pb_ds/detail/list_update_policy/
H A Dcounter_lu_policy_imp.hpp51 { return (base_type::operator()(max_count)); } in operator ()()
57 { return (base_type::operator()(r_data, max_count)); } in operator ()()
/freebsd-12.1/contrib/gcc/
H A Dipa-inline.c91 static gcov_type max_count; variable
386 if (max_count) in cgraph_edge_badness()
395 return ((int)((double)edge->count * INT_MIN / max_count)) / growth; in cgraph_edge_badness()
501 !max_count ? priority++ in lookup_recursive_calls()
502 : -(e->count / ((max_count + (1<<24) - 1) / (1<<24))), in lookup_recursive_calls()
635 if (max_count) in cgraph_decide_recursive_inlining()
791 if (!max_count) in cgraph_decide_inlining_of_small_functions()
907 max_count = 0; in cgraph_decide_inlining()
923 if (max_count < e->count) in cgraph_decide_inlining()
924 max_count = e->count; in cgraph_decide_inlining()
[all …]
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dtrees.c717 int max_count = 7; /* max repeat count */ local
720 if (nextlen == 0) max_count = 138, min_count = 3;
725 if (++count < max_count && curlen == nextlen) {
739 max_count = 138, min_count = 3;
741 max_count = 6, min_count = 3;
743 max_count = 7, min_count = 4;
762 int max_count = 7; /* max repeat count */ local
766 if (nextlen == 0) max_count = 138, min_count = 3;
790 max_count = 138, min_count = 3;
792 max_count = 6, min_count = 3;
[all …]
/freebsd-12.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-12.1/sys/dev/qlnx/qlnxe/
H A Decore_rdma.h100 u32 max_count; member
242 u32 max_count,
H A Decore_cxt.c199 u32 max_count; member
1212 p_mngr->acquired[type].max_count = 0; in ecore_cid_map_free()
1219 p_mngr->acquired_vf[type][vf].max_count = 0; in ecore_cid_map_free()
1240 p_map->max_count = cid_count; in ecore_cid_map_alloc_single()
1245 type, p_map->start_cid, p_map->max_count); in ecore_cid_map_alloc_single()
1410 len = DIV_ROUND_UP(p_map->max_count, in ecore_cxt_mngr_setup()
1421 len = DIV_ROUND_UP(p_map->max_count, in ecore_cxt_mngr_setup()
2025 p_map->max_count); in _ecore_cxt_acquire_cid()
2027 if (rel_cid >= p_map->max_count) { in _ecore_cxt_acquire_cid()
2069 cid < (*pp_map)->start_cid + (*pp_map)->max_count) { in ecore_cxt_test_cid_acquired()
/freebsd-12.1/gnu/usr.bin/grep/
H A Dgrep.c523 static off_t max_count; /* Stop after outputting this many variable
837 outleft = max_count; in grep()
1410 max_count = TYPE_MAXIMUM (off_t); in main()
1588 max_count = value; in main()
1589 if (0 <= max_count && max_count == value) in main()
1593 max_count = TYPE_MAXIMUM (off_t); in main()
1837 if (max_count == 0) in main()
/freebsd-12.1/contrib/binutils/opcodes/
H A Dsparc-dis.c424 int min_count = num_opcodes, max_count = 0; in build_hash_table()
431 if (hash_count[i] > max_count) in build_hash_table()
432 max_count = hash_count[i]; in build_hash_table()
437 min_count, max_count, (double) total / HASH_SIZE); in build_hash_table()
/freebsd-12.1/contrib/libstdc++/include/ext/pb_ds/
H A Dlist_update_policy.hpp109 max_count = Max_Count enumerator
/freebsd-12.1/contrib/ofed/opensm/include/complib/
H A Dcl_pool.h292 IN const size_t max_count,
/freebsd-12.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-12.1/contrib/subversion/subversion/libsvn_fs_fs/
H A Dlow_level.h106 int max_count,
/freebsd-12.1/sys/vm/
H A Dvm_extern.h96 vm_prot_t prot, vm_page_t *ma, int max_count);

12