Home
last modified time | relevance | path

Searched refs:n_clients (Results 1 – 2 of 2) sorted by relevance

/openbmc/obmc-console/
H A Dsocket-handler.c55 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()
338 n = sh->n_clients++; in socket_poll()
404 n = sh->n_clients++; in dbus_create_socket_consumer()
446 sh->n_clients = 0; in socket_init()
506 while (sh->n_clients) { in socket_deselect()
[all …]
/openbmc/libmctp/utils/
H A Dmctp-demux-daemon.c74 int n_clients; member
95 for (i = 0; i < ctx->n_clients; i++) { in client_remove_inactive()
101 ctx->n_clients--; in client_remove_inactive()
103 (ctx->n_clients - i) * sizeof(*ctx->clients)); in client_remove_inactive()
137 for (i = 0; i < ctx->n_clients; i++) { in rx_message()
333 ctx->n_clients++; in socket_process()
337 client = &ctx->clients[ctx->n_clients - 1]; in socket_process()
493 (ctx->n_clients + FD_NR) * in run_daemon()
496 for (i = 0; i < ctx->n_clients; i++) { in run_daemon()
543 for (i = 0; i < ctx->n_clients; i++) { in run_daemon()
[all …]