Home
last modified time | relevance | path

Searched defs:counter (Results 1 – 25 of 30) sorted by relevance

12

/xnu-11215.81.4/osfmk/kern/
H A Dcounter_common.c50 scalable_counter_static_boot_mangle(scalable_counter_t *counter) in scalable_counter_static_boot_mangle()
61 scalable_counter_static_init(scalable_counter_t *counter) in scalable_counter_static_init()
79 counter_alloc(scalable_counter_t *counter) in counter_alloc()
86 counter_alloc(atomic_counter_t *counter) in counter_alloc()
93 counter_free(scalable_counter_t *counter) in counter_free()
100 counter_free(atomic_counter_t *counter) in counter_free()
107 counter_add(atomic_counter_t *counter, uint64_t amount) in counter_add()
114 counter_inc(atomic_counter_t *counter) in counter_inc()
121 counter_dec(atomic_counter_t *counter) in counter_dec()
128 counter_add_preemption_disabled(atomic_counter_t *counter, uint64_t amount) in counter_add_preemption_disabled()
[all …]
H A Depoch_sync.c360 esync_update_epoch(const uint64_t epoch, os_atomic(uint64_t) *counter) in esync_update_epoch()
419 esync_wait(esync_space_t space, const uint64_t id, const uint64_t epoch, in esync_wait()
497 esync_wake(esync_space_t space, const uint64_t id, const uint64_t epoch, in esync_wake()
H A Dkpc_common.c556 kpc_sample_kperf(uint32_t actionid, uint32_t counter, uint64_t config, in kpc_sample_kperf()
H A Dbtlog.c1386 uint32_t *counter; in btlog_create() local
1486 uint32_t *counter; in btlog_sample() local
/xnu-11215.81.4/osfmk/arm/
H A Dcounter.c38 counter_add(scalable_counter_t *counter, uint64_t amount) in counter_add()
45 counter_inc(scalable_counter_t *counter) in counter_inc()
52 counter_dec(scalable_counter_t *counter) in counter_dec()
64 counter_add_preemption_disabled(scalable_counter_t *counter, uint64_t amount) in counter_add_preemption_disabled()
71 counter_inc_preemption_disabled(scalable_counter_t *counter) in counter_inc_preemption_disabled()
78 counter_dec_preemption_disabled(scalable_counter_t *counter) in counter_dec_preemption_disabled()
/xnu-11215.81.4/osfmk/x86_64/
H A Dcounter.c65 counter_add(scalable_counter_t *counter, uint64_t amount) in counter_add()
74 counter_inc(scalable_counter_t *counter) in counter_inc()
83 counter_dec(scalable_counter_t *counter) in counter_dec()
92 counter_add_preemption_disabled(scalable_counter_t *counter, uint64_t amount) in counter_add_preemption_disabled()
99 counter_inc_preemption_disabled(scalable_counter_t *counter) in counter_inc_preemption_disabled()
106 counter_dec_preemption_disabled(scalable_counter_t *counter) in counter_dec_preemption_disabled()
/xnu-11215.81.4/iokit/IOKit/
H A DIOStatisticsPrivate.h276 setCounterType(IOEventSourceCounter *counter, IOStatisticsCounterType type) in setCounterType()
284 countOpenGate(IOEventSourceCounter *counter) in countOpenGate()
293 countCloseGate(IOEventSourceCounter *counter) in countCloseGate()
303 countInterruptCheckForWork(IOEventSourceCounter *counter) in countInterruptCheckForWork()
311 countInterrupt(IOEventSourceCounter *counter) in countInterrupt()
320 countCommandQueueActionCall(IOEventSourceCounter *counter) in countCommandQueueActionCall()
329 countCommandGateActionCall(IOEventSourceCounter *counter) in countCommandGateActionCall()
338 countTimerTimeout(IOEventSourceCounter *counter) in countTimerTimeout()
350 countWorkLoopOpenGate(IOWorkLoopCounter *counter) in countWorkLoopOpenGate()
359 countWorkLoopCloseGate(IOWorkLoopCounter *counter) in countWorkLoopCloseGate()
H A DIOEventSource.h160 struct IOEventSourceCounter *counter; member
H A DIOWorkLoop.h162 struct IOWorkLoopCounter *counter; member
H A DIOUserClient.h223 IOUserClientCounter *counter; member
/xnu-11215.81.4/iokit/Kernel/
H A DIOStatistics.cpp429 IOEventSourceCounter *counter = NULL; in registerEventSource() local
473 IOStatistics::unregisterEventSource(IOEventSourceCounter *counter) in unregisterEventSource()
493 IOWorkLoopCounter *counter = NULL; in registerWorkLoop() local
524 IOStatistics::unregisterWorkLoop(IOWorkLoopCounter *counter) in unregisterWorkLoop()
544 IOUserClientCounter *counter = NULL; in registerUserClient() local
575 IOStatistics::unregisterUserClient(IOUserClientCounter *counter) in unregisterUserClient()
945 IOEventSourceCounter *counter; in copyCounterStatistics() local
1101 IOStatistics::storeUserClientCallInfo(IOUserClient *userClient, IOUserClientCounter *counter) in storeUserClientCallInfo()
1220 IOUserClientCounter *counter; in countUserClientCall() local
/xnu-11215.81.4/iokit/Tests/
H A DTests.cpp918 int counter = 0; in OSAllocationTests() local
925 int counter = 0; in OSAllocationTests() local
967 int counter = 0; in OSDataAllocationTests() local
974 int counter = 0; in OSDataAllocationTests() local
997 int counter = 0; in OSBoundedArrayTests() local
1004 int counter = 0; in OSBoundedArrayTests() local
1022 int counter = 0; in OSBoundedArrayRefTests() local
1029 int counter = 0; in OSBoundedArrayRefTests() local
1185 int counter = 0; in OSBoundedPtrTests() local
1192 int counter = 0; in OSBoundedPtrTests() local
/xnu-11215.81.4/tools/lldbmacros/
H A Dcounter.py9 def GetSimpleCounter(counter): argument
/xnu-11215.81.4/tests/
H A Dquiesce_counter.c75 uint64_t counter = *commpage_addr; variable
H A Dpfkey.c1132 static int counter = 0; in pfkey_process_message_test_60822136() local
1202 static int counter = 0; in pfkey_process_message_test_60822924() local
1272 static int counter = 0; in pfkey_process_message_test_60822956() local
1395 static int counter = 0; in pfkey_process_message_test_60768729() local
1443 static uint8_t counter = 0; in pfkey_process_message_test_60769680() local
/xnu-11215.81.4/osfmk/arm64/
H A Dkpc.c221 uint64_t counter[MAX_CPUS][KPC_MAX_COUNTERS]; member
260 enable_counter(uint32_t counter) in enable_counter()
282 disable_counter(uint32_t counter) in disable_counter()
306 set_modes(uint32_t counter, kpc_config_t cfgword, bool secure) in set_modes()
340 read_counter(uint32_t counter) in read_counter()
360 write_counter(uint32_t counter, uint64_t value) in write_counter()
452 get_counter_config(uint32_t counter) in get_counter_config()
949 unsigned int counter = i + offset; in kpc_set_config_arch() local
/xnu-11215.81.4/osfmk/i386/
H A DDiagnostics.h111 read_pmc(uint32_t counter) in read_pmc()
H A Dproc_reg.h463 #define rdpmc(counter, lo, hi) \ argument
/xnu-11215.81.4/bsd/net/
H A Dnet_api_stats.h152 #define INC_ATOMIC_INT64_LIM(counter) { \ argument
H A Dpf_table.c2382 pfr_pool_get(struct pfr_ktable *kt, int *pidx, struct pf_addr *counter, in pfr_pool_get()
/xnu-11215.81.4/osfmk/prng/
H A Dprng_random.c94 uint8_t counter; in wide_hash() local
/xnu-11215.81.4/bsd/vfs/
H A Dvfs_cache.c2428 uint32_t counter = 1; in cache_lookup_smr() local
2648 uint32_t counter = 1; in cache_lookup_ext() local
H A Dvfs_fsevents.c1414 int i, j, counter = 0; in remove_watcher() local
2543 int counter = 0; in fseventsf_drain() local
/xnu-11215.81.4/bsd/kern/
H A Dkern_newsysctl.c2112 scalable_counter_t counter = *(scalable_counter_t*) arg1; variable
/xnu-11215.81.4/tests/skywalk/
H A Dskt_xfer.c3036 uint64_t counter; in skt_xfer_udp_with_errors_common() local
3265 uint64_t counter; in send_bad_flow() local

12