Home
last modified time | relevance | path

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

/xnu-8019.80.24/osfmk/ipc/
H A Dipc_object.h177 #define io_makebits(active, otype, kotype) \ argument
178 (((active) ? IO_BITS_ACTIVE : 0) | ((otype) << 16) | (kotype))
190 io_alloc(unsigned int otype, zalloc_flags_t flags) in io_alloc() argument
192 return zalloc_flags(ipc_object_zones[otype], flags); in io_alloc()
295 ipc_object_type_t otype,
304 ipc_object_type_t otype,
H A Dipc_object.c141 ipc_object_free(unsigned int otype, ipc_object_t object, bool last_ref) in ipc_object_free() argument
143 if (last_ref && otype == IOT_PORT) { in ipc_object_free()
146 zfree(ipc_object_zones[otype], object); in ipc_object_free()
471 ipc_object_type_t otype, in ipc_object_alloc() argument
481 assert(otype < IOT_NUMBER); in ipc_object_alloc()
486 object = io_alloc(otype, Z_WAITOK | Z_ZERO | Z_NOFAIL); in ipc_object_alloc()
487 os_atomic_init(&object->io_bits, io_makebits(TRUE, otype, 0)); in ipc_object_alloc()
493 ipc_object_free(otype, object, false); in ipc_object_alloc()
526 ipc_object_type_t otype,
537 assert(otype < IOT_NUMBER);
[all …]
/xnu-8019.80.24/bsd/vfs/
H A Dvfs_fsevents.c986 int otype; in release_event_ref() local
988 otype = kfse->type; in release_event_ref()
993 if (otype == FSE_RENAME) { in release_event_ref()