Searched refs:p_Head (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/contrib/ncsw/inc/etc/ |
H A D | list_ext.h | 143 #define NCSW_LIST_FOR_EACH(p_Pos, p_Head) \ argument 144 for (p_Pos = NCSW_LIST_FIRST(p_Head); p_Pos != (p_Head); p_Pos = NCSW_LIST_NEXT(p_Pos)) 156 #define NCSW_LIST_FOR_EACH_SAFE(p_Pos, p_Tmp, p_Head) \ argument 157 for (p_Pos = NCSW_LIST_FIRST(p_Head), p_Tmp = NCSW_LIST_FIRST(p_Pos); \ 158 p_Pos != (p_Head); \ 176 #define NCSW_LIST_FOR_EACH_OBJECT_SAFE(p_Pos, p_Tmp, p_Head, type, member) \ argument 177 for (p_Pos = NCSW_LIST_OBJECT(NCSW_LIST_FIRST(p_Head), type, member), \ 179 &p_Pos->member != (p_Head); \ 196 #define NCSW_LIST_FOR_EACH_OBJECT(p_Pos, type, p_Head, member) \ argument 197 for (p_Pos = NCSW_LIST_OBJECT(NCSW_LIST_FIRST(p_Head), type, member); \ [all …]
|
/freebsd/sys/contrib/ncsw/etc/ |
H A D | ncsw_list.c | 43 void NCSW_LIST_Append(t_List *p_NewList, t_List *p_Head) in NCSW_LIST_Append() argument 50 t_List *p_Cur = NCSW_LIST_NEXT(p_Head); in NCSW_LIST_Append() 52 NCSW_LIST_PREV(p_First) = p_Head; in NCSW_LIST_Append() 53 NCSW_LIST_FIRST(p_Head) = p_First; in NCSW_LIST_Append()
|