Lines Matching refs:space

1721 	ipc_space_t             space,  in ipc_kmsg_copyin_header()  argument
1769 is_write_lock(space); in ipc_kmsg_copyin_header()
1770 if (!is_active(space)) { in ipc_kmsg_copyin_header()
1771 is_write_unlock(space); in ipc_kmsg_copyin_header()
1787 is_write_unlock(space); in ipc_kmsg_copyin_header()
1795 voucher_entry = ipc_entry_lookup(space, voucher_name); in ipc_kmsg_copyin_header()
1799 is_write_unlock(space); in ipc_kmsg_copyin_header()
1818 is_write_unlock(space); in ipc_kmsg_copyin_header()
1855 reply_entry = ipc_entry_lookup(space, reply_name); in ipc_kmsg_copyin_header()
1860 …if (!ipc_right_copyin_check_reply(space, reply_name, reply_entry, reply_type, dest_entry, &reply_p… in ipc_kmsg_copyin_header()
1872 kr = ipc_right_copyin_two(space, dest_name, dest_entry, in ipc_kmsg_copyin_header()
1894 kr = ipc_right_copyin(space, reply_name, reply_entry, in ipc_kmsg_copyin_header()
1910 dest_entry = ipc_entry_lookup(space, dest_name); in ipc_kmsg_copyin_header()
1922 …if (!ipc_right_copyin_check_reply(space, reply_name, reply_entry, reply_type, dest_entry, &reply_p… in ipc_kmsg_copyin_header()
1930 kr = ipc_right_copyin_two(space, dest_name, dest_entry, dest_type, reply_type, in ipc_kmsg_copyin_header()
1965 dest_entry = ipc_entry_lookup(space, dest_name); in ipc_kmsg_copyin_header()
1978 reply_entry = ipc_entry_lookup(space, reply_name); in ipc_kmsg_copyin_header()
1985 …if (!ipc_right_copyin_check_reply(space, reply_name, reply_entry, reply_type, dest_entry, &reply_p… in ipc_kmsg_copyin_header()
1993 kr = ipc_right_copyin(space, dest_name, dest_entry, dest_type, in ipc_kmsg_copyin_header()
2009 kr = ipc_right_copyin(space, reply_name, reply_entry, in ipc_kmsg_copyin_header()
2026 kr = ipc_right_copyin(space, voucher_name, voucher_entry, in ipc_kmsg_copyin_header()
2112 is_write_unlock(space); in ipc_kmsg_copyin_header()
2228 is_write_unlock(space); in ipc_kmsg_copyin_header()
2243 is_write_unlock(space); in ipc_kmsg_copyin_header()
2285 ipc_space_t space, in ipc_kmsg_copyin_port_descriptor() argument
2298 kr = ipc_object_copyin(space, name, user_disp, &object, in ipc_kmsg_copyin_port_descriptor()
2493 ipc_space_t space, in ipc_kmsg_copyin_ool_ports_descriptor() argument
2534 kr = ipc_object_copyin(space, name, user_disp, &object, in ipc_kmsg_copyin_ool_ports_descriptor()
2620 ipc_space_t space, in ipc_kmsg_copyin_guarded_port_descriptor() argument
2634 kr = ipc_object_copyin(space, name, user_disp, &object, in ipc_kmsg_copyin_guarded_port_descriptor()
2858 ipc_space_t space, in ipc_kmsg_copyin_body() argument
2903 space, dest_port, kmsg, options); in ipc_kmsg_copyin_body()
2912 map, space, dest_port, kmsg, options); in ipc_kmsg_copyin_body()
2916 space, dest_port, kmsg, options); in ipc_kmsg_copyin_body()
3121 ipc_space_t space, in ipc_kmsg_copyin_from_user() argument
3148 mr = ipc_kmsg_copyin_header(kmsg, space, priority, option64p); in ipc_kmsg_copyin_from_user()
3177 mr = ipc_kmsg_copyin_body(kmsg, send_uctx, space, map, options); in ipc_kmsg_copyin_from_user()
3319 ipc_space_t space, in ipc_kmsg_copyout_header() argument
3371 is_write_lock(space); in ipc_kmsg_copyout_header()
3374 if (!is_active(space)) { in ipc_kmsg_copyout_header()
3375 is_write_unlock(space); in ipc_kmsg_copyout_header()
3380 kr = ipc_entries_hold(space, entries_held); in ipc_kmsg_copyout_header()
3385 kr = ipc_entry_grow_table(space, ITS_SIZE_NONE); in ipc_kmsg_copyout_header()
3402 !ip_label_check(space, reply, reply_type, in ipc_kmsg_copyout_header()
3429 ipc_right_reverse(space, ip_to_object(reply), &reply_name, &entry)) { in ipc_kmsg_copyout_header()
3435 ipc_entry_claim(space, ip_to_object(reply), in ipc_kmsg_copyout_header()
3454 ipc_entry_dealloc(space, ip_to_object(reply), in ipc_kmsg_copyout_header()
3457 is_write_unlock(space); in ipc_kmsg_copyout_header()
3472 kr = ipc_right_copyout(space, reply_name, entry, in ipc_kmsg_copyout_header()
3516 if (ipc_right_reverse(space, ip_to_object(voucher), in ipc_kmsg_copyout_header()
3522 ipc_entry_claim(space, ip_to_object(voucher), &voucher_name, &entry); in ipc_kmsg_copyout_header()
3527 kr = ipc_right_copyout(space, voucher_name, entry, in ipc_kmsg_copyout_header()
3543 is_write_unlock(space); in ipc_kmsg_copyout_header()
3566 if (!is_active(space)) { in ipc_kmsg_copyout_header()
3632 ipc_object_copyout_dest(space, ip_to_object(dest), in ipc_kmsg_copyout_header()
3714 ipc_space_t space, in ipc_kmsg_copyout_object() argument
3728 kr = ipc_object_copyout(space, object, msgt_name, IPC_OBJECT_COPYOUT_FLAGS_NONE, in ipc_kmsg_copyout_object()
3764 ipc_space_t space, in ipc_kmsg_copyout_reply_object() argument
3783 is_write_lock(space); in ipc_kmsg_copyout_reply_object()
3785 if (!is_active(space)) { in ipc_kmsg_copyout_reply_object()
3787 is_write_unlock(space); in ipc_kmsg_copyout_reply_object()
3801 if (!ipc_right_reverse(space, object, namep, &entry)) { in ipc_kmsg_copyout_reply_object()
3813 is_write_unlock(space); in ipc_kmsg_copyout_reply_object()
3822 is_write_unlock(space); in ipc_kmsg_copyout_reply_object()
3831 ipc_space_t space) in ipc_kmsg_copyout_port_descriptor() argument
3837 mr = ipc_kmsg_copyout_object(space, in ipc_kmsg_copyout_port_descriptor()
3992 ipc_space_t space) in ipc_kmsg_copyout_ool_ports_descriptor() argument
4028 mr |= ipc_kmsg_copyout_object(space, object, in ipc_kmsg_copyout_ool_ports_descriptor()
4085 ipc_space_t space, in ipc_kmsg_copyout_guarded_port_descriptor() argument
4112 mr = ipc_kmsg_copyout_object(space, in ipc_kmsg_copyout_guarded_port_descriptor()
4175 ipc_space_t space, in ipc_kmsg_copyout_descriptors() argument
4187 space); in ipc_kmsg_copyout_descriptors()
4196 map, space); in ipc_kmsg_copyout_descriptors()
4200 space, option); in ipc_kmsg_copyout_descriptors()
4325 ipc_space_t space, in ipc_kmsg_copyout() argument
4335 mr = ipc_kmsg_copyout_header(kmsg, hdr, space, option); in ipc_kmsg_copyout()
4344 dsc_count, space, map, option); in ipc_kmsg_copyout()
4373 ipc_space_t space, in ipc_kmsg_copyout_pseudo() argument
4408 mr = ipc_kmsg_copyout_object(space, dest, dest_type, NULL, NULL, &dest_name); in ipc_kmsg_copyout_pseudo()
4414 reply_mr = ipc_kmsg_copyout_reply_object(space, reply, &reply_type, &reply_name); in ipc_kmsg_copyout_pseudo()
4420 mr = mr | ipc_kmsg_copyout_object(space, reply, reply_type, NULL, NULL, &reply_name); in ipc_kmsg_copyout_pseudo()
4436 mr |= ipc_kmsg_copyout_object(space, voucher, voucher_type, NULL, NULL, &voucher_name); in ipc_kmsg_copyout_pseudo()
4452 dsc_count, space, map, MACH64_MSG_OPTION_NONE); in ipc_kmsg_copyout_pseudo()
4473 ipc_space_t space) in ipc_kmsg_copyout_dest_to_user() argument
4508 ipc_object_copyout_dest(space, ip_to_object(dest), in ipc_kmsg_copyout_dest_to_user()
4577 ipc_space_t space) in ipc_kmsg_copyout_dest_to_kernel() argument
4598 ipc_object_copyout_dest(space, ip_to_object(dest), in ipc_kmsg_copyout_dest_to_kernel()