Searched refs:ie_bits (Results 1 – 16 of 16) sorted by relevance
| /xnu-12377.61.12/osfmk/ipc/ |
| H A D | ipc_right.c | 242 ipc_entry_bits_t bits = entry->ie_bits; in ipc_right_lookup_read() 384 assert(entry->ie_bits & MACH_PORT_TYPE_RECEIVE); in ipc_right_reverse() 395 assert(IE_BITS_TYPE(entry->ie_bits) == MACH_PORT_TYPE_SEND); in ipc_right_reverse() 483 if (entry->ie_bits & MACH_PORT_TYPE_PORT_RIGHTS) { in ipc_right_request_alloc() 499 if ((entry->ie_bits & MACH_PORT_TYPE_SEND_ONCE) && in ipc_right_request_alloc() 527 ((entry->ie_bits & MACH_PORT_TYPE_SEND_ONCE) || in ipc_right_request_alloc() 589 (entry->ie_bits & MACH_PORT_TYPE_DEAD_NAME)) { in ipc_right_request_alloc() 590 mach_port_urefs_t urefs = IE_BITS_UREFS(entry->ie_bits); in ipc_right_request_alloc() 596 (entry->ie_bits)++; /* increment urefs */ in ipc_right_request_alloc() 611 kr = (entry->ie_bits & MACH_PORT_TYPE_PORT_OR_DEAD) ? in ipc_right_request_alloc() [all …]
|
| H A D | ipc_entry.c | 126 ipc_entry_make_gen(ipc_entry_bits_t ie_bits, ipc_space_t space) in ipc_entry_make_gen() argument 134 return (ie_bits & IE_BITS_GEN_MASK) | roll_bits; in ipc_entry_make_gen() 176 IE_BITS_GEN(entry->ie_bits) != MACH_PORT_GEN(name) || in ipc_entry_lookup() 177 IE_BITS_TYPE(entry->ie_bits) == MACH_PORT_TYPE_NONE)) { in ipc_entry_lookup() 284 gen = ipc_entry_next_gen(entry->ie_bits, space); in ipc_entry_claim() 285 entry->ie_bits = gen; in ipc_entry_claim() 431 if (!IE_BITS_TYPE(entry->ie_bits)) { in ipc_entry_alloc_name() 466 IE_BITS_GEN(prev_entry->ie_bits)), in ipc_entry_alloc_name() 470 entry->ie_bits = ipc_entry_make_gen(gen, space); in ipc_entry_alloc_name() 476 } else if (IE_BITS_GEN(entry->ie_bits) == gen) { in ipc_entry_alloc_name() [all …]
|
| H A D | ipc_object.c | 320 if ((port_entry->ie_bits & MACH_PORT_TYPE_RECEIVE) == 0) { in ipc_object_translate_port_pset() 321 bool guard = !(port_entry->ie_bits & IE_BITS_EX_RECEIVE); in ipc_object_translate_port_pset() 327 port_entry->ie_bits), in ipc_object_translate_port_pset() 333 if ((pset_entry->ie_bits & MACH_PORT_TYPE_PORT_SET) == 0) { in ipc_object_translate_port_pset() 337 pset_entry->ie_bits), in ipc_object_translate_port_pset() 783 bits = entry->ie_bits; in ipc_object_insert_send_right() 811 entry->ie_bits = bits; in ipc_object_insert_send_right() 821 entry->ie_bits = bits + 1; /* increment urefs */ in ipc_object_insert_send_right() 934 assert(entry->ie_bits & MACH_PORT_TYPE_SEND_RECEIVE); in ipc_object_copyout() 1038 assert(entry->ie_bits & MACH_PORT_TYPE_SEND_RECEIVE); in ipc_object_copyout_name() [all …]
|
| H A D | ipc_space.c | 252 entry->ie_bits = IE_BITS_GEN_INIT; in ipc_space_rand_freelist() 256 table[curr].ie_bits = IE_BITS_GEN_INIT; in ipc_space_rand_freelist() 443 type = IE_BITS_TYPE(entry->ie_bits); in ipc_space_terminate() 448 IE_BITS_GEN(entry->ie_bits)); in ipc_space_terminate() 459 type = IE_BITS_TYPE(entry->ie_bits); in ipc_space_terminate() 464 IE_BITS_GEN(entry->ie_bits)); in ipc_space_terminate()
|
| H A D | ipc_entry.h | 119 ipc_entry_bits_t ie_bits; member
|
| H A D | ipc_hash.c | 241 IE_BITS_GEN(entry->ie_bits)); in ipc_hash_table_lookup()
|
| H A D | ipc_policy.c | 1123 entry->ie_bits |= IE_BITS_IMMOVABLE_SEND; in ipc_entry_init() 1128 entry->ie_bits |= type | urefs; in ipc_entry_init() 1163 assert(entry->ie_bits & IE_BITS_IMMOVABLE_SEND); in mach_port_guard_exception_immovable()
|
| H A D | ipc_kmsg.c | 1909 (voucher_entry->ie_bits & MACH_PORT_TYPE_SEND) == 0 || in ipc_kmsg_copyin_header_rights() 1922 (dest_entry->ie_bits & MACH_PORT_TYPE_PORT_RIGHTS) == 0)) { in ipc_kmsg_copyin_header_rights() 1935 st->reply_bits = reply_entry->ie_bits; in ipc_kmsg_copyin_header_rights() 1938 (reply_entry->ie_bits & MACH_PORT_TYPE_PORT_RIGHTS) == 0)) { in ipc_kmsg_copyin_header_rights() 3360 assert(entry->ie_bits & MACH_PORT_TYPE_SEND_RECEIVE); in ipc_kmsg_copyout_header() 3440 assert(entry->ie_bits & MACH_PORT_TYPE_SEND); in ipc_kmsg_copyout_header() 3726 assert(entry->ie_bits & MACH_PORT_TYPE_RECEIVE); in ipc_kmsg_copyout_reply_port()
|
| H A D | mach_debug.c | 235 bits = entry->ie_bits; in mach_port_space_info()
|
| H A D | mach_kernelrpc.c | 766 IE_BITS_TYPE(entry->ie_bits) == MACH_PORT_TYPE_DEAD_NAME) { in task_dyld_process_info_notify_get_trap()
|
| H A D | mach_port.c | 157 bits = entry->ie_bits; in mach_port_names_helper() 309 ipc_entry_bits_t bits = entry->ie_bits; in mach_port_names()
|
| /xnu-12377.61.12/tools/lldbmacros/ |
| H A D | ipc.py | 102 def GetGenFromIEBits(ie_bits): argument 103 return (ie_bits >> 24) | 3 106 def GetNameFromIndexAndIEBits(index, ie_bits): argument 107 return (index << 8) | GetGenFromIEBits(ie_bits) 580 local_name |= GetGenFromIEBits(unsigned(entry_val.ie_bits)) 862 ie_bits = int(entry.ie_bits) 863 urefs = int(ie_bits & 0xFFFF) 867 if ie_bits & 0x00100000: 870 elif ie_bits & 0x00080000: 882 if ie_bits & 0x00010000: [all …]
|
| /xnu-12377.61.12/doc/mach_ipc/ |
| H A D | guard_exceptions.md | 327 - `(0x02 << 56) | (right << 32) | ie_bits` : `ipc_right_delta` failed, 328 - `(0x03 << 56) | ie_bits` : `ipc_right_destruct` failed, 329 - `(0x04 << 56) | (reason << 32) | ie_bits` : `ipc_right_copyin` failed, 330 - `(0x05 << 56) | ie_bits` : `ipc_right_dealloc` failed, 332 - `(0x07 << 56) | ie_bits` : invalid port in `ipc_object_translate_port_pset`, 333 - `(0x08 << 56) | ie_bits` : invalid pset in `ipc_object_translate_port_pset`. 369 - `(0x02 << 56) | (right << 32) | (delta << 16) | ie_bits` : `ipc_right_delta` failed, 370 - `(0x03 << 56) | (srdelta << 32) | ie_bits` : `ipc_right_destruct` failed,
|
| H A D | ipc_security_concepts.md | 86 of the `struct ipc_entry::ie_bits` field.
|
| /xnu-12377.61.12/osfmk/kern/ |
| H A D | ipc_misc.c | 178 ipc_entry_bits_t bits = entry->ie_bits;
|
| H A D | mk_timer.c | 214 if ((IE_BITS_TYPE(entry->ie_bits) & MACH_PORT_TYPE_RECEIVE) == 0) { in mk_timer_destroy_trap()
|