Lines Matching defs:rv
43 int rv = MACH_SEND_INVALID_DEST;
51 rv = mach_vm_allocate(task->map, &addr, args->size, args->flags);
52 if (rv == KERN_SUCCESS)
53 rv = copyout(&addr, args->addr, sizeof (addr));
58 return (rv);
65 int rv = MACH_SEND_INVALID_DEST;
70 rv = mach_vm_deallocate(task->map, args->address, args->size);
75 return (rv);
82 int rv = MACH_SEND_INVALID_DEST;
87 rv = mach_vm_protect(task->map, args->address, args->size,
93 return (rv);
101 int rv = MACH_SEND_INVALID_DEST;
106 rv = mach_port_allocate(task->itk_space, args->right, &name);
107 if (rv == KERN_SUCCESS)
108 rv = copyout(&name, args->name, sizeof (name));
114 return (rv);
121 int rv = MACH_SEND_INVALID_DEST;
126 rv = mach_port_destroy(task->itk_space, args->name);
131 return (rv);
138 int rv = MACH_SEND_INVALID_DEST;
143 rv = mach_port_deallocate(task->itk_space, args->name);
148 return (rv);
155 int rv = MACH_SEND_INVALID_DEST;
160 rv = mach_port_mod_refs(task->itk_space, args->name, args->right, args->delta);
165 return (rv);
173 int rv = MACH_SEND_INVALID_DEST;
178 rv = mach_port_move_member(task->itk_space, args->member, args->after);
183 return (rv);
192 int rv = MACH_SEND_INVALID_DEST;
197 rv = ipc_object_copyin(task->itk_space, args->poly, args->polyPoly,
199 if (rv != KERN_SUCCESS)
203 rv = mach_port_insert_right(task->itk_space, args->name, port, disp);
208 return (rv);
215 int rv = MACH_SEND_INVALID_DEST;
220 rv = mach_port_insert_member(task->itk_space, args->name, args->pset);
225 return (rv);
233 int rv = MACH_SEND_INVALID_DEST;
238 rv = mach_port_extract_member(task->itk_space, args->name, args->pset);
243 return (rv);