Lines Matching defs:slot_id_p
58 * in a #DBusDataSlotList. If the value at *slot_id_p is
61 * is allocated and stored at *slot_id_p.
65 * @param slot_id_p address to fill with the slot ID
71 dbus_int32_t *slot_id_p)
88 if (*slot_id_p >= 0)
90 slot = *slot_id_p;
100 _dbus_assert (*slot_id_p < 0);
139 _dbus_assert (*slot_id_p < 0);
143 *slot_id_p = slot;
162 * @param slot_id_p address where we store the slot
166 dbus_int32_t *slot_id_p)
170 _dbus_assert (*slot_id_p < allocator->n_allocated_slots);
171 _dbus_assert (allocator->allocated_slots[*slot_id_p].slot_id == *slot_id_p);
172 _dbus_assert (allocator->allocated_slots[*slot_id_p].refcount > 0);
174 allocator->allocated_slots[*slot_id_p].refcount -= 1;
176 if (allocator->allocated_slots[*slot_id_p].refcount > 0)
184 *slot_id_p, allocator, allocator->n_allocated_slots, allocator->n_used_slots);
186 allocator->allocated_slots[*slot_id_p].slot_id = -1;
187 *slot_id_p = -1;