Home
last modified time | relevance | path

Searched refs:items_count (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/net/route/
H A Dnhop_utils.h34 uint32_t items_count; member
43 if ((head->items_count * 2 > head->hash_size) && (head->hash_size < 65536)) in _cht_get_resize_size()
45 else if ((head->items_count * 4 < head->hash_size) && head->hash_size > 16) in _cht_get_resize_size()
71 uint32_t items_count; \
77 (_head)->items_count = 0; \
113 (_head)->items_count++; \
130 (_head)->items_count--; \
169 uint32_t items_count; /* total number of items */ member
H A Dnhop_utils.c64 if ((bh->items_count * 2 > _BLOCKS_TO_ITEMS(bh->blocks)) && bh->items_count < 65536) in bitmask_get_resize_items()
174 bi->items_count++; in bitmask_alloc_idx()
207 bi->items_count--; in bitmask_free_idx()
H A Dnhgrp_ctl.c932 count = ctl->gr_head.items_count; in nhgrp_get_count()
948 if (ctl->gr_head.items_count == 0) in nhgrp_dump_sysctl()
H A Dnhop_ctl.c1267 count = ctl->nh_head.items_count; in nhops_get_count()
1283 FIB_RH_LOG(LOG_DEBUG, rh, "dump %u items", ctl->nh_head.items_count); in nhops_dump_sysctl()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/
H A DDecodedThread.cpp35 item_index < first_item_index + items_count; in InRange()
40 item_index < first_item_index + items_count; in InRange()
56 static_cast<long double>(items_count) / (next_range_start_ns - nanos); in GetInterpolatedTime()
65 return interpolate(tsc_conversion.ToNanos(tsc + items_count)); in GetInterpolatedTime()
67 if (items_count < (next_range->tsc - tsc)) { in GetInterpolatedTime()
79 std::min(tsc_conversion.ToNanos(tsc + items_count), next_range->nanos)); in GetInterpolatedTime()
108 (*m_last_tsc)->second.items_count++; in CreateNewTraceItem()
110 (*m_last_nanoseconds)->second.items_count++; in CreateNewTraceItem()
H A DDecodedThread.h71 uint64_t items_count;
91 uint64_t items_count;
70 uint64_t items_count; global() member
90 uint64_t items_count; global() member
H A DTraceIntelPT.cpp278 uint64_t items_count = decoded_thread_sp->GetItemsCount(); in DumpTraceInfo() local
281 s.Format("\n Total number of trace items: {0}\n", items_count); in DumpTraceInfo()
290 if (items_count != 0) in DumpTraceInfo()
293 (double)mem_used / items_count); in DumpTraceInfo()