/xnu-2782.1.97/osfmk/chud/i386/ |
H A D | chud_xnu_private.h | 54 uint64_t t_deadline;
|
/xnu-2782.1.97/osfmk/i386/ |
H A D | ucode.h | 29 extern int ucode_interface(uint64_t addr);
|
H A D | misc_protos.h | 46 uint64_t, 114 extern void rtc_sleep_wakeup(uint64_t base); 124 extern void rtc_clock_napped(uint64_t, uint64_t); 125 extern void rtc_clock_adjust(uint64_t); 133 uint64_t x86_64_pre_sleep(void); 134 void x86_64_post_sleep(uint64_t new_cr3);
|
H A D | pmCPU.c | 59 uint64_t cpu_itime_bins[CPU_ITIME_BINS] = {16* NSEC_PER_USEC, 32* NSEC_PER_USEC, 64* NSEC_PER_USEC, 128* NSEC_PER_USEC, 256* NSEC_PER_USEC, 512* NSEC_PER_USEC, 1024* NSEC_PER_USEC, 2048* NSEC_PER_USEC, 4096* NSEC_PER_USEC, 8192* NSEC_PER_USEC, 16384* NSEC_PER_USEC, 32768* NSEC_PER_USEC}; 60 uint64_t *cpu_rtime_bins = &cpu_itime_bins[0]; 69 static uint64_t earlyMaxBusDelay = DELAY_UNSET; 70 static uint64_t earlyMaxIntDelay = DELAY_UNSET; 82 static inline void machine_classify_interval(uint64_t interval, uint64_t *bins, uint64_t *binvals, uint32_t nbins) { 92 uint64_t idle_pending_timers_processed; 104 uint64_t ctime, rtime, itime; 107 uint64_t cwakeup [all...] |
H A D | machine_routines.h | 83 uint64_t ml_get_timebase(); 87 boolean_t ml_delay_should_spin(uint64_t interval); 112 uint64_t ml_cpu_cache_size(unsigned int level); 113 uint64_t ml_cpu_cache_sharing(unsigned int level); 151 kern_return_t ml_interrupt_prewarm(uint64_t deadline); 287 extern void ml_set_maxintdelay(uint64_t mdelay); 288 extern uint64_t ml_get_maxintdelay(void); 292 extern uint64_t tmrCvt(uint64_t time, uint64_t conversio [all...] |
H A D | pal_native.h | 72 volatile uint64_t tsc_base; /* timestamp */ 73 volatile uint64_t ns_base; /* nanoseconds */
|
/xnu-2782.1.97/osfmk/kern/ |
H A D | sfi.h | 45 kern_return_t sfi_set_window(uint64_t window_usecs); 47 kern_return_t sfi_get_window(uint64_t *window_usecs); 49 kern_return_t sfi_set_class_offtime(sfi_class_id_t class_id, uint64_t offtime_usecs); 51 kern_return_t sfi_get_class_offtime(sfi_class_id_t class_id, uint64_t *offtime_usecs);
|
H A D | syscall_subr.h | 65 uint64_t interval);
|
H A D | timer_call.c | 102 uint64_t interval; /* longterm timer interval */ 103 uint64_t margin; /* fudge factor (10% of interval */ 104 uint64_t deadline; /* first/soonest longterm deadline */ 105 uint64_t preempted; /* sooner timer has pre-empted */ 107 uint64_t deadline_set; /* next timer set */ 110 uint64_t scans; /* num threshold timer scans */ 111 uint64_t preempts; /* num threshold reductions */ 112 uint64_t latency; /* average threshold latency */ 113 uint64_t latency_min; /* minimum threshold latency */ 114 uint64_t latency_ma [all...] |
H A D | clock.c | 74 uint64_t epoch; 75 uint64_t offset; 78 uint64_t adjstart; /* Absolute time value for start of this adjustment period */ 111 static uint64_t calend_adjdeadline; /* Absolute time value for next adjustment period */ 128 void _clock_delay_until_deadline(uint64_t interval, 129 uint64_t deadline); 131 static uint64_t clock_boottime; /* Seconds boottime epoch */ 189 uint64_t abstime; 249 uint64_t *abstime) 251 uint64_t no [all...] |
/xnu-2782.1.97/bsd/sys/ |
H A D | gmon.h | 82 uint64_t lpc; /* base pc address of sample buffer */ 83 uint64_t hpc; /* max pc address of sampled buffer */ 153 uint64_t selfpc; 178 uint64_t raw_frompc; 179 uint64_t raw_selfpc; 285 uint64_t raw_frompc; 286 uint64_t raw_selfpc;
|
H A D | dtrace.h | 119 typedef uint64_t u_longlong_t; 591 (((sizeof (uint64_t) * NBBY) - 1) * 2 + 1) 593 #define DTRACE_QUANTIZE_ZEROBUCKET ((sizeof (uint64_t) * NBBY) - 1) 596 (int)(((sizeof (uint64_t) * NBBY) - 1) * 2 + 1) 598 #define DTRACE_QUANTIZE_ZEROBUCKET (int64_t)((sizeof (uint64_t) * NBBY) - 1) 608 #define DTRACE_LQUANTIZE_STEPMASK ((uint64_t)UINT16_MAX << 48) 610 #define DTRACE_LQUANTIZE_LEVELMASK ((uint64_t)UINT16_MAX << 32) 627 #define DTRACE_LLQUANTIZE_FACTORMASK ((uint64_t)UINT16_MAX << 48) 629 #define DTRACE_LLQUANTIZE_LOWMASK ((uint64_t)UINT16_MAX << 32) 631 #define DTRACE_LLQUANTIZE_HIGHMASK ((uint64_t)UINT16_MA [all...] |
H A D | lockstat.h | 164 typedef uint64_t u_longlong_t; /* also in dtrace.h! */ 168 extern void (*lockstat_probe)(dtrace_id_t, uint64_t, uint64_t, 169 uint64_t, uint64_t, uint64_t);
|
H A D | proc_info.h | 77 uint64_t pbi_start_tvsec; 78 uint64_t pbi_start_tvusec; 102 uint64_t p_uniqueid; /* 64 bit unique identifier for process */ 103 uint64_t p_puniqueid; /* unique identifier for process's parent */ 104 uint64_t p_reserve2; /* reserved for future use */ 105 uint64_t p_reserve3; /* reserved for future use */ 106 uint64_t p_reserve4; /* reserved for future use */ 121 uint64_t coalition_id; 122 uint64_t reserved1; 123 uint64_t reserved [all...] |
/xnu-2782.1.97/osfmk/mach/ |
H A D | kmod.h | 122 uint64_t next_addr; 128 uint64_t reference_list_addr; 129 uint64_t address; 130 uint64_t size; 131 uint64_t hdr_size; 132 uint64_t start_addr; 133 uint64_t stop_addr;
|
/xnu-2782.1.97/osfmk/x86_64/ |
H A D | boot_pt.c | 49 [0] = ((uint64_t)(PAGE_SIZE) | PML4_PROT), 50 [KERNEL_PML4_INDEX] = ((uint64_t)(PAGE_SIZE) | PML4_PROT), 56 [0] = ((uint64_t)(2*PAGE_SIZE) | PDPT_PROT), 57 [1] = ((uint64_t)(3*PAGE_SIZE) | PDPT_PROT), 58 [2] = ((uint64_t)(4*PAGE_SIZE) | PDPT_PROT), 59 [3] = ((uint64_t)(5*PAGE_SIZE) | PDPT_PROT), 69 #define ID_MAP_2MEG(x) [(x)] = ((((uint64_t)(x)) << 21) | (PDT_PROT)),
|
H A D | kpc_x86.c | 68 static uint64_t 74 static uint64_t 86 wrIA32_FIXED_CTRx(uint32_t ctr, uint64_t value) 92 static uint64_t 103 wrIA32_PMCx(uint32_t ctr, uint64_t value) 108 static uint64_t 115 wrIA32_PERFEVTSELx(uint32_t ctr, uint64_t value) 200 uint64_t 206 uint64_t 213 static uint64_t [all...] |
/xnu-2782.1.97/EXTERNAL_HEADERS/architecture/ |
H A D | byte_order.h | 72 return (unsigned long long)OSSwapInt64((uint64_t)inv); 128 return (NXSwappedDouble)OSSwapInt64((uint64_t)x); 188 return (unsigned long long)OSSwapBigToHostInt64((uint64_t)x); 197 return NXConvertSwappedDoubleToHost((NXSwappedDouble)OSSwapBigToHostInt64((uint64_t)x)); 242 return (unsigned long long)OSSwapHostToBigInt64((uint64_t)x); 251 return (NXSwappedDouble)OSSwapHostToBigInt64((uint64_t)NXConvertHostDoubleToSwapped(x)); 296 return (unsigned long long)OSSwapLittleToHostInt64((uint64_t)x); 305 return NXConvertSwappedDoubleToHost((NXSwappedDouble)OSSwapLittleToHostInt64((uint64_t)x)); 350 return (unsigned long long)OSSwapHostToLittleInt64((uint64_t)x); 359 return (NXSwappedDouble)OSSwapHostToLittleInt64((uint64_t)NXConvertHostDoubleToSwappe [all...] |
/xnu-2782.1.97/bsd/dev/i386/ |
H A D | dtrace_isa.c | 88 int fltoffs, int fault, uint64_t illval) 95 dtrace_probe( dtrace_probeid_error, (uint64_t)(uintptr_t)state, epid, which, fltoffs, fault ); 180 uint64_t 195 return (uint64_t)(regs->ss_64.rdi); 197 return (uint64_t)(regs->ss_64.rsi); 199 return (uint64_t)(regs->ss_64.rdx); 201 return (uint64_t)(regs->ss_64.rcx); 203 return (uint64_t)(regs->ss_64.r8); 205 return (uint64_t)(regs->ss_64.r9); 207 return (uint64_t)(reg [all...] |
/xnu-2782.1.97/osfmk/kperf/ |
H A D | timetrigger.c | 56 uint64_t period; 62 uint64_t fire_count; 63 uint64_t last_cpu_fire[MAX_CPUS]; 81 kperf_timer_schedule( struct time_trigger *trigger, uint64_t now ) 83 uint64_t deadline; 217 uint64_t now = mach_absolute_time(); 227 kperf_timer_pet_set( unsigned timer, uint64_t elapsed_ticks ) 229 static uint64_t pet_min_ticks = 0; 231 uint64_t now; 233 uint64_t perio [all...] |
/xnu-2782.1.97/bsd/kern/ |
H A D | kern_overrides.c | 68 static uint64_t sys_override_wait; 77 static void enable_system_override(uint64_t flags); 78 static void disable_system_override(uint64_t flags); 79 static __attribute__((noinline)) void PROCESS_OVERRIDING_SYSTEM_DEFAULTS(uint64_t timeout); 83 * int system_override(uint64_t timeout, uint64_t flags); 101 uint64_t timeout = uap->timeout; 102 uint64_t flags = uap->flags; 153 enable_system_override(uint64_t flags) 183 disable_system_override(uint64_t flag [all...] |
H A D | kern_kpc.c | 65 #define SYSCTL_BUFFER_SIZE (33 * sizeof(uint64_t)) 185 uint64_t *ctr_buf = (uint64_t*)buf; 197 *size = (count+1) * sizeof(uint64_t); 206 uint64_t *ctr_buf = (uint64_t*)buf; 219 *size = (count+1) * sizeof(uint64_t); 228 uint32_t count = *size / sizeof(uint64_t); 236 *size = count * sizeof(uint64_t); 322 return kpc_get_counter_count(classes) * sizeof(uint64_t); [all...] |
/xnu-2782.1.97/bsd/nfs/ |
H A D | nfs.h | 500 uint64_t ops; /* Count of NFS Requests received for this export */ 501 uint64_t bytes_read; /* Count of bytes read from this export */ 502 uint64_t bytes_written; /* Count of bytes written to this export */ 517 uint64_t ops; 518 uint64_t bytes_read; 519 uint64_t bytes_written; 596 uint64_t ops; 597 uint64_t bytes_read; 598 uint64_t bytes_written; 667 uint64_t fm_deadlin [all...] |
/xnu-2782.1.97/iokit/IOKit/ |
H A D | IOKernelReportStructs.h | 80 typedef uint64_t IOReportUnits; 82 (((IOReportUnits)quantity << 56) | (uint64_t)scale) 84 ((IOReportQuantity)((uint64_t)unit >> 56) & 0xff) 90 typedef uint64_t IOReportScaleFactor; 183 // Also, IOReportScaleValue() is currently limited internally by uint64_t. 272 uint64_t samples; 273 uint64_t mean; 274 uint64_t variance; 275 uint64_t reserved;
|
/xnu-2782.1.97/bsd/miscfs/mockfs/ |
H A D | mockfs.h | 67 uint64_t mockfs_memdev_size; /* Size of the backing store (valid if memory backed) */
|