Searched refs:sp_info (Results 1 – 4 of 4) sorted by relevance
| /xnu-8792.41.9/tests/ |
| H A D | mach_service_port.c | 37 struct mach_service_port_info sp_info = {}; variable 39 strcpy(sp_info.mspi_string_name, SERVICE_NAME); 40 sp_info.mspi_domain_type = (uint8_t)SERVICE_DOMAIN; 45 .service_port_info = &sp_info, 105 struct mach_service_port_info sp_info = {}; in do_mach_notify_port_destroyed() local 106 kr = mach_port_get_service_port_info(mach_task_self(), service_port, &sp_info); in do_mach_notify_port_destroyed() 109 if (strcmp(sp_info.mspi_string_name, SERVICE_NAME)) { in do_mach_notify_port_destroyed() 110 T_FAIL("Service port name = %s is incorrect", sp_info.mspi_string_name); in do_mach_notify_port_destroyed() 112 …T_ASSERT_EQ(sp_info.mspi_domain_type, SERVICE_DOMAIN, "Service domain = %u", sp_info.mspi_domain_t… in do_mach_notify_port_destroyed() 156 struct mach_service_port_info sp_info = {}; variable [all …]
|
| /xnu-8792.41.9/osfmk/ipc/ |
| H A D | ipc_service_port.c | 85 ipc_service_port_label_alloc(mach_service_port_info_t sp_info, void **port_label_ptr) in ipc_service_port_label_alloc() argument 94 ret = mach_msg_filter_alloc_service_port_sblabel_callback(sp_info, &sblabel); in ipc_service_port_label_alloc() 103 size_t sp_string_name_len = strlen(sp_info->mspi_string_name); in ipc_service_port_label_alloc() 106 strlcpy(sp_label->ispl_service_name, sp_info->mspi_string_name, sp_string_name_len + 1); in ipc_service_port_label_alloc() 107 sp_label->ispl_domain = sp_info->mspi_domain_type; in ipc_service_port_label_alloc() 110 if (sp_info->mspi_domain_type == XPC_DOMAIN_PORT) { in ipc_service_port_label_alloc()
|
| H A D | ipc_service_port.h | 101 ipc_service_port_label_alloc(mach_service_port_info_t sp_info, void **port_label_ptr);
|
| H A D | mach_port.c | 2545 struct mach_service_port_info sp_info = {}; in mach_port_construct() local 2634 if (copyin(service_port_info, (void *)&sp_info, sizeof(sp_info))) { in mach_port_construct() 2638 …sp_name_length = strnlen(sp_info.mspi_string_name, MACH_SERVICE_PORT_INFO_STRING_NAME_MAX_BUF_LEN); in mach_port_construct() 2643 kr = ipc_service_port_label_alloc(&sp_info, &port_splabel); in mach_port_construct() 3120 mach_service_port_info_t sp_info) in mach_port_get_service_port_info() argument 3129 if (sp_info == NULL) { in mach_port_get_service_port_info() 3149 ipc_service_port_label_get_info((ipc_service_port_label_t)port->ip_splabel, sp_info); in mach_port_get_service_port_info() 3161 __unused mach_service_port_info_t sp_info) in mach_port_get_service_port_info() argument
|