Home
last modified time | relevance | path

Searched refs:notification_resource_user (Results 1 – 2 of 2) sorted by relevance

/xnu-11215.1.10/libsyscall/wrappers/
H A Dexclaves.c263 struct exclaves_resource_user notification_resource_user; in exclaves_notification_create() local
270 strlcpy(notification_resource_user.r_name, name, MAXCONCLAVENAME); in exclaves_notification_create()
272 (mach_vm_address_t)&notification_resource_user, in exclaves_notification_create()
273 sizeof(notification_resource_user), 0, 0); in exclaves_notification_create()
275 *notification_id = notification_resource_user.r_port; in exclaves_notification_create()
/xnu-11215.1.10/osfmk/kern/
H A Dexclaves.c717 struct exclaves_resource_user *notification_resource_user = NULL; in _exclaves_ctl_trap() local
726 notification_resource_user = (struct exclaves_resource_user *) in _exclaves_ctl_trap()
729 error = copyin(ubuffer, notification_resource_user, usize); in _exclaves_ctl_trap()
735 const size_t name_buf_len = sizeof(notification_resource_user->r_name); in _exclaves_ctl_trap()
736 if (strnlen(notification_resource_user->r_name, name_buf_len) in _exclaves_ctl_trap()
744 notification_resource_user->r_name, &notification_resource); in _exclaves_ctl_trap()
754 notification_resource_user->r_type = notification_resource->r_type; in _exclaves_ctl_trap()
755 notification_resource_user->r_id = notification_resource->r_id; in _exclaves_ctl_trap()
756 notification_resource_user->r_port = port_name; in _exclaves_ctl_trap()
757 error = copyout(notification_resource_user, ubuffer, usize); in _exclaves_ctl_trap()
[all …]