Home
last modified time | relevance | path

Searched refs:otype (Results 1 – 4 of 4) sorted by relevance

/xnu-11215.1.10/osfmk/ipc/
H A Dipc_object.h180 #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)
300 ipc_object_type_t otype,
309 ipc_object_type_t otype,
H A Dipc_object.c137 ipc_object_free(unsigned int otype, ipc_object_t object, bool last_ref) in ipc_object_free() argument
140 if (otype == IOT_PORT) { in ipc_object_free()
146 zfree(ipc_object_zones[otype], object); in ipc_object_free()
429 ipc_object_type_t otype, in ipc_object_alloc() argument
439 assert(otype < IOT_NUMBER); in ipc_object_alloc()
444 object = io_alloc(otype, Z_WAITOK | Z_ZERO | Z_NOFAIL); in ipc_object_alloc()
445 os_atomic_init(&object->io_bits, io_makebits(otype)); in ipc_object_alloc()
451 ipc_object_free(otype, object, false); in ipc_object_alloc()
484 ipc_object_type_t otype,
495 assert(otype < IOT_NUMBER);
[all …]
H A Dipc_pset.c964 ipc_object_type_t otype) in filt_machportprocess() argument
1061 ipc_object_lock(object, otype); in filt_machportprocess()
1104 if (otype == IOT_PORT) { in filt_machportprocess()
/xnu-11215.1.10/tools/lldbmacros/
H A Dipc.py1708 otype = (obj.io_bits & 0x7fff0000) >> 16
1709 if otype == 0: # IOT_PORT
1712 elif otype == 1: # IOT_PSET