Lines Matching defs:rv
42 kern_return_t rv;
44 rv = _kernelrpc_mach_port_names(task, names, namesCnt, types,
47 return (rv);
56 kern_return_t rv;
58 rv = _kernelrpc_mach_port_type(task, name, ptype);
60 return (rv);
69 kern_return_t rv;
71 rv = _kernelrpc_mach_port_rename(task, old_name, new_name);
73 return (rv);
82 kern_return_t rv;
84 rv = _kernelrpc_mach_port_allocate_name(task, right, name);
86 return (rv);
95 kern_return_t rv;
97 rv = _kernelrpc_mach_port_allocate_trap(task, right, name);
99 if (rv == MACH_SEND_INVALID_DEST)
100 rv = _kernelrpc_mach_port_allocate(task, right, name);
102 return (rv);
110 kern_return_t rv;
112 rv = _kernelrpc_mach_port_destroy_trap(task, name);
114 if (rv == MACH_SEND_INVALID_DEST)
115 rv = _kernelrpc_mach_port_destroy(task, name);
117 return (rv);
125 kern_return_t rv;
127 rv = _kernelrpc_mach_port_deallocate_trap(task, name);
129 if (rv == MACH_SEND_INVALID_DEST)
130 rv = _kernelrpc_mach_port_deallocate(task,name);
132 return (rv);
142 kern_return_t rv;
144 rv = _kernelrpc_mach_port_get_refs(task, name, right, refs);
146 return (rv);
156 kern_return_t rv;
158 rv = _kernelrpc_mach_port_mod_refs_trap(task, name, right, delta);
160 if (rv == MACH_SEND_INVALID_DEST)
161 rv = _kernelrpc_mach_port_mod_refs(task, name, right, delta);
163 return (rv);
172 kern_return_t rv;
174 rv = _kernelrpc_mach_port_set_mscount(task, name, mscount);
176 return (rv);
186 kern_return_t rv;
188 rv = _kernelrpc_mach_port_get_set_status(task, name, members,
191 return (rv);
200 kern_return_t rv;
202 rv = _kernelrpc_mach_port_move_member_trap(task, member, after);
204 if (rv == MACH_SEND_INVALID_DEST)
205 rv = _kernelrpc_mach_port_move_member(task, member, after);
207 return (rv);
220 kern_return_t rv;
222 rv = _kernelrpc_mach_port_request_notification(task, name, msgid,
225 return (rv);
235 kern_return_t rv;
237 rv = _kernelrpc_mach_port_insert_right_trap(task, name, poly, polyPoly);
239 if (rv == MACH_SEND_INVALID_DEST)
240 rv = _kernelrpc_mach_port_insert_right(task, name, poly,
243 return (rv);
254 kern_return_t rv;
256 rv = _kernelrpc_mach_port_extract_right(task, name, msgt_name,
259 return (rv);
268 kern_return_t rv;
270 rv = _kernelrpc_mach_port_set_seqno(task, name, seqno);
272 return (rv);
283 kern_return_t rv;
285 rv = _kernelrpc_mach_port_get_attributes(task, name, flavor,
288 return (rv);
299 kern_return_t rv;
301 rv = _kernelrpc_mach_port_set_attributes(task, name, flavor,
304 return (rv);
314 kern_return_t rv;
316 rv = _kernelrpc_mach_port_allocate_qos(task, right, qos, name);
318 return (rv);
329 kern_return_t rv;
331 rv = _kernelrpc_mach_port_allocate_full(task, right, proto, qos, name);
333 return (rv);
341 kern_return_t rv;
343 rv = _kernelrpc_task_set_port_space(task, table_entries);
345 return (rv);
354 kern_return_t rv;
356 rv = _kernelrpc_mach_port_get_srights(task, name, srights);
358 return (rv);
370 kern_return_t rv;
372 rv = _kernelrpc_mach_port_space_info(task, space_info, table_info,
375 return (rv);
385 kern_return_t rv;
387 rv = _kernelrpc_mach_port_dnrequest_info(task, name, dnr_total,
390 return (rv);
400 kern_return_t rv;
402 rv = _kernelrpc_mach_port_kernel_object(task, name,
405 return (rv);
414 kern_return_t rv;
416 rv = _kernelrpc_mach_port_insert_member_trap(task, name, pset);
418 if (rv == MACH_SEND_INVALID_DEST)
419 rv = _kernelrpc_mach_port_insert_member(task, name, pset);
421 return (rv);
430 kern_return_t rv;
432 rv = _kernelrpc_mach_port_extract_member_trap(task, name, pset);
434 if (rv == MACH_SEND_INVALID_DEST)
435 rv = _kernelrpc_mach_port_extract_member(task, name, pset);
437 return (rv);
446 kern_return_t rv;
449 rv = _kernelrpc_mach_port_get_context(task, name, &wide_context);
451 if (rv == KERN_SUCCESS) {
455 return (rv);
464 kern_return_t rv;
466 rv = _kernelrpc_mach_port_set_context(task, name, context);
468 return (rv);
478 kern_return_t rv;
480 rv = _kernelrpc_mach_port_kobject(task, name, object_type, object_addr);
482 return (rv);