Searched refs:otype (Results 1 – 3 of 3) sorted by relevance
| /xnu-8796.141.3/osfmk/ipc/ |
| H A D | ipc_object.h | 180 #define io_makebits(otype) (IO_BITS_ACTIVE | ((otype) << 16)) argument 191 #define io_alloc(otype, flags) \ argument 192 zalloc_flags(ipc_object_zones[otype], flags) 287 ipc_object_type_t otype, 296 ipc_object_type_t otype,
|
| H A D | ipc_object.c | 136 ipc_object_free(unsigned int otype, ipc_object_t object, bool last_ref) in ipc_object_free() argument 139 if (otype == IOT_PORT) { in ipc_object_free() 145 zfree(ipc_object_zones[otype], object); in ipc_object_free() 428 ipc_object_type_t otype, in ipc_object_alloc() argument 438 assert(otype < IOT_NUMBER); in ipc_object_alloc() 443 object = io_alloc(otype, Z_WAITOK | Z_ZERO | Z_NOFAIL); in ipc_object_alloc() 444 os_atomic_init(&object->io_bits, io_makebits(otype)); in ipc_object_alloc() 450 ipc_object_free(otype, object, false); in ipc_object_alloc() 483 ipc_object_type_t otype, 494 assert(otype < IOT_NUMBER); [all …]
|
| /xnu-8796.141.3/tools/lldbmacros/ |
| H A D | ipc.py | 1674 otype = (obj.io_bits & 0x7fff0000) >> 16 1675 if otype == 0: # IOT_PORT 1678 elif otype == 1: # IOT_PSET
|