113 |
|
|
114 |
/* Convenience function for removing ENTRY from OBJECT. */ |
/* Convenience function for removing ENTRY from OBJECT. */ |
115 |
|
|
116 |
static inline bool remove_entry (struct ipc_object *object, |
static inline bool |
117 |
struct ipc_entry *entry) |
remove_entry (struct ipc_object *object, struct ipc_entry *entry) |
118 |
{ |
{ |
119 |
|
if (IE_BITS_RIGHTS (entry->ie_bits) != RTMK_PORT_TYPE_SEND_ONCE) |
120 |
|
ipc_reverse_remove (entry); |
121 |
|
|
122 |
if (entry->ie_key <= MTABLERIGHTS) |
if (entry->ie_key <= MTABLERIGHTS) |
123 |
ipc_table_remove (&object->tbl, entry->ie_key); |
ipc_table_remove (&object->tbl, entry->ie_key); |
124 |
else |
else |