Searched refs:counter (Results 1 - 24 of 24) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dcounters.h67 * Use counter() to change the counters, eg:
68 * counter(c_idle_thread_block++);
76 #define counter(code) counter_always(code) macro
80 #define counter(code) macro
H A Dast.c131 counter(c_ast_taken_block++);
172 counter(c_ast_taken_block++);
H A Dsyscall_subr.c122 counter(c_swtch_block++);
167 counter(c_swtch_pri_block++);
H A Dsched_prim.c1544 counter(c_thread_invoke_hits++);
1556 counter(++c_thread_invoke_same);
1575 counter(c_thread_invoke_misses++);
1583 counter(++c_thread_invoke_same);
1605 counter(c_thread_invoke_csw++);
1799 counter(mach_counter_t c_thread_block_calls = 0;)
1812 counter(++c_thread_block_calls);
/macosx-10.5.8/xnu-1228.15.4/pexpert/ppc/
H A Dpe_clock_speed_asm.s29 * clock_speed_asm.s - Uses the Via timer, decrementer, and counter
53 // Use the counter register to execute a loop that will take
54 // 10,000,000 processor clocks. Time it using both the via counter
65 li r5, 0xff ; Start the counter at 0xffff
66 stb r5, CountLow(r9) ; clear the via counter
86 lbz r6, CountHigh(r9) ; get the via counter values
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dinterrupt.c139 counter(c_incoming_interrupts++);
H A Dskiplists.s767 * At one point we used a simple counter to assign lists. While this gave perfect
789 lwz r5,pmapRandNum(r3) ; get the per-pmap counter of mapping creates
1027 ; r21 = decrementing counter of mappings in this pmap
1029 ; r23 = decrementing counter for infinite loop check
1045 ; r21 = decrementing counter of mappings in this pmap
1047 ; r23 = decrementing counter for infinite loop check
1140 ; r21 = decrementing counter of mappings in this pmap
1142 ; r23 = decrementing counter for infinite loop check
1158 ; r21 = decrementing counter of mappings in this pmap
1160 ; r23 = decrementing counter fo
[all...]
H A Dlowmem_vectors.s2686 la r19,hwMckICachePE(r2) ; Point to counter
2690 la r19,hwMckITagPE(r2) ; Point to counter
2694 la r19,hwMckITagPE(r2) ; Point to counter
2698 la r19,hwMckIEratPE(r2) ; Point to counter
2711 la r19,hwMckDEratPE(r2) ; Point to counter
2752 lwz r5,0(r19) ; Get the counter
H A Dcswtch.s546 lis r3,hi16(EXT(fpu_trap_count)) ; Get address of FP trap counter
547 ori r3,r3,lo16(EXT(fpu_trap_count)) ; Get address of FP trap counter
1287 lis r3,hi16(EXT(vec_trap_count)) ; Get address of vector trap counter
1288 ori r3,r3,lo16(EXT(vec_trap_count)) ; Get address of vector trap counter
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Dproc_reg.h85 #define MSR_P5_CESR_CC_DISABLE 0x0000 /* Disable counter */
282 #define rdpmc(counter,lo,hi) \
283 __asm__ volatile("rdpmc" : "=a" (lo), "=d" (hi) : "c" (counter))
H A Dperfmon.h69 uint64_t counter : 40; member in struct:__anon744::__anon745
H A Dpcb.c1899 int counter = 0; local
1909 printf("hdlr_%d(%p)->", counter, rhp->handler);
1911 if (++counter > 32) {
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/
H A Dvfs_fsevents.c295 int counter; member in struct:history_item
305 return (b->counter - a->counter);
419 history[i].counter = 1;
424 if (history[MAX_HISTORY-1].counter == 1) {
1302 int i, j, counter=0; local
1333 while (watcher->num_readers > 1 && counter++ < 5000) {
1338 if (counter++ >= 5000) {
2063 int counter = 0; local
2072 while(fseh->watcher->blockers && counter
[all...]
H A Dvfs_journal.c1929 int counter=0; local
1963 while (*start != *end && counter++ < 5000) {
2063 int counter=0; local
2071 if (counter++ == 5000) {
2077 if (counter > 7500) {
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIOServicePM.cpp4419 flag = theContext->responseFlags->getObject(theContext->counter);
4428 theContext->counter += 1;
4439 theContext.counter = 0;
4486 theContext.counter = 0;
4538 theContext->responseFlags->setObject(theContext->counter, kOSBooleanTrue);
4545 + (theContext->counter & 0xFFFF);
4554 theContext->responseFlags->setObject(theContext->counter, num);
4559 theContext->responseFlags->setObject(theContext->counter, kOSBooleanFalse);
4567 theContext->counter += 1;
4590 refcon = ((theContext->serialNumber & 0xFFFF)<<16) + (theContext->counter
[all...]
H A DIOServicePMPrivate.h428 UInt16 counter; member in struct:context
/macosx-10.5.8/xnu-1228.15.4/osfmk/ipc/
H A Dipc_mqueue.c406 counter(c_ipc_mqueue_send_block++);
809 counter((interruptible == THREAD_ABORTSAFE) ?
/macosx-10.5.8/xnu-1228.15.4/osfmk/vm/
H A Dvm_fault.c828 counter(c_vm_fault_page_block_busy_kernel++);
1050 counter(c_vm_fault_page_block_backoff_kernel++);
1199 counter(c_vm_fault_page_block_backoff_kernel++);
1239 counter(c_vm_fault_page_block_backoff_kernel++);
1728 counter(c_vm_fault_page_block_backoff_kernel++);
2459 counter(c_vm_fault_page_block_busy_kernel++);
H A Dvm_resident.c1943 counter(c_vm_page_wait_block++);
2028 counter(unsigned int c_laundry_pages_freed = 0;)
2069 counter(++c_laundry_pages_freed);
H A Dvm_pageout.c1374 counter(c_vm_pageout_scan_block++);
2035 counter(c_vm_pageout_block++);
H A Dvm_map.c9327 counter(c_vm_map_simplify_entry_called++);
9373 counter(c_vm_map_simplified++);
9389 counter(c_vm_map_simplify_called++);
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_credential.c4300 int i, j, counter = 0; local
4314 counter++;
4320 counter += 10; // add in some padding;
4321 req->oldidx = counter * sizeof(debug_ucred);
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/
H A Dip6_fw.c413 static int counter; local
422 count = f ? f->fw_pcnt : ++counter;
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/
H A Ddtrace.c604 * Atomically increment a specified error counter from probe context.
607 dtrace_error(uint32_t *counter) argument
620 oval = *counter;
624 * If the counter would wrap, set it to 1 -- assuring
625 * that the counter is never zero when we have seen
626 * errors. (The counter must be 32-bits because we
639 } while (dtrace_cas32(counter, oval, nval) != oval);
1211 * variable can be allocated. If NULL is returned, the appropriate counter
1544 * counter, take another lap.
1777 * dropped, and a corresponding counter incremente
[all...]

Completed in 244 milliseconds