Lines Matching refs:n_clients
55 int n_clients; member
82 for (idx = 0; idx < sh->n_clients; idx++) { in client_close()
88 assert(idx < sh->n_clients); in client_close()
93 sh->n_clients--; in client_close()
100 sizeof(*sh->clients) * (sh->n_clients - idx)); in client_close()
101 if (sh->n_clients == 0) { in client_close()
105 sh->clients = reallocarray(sh->clients, sh->n_clients, in client_close()
338 n = sh->n_clients++; in socket_poll()
345 reallocarray(sh->clients, sh->n_clients, sizeof(*sh->clients)); in socket_poll()
404 n = sh->n_clients++; in dbus_create_socket_consumer()
412 reallocarray(sh->clients, sh->n_clients, sizeof(*sh->clients)); in dbus_create_socket_consumer()
446 sh->n_clients = 0; in socket_init()
506 while (sh->n_clients) { in socket_deselect()
517 while (sh->n_clients) { in socket_fini()