Home
last modified time | relevance | path

Searched refs:g_listenerList (Results 1 - 2 of 2) sorted by relevance

/foundation/communication/dsoftbus/core/connection/manager/
H A Dsoftbus_conn_manager.c39 static SoftBusList *g_listenerList = NULL; variable
86 if (g_listenerList == NULL) { in GetAllListener()
91 if (SoftBusMutexLock(&g_listenerList->lock) != 0) { in GetAllListener()
96 if (g_listenerList->cnt == 0) { in GetAllListener()
98 (void)SoftBusMutexUnlock(&g_listenerList->lock); in GetAllListener()
102 *node = SoftBusCalloc(g_listenerList->cnt * sizeof(ConnListenerNode)); in GetAllListener()
105 (void)SoftBusMutexUnlock(&g_listenerList->lock); in GetAllListener()
108 LIST_FOR_EACH_ENTRY(listenerNode, &g_listenerList->list, ConnListenerNode, node) { in GetAllListener()
115 (void)SoftBusMutexUnlock(&g_listenerList->lock); in GetAllListener()
123 if (g_listenerList in GetListenerByModuleId()
[all...]
/foundation/communication/dsoftbus/core/connection/common/src/
H A Dsoftbus_base_listener.c93 static SoftbusListenerNode *g_listenerList[UNUSE_BUTT] = { 0 }; variable
104 SoftbusListenerNode *node = g_listenerList[module]; in GetListenerNodeCommon()
113 g_listenerList[module] = node; in GetListenerNodeCommon()
145 if (g_listenerList[node->module] != node) { in RemoveListenerNode()
157 g_listenerList[node->module] = NULL; in RemoveListenerNode()
255 (void)memset_s(g_listenerList, sizeof(g_listenerList), 0, sizeof(g_listenerList)); in InitBaseListener()
292 if (g_listenerList[module] != NULL) { in CreateListenerModule()
301 g_listenerList[modul in CreateListenerModule()
[all...]

Completed in 3 milliseconds