/src/sys/net/ |
net_stats.c | 45 u_int ctx_ncounters; /* number of counters in array */ 66 * that are gathered per-CPU. Statistics counters are assumed 74 uint64_t *counters; local in function:netstat_sysctl 80 counters = kmem_zalloc(countersize, KM_SLEEP); 81 ctx.ctx_counters = counters; 88 node.sysctl_data = counters; 92 kmem_free(counters, countersize);
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
sanitizer_stoptheworld_test.cc | 99 volatile int counters[kThreadCount]; member in struct:__sanitizer::AdvancedCallbackArgument 132 __sync_fetch_and_add(&callback_argument->counters[this_thread_index], 1); 150 counters_at_init[j] = __sync_fetch_and_add(&callback_argument->counters[j], 155 if (__sync_fetch_and_add(&callback_argument->counters[j], 0) !=
|
sanitizer_allocator_test.cc | 1147 NoMemoryPackedCounterArray counters(64, 1ULL << i, &no_memory_mapper); local in function:TEST 1157 // Make sure counters request one memory page for the buffer. 1159 RedZonePackedCounterArray counters(kNumCounters, local in function:TEST 1162 counters.Inc(0); 1164 ASSERT_EQ(0ULL, counters.Get(c)); 1165 counters.Inc(c); 1166 ASSERT_EQ(1ULL, counters.Get(c - 1)); 1168 ASSERT_EQ(0ULL, counters.Get(kNumCounters - 1)); 1169 counters.Inc(kNumCounters - 1); 1172 counters.IncRange(0, kNumCounters - 1) [all...] |
/src/sys/dev/ic/ |
intersil7170reg.h | 62 struct intersil_dt counters; member in struct:intersil7170
|
/src/sys/external/mit/xen-include-public/dist/xen/include/public/arch-x86/ |
pmu.h | 34 uint32_t counters; member in struct:xen_pmu_amd_ctxt
|
/src/sys/dev/tprof/ |
tprof.c | 353 * Unconfigured counters are ignored. 438 /* All counters have stopped? */ 582 /* update counters bitmasks */ 591 /* counters with less than 64bits also require overflow handling */ 607 uint64_t *counters = arg2; local in function:tprof_getcounts_cpu 616 counters[c] = counters_offset[c] + 620 counters[c] = 0;
|
/src/usr.sbin/tprof/ |
tprof_top.c | 119 static uint64_t *counters; /* counters[2][ncpu][nevent] */ variable in typeref:typename:uint64_t * 591 size_t sz = 2 * ncpu * nevent * sizeof(*counters); 592 counters = ecalloc(1, sz); 603 cn[0] = counters; 604 cn[1] = counters + ncpu * nevent; 937 "counters can be used.", ncounters);
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
sanitizer_allocator_primary64.h | 322 // A packed array of counters. Each counter occupies 2^n bits, enough to store 488 PackedCounterArray<MemoryMapperT> counters(allocated_pages_count, local in function:SizeClassAllocator64::ReleaseFreeMemoryToOS 491 if (!counters.IsAllocated()) 503 counters.Inc(free_array[i] >> page_size_scaled_log); 507 counters.IncRange( 513 // Iterate over pages detecting ranges of pages with chunk counters equal 518 for (uptr i = 0; i < counters.GetCount(); i++) 519 range_tracker.NextPage(counters.Get(i) == full_pages_chunk_count_max); 533 for (uptr i = 0; i < counters.GetCount(); i++) { 547 range_tracker.NextPage(counters.Get(i) == chunks_per_page) [all...] |
sanitizer_win.cc | 760 PROCESS_MEMORY_COUNTERS counters; local in function:__sanitizer::GetRSS 761 if (!GetProcessMemoryInfo(GetCurrentProcess(), &counters, sizeof(counters))) 763 return counters.WorkingSetSize;
|
/src/sys/external/bsd/drm/dist/bsd-core/ |
drmP.h | 667 /* (driver must alloc the right number of counters) */ 794 /* Usage Counters */ 798 /* Performance counters */ 799 unsigned long counters; member in struct:drm_device
|
/src/sys/netipsec/ |
key.c | 847 * Utilities for percpu counters for sadb_lifetime_allocations and 8443 lifetime_counters_t *counters; local in function:key_sa_recordxfer 8449 counters = percpu_getref(sav->lft_c_counters_percpu); 8455 (*counters)[LIFETIME_COUNTER_BYTES] += m->m_pkthdr.len; 8463 (*counters)[LIFETIME_COUNTER_ALLOCATIONS]++;
|
/src/sys/dist/pf/net/ |
pfvar.h | 1154 /* Counters for other things we want to keep track of */ 1224 pf_status.counters[x]++; \ 1230 pf_status.counters[x]++; \ 1234 u_int64_t counters[PFRES_MAX]; member in struct:pf_status 1235 u_int64_t lcounters[LCNT_MAX]; /* limit counters */
|