nuttx/sched/semaphore
hujun5 7801c46a0d sem_rw.c: down_read_trylock coverity HIS_metric_violation: RETURN
This change consolidates multiple return statements in down_read_trylock() into
a single exit point and replaces goto with if-else structure to reduce cyclomatic
complexity and comply with MISRA HIS coding standards.

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2026-02-02 13:21:24 +08:00
..
CMakeLists.txt cmake:refine nuttx cmake build system fix CMake build missing part 2024-10-13 02:25:06 +08:00
Make.defs sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
sem_clockwait.c pthread: move pthread_cond to userspace 2026-01-26 16:26:39 +08:00
sem_destroy.c Integrate nxmutex support fully into nxsem 2025-05-08 16:00:05 +08:00
sem_holder.c sched: unify Private Types banners 2025-05-28 10:17:15 +08:00
sem_initialize.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
sem_post.c sem_post.c: coverity HIS_metric_violation: RETURN 2026-01-28 13:04:11 -03:00
sem_protect.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
sem_recover.c Integrate nxmutex support fully into nxsem 2025-05-08 16:00:05 +08:00
sem_reset.c coverity: HIS_metric_violation(HIS_CALLS) 2026-01-27 20:54:55 +08:00
sem_rw.c sem_rw.c: down_read_trylock coverity HIS_metric_violation: RETURN 2026-02-02 13:21:24 +08:00
sem_setprotocol.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
sem_tickwait.c clock: Add clock_delay2abstick. 2025-05-12 19:56:29 +08:00
sem_timedwait.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
sem_timeout.c sched: change xx_timeout param from pid to tcb 2024-09-29 18:18:01 +08:00
sem_trywait.c sem_trywait.c: coverity HIS_metric_violation(HIS_GOTO) 2026-01-27 14:29:33 -03:00
sem_wait.c sched/semaphore: remove dead code if no CONFIG_PRIORITY_PROTEC 2026-01-27 14:29:33 -03:00
sem_waitirq.c sem_waitirq.c: coverity HIS_metric_violation: RETURN 2026-01-28 23:43:16 +08:00
semaphore.h sched/semaphore: remove dead code if no CONFIG_PRIORITY_PROTEC 2026-01-27 14:29:33 -03:00