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

Function _do_glob_request

components/drivers/smp_call/smp_call.c:70–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70static void _do_glob_request(struct rt_smp_call_req *req_global,
71 struct rt_smp_call_req *req_local)
72{
73 struct rt_smp_event *event;
74
75 /* release the global request data */
76 rt_memcpy(req_local, req_global, sizeof(struct rt_smp_call_req));
77 rt_hw_spin_unlock(&req_global->freed_lock);
78
79 event = &req_local->event;
80 RT_ASSERT(!!event->func);
81 event->func(event->data);
82
83 return ;
84}
85
86static void _do_request(struct rt_smp_call_req *req)
87{

Callers 1

_smp_call_handlerFunction · 0.85

Calls 3

rt_memcpyFunction · 0.85
funcMethod · 0.80
rt_hw_spin_unlockFunction · 0.50

Tested by

no test coverage detected