Lines Matching refs:wqueue
99 sd_bus_message_unref(b->wqueue[--b->wqueue_size]);
101 b->wqueue = mfree(b->wqueue);
193 /* We guarantee that wqueue always has space for at least one
195 if (!GREEDY_REALLOC(r->wqueue, r->wqueue_allocated, 1)) {
1654 r = bus_write_message(bus, bus->wqueue[0], false, &bus->windex);
1660 else if (bus->is_kernel || bus->windex >= BUS_MESSAGE_SIZE(bus->wqueue[0])) {
1672 sd_bus_message_unref(bus->wqueue[0]);
1673 memmove(bus->wqueue, bus->wqueue + 1, sizeof(sd_bus_message*) * bus->wqueue_size);
1795 * of the wqueue array is always allocated so
1798 bus->wqueue[0] = sd_bus_message_ref(m);
1809 if (!GREEDY_REALLOC(bus->wqueue, bus->wqueue_allocated, bus->wqueue_size + 1))
1812 bus->wqueue[bus->wqueue_size ++] = sd_bus_message_ref(m);