Lines Matching refs:fd_used
355 ++sock->fd_used; in sock_inc_used()
357 LWIP_ASSERT("sock->fd_used != 0", sock->fd_used != 0); in sock_inc_used()
370 LWIP_ASSERT("sock->fd_used != 0", sock->fd_used != 0); in sock_inc_used_locked()
374 ++sock->fd_used; in sock_inc_used_locked()
375 LWIP_ASSERT("sock->fd_used != 0", sock->fd_used != 0); in sock_inc_used_locked()
395 LWIP_ASSERT("sock->fd_used > 0", sock->fd_used > 0); in done_socket()
396 if (--sock->fd_used == 0) { in done_socket()
399 sock->fd_used = 1; in done_socket()
521 if (sockets[i].fd_used) { in alloc_socket()
525 sockets[i].fd_used = 1; in alloc_socket()
561 LWIP_ASSERT("sock->fd_used > 0", sock->fd_used > 0); in free_socket_locked()
562 sock->fd_used--; in free_socket_locked()
563 if (sock->fd_used > 0) { in free_socket_locked()