Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RT-Thread/rt-thread
/ kmem_get
Function
kmem_get
components/lwp/lwp_syscall.c:120–123 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
118
#define ALLOC_KERNEL_STACK_SIZE 5120
119
120
static void *kmem_get(size_t size)
121
{
122
return rt_malloc(size);
123
}
124
125
static void kmem_put(void *kptr)
126
{
Callers
15
sys_read
Function · 0.85
sys_write
Function · 0.85
sys_open
Function · 0.85
sys_openat
Function · 0.85
sys_poll
Function · 0.85
sys_select
Function · 0.85
sys_unlink
Function · 0.85
sys_exec
Function · 0.85
sys_sem_create
Function · 0.85
sys_mutex_create
Function · 0.85
sys_event_create
Function · 0.85
sys_mb_create
Function · 0.85
Calls
1
rt_malloc
Function · 0.85
Tested by
no test coverage detected