nuttx/syscall/syscall.csv
hujun5 5051721298 sched/pthread: move pthread mutex from syscall to user-space
Move pthread mutex operations from kernel-space syscall
interface to user-space implementations
to reduce syscall overhead. Relocate mutex holder list
tracking from task control block (tcb) to
thread local storage (tls) to improve memory layout and
cache efficiency. Add helper macros for
conditional mutex implementations and update syscall
interface accordingly.

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2026-01-22 12:40:49 -03:00

18 KiB

1_assertassert.hvoidFAR const char *intFAR const char *FAR void *
2accept4sys/socket.hdefined(CONFIG_NET)intintFAR struct sockaddr *FAR socklen_t *int
3clock_nanosleeptime.hintclockid_tintFAR const struct timespec *FAR struct timespec *
4epoll_ctlsys/epoll.hintintintintFAR struct epoll_event *
5epoll_waitsys/epoll.hintintFAR struct epoll_event *intint
6fcntlfcntl.hintintint...int
7ioctlsys/ioctl.hintintint...unsigned long
8mq_receivemqueue.h!defined(CONFIG_DISABLE_MQUEUE)ssize_tmqd_tFAR char *size_tFAR unsigned int *
9mq_sendmqueue.h!defined(CONFIG_DISABLE_MQUEUE)intmqd_tFAR const char *size_tunsigned int
10openfcntl.hintFAR const char *int...mode_t
11ppollpoll.h!defined(CONFIG_DISABLE_ALL_SIGNALS)intFAR struct pollfd *nfds_tFAR const struct timespec *FAR const sigset_t *
12prctlsys/prctl.hintint...uintptr_tuintptr_t
13preadunistd.hssize_tintFAR void *size_toff_t
14pthread_cond_clockwaitpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_cond_t *FAR pthread_mutex_t *clockid_tFAR const struct timespec *
15pwriteunistd.hssize_tintFAR const void *size_toff_t
16recvsys/socket.hdefined(CONFIG_NET)ssize_tintFAR void *size_tint
17sched_backtracesched.hdefined(CONFIG_SCHED_BACKTRACE)intpid_tFAR void **intint
18sendsys/socket.hdefined(CONFIG_NET)ssize_tintFAR const void *size_tint
19sendfilesys/sendfile.hssize_tintintFAR off_t *size_t
20socketpairsys/socket.hdefined(CONFIG_NET)intintintintint [2]|FAR int *
21timer_settimetime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)inttimer_tintFAR const struct itimerspec *FAR struct itimerspec *
22timerfd_settimesys/timerfd.hdefined(CONFIG_TIMER_FD)intintintFAR const struct itimerspec *FAR struct itimerspec *
23waitidsys/wait.hdefined(CONFIG_SCHED_WAITPID) && defined(CONFIG_SCHED_HAVE_PARENT)intidtype_tid_t FAR siginfo_t *int