Home
last modified time | relevance | path

Searched refs:p_List (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/contrib/ncsw/inc/etc/
H A Dlist_ext.h81 #define NCSW_LIST_FIRST(p_List) (p_List)->p_Next argument
82 #define NCSW_LIST_LAST(p_List) (p_List)->p_Prev argument
114 #define INIT_LIST(p_List) NCSW_LIST_FIRST(p_List) = NCSW_LIST_LAST(p_List) = (p_List) argument
128 #define NCSW_LIST_OBJECT(p_List, type, member) \ argument
129 ((type *)((char *)(p_List)-MEMBER_OFFSET(type, member)))
324 static __inline__ int NCSW_LIST_IsEmpty(t_List *p_List) in NCSW_LIST_IsEmpty() argument
326 return (NCSW_LIST_FIRST(p_List) == p_List); in NCSW_LIST_IsEmpty()
352 int NCSW_LIST_NumOfObjs(t_List *p_List);
/freebsd/sys/contrib/ncsw/etc/
H A Dncsw_list.c60 int NCSW_LIST_NumOfObjs(t_List *p_List) in NCSW_LIST_NumOfObjs() argument
65 if (!NCSW_LIST_IsEmpty(p_List)) in NCSW_LIST_NumOfObjs()
66 NCSW_LIST_FOR_EACH(p_Tmp, p_List) in NCSW_LIST_NumOfObjs()
/freebsd/sys/contrib/ncsw/Peripherals/FM/Pcd/
H A Dfm_pcd.h473 void EnqueueNodeInfoToRelevantLst(t_List *p_List, t_CcNodeInformation *p_CcInfo, t_Handle h_Spinloc…
474 void DequeueNodeInfoFromRelevantLst(t_List *p_List, t_Handle h_Info, t_Handle h_Spinlock);
475 t_CcNodeInformation* FindNodeInfoInReleventLst(t_List *p_List, t_Handle h_Info, t_Handle h_Spinlock…
492 void ReleaseLst(t_List *p_List);
H A Dfm_cc.h394 t_Error FmPcdCcNodeTreeTryLock(t_Handle h_FmPcd,t_Handle h_FmPcdCcNode, t_List *p_List);
395 void FmPcdCcNodeTreeReleaseLock(t_Handle h_FmPcd, t_List *p_List);
H A Dfm_cc.c99 static __inline__ t_FmPcdStatsObj* DequeueStatsObj(t_List *p_List) in DequeueStatsObj() argument
104 if (!NCSW_LIST_IsEmpty(p_List)) in DequeueStatsObj()
106 p_Next = NCSW_LIST_FIRST(p_List); in DequeueStatsObj()
115 static __inline__ void EnqueueStatsObj(t_List *p_List, in EnqueueStatsObj() argument
118 NCSW_LIST_AddToTail(&p_StatsObj->node, p_List); in EnqueueStatsObj()
121 static void FreeStatObjects(t_List *p_List, t_Handle h_FmMuram) in FreeStatObjects() argument
125 while (!NCSW_LIST_IsEmpty(p_List)) in FreeStatObjects()
127 p_StatsObj = DequeueStatsObj(p_List); in FreeStatObjects()
1203 t_List *p_List) in DequeueAdditionalInfoFromRelevantLst() argument
1207 if (!NCSW_LIST_IsEmpty(p_List)) in DequeueAdditionalInfoFromRelevantLst()
[all …]