Lines Matching defs:list_head
225 static struct sys_userlist *add_members_to_userlist(struct sys_userlist *list_head, const struct group *grp)
236 free_userlist(list_head);
242 free_userlist(list_head);
245 DLIST_ADD(list_head, entry);
247 return list_head;
258 struct sys_userlist *list_head = NULL;
279 return add_members_to_userlist(list_head, gptr);
286 return add_members_to_userlist(list_head, gptr);
292 list_head = add_members_to_userlist(list_head, gptr);
293 if (list_head == NULL)
298 return list_head;
306 void free_userlist(struct sys_userlist *list_head)
308 while (list_head) {
309 struct sys_userlist *old_head = list_head;
310 DLIST_REMOVE(list_head, list_head);