Home
last modified time | relevance | path

Searched refs:io_type (Results 1 – 16 of 16) sorted by relevance

/xnu-12377.81.4/osfmk/ipc/
H A Dipc_object.h223 ipc_object_type_t io_type; member
275 .io_type = otype, \
287 #define io_type(io) ((io)->io_type) macro
291 #define io_is_any_port(io) io_is_any_port_type(io_type(io))
292 #define io_is_pset(io) io_is_pset_type(io_type(io))
293 #define io_is_kobject(io) io_is_kobject_type(io_type(io))
415 label.io_type = otype; in io_label_get()
464 assert(io->io_type == label->io_type && in io_label_put()
H A Dmach_port.c761 io_type(entry->ie_object) != otype) { in mach_port_deallocate_kernel()
765 otype, io_type(entry->ie_object)), in mach_port_deallocate_kernel()
1580 mach_port_guard_exception(label.io_type, id, in mach_port_request_notification()
1905 if (ip_is_any_service_port_type(label.io_type)) { in mach_port_get_attributes()
2109 if (ip_is_any_service_port_type(label.io_type)) { in mach_port_set_attributes()
2467 label.io_type = IOT_PORT; in mach_port_construct()
2479 label.io_type = IOT_BOOTSTRAP_PORT; in mach_port_construct()
2482 label.io_type = IOT_SERVICE_PORT; in mach_port_construct()
2484 label.io_type = IOT_WEAK_SERVICE_PORT; in mach_port_construct()
2491 label.io_type = IOT_CONNECTION_PORT; in mach_port_construct()
[all …]
H A Dipc_policy.h392 return ipc_policy(label.io_type); in ipc_policy()
399 return ipc_policy(object->io_type); in ipc_policy()
H A Dipc_policy.c550 if (ip_is_any_service_port_type(label.io_type) || in ipc_stash_policy_violations_telemetry()
551 ip_is_bootstrap_port_type(label.io_type)) { in ipc_stash_policy_violations_telemetry()
750 switch (dlabel.io_type) { in ipc_filter_kmsg_header_from_user()
1077 assert(ip_is_tt_control_port_type(label.io_type)); in ipc_should_mark_immovable_send()
1399 label.io_type, label.iol_pointer); in no_label_free()
H A Dipc_service_port.c195 if (!ip_is_any_service_port_type(sp_label.io_type)) { in ipc_service_port_derive_sblabel()
H A Dipc_object.c1015 (io_is_kobject_type(label.io_type) && label.iol_kobject)) { in ipc_object_copyout_name()
1261 ipc_object_validate(io, io_type(io)); in ipc_object_lock_allow_invalid()
H A Dipc_port.c842 assert(label.io_type != IOT_PORT_SET && label.io_type < IOT_UNKNOWN); in ipc_port_init()
1167 if (!ip_is_special_reply_port_type(label.io_type)) { in ipc_port_destroy()
1226 if (ip_is_special_reply_port_type(label.io_type)) { in ipc_port_destroy()
H A Dipc_port.h306 #define ip_type(port) io_type(ip_to_object(port))
H A Dipc_pset.c97 .io_type = IOT_PORT_SET, in ipc_port_set_init()
H A Dipc_right.c2696 if (ip_is_any_service_port_type(label->io_type) && in ipc_right_copyout_recv_and_unlock_space()
H A Dipc_kmsg.c3436 ipc_release_assert(label.io_type == IKOT_VOUCHER); in ipc_kmsg_copyout_header()
3448 assert(label.io_type == IKOT_VOUCHER); in ipc_kmsg_copyout_header()
/xnu-12377.81.4/tools/lldbmacros/
H A Dipc.py196 kind = IPCPortTypeToString(port.ip_object.io_type)
298 if not IsPortType(port.ip_object.io_type, "IOT_SPECIAL_REPLY_PORT"):
713 otype = unsigned(portval.ip_object.io_type)
775 otype = unsigned(port.ip_object.io_type)
804 if port.ip_object.io_type == GetEnumValue("ipc_object_type_t", "IOT_SERVICE_PORT"):
916 if not IsKObjectType(ie_object.io_type) and portval.ip_nsrequest != 0:
940 kind = IPCPortTypeToString(ie_object.io_type)
1346 if not IsKObjectType(p.ip_object.io_type) and p.ip_nsrequest != 0:
1446 ptype = p.ip_object.io_type
1477 ptype = p.ip_object.io_type
[all …]
/xnu-12377.81.4/osfmk/kern/
H A Dipc_kobject.h417 if (!io_is_kobject_type(label->io_type) || !label->iol_kobject) { in ip_label_check_or_substitute()
H A Dipc_kobject.c936 ipc_kobject_set_raw(port, label.io_type, kobject); in ipc_kobject_alloc_port()
1163 if (label.io_type != type) { in ipc_kobject_dealloc_port_and_unlock()
1266 if (label.io_type != type) { in ipc_kobject_disable_locked()
/xnu-12377.81.4/bsd/vfs/
H A Dvfs_cluster.c186 static int cluster_io_type(struct uio *uio, int *io_type, u_int32_t *io_length, u_int32_t min_lengt…
6245 cluster_io_type(struct uio *uio, int *io_type, u_int32_t *io_length, u_int32_t min_length) in cluster_io_type() argument
6298 *io_type = IO_CONTIG; in cluster_io_type()
6300 *io_type = IO_DIRECT; in cluster_io_type()
6302 *io_type = IO_COPY; in cluster_io_type()
6309 *io_type = IO_UNKNOWN; in cluster_io_type()
6311 KERNEL_DEBUG((FSDBG_CODE(DBG_FSRW, 94)) | DBG_FUNC_END, iov_base, *io_type, *io_length, retval, 0); in cluster_io_type()
6313 if (*io_type == IO_DIRECT && in cluster_io_type()
6317 *io_type = IO_COPY; in cluster_io_type()
/xnu-12377.81.4/doc/mach_ipc/
H A Dguard_exceptions.md331 - `(0x06 << 56) | (otype << 32) | io_type` : `ipc_right_deallocate_kernel` failed,