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

Function list_find_init

components/finsh/cmd.c:77–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75} list_get_next_t;
76
77static void list_find_init(list_get_next_t *p, rt_uint8_t type, rt_list_t **array, int nr)
78{
79 struct rt_object_information *info;
80 rt_list_t *list;
81
82 info = rt_object_get_information((enum rt_object_class_type)type);
83 list = &info->object_list;
84
85 p->list = list;
86 p->type = type;
87 p->array = array;
88 p->nr = nr;
89 p->nr_out = 0;
90}
91
92static rt_list_t *list_get_next(rt_list_t *current, list_get_next_t *arg)
93{

Callers 10

list_threadFunction · 0.70
list_semFunction · 0.70
list_eventFunction · 0.70
list_mutexFunction · 0.70
list_mailboxFunction · 0.70
list_msgqueueFunction · 0.70
list_memheapFunction · 0.70
list_mempoolFunction · 0.70
list_timerFunction · 0.70
list_deviceFunction · 0.70

Calls 1

Tested by

no test coverage detected