Lines Matching refs:head
777 static inline pad_ele_t Padlist_Find(pad_ele_t head, sc_pad_t pad) in Padlist_Find() argument
780 if (NULL == head) in Padlist_Find()
782 pad_ele = head; in Padlist_Find()
790 if (pad_ele == head) in Padlist_Find()
797 static inline void Padlist_Insert(pad_ele_t head, pad_ele_t ele) in Padlist_Insert() argument
799 assert(head); in Padlist_Insert()
802 ele->prev = head->prev; in Padlist_Insert()
803 ele->next = head; in Padlist_Insert()
804 head->prev->next = ele; in Padlist_Insert()
805 head->prev = ele; in Padlist_Insert()
808 static inline void Padlist_Remove(pad_ele_t head, pad_ele_t ele) in Padlist_Remove() argument