Home
last modified time | relevance | path

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

/xnu-11215.81.4/libsyscall/wrappers/
H A Dexclaves.c247 struct exclaves_resource_user notification_resource_user; in exclaves_notification_create() local
254 strlcpy(notification_resource_user.r_name, name, MAXCONCLAVENAME); in exclaves_notification_create()
256 (mach_vm_address_t)&notification_resource_user, in exclaves_notification_create()
257 sizeof(notification_resource_user), 0, 0, 0); in exclaves_notification_create()
259 *notification_id = notification_resource_user.r_port; in exclaves_notification_create()
/xnu-11215.81.4/osfmk/kern/
H A Dexclaves.c685 struct exclaves_resource_user *notification_resource_user = NULL; in _exclaves_ctl_trap() local
694 notification_resource_user = (struct exclaves_resource_user *) in _exclaves_ctl_trap()
697 error = copyin(ubuffer, notification_resource_user, usize); in _exclaves_ctl_trap()
703 const size_t name_buf_len = sizeof(notification_resource_user->r_name); in _exclaves_ctl_trap()
704 if (strnlen(notification_resource_user->r_name, name_buf_len) in _exclaves_ctl_trap()
712 notification_resource_user->r_name, &notification_resource); in _exclaves_ctl_trap()
722 notification_resource_user->r_type = notification_resource->r_type; in _exclaves_ctl_trap()
723 notification_resource_user->r_id = notification_resource->r_id; in _exclaves_ctl_trap()
724 notification_resource_user->r_port = port_name; in _exclaves_ctl_trap()
725 error = copyout(notification_resource_user, ubuffer, usize); in _exclaves_ctl_trap()
[all …]