/xnu-2782.1.97/security/ |
H A D | mac.h | 111 uint32_t m_buflen; 112 uint32_t m_string;
|
/xnu-2782.1.97/bsd/kern/ |
H A D | sys_coalition.c | 27 coalition_create_syscall(user_addr_t cidp, uint32_t flags) 72 coalition_request_terminate_syscall(user_addr_t cidp, uint32_t flags) 134 coalition_reap_syscall(user_addr_t cidp, uint32_t flags) 183 uint32_t operation = cap->operation; 185 uint32_t flags = cap->flags; 241 uint32_t flavor = uap->flavor;
|
H A D | kern_memorystatus.c | 228 static uint32_t kill_under_pressure_cause = 0; 237 static void memorystatus_get_task_page_counts(task_t task, uint32_t *footprint, uint32_t *max_footprint, uint32_t *max_footprint_lifetime, uint32_t *purgeable_pages); 238 static uint32_t memorystatus_build_state(proc_t p); 242 static boolean_t memorystatus_kill_specific_process(pid_t victim_pid, uint32_t cause); 243 static boolean_t memorystatus_kill_top_process(boolean_t any, uint32_t cause, int32_t *priority, uint32_t *errors); 245 static boolean_t memorystatus_kill_hiwat_proc(uint32_t *error [all...] |
H A D | mach_loader.c | 139 uint32_t filetype, 197 uint32_t *ts, 198 uint32_t total_size 204 uint32_t *ts, 205 uint32_t total_size, 213 uint32_t *ts, 214 uint32_t total_size, 498 uint32_t ncmds; 938 uint32_t filetype, 1234 (uint32_t *)(((vm_offset_ [all...] |
H A D | pthread_shims.c | 80 PTHREAD_STRUCT_ACCESSOR(proc_get_pthread_tsd_offset, proc_set_pthread_tsd_offset, uint32_t, struct proc *, p_pth_tsd_offset); 95 static uint32_t 311 psynch_mutexwait(proc_t p, struct psynch_mutexwait_args *uap, uint32_t *retval) 317 psynch_mutexdrop(proc_t p, struct psynch_mutexdrop_args *uap, uint32_t *retval) 323 psynch_cvbroad(proc_t p, struct psynch_cvbroad_args *uap, uint32_t *retval) 329 psynch_cvsignal(proc_t p, struct psynch_cvsignal_args *uap, uint32_t *retval) 335 psynch_cvwait(proc_t p, struct psynch_cvwait_args * uap, uint32_t * retval) 347 psynch_rw_longrdlock(proc_t p, struct psynch_rw_longrdlock_args * uap, uint32_t *retval) 353 psynch_rw_rdlock(proc_t p, struct psynch_rw_rdlock_args * uap, uint32_t * retval) 359 psynch_rw_unlock(proc_t p, struct psynch_rw_unlock_args *uap, uint32_t *retva [all...] |
H A D | kern_sfi.c | 65 uint32_t operation = uap->operation; 163 uint32_t flags = *(uint32_t *)arg; 185 uint32_t operation = uap->operation; 188 uint32_t out_flags = 0;
|
/xnu-2782.1.97/bsd/net/ |
H A D | netsrc.c | 53 static errno_t netsrc_ctlsend(kern_ctl_ref, uint32_t, void *, mbuf_t, int); 55 static errno_t netsrc_ipv4(kern_ctl_ref, uint32_t, struct netsrc_req *); 56 static errno_t netsrc_ipv6(kern_ctl_ref, uint32_t, struct netsrc_req *); 88 netsrc_ctlsend(kern_ctl_ref kctl, uint32_t unit, void *uinfo, mbuf_t m, 129 netsrc_ipv4(kern_ctl_ref kctl, uint32_t unit, struct netsrc_req *nrq) 186 netsrc_ipv6(kern_ctl_ref kctl, uint32_t unit, struct netsrc_req *nrq)
|
H A D | packet_mangler.c | 70 uint32_t pkt_mnglr_kcunit; 71 uint32_t pkt_mnglr_flags; 84 uint32_t ip_action_mask; 87 uint32_t proto; 88 uint32_t proto_action_mask; 94 uint32_t pkt_mnglr_active_count = 0; /* Number of active packet filters */ 95 uint32_t pkt_mnglr_close_wait_timeout = 1000; /* in milliseconds */ 380 if (*len < sizeof(uint32_t)) { 388 *(uint32_t *)data = p_pkt_mnglr->proto_action_mask; 392 if (*len < sizeof(uint32_t)) { [all...] |
/xnu-2782.1.97/osfmk/mach/ |
H A D | mach_types.defs | 76 type memory_object_cluster_size_t = uint32_t; 82 type upl_size_t = uint32_t; 83 type upl_offset_t = uint32_t; 435 type security_token_t = struct[2] of uint32_t; 436 type audit_token_t = struct[8] of uint32_t; 545 type mach_voucher_attr_key_t = uint32_t; 547 type mach_voucher_attr_command_t = uint32_t; 548 type mach_voucher_attr_recipe_command_t = uint32_t; 550 type mach_voucher_attr_content_size_t = uint32_t; 554 type mach_voucher_attr_raw_recipe_size_t = uint32_t; [all...] |
/xnu-2782.1.97/iokit/Kernel/ |
H A D | IOPMrootDomain.cpp | 172 extern "C" int stack_snapshot_from_kernel(pid_t pid, void *buf, uint32_t size, uint32_t flags, unsigned *bytesTraced); 265 uint32_t flags; 266 uint32_t type; 267 uint32_t value; 272 uint32_t options; 273 uint32_t dataType; 314 static uint32_t gAggressivesState = 0; 318 static uint32_t gDarkWakeFlags = kDarkWakeFlagHIDTickleNone; 380 uint32_t *publishedFeatureI [all...] |
/xnu-2782.1.97/bsd/sys/ |
H A D | kdebug.h | 93 uint32_t coreid, 94 uint32_t debugid, 655 kernel_debug_early((uint32_t)x, (uintptr_t)a, (uintptr_t)b, \ 675 kernel_debug_early((uint32_t)x, (uintptr_t)a, (uintptr_t)b, \ 722 uint32_t debugid, 730 uint32_t debugid, 738 uint32_t debugid, 752 kernel_debug((uint32_t)x, (uintptr_t)a, (uintptr_t)b, \ 759 kernel_debug1((uint32_t)x, (uintptr_t)a, (uintptr_t)b, \ 768 kernel_debug((uint32_t) [all...] |
/xnu-2782.1.97/osfmk/i386/ |
H A D | mtrr.c | 42 uint32_t refcnt; /* var ranges reference count */ 82 uint64_t length, uint32_t type, int valid); 84 uint64_t length, uint32_t type); 476 mtrr_range_add(addr64_t address, uint64_t length, uint32_t type) 576 mtrr_range_remove(addr64_t address, uint64_t length, uint32_t type) 628 uint64_t length, uint32_t type, int valid) 631 (type & (uint32_t)IA32_MTRR_PHYSBASE_TYPE); 639 uint64_t length, uint32_t type) 642 uint32_t v_type; 646 v_type = (uint32_t)(rang [all...] |
H A D | pmap_common.c | 44 uint32_t pv_hashed_free_count = 0; 45 uint32_t pv_hashed_kern_free_count = 0; 48 uint32_t pmap_pagetable_corruption_incidents; 55 volatile uint32_t mappingrecurse = 0; 57 uint32_t pv_hashed_low_water_mark, pv_hashed_kern_low_water_mark, pv_hashed_alloc_chunk, pv_hashed_kern_alloc_chunk; 258 pv_hashed_low_water_mark = MAX(PV_HASHED_LOW_WATER_MARK_DEFAULT, ((uint32_t)(sane_size >> 30)) * 2000); 261 pv_hashed_kern_low_water_mark = MAX(PV_HASHED_KERN_LOW_WATER_MARK_DEFAULT, ((uint32_t)(sane_size >> 30)) * 1000);
|
H A D | i386_vm_init.c | 115 uint32_t pmap_reserved_pages_allocated = 0; 116 uint32_t pmap_reserved_range_indices[PMAP_MAX_RESERVED_RANGES]; 117 uint32_t pmap_last_reserved_range_index = 0; 118 uint32_t pmap_reserved_ranges = 0; 182 uint32_t pmap_type; 183 uint32_t maxloreserve; 184 uint32_t maxdmaaddr; 185 uint32_t mbuf_reserve = 0; 215 uint32_t cmd; 363 static uint32_t nm [all...] |
H A D | cpu_data.h | 149 volatile uint32_t cpu_tlb_invalid; 179 uint32_t cpu_hwIntCnt[HWINTCNT_SIZE]; /* Interrupt counts */ 196 uint32_t cpu_pmap_pcid_enabled; 233 uint32_t cpu_nested_istack; 234 uint32_t cpu_nested_istack_events;
|
H A D | phys.c | 116 bzero_phys((addr64_t)(i386_ptob(pn) + offset), (uint32_t)len); 219 src = (void *) ((uintptr_t)src_map->prv_CADDR | ((uint32_t)src64 & INTEL_OFFMASK)); 220 dst = (void *) ((uintptr_t)dst_map->prv_CADDR | ((uint32_t)dst64 & INTEL_OFFMASK)); 258 if (((((uint32_t)src64 & (I386_PGBYTES-1)) + bytes) > I386_PGBYTES) || ((((uint32_t)dst64 & (I386_PGBYTES-1)) + bytes) > I386_PGBYTES) ) {
|
/xnu-2782.1.97/tools/tests/memorystatus/ |
H A D | memorystatus_groups.c | 66 uint32_t kill_pid_indx = 0; 67 uint32_t g_new_priority = JETSAM_PRIORITY_IDLE; 83 static void do_pidlist_test(memorystatus_priority_entry_t *list, uint32_t pid_count); 84 static void do_control_list_test(memorystatus_priority_entry_t *list, uint32_t pid_count); 85 static void dump_info_table(pidinfo_t *info, uint32_t count); 193 uint32_t pid_count = MAXTESTPIDS; /* default */ 305 do_pidlist_test(memorystatus_priority_entry_t *list, uint32_t pid_count) 312 do_control_list_test(memorystatus_priority_entry_t *list, uint32_t pid_count) 543 void do_generate_test (memorystatus_priority_entry_t *list, uint32_t pid_count) 612 dump_info_table(pidinfo_t *info, uint32_t coun [all...] |
/xnu-2782.1.97/bsd/hfs/ |
H A D | hfs_cnode.h | 372 extern void hfs_write_gencount(struct cat_attr *cattrp, uint32_t gencount); 373 extern uint32_t hfs_get_gencount(struct cnode *cp); 374 extern uint32_t hfs_incr_gencount (struct cnode *cp); 375 extern uint32_t hfs_get_gencount_from_blob(const uint8_t * /* finderinfo */, mode_t /* mode */); 378 extern uint32_t hfs_get_document_id(struct cnode * /* cp */); 379 extern uint32_t hfs_get_document_id_from_blob(const uint8_t * /* finderinfo */, mode_t /* mode */); 386 typedef uint32_t hfs_file_done_opts_t;
|
/xnu-2782.1.97/bsd/netinet/ |
H A D | tcp_ledbat.c | 129 uint32_t bg_ss_fltsz = 2; 135 static void update_cwnd(struct tcpcb *tp, uint32_t incr) { 136 uint32_t max_allowed_cwnd = 0, flight_size = 0; 137 uint32_t qdelay, base_rtt; 171 uint32_t redwin; 290 uint32_t win; 424 uint32_t cwnd;
|
/xnu-2782.1.97/osfmk/kern/ |
H A D | locks.h | 109 uint32_t lck_grp_refcnt; 110 uint32_t lck_grp_spincnt; 111 uint32_t lck_grp_mtxcnt; 112 uint32_t lck_grp_rwcnt; 113 uint32_t lck_grp_attr; 126 uint32_t grp_attr_val; 321 extern void mutex_pause(uint32_t);
|
/xnu-2782.1.97/bsd/nfs/ |
H A D | nfsproto.h | 351 #define NFS_BITMAP_SET(B, I) (((uint32_t *)(B))[(I)/32] |= 1<<((I)%32)) 352 #define NFS_BITMAP_CLR(B, I) (((uint32_t *)(B))[(I)/32] &= ~(1<<((I)%32))) 353 #define NFS_BITMAP_ISSET(B, I) (((uint32_t *)(B))[(I)/32] & (1<<((I)%32))) 358 ((uint32_t*)(B))[__i] = 0; \ 361 extern uint32_t nfs_fs_attr_bitmap[NFS_ATTR_BITMAP_LEN]; 362 extern uint32_t nfs_object_attr_bitmap[NFS_ATTR_BITMAP_LEN]; 363 extern uint32_t nfs_getattr_bitmap[NFS_ATTR_BITMAP_LEN]; 370 ((uint32_t*)(DST))[__i] = ((uint32_t*)(SRC))[__i]; \ 790 uint32_t specdata [all...] |
/xnu-2782.1.97/osfmk/x86_64/ |
H A D | loose_ends.c | 168 uint32_t bytes) 176 uint32_t bytes) 193 if (((((uint32_t)src64 & (NBPG-1)) + bytes) > NBPG) || 194 ((((uint32_t)dst64 & (NBPG-1)) + bytes) > NBPG) ) { 212 if (((((uint32_t)dst64 & (NBPG-1)) + bytes) > NBPG) ) { 518 uint32_t 519 hw_compare_and_store(uint32_t oldval, uint32_t newval, volatile uint32_t *dest)
|
/xnu-2782.1.97/SETUP/setsegname/ |
H A D | setsegname.c | 128 uint32_t ncmds, cmdtype; 129 uint32_t len; 132 uint32_t nsects = 0; 133 uint32_t * flags = NULL; 134 uint32_t attr;
|
/xnu-2782.1.97/libkern/ |
H A D | OSKextVersion.c | 396 uint32_t bufferLength) 450 cpos = snprintf(buffer, bufferLength, "%u", (uint32_t)vers_major); 456 cpos += snprintf(buffer+cpos, bufferLength - cpos, "%u", (uint32_t)vers_minor); 464 (uint32_t)vers_revision); 478 snprintf(buffer+cpos, bufferLength - cpos, "%u", (uint32_t)vers_stage_level);
|
/xnu-2782.1.97/pexpert/i386/ |
H A D | pe_init.c | 115 uint32_t *map; 244 uint32_t width = norootIcon_lzss->width; 245 uint32_t height = norootIcon_lzss->height; 246 uint32_t x = ((PE_state.video.v_width - width) / 2); 247 uint32_t y = ((PE_state.video.v_height - height) / 2) + norootIcon_lzss->y_offset_from_center;
|