Home
last modified time | relevance | path

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

/f-stack/freebsd/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()
/f-stack/freebsd/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 …]
/f-stack/dpdk/drivers/net/thunderx/base/
H A Dnicvf_hw.h201 int nicvf_rss_reta_update(struct nicvf *nic, uint8_t *tbl, uint32_t max_count);
202 int nicvf_rss_reta_query(struct nicvf *nic, uint8_t *tbl, uint32_t max_count);
H A Dnicvf_hw.c781 nicvf_rss_reta_update(struct nicvf *nic, uint8_t *tbl, uint32_t max_count) in nicvf_rss_reta_update() argument
792 for (idx = 0; idx < rss->rss_size && idx < max_count; idx++) in nicvf_rss_reta_update()
802 nicvf_rss_reta_query(struct nicvf *nic, uint8_t *tbl, uint32_t max_count) in nicvf_rss_reta_query() argument
814 for (idx = 0; idx < rss->rss_size && idx < max_count; idx++) in nicvf_rss_reta_query()
/f-stack/freebsd/vm/
H A Dvm_extern.h95 vm_prot_t prot, vm_page_t *ma, int max_count);
H A Dvm_fault.c1797 vm_prot_t prot, vm_page_t *ma, int max_count) in vm_fault_quick_hold_pages() argument
1812 if (atop(end - addr) > max_count) in vm_fault_quick_hold_pages()
/f-stack/dpdk/drivers/net/qede/base/
H A Decore_cxt.h284 u32 max_count; member
H A Decore_cxt.c980 p_mngr->acquired[type].max_count = 0; in ecore_cid_map_free()
987 p_mngr->acquired_vf[type][vf].max_count = 0; in ecore_cid_map_free()
1008 p_map->max_count = cid_count; in __ecore_cid_map_alloc_single()
1013 type, p_map->start_cid, p_map->max_count); in __ecore_cid_map_alloc_single()
1220 len = DIV_ROUND_UP(p_map->max_count, in ecore_cxt_mngr_setup()
1231 len = DIV_ROUND_UP(p_map->max_count, in ecore_cxt_mngr_setup()
1812 p_map->max_count); in _ecore_cxt_acquire_cid()
1814 if (rel_cid >= p_map->max_count) { in _ecore_cxt_acquire_cid()
1856 cid < (*pp_map)->start_cid + (*pp_map)->max_count) { in ecore_cxt_test_cid_acquired()