Lines Matching refs:rqueue_size
176 for (i = 0; i < nl->rqueue_size; i++) in netlink_free()
294 if (nl->rqueue_size >= NETLINK_RQUEUE_MAX) in netlink_rqueue_make_room()
299 if (!GREEDY_REALLOC(nl->rqueue, nl->rqueue_size + 1)) in netlink_rqueue_make_room()
325 if (nl->rqueue_size <= 0) { in dispatch_rqueue()
338 nl->rqueue_size--; in dispatch_rqueue()
339 memmove(nl->rqueue, nl->rqueue + 1, sizeof(sd_netlink_message*) * nl->rqueue_size); in dispatch_rqueue()
579 if (nl->rqueue_size > 0) in sd_netlink_wait()
679 for (unsigned i = 0; i < nl->rqueue_size; i++) { in sd_netlink_read()
692 sizeof(sd_netlink_message*) * (nl->rqueue_size - i - 1)); in sd_netlink_read()
693 nl->rqueue_size--; in sd_netlink_read()
763 return nl->rqueue_size == 0 ? POLLIN : 0; in sd_netlink_get_events()
773 if (nl->rqueue_size > 0) { in sd_netlink_get_timeout()