Lines Matching defs:p_Head

138  @Param[in]     p_Head - A pointer to the head for your list pointer.
143 #define NCSW_LIST_FOR_EACH(p_Pos, p_Head) \
144 for (p_Pos = NCSW_LIST_FIRST(p_Head); p_Pos != (p_Head); p_Pos = NCSW_LIST_NEXT(p_Pos))
154 @Param[in] p_Head - A pointer to the head for your list pointer.
156 #define NCSW_LIST_FOR_EACH_SAFE(p_Pos, p_Tmp, p_Head) \
157 for (p_Pos = NCSW_LIST_FIRST(p_Head), p_Tmp = NCSW_LIST_FIRST(p_Pos); \
158 p_Pos != (p_Head); \
170 @Param[in] p_Head - A pointer to the head for your list pointer.
176 #define NCSW_LIST_FOR_EACH_OBJECT_SAFE(p_Pos, p_Tmp, p_Head, type, member) \
177 for (p_Pos = NCSW_LIST_OBJECT(NCSW_LIST_FIRST(p_Head), type, member), \
179 &p_Pos->member != (p_Head); \
190 @Param[in] p_Head - A pointer to the head for your list pointer.
196 #define NCSW_LIST_FOR_EACH_OBJECT(p_Pos, type, p_Head, member) \
197 for (p_Pos = NCSW_LIST_OBJECT(NCSW_LIST_FIRST(p_Head), type, member); \
198 &p_Pos->member != (p_Head); \
211 @Param[in] p_Head - A pointer to a list head to add it after.
215 static __inline__ void NCSW_LIST_Add(t_List *p_New, t_List *p_Head)
217 NCSW_LIST_PREV(NCSW_LIST_NEXT(p_Head)) = p_New;
218 NCSW_LIST_NEXT(p_New) = NCSW_LIST_NEXT(p_Head);
219 NCSW_LIST_PREV(p_New) = p_Head;
220 NCSW_LIST_NEXT(p_Head) = p_New;
233 @Param[in] p_Head - A pointer to a list head to add it before.
237 static __inline__ void NCSW_LIST_AddToTail(t_List *p_New, t_List *p_Head)
239 NCSW_LIST_NEXT(NCSW_LIST_PREV(p_Head)) = p_New;
240 NCSW_LIST_PREV(p_New) = NCSW_LIST_PREV(p_Head);
241 NCSW_LIST_NEXT(p_New) = p_Head;
242 NCSW_LIST_PREV(p_Head) = p_New;
287 @Param[in] p_Head - A pointer to the list head that will precede our entry.
291 static __inline__ void NCSW_LIST_Move(t_List *p_Entry, t_List *p_Head)
294 NCSW_LIST_Add(p_Entry, p_Head);
304 @Param[in] p_Head - A pointer to the list head that will follow our entry.
308 static __inline__ void NCSW_LIST_MoveToTail(t_List *p_Entry, t_List *p_Head)
311 NCSW_LIST_AddToTail(p_Entry, p_Head);
336 @Param[in] p_Head - A pointer to the place to add it in the first list.
340 void NCSW_LIST_Append(t_List *p_NewList, t_List *p_Head);