/xnu-2782.1.97/iokit/IOKit/ |
H A D | IOInterruptAccountingPrivate.h | 77 extern uint32_t gInterruptAccountingStatisticBitmask; 83 (((uint32_t) 1) << ((uint32_t) statisticIndex))
|
/xnu-2782.1.97/osfmk/i386/ |
H A D | hibernate_restore.c | 41 hibernate_restore_phys_page(uint64_t src, uint64_t dst, uint32_t len, uint32_t procFlags) 98 void hibernateRestorePALState(uint32_t *arg)
|
H A D | startup64.c | 92 uint32_t *ip = (uint32_t *) sp; 97 i < sizeof(x86_saved_state32_t)/sizeof(uint32_t); 171 uint32_t *ip = (uint32_t *) gdtp; 184 uint32_t *ip = (uint32_t *) ldtp; 197 uint32_t *ip = (uint32_t *) idtp; 212 uint32_t *i [all...] |
H A D | lapic_native.c | 158 static uint32_t 165 legacy_write(lapic_register_t reg, uint32_t value) 177 legacy_write_icr(uint32_t dst, uint32_t cmd) 196 uint32_t lo; 197 uint32_t hi; 207 static uint32_t 210 uint32_t lo; 211 uint32_t hi; 218 x2apic_write(lapic_register_t reg, uint32_t valu [all...] |
H A D | lapic.h | 172 #define LAPIC_MMIO(reg) ((volatile uint32_t *) \ 178 uint32_t (*read) (lapic_register_t); 179 void (*write) (lapic_register_t, uint32_t); 181 void (*write_icr) (uint32_t, uint32_t); 206 typedef uint32_t lapic_timer_count_t; 269 extern uint32_t ml_get_apicid(uint32_t cpu); 270 extern uint32_t ml_get_cpuid(uint32_t lapic_inde [all...] |
H A D | pal_routines.c | 185 _pal_efi_call_in_32bit_mode_asm(uint32_t func, 191 pal_efi_call_in_32bit_mode(uint32_t func, 195 uint32_t *efi_status) 224 for (i = 0; i < stack_contents_size; i += sizeof(uint32_t)) { 225 uint32_t *p = (uint32_t *) ((uintptr_t)stack_contents + i); 295 *efi_status = (uint32_t)efi_reg->rax; 332 pal_machine_sleep(uint8_t type_a __unused, uint8_t type_b __unused, uint32_t bit_position __unused, 333 uint32_t disable_mask __unused, uint32_t enable_mas [all...] |
/xnu-2782.1.97/osfmk/kern/ |
H A D | energy_perf.c | 38 uint64_t gpu_accumulate_time(__unused uint32_t scope, __unused uint32_t gpu_id, __unused uint32_t gpu_domain, __unused uint64_t gpu_accumulated_ns, __unused uint64_t gpu_tstamp_ns) {
|
H A D | telemetry.c | 71 uint32_t size; 72 uint32_t current_position; 73 uint32_t end_point; 77 int telemetry_buffer_gather(user_addr_t buffer, uint32_t *length, boolean_t mark, struct micro_snapshot_buffer * current_buffer); 87 uint32_t telemetry_sample_rate = 0; 105 uint32_t telemetry_active_tasks = 0; // Number of tasks opted into telemetry 107 uint32_t telemetry_timestamp = 0; 135 uint32_t telemetry_notification_leeway; 212 telemetry_task_ctl(task_t task, uint32_t reasons, int enable_disable) 220 telemetry_task_ctl_locked(task_t task, uint32_t reason [all...] |
H A D | thread.h | 193 uint32_t sched_flags; /* current flag bits */ 226 uint32_t ref_count; /* number of references to me */ 229 uint32_t rwlock_count; /* Number of lck_rw_t locks held by thread */ 232 uint32_t SHARE_COUNT, BG_COUNT; /* This thread's contribution to global sched counters (temporary debugging) */ 242 uint32_t period; 243 uint32_t computation; 244 uint32_t constraint; 249 uint32_t was_promoted_on_wakeup; 251 uint32_t quantum_remaining; /* duration of current quantum remaining */ 273 uint32_t runqueue_generatio [all...] |
H A D | kern_stackshot.c | 70 static uint32_t stack_snapshot_bufsize; 72 static uint32_t stack_snapshot_flags; 73 static uint32_t stack_snapshot_dispatch_offset; 77 void kdp_snapshot_preflight(int pid, void * tracebuf, uint32_t tracebuf_size, 78 uint32_t flags, uint32_t dispatch_offset); 80 static int kdp_stackshot(int pid, void *tracebuf, uint32_t tracebuf_size, 81 uint32_t flags, uint32_t dispatch_offset, uint32_t *pbytesTrace [all...] |
/xnu-2782.1.97/osfmk/prng/ |
H A D | random.h | 38 #define ENTROPY_BUFFER_SIZE ENTROPY_BUFFER_BYTE_SIZE/sizeof(uint32_t) 41 uint32_t *index_ptr; 42 uint32_t buffer[ENTROPY_BUFFER_SIZE];
|
/xnu-2782.1.97/pexpert/pexpert/ |
H A D | device_tree.h | 93 uint32_t length; // Length (bytes) of folloing prop value 99 uint32_t nProperties; // Number of props[] elements (0 => end) 100 uint32_t nChildren; // Number of children[] elements
|
/xnu-2782.1.97/bsd/netinet/ |
H A D | mptcp_var.h | 65 uint32_t mpte_thread_active; /* thread is running */ 66 uint32_t mpte_thread_reqs; /* # of requests for thread */ 105 uint32_t mpo_flags; /* see flags below */ 120 uint32_t mpcr_type; /* see MPTSUB_CONNREQ_* below */ 121 uint32_t mpcr_ifscope; /* ifscope parameter to connectx(2) */ 138 uint32_t mpts_refcnt; /* reference count */ 139 uint32_t mpts_flags; /* see flags below */ 140 uint32_t mpts_evctl; /* subflow control events */ 141 uint32_t mpts_family; /* address family */ 144 uint32_t mpts_ran [all...] |
H A D | tcp_cc.c | 51 uint32_t ccd_snd_cwnd; 52 uint32_t ccd_snd_wnd; 53 uint32_t ccd_snd_ssthresh; 54 uint32_t ccd_rttcur; 55 uint32_t ccd_rxtcur; 56 uint32_t ccd_srtt; 57 uint32_t ccd_event; 58 uint32_t ccd_sndcc; 59 uint32_t ccd_sndhiwat; 60 uint32_t ccd_bytes_acke [all...] |
H A D | udp_var.h | 171 struct sockaddr_list **, struct proc *, uint32_t, associd_t, connid_t *, 172 uint32_t, void *, uint32_t); 179 extern uint32_t udp_count_opportunistic(unsigned int, u_int32_t); 180 extern uint32_t udp_find_anypcb_byaddr(struct ifaddr *);
|
H A D | ip_var.h | 105 uint32_t ipq_csum_flags; /* checksum flags */ 106 uint32_t ipq_csum; /* partial checksum value */ 137 uint32_t imo_refcnt; /* ref count */ 138 uint32_t imo_debug; /* see ifa_debug flags */ 322 uint32_t *); 333 extern void ip_setsrcifaddr_info(struct mbuf *, uint32_t, struct in_ifaddr *); 334 extern void ip_setdstifaddr_info(struct mbuf *, uint32_t, struct in_ifaddr *); 335 extern int ip_getsrcifaddr_info(struct mbuf *, uint32_t *, uint32_t *); 336 extern int ip_getdstifaddr_info(struct mbuf *, uint32_t *, uint32_ [all...] |
/xnu-2782.1.97/osfmk/pmc/ |
H A D | pmc.h | 88 typedef kern_return_t (*perfmon_get_accessible_cores_method_t)(pmc_object_t pmc, uint32_t **cores, size_t *coreCt); 97 typedef kern_return_t (*perfmon_enable_counters_method_t)(perf_monitor_object_t pm, pmc_object_t *pmcs, uint32_t pmcCount); 105 typedef kern_return_t (*perfmon_disable_counters_method_t)(perf_monitor_object_t pm, pmc_object_t *pmcs, uint32_t pmcCount); 122 uint32_t perf_monitor_methods_version; // Always set to MACH_PERFMON_METHODS_VERSION when writing driver kexts 124 uint32_t flags; 238 typedef boolean_t (*pmc_is_accessible_from_logical_core_method_t)(pmc_object_t pmc, uint32_t core); 250 typedef kern_return_t (*pmc_get_accessible_cores_method_t)(pmc_object_t pmc, uint32_t **cores, size_t *coreCt); 301 uint32_t pmc_methods_version; // Always set to MACH_PMC_METHODS_VERSION in your driver. 422 uint32_t useCount; 424 uint32_t reservedCounter [all...] |
/xnu-2782.1.97/bsd/hfs/hfscommon/Misc/ |
H A D | VolumeAllocation.c | 305 static OSErr ReadBitmapRange (struct hfsmount *hfsmp, uint32_t offset, uint32_t iosize, 306 uint32_t **buffer, struct buf **blockRef); 320 static int hfs_scan_range_size (struct hfsmount* hfsmp, uint32_t start, uint32_t *iosize); 321 static uint32_t CheckUnmappedBytes (struct hfsmount *hfsmp, uint64_t blockno, uint64_t numblocks, int *recent, uint32_t *next); 324 static inline int extents_overlap (uint32_t start1, uint32_t len1, 325 uint32_t start [all...] |
/xnu-2782.1.97/libkern/libkern/c++/ |
H A D | OSKext.h | 93 uint32_t flag, 134 friend OSReturn OSKextUnloadKextWithLoadTag(uint32_t); 138 /* in only */ uint32_t clientLogSpec, 172 uint32_t flag, 313 uint32_t * checksumPtr = NULL); 317 uint32_t * checksumPtr = NULL); 325 uint32_t compressedSize, 326 uint32_t fullSize); 334 virtual uint32_t getNumDependencies(void); 342 uint32_t mkextBufferLengt [all...] |
/xnu-2782.1.97/osfmk/x86_64/ |
H A D | kpc_x86.c | 64 static uint32_t kpc_running = 0; 75 IA32_FIXED_CTRx(uint32_t ctr) 86 wrIA32_FIXED_CTRx(uint32_t ctr, uint64_t value) 93 IA32_PMCx(uint32_t ctr) 103 wrIA32_PMCx(uint32_t ctr, uint64_t value) 109 IA32_PERFEVTSELx(uint32_t ctr) 115 wrIA32_PERFEVTSELx(uint32_t ctr, uint64_t value) 135 uint32_t 145 uint32_t 155 uint32_t [all...] |
/xnu-2782.1.97/bsd/dev/i386/ |
H A D | sysctl.c | 60 value = (uint32_t) *(uint8_t *)ptr; 62 arg2 = sizeof(uint32_t); 78 int value = *(uint32_t *)ptr; 162 uint32_t leaf7_features = cpuid_info()->cpuid_leaf7_features; 311 (void *)offsetof(i386_cpu_info_t, cpuid_max_basic),sizeof(uint32_t), 315 (void *)offsetof(i386_cpu_info_t, cpuid_max_ext), sizeof(uint32_t), 353 sizeof(uint32_t), 361 (void *)offsetof(i386_cpu_info_t, cpuid_signature), sizeof(uint32_t), 389 sizeof(uint32_t), 395 sizeof(uint32_t), [all...] |
/xnu-2782.1.97/bsd/dev/chud/ |
H A D | chud_bsd_callback.c | 46 typedef void (*chudxnu_kdebug_callback_func_t)(uint32_t debugid, uintptr_t arg0, uintptr_t arg1, uintptr_t arg2, uintptr_t arg3, uintptr_t arg4); 47 static void chud_null_kdebug(uint32_t debugid, uintptr_t arg0, uintptr_t arg1, uintptr_t arg2, uintptr_t arg3, uintptr_t arg4); 54 extern void kperf_kdebug_callback(uint32_t debugid); 56 static void chud_null_kdebug(uint32_t debugid __unused, uintptr_t arg0 __unused, 64 uint32_t debugid, 218 uint64_t *args, uint32_t count); 219 int chudxnu_dtrace_callback(uint64_t selector, uint64_t *args, uint32_t count); 224 chud_null_dtrace(uint64_t selector, uint64_t *args, uint32_t count); 231 uint32_t count __unused) { 236 chudxnu_dtrace_callback(uint64_t selector, uint64_t *args, uint32_t coun [all...] |
/xnu-2782.1.97/bsd/vfs/ |
H A D | vfs_journal.h | 52 uint32_t sequence_num; 68 uint32_t checksum; // on-disk: checksum of this header and binfo[0] 80 uint32_t allocated_count; 81 uint32_t extent_count; 85 typedef void (*jnl_trim_callback_t)(void *arg, uint32_t extent_count, const dk_extent_t *extents); 99 uint32_t sequence_num; 117 uint32_t checksum; 119 uint32_t sequence_num; // NEW FIELD: a monotonically increasing value assigned to all txn's 171 uint32_t saved_sequence_num; 172 uint32_t sequence_nu [all...] |
/xnu-2782.1.97/libkern/libkern/ |
H A D | OSKextLibPrivate.h | 257 typedef uint32_t OSKextLogSpec; 678 uint32_t bufferSize); 784 uint32_t OSKextGetLoadTagForBundleIdentifier( 824 OSReturn OSKextUnloadKextWithLoadTag(uint32_t loadTag); 866 uint32_t loadTag; 867 uint32_t flags; 889 uint32_t version; 890 uint32_t entry_size; 891 uint32_t numSummaries; 892 uint32_t reserve [all...] |
/xnu-2782.1.97/osfmk/chud/i386/ |
H A D | chud_thread_i386.c | 209 uint32_t prev; // this is really a user32-space pointer to the previous frame 210 uint32_t caller; 211 uint32_t args[0]; 226 uint32_t tmpWord = 0UL; 257 kr = chudxnu_kern_read(&tmpWord, (vm_offset_t) &fp->caller, sizeof(uint32_t)); 259 kr = chudxnu_task_read(task, &tmpWord, (vm_offset_t) &fp->caller, sizeof(uint32_t)); 275 kr = chudxnu_kern_read(&tmpWord, (vm_offset_t)&fp->prev, sizeof(uint32_t)); 277 kr = chudxnu_task_read(task, &tmpWord, (vm_offset_t)&fp->prev, sizeof(uint32_t)); 396 uint32_t currPC = 0U; 397 uint32_t currF [all...] |