MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / list_shm

Function list_shm

components/lwp/lwp_shm.c:454–461  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452}
453
454void list_shm(void)
455{
456 rt_kprintf(" key paddr size id\n");
457 rt_kprintf("---------- ---------- ---------- --------\n");
458 rt_mm_lock();
459 lwp_avl_traversal(shm_tree_key, _shm_info, NULL);
460 rt_mm_unlock();
461}
462MSH_CMD_EXPORT(list_shm, show share memory info);
463#endif
464

Callers

nothing calls this directly

Calls 4

rt_kprintfFunction · 0.85
rt_mm_lockFunction · 0.85
lwp_avl_traversalFunction · 0.85
rt_mm_unlockFunction · 0.85

Tested by

no test coverage detected