Lines Matching refs:max_socket
51 uint32_t max_socket; member
145 socket_table.max_socket = cn; in sal_init()
355 if (socket < 0 || socket >= (int) st->max_socket) in sal_get_socket()
406 for (idx = 0; idx < socket_table.max_socket; idx++) in sal_netdev_cleanup()
494 for (idx = f_socket; idx < (int) st->max_socket; idx++) in socket_alloc()
503 if (idx == (int) st->max_socket && st->max_socket < SAL_SOCKETS_NUM) in socket_alloc()
509 cnt = st->max_socket + SOCKET_TABLE_STEP_LEN; in socket_alloc()
517 for (index = st->max_socket; index < cnt; index++) in socket_alloc()
523 st->max_socket = cnt; in socket_alloc()
527 if (idx < (int) st->max_socket && st->sockets[idx] == RT_NULL) in socket_alloc()
532 idx = st->max_socket; in socket_alloc()
561 if (idx == (int) st->max_socket) in socket_new()
588 if (idx < 0 || idx >= (int) st->max_socket) in socket_delete()