Searched refs:pHead (Results 1 – 2 of 2) sorted by relevance
48 static inline tListElem *csr_list_remove_head(tListElem *pHead) in csr_list_remove_head() argument53 pEntry = pHead->next; in csr_list_remove_head()55 pHead->next = pNext; in csr_list_remove_head()56 pNext->last = pHead; in csr_list_remove_head()61 static inline tListElem *csr_list_remove_tail(tListElem *pHead) in csr_list_remove_tail() argument66 pEntry = pHead->last; in csr_list_remove_tail()68 pHead->last = pLast; in csr_list_remove_tail()69 pLast->next = pHead; in csr_list_remove_tail()74 static inline void csr_list_insert_tail(tListElem *pHead, tListElem *pEntry) in csr_list_insert_tail() argument78 pLast = pHead->last; in csr_list_insert_tail()[all …]
66 #define csrIsListEmpty(pHead) ((pHead)->next == (pHead)) argument