Lines Matching refs:entry
1090 ipc_entry_t entry;
1114 entry = ipc_entry_lookup(space, dest_name);
1115 if (entry != IE_NULL) {
1117 ipc_port_t port = (ipc_port_t) entry->ie_object;
1135 if ((entry = ipc_entry_lookup(space, notify)) == IE_NULL) {
1139 if((entry->ie_bits & MACH_PORT_TYPE_RECEIVE) == 0) {
1144 notify_port = (ipc_port_t) entry->ie_object;
1163 entry = ipc_entry_lookup(space, name);
1164 if (entry == IE_NULL)
1169 if (!ipc_right_copyin_check(space, name, entry, reply_type))
1176 * destination, this entry must name a live
1179 * live entry. Therefore the other copyin,
1190 kr = ipc_right_copyin(space, name, entry,
1207 assert(entry->ie_bits & MACH_PORT_TYPE_RECEIVE);
1210 kr = ipc_right_copyin(space, name, entry,
1216 assert(entry->ie_bits & MACH_PORT_TYPE_RECEIVE);
1225 kr = ipc_right_copyin(space, name, entry,
1231 assert(entry->ie_bits & MACH_PORT_TYPE_SEND);
1251 kr = ipc_right_copyin_two(space, name, entry,
1256 /* the entry might need to be deallocated */
1257 if (IE_BITS_TYPE(entry->ie_bits) == MACH_PORT_TYPE_NONE)
1258 ipc_entry_dealloc(space, name, entry);
1275 kr = ipc_right_copyin(space, name, entry,
1281 /* the entry might need to be deallocated */
1283 if (IE_BITS_TYPE(entry->ie_bits) == MACH_PORT_TYPE_NONE)
1284 ipc_entry_dealloc(space, name, entry);
1309 entry = ipc_entry_lookup(space, dest_name);
1310 if (entry == IE_NULL)
1313 kr = ipc_right_copyin(space, dest_name, entry,
1319 /* the entry might need to be deallocated */
1321 if (IE_BITS_TYPE(entry->ie_bits) == MACH_PORT_TYPE_NONE)
1322 ipc_entry_dealloc(space, dest_name, entry);
1409 * deallocate a receive right, so its entry still exists
2142 ipc_entry_t entry;
2149 * dead-name request in the new entry, because this
2189 &reply_name, &entry)) {
2200 assert(entry->ie_bits &
2222 kr = ipc_entry_get(space, &reply_name, &entry);
2249 assert(IE_BITS_TYPE(entry->ie_bits) ==
2251 assert(entry->ie_object == IO_NULL);
2256 entry->ie_object = (ipc_object_t) reply;
2267 ipc_entry_dealloc(space, reply_name, entry);
2293 entry->ie_object = (ipc_object_t) reply;
2294 entry->ie_request = request;
2302 kr = ipc_right_copyout(space, reply_name, entry,
2328 ipc_entry_t entry;
2332 if ((entry = ipc_entry_lookup(space, notify)) == IE_NULL) {
2338 if ((entry->ie_bits & MACH_PORT_TYPE_RECEIVE) == 0) {