Lines Matching refs:entry
771 register ipc_entry_t entry;
775 entry = &table[index];
776 bits = entry->ie_bits;
779 entry = IE_NULL;
782 entry = IE_NULL;
785 if (entry == IE_NULL) {
786 entry = ipc_entry_lookup(space, reply_name);
787 if (entry == IE_NULL) {
791 bits = entry->ie_bits;
801 reply_port = (ipc_port_t) entry->ie_object;
821 register ipc_entry_t entry;
825 entry = &table[index];
826 bits = entry->ie_bits;
829 entry = IE_NULL;
832 entry = IE_NULL;
835 if (entry == IE_NULL) {
836 entry = ipc_entry_lookup(space, dest_name);
837 if (entry == IE_NULL) {
841 bits = entry->ie_bits;
853 dest_port = (ipc_port_t) entry->ie_object;
961 register ipc_entry_t entry;
978 entry = &table[index];
982 if ((entry->ie_bits & (IE_BITS_GEN_MASK|
992 assert(IE_BITS_TYPE(entry->ie_bits) ==
994 assert(IE_BITS_UREFS(entry->ie_bits) == 1);
996 if (entry->ie_request != 0) {
1001 dest_port = (ipc_port_t) entry->ie_object;
1016 entry->ie_bits = gen;
1017 entry->ie_next = table->ie_next;
1019 entry->ie_object = IO_NULL;
1034 register ipc_entry_t entry;
1045 entry = &table[index];
1046 bits = entry->ie_bits;
1049 entry = IE_NULL;
1052 entry = IE_NULL;
1055 if (entry == IE_NULL) {
1056 entry = ipc_entry_lookup(space, rcv_name);
1057 if (entry == IE_NULL) {
1061 bits = entry->ie_bits;
1079 rcv_pset = (ipc_pset_t) entry->ie_object;
1092 rcv_port = (ipc_port_t) entry->ie_object;
1332 register ipc_entry_t entry;
1345 entry = &table[index];
1346 table->ie_next = entry->ie_next;
1347 entry->ie_request = 0;
1352 assert((entry->ie_bits &~ IE_BITS_GEN_MASK) == 0);
1353 gen = IE_BITS_NEW_GEN(entry->ie_bits);
1359 entry->ie_bits = gen | (MACH_PORT_TYPE_SEND_ONCE | 1);
1363 entry->ie_object = (ipc_object_t) reply_port;