Searched refs:nb_sockets (Results 1 – 2 of 2) sorted by relevance
40 uint32_t nb_sockets; member88 uint32_t nb_sockets; in parse_socket_arg() local116 nb_sockets = lo->nb_sockets; in parse_socket_arg()118 if (nb_sockets >= MAX_NB_SOCKETS) { in parse_socket_arg()123 lo->socket_files[nb_sockets] = strdup(str_fld[1]); in parse_socket_arg()124 if (!lo->socket_files[nb_sockets]) { in parse_socket_arg()129 lo->nb_sockets++; in parse_socket_arg()276 for (j = 0; j < options.los[i].nb_sockets; j++) { in new_device()449 for (j = 0; j < lo->nb_sockets; j++) { in free_resource()494 info->nb_vids = lo->nb_sockets; in main()[all …]
110 static int nb_sockets; variable387 socket_files = realloc(socket_files, PATH_MAX * (nb_sockets + 1)); in us_vhost_parse_socket_path()393 strlcpy(socket_files + nb_sockets * PATH_MAX, q_arg, PATH_MAX); in us_vhost_parse_socket_path()394 nb_sockets++; in us_vhost_parse_socket_path()1439 unregister_drivers(nb_sockets); in sigint_handler()1593 for (i = 0; i < nb_sockets; i++) { in main()