Home
last modified time | relevance | path

Searched refs:_max (Results 1 – 4 of 4) sorted by relevance

/f-stack/app/micro_thread/
H A Dhash_list.h71 _max = GetMaxPrimeNum((max > 2) ? max : 100000);
72 _buckets = (HashKey**)calloc(_max, sizeof(HashKey*));
100 int idx = (key->_hash_value) % _max; in HashInsert()
118 int idx = hash % _max; in HashFind()
156 int idx = hash % _max; in HashRemove()
183 for (int i = 0; i < _max; i++) { in HashForeach()
199 for (int i = 0; i < _max; i++) { in HashGetFirst()
238 int _max; variable
H A Dheap.h97 int _max; variable
103 _max = (max > 0) ? max : 100000;
104 _list = (HeapEntry**)malloc (sizeof(HeapEntry*) * (_max+1));
106 memset(_list, 0, sizeof(HeapEntry*) * (_max+1));
114 _max = 0; in ~HeapList()
119 if (_max >= size) { in HeapResize()
128 memcpy(new_list, _list, sizeof(HeapEntry*) * (_max+1)); in HeapResize()
131 _max = size; in HeapResize()
156 return (_count >= _max); in HeapFull()
/f-stack/dpdk/drivers/common/sfc_efx/base/
H A Defx_types.h680 (((_low > _max) || (_high < _min)) ? \
687 (((_low > _max) || (_high < _min)) ? \
694 (((_low > _max) || (_high < _min)) ? \
701 (((_low > _max) || (_high < _min)) ? \
735 #define EFX_INSERT_FIELDS64(_min, _max, \ argument
752 #define EFX_INSERT_FIELDS32(_min, _max, \ argument
769 #define EFX_INSERT_FIELDS16(_min, _max, \ argument
786 #define EFX_INSERT_FIELDS8(_min, _max, \ argument
1511 #define EFX_INPLACE_MASK64(_min, _max, _field) \ argument
1514 #define EFX_INPLACE_MASK32(_min, _max, _field) \ argument
[all …]
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Darc.c611 ARCSTAT_MAX(stat##_max, arc_stats.stat.value.ui64)