Home
last modified time | relevance | path

Searched refs:sys_sem_valid (Results 1 - 5 of 5) sorted by relevance

/third_party/lwip/src/include/lwip/
H A Dsys.h59 #define sys_sem_valid(s) 0 macro
118 #define sys_mutex_valid(mutex) sys_sem_valid(mutex)
228 #ifndef sys_sem_valid
236 int sys_sem_valid(sys_sem_t *sem);
241 * Invalidate a semaphore so that sys_sem_valid() returns 0.
250 * Same as sys_sem_valid() but taking a value, not a pointer
252 #define sys_sem_valid_val(sem) sys_sem_valid(&(sem))
/third_party/lwip/test/unit/arch/
H A Dsys_arch.h36 #define sys_sem_valid(sema) ((sema) != NULL) macro
/third_party/lwip/src/api/
H A Dapi_lib.c169 LWIP_ASSERT("conn has no op_completed", sys_sem_valid(&conn->op_completed)); in netconn_new_with_proto_and_callback()
1349 if (!sys_sem_valid(sem)) {
1352 LWIP_ASSERT("LWIP_NETCONN_THREAD_SEM_ALLOC() failed", sys_sem_valid(LWIP_NETCONN_THREAD_SEM_GET()));
1360 if (sys_sem_valid(sem)) {
H A Dtcpip.c521 LWIP_ASSERT("semaphore not initialized", sys_sem_valid(sem)); in tcpip_send_msg_wait_sem()
H A Dapi_msg.c524 LWIP_ASSERT("inavlid op_completed_sem", sys_sem_valid(op_completed_sem));
1252 if (sys_sem_valid(LWIP_API_MSG_SEM(msg))) {

Completed in 6 milliseconds