Home
last modified time | relevance | path

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

/xnu-11417.140.69/osfmk/ipc/
H A Dipc_object.h175 #define io_makebits(otype) (IO_BITS_ACTIVE | ((otype) << 16)) argument
186 #define io_alloc(otype, flags) \ argument
187 zalloc_flags(ipc_object_zones[otype], flags)
259 ipc_object_type_t otype,
268 ipc_object_type_t otype,
H A Dipc_object.c138 ipc_object_free(unsigned int otype, ipc_object_t object, bool last_ref) in ipc_object_free() argument
141 if (otype == IOT_PORT) { in ipc_object_free()
147 zfree(ipc_object_zones[otype], object); in ipc_object_free()
420 ipc_object_type_t otype, in ipc_object_alloc() argument
430 assert(otype < IOT_NUMBER); in ipc_object_alloc()
435 object = io_alloc(otype, Z_WAITOK | Z_ZERO | Z_NOFAIL); in ipc_object_alloc()
436 os_atomic_init(&object->io_bits, io_makebits(otype)); in ipc_object_alloc()
442 ipc_object_free(otype, object, false); in ipc_object_alloc()
475 ipc_object_type_t otype,
486 assert(otype < IOT_NUMBER);
[all …]
H A Dipc_pset.c971 ipc_object_type_t otype) in filt_machportprocess() argument
1068 ipc_object_validate(object, otype); in filt_machportprocess()
1112 if (otype == IOT_PORT) { in filt_machportprocess()
/xnu-11417.140.69/tools/lldbmacros/
H A Dipc.py1707 otype = (obj.io_bits & 0x7fff0000) >> 16
1708 if otype == 0: # IOT_PORT
1711 elif otype == 1: # IOT_PSET