| /xnu-11215/osfmk/mach/ |
| H A D | mach_types.defs | 87 type upl_t = mach_port_t 125 type task_t = mach_port_t 180 type thread_t = mach_port_t 234 type vm_map_t = mach_port_t 300 type vm_purgable_t = int; 306 type vm_sync_t = int; 352 type task_flavor_t = int; 408 type host_t = mach_port_t 438 type host_flavor_t = int; 529 type policy_t = int; [all …]
|
| H A D | std_types.defs | 83 type int32 = int32_t; 84 type unsigned32 = uint32_t; 85 type int64 = int64_t; 86 type unsigned64 = uint64_t; 91 type char = MACH_MSG_TYPE_CHAR; 96 type kern_return_t = int; 107 type mach_port_right_t = natural_t; 109 type mach_port_type_t = natural_t; 112 type mach_port_urefs_t = natural_t; 118 type mach_msg_id_t = integer_t; [all …]
|
| /xnu-11215/bsd/dev/arm64/ |
| H A D | disassembler.c | 14 uint8_t type; member 18 …{ .mask = 0xFFFFFFFF, .value = FASTTRAP_ARM64_OP_VALUE_FUNC_ENTRY, .type = FASTTRAP_T_ARM64_STANDA… 32 …{ .mask = FASTTRAP_ARM64_OP_MASK_B_PC_REL, .value = FASTTRAP_ARM64_OP_VALUE_B_PC_REL, .type = FAST… 34 …{ .mask = FASTTRAP_ARM64_OP_MASK_BLR, .value = FASTTRAP_ARM64_OP_VALUE_BLR, .type = FASTTRAP_T_ARM… 35 …{ .mask = FASTTRAP_ARM64_OP_MASK_BR, .value = FASTTRAP_ARM64_OP_VALUE_BR, .type = FASTTRAP_T_ARM64… 36 …{ .mask = FASTTRAP_ARM64_OP_MASK_RET, .value = FASTTRAP_ARM64_OP_VALUE_RET, .type = FASTTRAP_T_ARM… 37 …{ .mask = FASTTRAP_ARM64_OP_MASK_ADRP, .value = FASTTRAP_ARM64_OP_VALUE_ADRP, .type = FASTTRAP_T_A… 38 …{ .mask = FASTTRAP_ARM64_OP_MASK_ADR, .value = FASTTRAP_ARM64_OP_VALUE_ADR, .type = FASTTRAP_T_ARM… 39 …{ .mask = FASTTRAP_ARM64_OP_MASK_PRFM, .value = FASTTRAP_ARM64_OP_VALUE_PRFM, .type = FASTTRAP_T_A… 41 …{ .mask = FASTTRAP_ARM64_OP_MASK_RETAB, .value = FASTTRAP_ARM64_OP_VALUE_RETAB, .type = FASTTRAP_T… [all …]
|
| /xnu-11215/osfmk/kern/ |
| H A D | queue.h | 458 #define qe_element(qe, type, field) __container_of(qe, type, field) argument 545 #define qe_dequeue_head(head, type, field) ({ \ argument 547 type *_tmp_element = (type*) NULL; \ 554 #define qe_dequeue_tail(head, type, field) ({ \ argument 556 type *_tmp_element = (type*) NULL; \ 563 #define qe_queue_first(head, type, field) ({ \ argument 565 type *_tmp_element = (type*) NULL; \ 572 #define qe_queue_last(head, type, field) ({ \ argument 574 type *_tmp_element = (type*) NULL; \ 583 type *_tmp_element = (type*) NULL; \ [all …]
|
| H A D | kalloc.h | 456 _KALLOC_TYPE_DEFINE(var, type, flags); \ 457 __ZONE_DECLARE_TYPE(var, type) 658 kfree_type_counted_by_3(type, count, elem) 764 #define KT_SUMMARY_GRANULES(type) \ argument 776 #define KALLOC_TYPE_SIG_CHECK(mask, type) \ argument 787 #define KALLOC_TYPE_IS_DATA_ONLY(type) \ argument 804 #define KALLOC_TYPE_HAS_OVERLAPS(type) \ argument 1500 (KALLOC_TYPE_SIG_CHECK(check, type)) 1510 (sizeof(type) > KHEAP_MAX_SIZE) 1563 KALLOC_TYPE_SIZE_CHECK(sizeof(type)); [all …]
|
| H A D | circle_queue.h | 230 #define cqe_element(qe, type, field) __container_of(qe, type, field) argument 313 #define cqe_dequeue_head(head, type, field) ({ \ argument 315 type *_tmp_element = (type*) NULL; \ 322 #define cqe_dequeue_tail(head, type, field) ({ \ argument 324 type *_tmp_element = (type*) NULL; \ 331 #define cqe_queue_first(head, type, field) ({ \ argument 333 type *_tmp_element = (type*) NULL; \ 340 #define cqe_queue_next(elt, head, type, field) ({ \ argument 342 type *_tmp_element = (type*) NULL; \ 349 #define cqe_queue_last(head, type, field) ({ \ argument [all …]
|
| H A D | ipc_kobject.c | 790 ipc_kobject_type_t type) in ipc_kobject_set_raw() argument 802 (void)type; in ipc_kobject_set_raw() 812 ipc_kobject_type_t type) in ipc_kobject_set_internal() argument 814 assert(type != IKOT_NONE); in ipc_kobject_set_internal() 847 (void)type; in ipc_kobject_get_raw() 947 ipc_kobject_type_t type, in ipc_kobject_init_port() argument 983 ipc_kobject_type_t type, in ipc_kobject_alloc_port() argument 1012 ipc_kobject_type_t type, in ipc_kobject_alloc_labeled_port() argument 1099 ipc_kobject_type_t type, in ipc_kobject_make_send_lazy_alloc_port() argument 1163 ipc_kobject_type_t type, in ipc_kobject_make_send_lazy_alloc_labeled_port() argument [all …]
|
| H A D | ipc_kobject.h | 220 .iko_op_type = type, \ 221 .iko_op_name = #type, \ 225 &ipc_kobject_ops_##type) 252 ipc_kobject_type_t type, 258 ipc_kobject_type_t type, 269 ipc_kobject_type_t type, 276 ipc_kobject_type_t type, 371 ipc_kobject_type_t type); 376 ipc_kobject_type_t type); 381 ipc_kobject_type_t type); [all …]
|
| H A D | priority_queue.h | 231 #define priority_heap_make_comparator(name1, name2, type, field, ...) \ argument 233 type *name1 = pqe_element_fast(__e1, type, field); \ 234 type *name2 = pqe_element_fast(__e2, type, field); \ 320 #define pqe_element_fast(qe, type, field) __container_of(qe, type, field) argument 340 _tmp_entry ? pqe_element_fast(_tmp_entry, type, field) : ((type *)NULL);\ 402 void (^__callback)(type *) = (callback); /* type check */ \ 403 _priority_queue_destroy(pq, offsetof(type, field), \ 422 pqe_element((pq)->pq_root, type, field); \ 440 pqe_element((pq)->pq_root, type, field); \ 475 pqe_element(_priority_queue_remove_root(pq), type, field); \ [all …]
|
| /xnu-11215/iokit/DriverKit/ |
| H A D | queue_implementation.h | 458 #define qe_element(qe, type, field) __container_of(qe, type, field) argument 545 #define qe_dequeue_head(head, type, field) ({ \ argument 547 type *_tmp_element = (type*) NULL; \ 554 #define qe_dequeue_tail(head, type, field) ({ \ argument 556 type *_tmp_element = (type*) NULL; \ 563 #define qe_queue_first(head, type, field) ({ \ argument 565 type *_tmp_element = (type*) NULL; \ 572 #define qe_queue_last(head, type, field) ({ \ argument 574 type *_tmp_element = (type*) NULL; \ 583 type *_tmp_element = (type*) NULL; \ [all …]
|
| /xnu-11215/libkern/libkern/ |
| H A D | tree.h | 148 struct type *name##_SPLAY_INSERT(struct name *, struct type *); \ 149 struct type *name##_SPLAY_REMOVE(struct name *, struct type *); \ 429 struct type *name##_RB_REMOVE(struct name *, struct type *); \ 430 struct type *name##_RB_INSERT(struct name *, struct type *); \ 431 struct type *name##_RB_FIND(struct name *, struct type *); \ 436 struct type *name##_RB_SETPARENT(struct type*, struct type*); \ 451 _sc_ struct type *name##_RB_SETPARENT(struct type*, struct type*); \ 460 struct type *name##_RB_GETPARENT(struct type *elm) { \ 481 struct type *name##_RB_SETPARENT(struct type *elm, struct type *parent) { \ 788 struct type *name##_RB_PREV(struct type *); [all …]
|
| /xnu-11215/pexpert/gen/ |
| H A D | kcformat.c | 62 kc_kind2index(kc_kind_t type) in kc_kind2index() argument 64 switch (type) { in kc_kind2index() 110 if (type == KCKindPrimary) { in PE_reset_kc_header() 147 PE_get_kc_vp(kc_kind_t type) in PE_get_kc_vp() argument 192 if (type != NULL) { in PE_get_primary_kc_format() 195 *type = KCFormatFileset; in PE_get_primary_kc_format() 201 *type = KCFormatStatic; in PE_get_primary_kc_format() 203 *type = KCFormatKCGEN; in PE_get_primary_kc_format() 206 *type = KCFormatDynamic; in PE_get_primary_kc_format() 217 switch (type) { in PE_get_kc_baseaddress() [all …]
|
| /xnu-11215/iokit/IOKit/ |
| H A D | IOLib.h | 319 #define IONewData(type, count) \ argument 320 ((type *)IOMallocData(IOMallocArraySize(0, sizeof(type), count))) 322 #define IONewZeroData(type, count) \ argument 323 ((type *)IOMallocZeroData(IOMallocArraySize(0, sizeof(type), count))) 807 __IOAddTypedOperatorsSentinel(type) 879 __IOAddTypedOperatorsSentinel(type) 909 __IODeclareTypedOperators(type) 912 __IODeclareTypedOperators(type) 933 __IODefineTypedOperators(type) 954 __IOOverrideTypedOperators(type) [all …]
|
| /xnu-11215/osfmk/mach/machine/ |
| H A D | machine_types.defs | 39 type short = int16_t; 40 type int = int32_t; 41 type unsigned = uint32_t; 47 #define VM_ADD_CTYPE(type) ctype: type 50 #define VM_ADD_CTYPE(type) 71 type uintptr_t = uint64_t; 72 type intptr_t = int64_t; 74 type uintptr_t = uint32_t; 75 type intptr_t = int32_t; 85 type register_t = int64_t; [all …]
|
| /xnu-11215/osfmk/mach_debug/ |
| H A D | mach_debug_types.defs | 73 type mach_zone_name_t = struct[80] of char; 76 type mach_zone_info_t = struct[8] of uint64_t; 82 type zone_btrecord_t = struct[16] of uint64_t; 85 type hash_info_bucket_t = struct[1] of natural_t; 88 type ipc_info_space_t = struct[6] of natural_t; 91 type ipc_info_name_t = struct[7] of natural_t; 97 type vm_info_region_t = struct[10] of natural_t; 101 type vm_info_object_t = struct[21] of natural_t; 106 type symtab_name_t = c_string[*:32]; 108 type lockgroup_info_t = struct[33] of uint64_t; [all …]
|
| /xnu-11215/osfmk/device/ |
| H A D | iokit_rpc.c | 208 if (type != NULL) { in iokit_lookup_raw_current_task() 209 *type = ip_kotype(port); in iokit_lookup_raw_current_task() 290 if (type == IKOT_IOKIT_CONNECT) { in iokit_alloc_object_port() 293 if (type == IKOT_UEXT_OBJECT) { in iokit_alloc_object_port() 304 ipc_kobject_disable(port, type); in iokit_remove_object_port() 383 type = ip_kotype( port ); in iokit_no_senders() 386 || (IKOT_IOKIT_IDENT == type) in iokit_no_senders() 438 ipc_kobject_type_t type; in iokit_clear_registered_ports() local 446 type = ip_kotype( port ); in iokit_clear_registered_ports() 447 if ((IKOT_IOKIT_OBJECT == type) in iokit_clear_registered_ports() [all …]
|
| /xnu-11215/libkern/os/ |
| H A D | cpp_util.h | 30 template <class _T> struct remove_reference {typedef _T type;}; typedef 31 template <class _T> struct remove_reference<_T&> {typedef _T type;}; 32 template <class _T> struct remove_reference<_T &&> {typedef _T type;}; 50 template <class _T> struct remove_const {typedef _T type;}; 51 template <class _T> struct remove_const<const _T> {typedef _T type;}; 52 template <class _T> using remove_const_t = typename remove_const<_T>::type; 58 template <class _T> struct remove_volatile {typedef _T type;}; 66 template<class _T> struct remove_extent { typedef _T type; }; 67 template<class _T> struct remove_extent<_T[]> { typedef _T type; }; 87 inline typename remove_reference<_T>::type && [all …]
|
| H A D | system_event_log.c | 29 convert_type_to_string(uint8_t type) in convert_type_to_string() argument 31 switch (type) { in convert_type_to_string() 55 _record_system_event_internal(uint8_t type, uint8_t subsystem, const char *event, const char *paylo… in _record_system_event_internal() argument 57 const char *type_string = convert_type_to_string(type); in _record_system_event_internal() 68 record_system_event(uint8_t type, uint8_t subsystem, const char *event, const char *format, ...) in record_system_event() argument 81 _record_system_event_internal(type, subsystem, event, payload); in record_system_event() 85 record_system_event_no_varargs(uint8_t type, uint8_t subsystem, const char *event, const char *payl… in record_system_event_no_varargs() argument 91 _record_system_event_internal(type, subsystem, event, payload); in record_system_event_no_varargs()
|
| /xnu-11215/bsd/netinet/ |
| H A D | ip_icmp.h | 228 #define ICMP_INFOTYPE(type) \ argument 229 ((type) == ICMP_ECHOREPLY || (type) == ICMP_ECHO || \ 230 (type) == ICMP_ROUTERADVERT || (type) == ICMP_ROUTERSOLICIT || \ 231 (type) == ICMP_TSTAMP || (type) == ICMP_TSTAMPREPLY || \ 232 (type) == ICMP_IREQ || (type) == ICMP_IREQREPLY || \ 233 (type) == ICMP_MASKREQ || (type) == ICMP_MASKREPLY) 235 #define ICMP_ERRORTYPE(type) \ argument 236 ((type) == ICMP_UNREACH || (type) == ICMP_SOURCEQUENCH || \ 237 (type) == ICMP_REDIRECT || (type) == ICMP_TIMXCEED || \ 238 (type) == ICMP_PARAMPROB)
|
| /xnu-11215/tests/ |
| H A D | turnstiles_test.c | 80 turnstile_prim_lock(int type) in turnstile_prim_lock() argument 84 int in_val = type; in turnstile_prim_lock() 96 int in_val = type; in turnstile_prim_unlock() 180 int type = (int)arg; in take_lock_check_priority() local 187 turnstile_prim_lock(type); in take_lock_check_priority() 212 int type = (int)arg; in try_to_take_lock_and_unlock() local 234 int type = (int)arg; in take_lock_and_exit() local 260 int type = (int)arg; in unlock_an_owner_exited_lock() local 277 test1(int type) in test1() argument 295 test2(int type) in test2() argument [all …]
|
| /xnu-11215/bsd/sys/ |
| H A D | malloc.h | 151 #define MALLOC(space, cast, size, type, flags) \ 152 (space) = (cast)_MALLOC(size, type, flags) 154 #define FREE(addr, type) \ 155 _FREE((void *)addr, type) 158 (space) = (cast)_MALLOC_ZONE(size, type, flags) 160 #define FREE_ZONE(addr, size, type) \ 161 _FREE_ZONE((void *)addr, size, type) 168 int type, 176 int type); 183 int type, [all …]
|
| /xnu-11215/bsd/skywalk/core/ |
| H A D | skywalk_common.h | 78 #define container_of(ptr, type, member) \ argument 79 ((type*)(((uintptr_t)ptr) - offsetof(type, member))) 798 _sk_alloc_type(sk_alloc_type, type, flags, tag) 808 type, count, flags, tag) 815 _sk_free_type(sk_free_type, type, elem) 818 _sk_free_type_array(sk_free_type_array, type, count, elem) 828 type, count, elem) 853 _sk_alloc_type(sk_alloc_type_ ## name, type, flags, tag) 865 htype, type, count, flags, tag) 868 _sk_free_type(sk_free_type_ ## name, type, elem) [all …]
|
| /xnu-11215/EXTERNAL_HEADERS/CoreEntitlements/ |
| H A D | Serialization.h | 56 CESerializedElementType_t type; member 170 #define CESerializeInteger(intv) (CESerializedElement_t){.type = kCESerializedInteger, .data.value … 171 #define CESerializeBool(boolVal) (CESerializedElement_t){.type = kCESerializedBool, .data.value = !… 172 #define CESerializeStaticString(strVal) (CESerializedElement_t){.type = kCESerializedString, .data.… 173 #define CESerializeKey(strVal) (CESerializedElement_t){.type = kCESerializedKey, .data.value = (int… 174 #define CESerializeDynamicKey(strVal, len) (CESerializedElement_t){.type = kCESerializedKey, .data.… 175 #define CESerializeString(strVal, len) (CESerializedElement_t){.type = kCESerializedString, .data.v… 176 #define CESerializeData(dataVal, len) (CESerializedElement_t){.type = kCESerializedData, .data.valu… 177 …zeArray(...) (CESerializedElement_t){.type = kCESerializedArrayBegin}, __VA_ARGS__ , (CESerialized… 178 …onary(...) (CESerializedElement_t){.type = kCESerializedDictionaryBegin}, __VA_ARGS__ , (CESeriali…
|
| /xnu-11215/san/memory/ |
| H A D | kasan-blacklist | 18 type:struct linker_set_entry 19 type:linker_set_entry 20 type:struct startup_entry 21 type:startup_entry 22 type:struct kalloc_type_view 24 type:kernel_brk_descriptor 27 type:vm_statistics64 28 type:struct vm_statistics64 29 type:vm_statistics64_data_t 30 type:struct processor [all …]
|
| /xnu-11215/bsd/kern/ |
| H A D | uipc_mbuf2.c | 689 switch (type) { in get_m_tag_type_entry() 706 if (type > 0 && type < KERNEL_TAG_TYPE_COUNT) { in get_m_tag_type_entry() 708 type); in get_m_tag_type_entry() 817 for (uint16_t type = 0; type < KERNEL_TAG_TYPE_COUNT; type++) { in mbuf_tag_init() local 818 m_tag_type_table[type].mt_type = type; in mbuf_tag_init() 871 if (type <= 0 || type >= KERNEL_TAG_TYPE_DRVAUX) { in m_register_internal_tag_type() 875 m_tag_type_table[type].mt_type = type; in m_register_internal_tag_type() 1441 switch (type) { in do_m_tag_test() 1529 switch (type) { in do_test_m_tag_unlink() 1552 __func__, id, type, len); in do_test_m_tag_unlink() [all …]
|