Lines Matching refs:head
56 * @head: list_head pointer for an allocated list of partner info structs to
62 int hvcs_free_partner_info(struct list_head *head)
67 if (!head)
70 while (!list_empty(head)) {
71 element = head->next;
98 * @head: An initialized list_head pointer to an empty list to use to return the
116 * hvcs_free_partner_info() using a pointer to the SAME list head instance
119 int hvcs_get_partner_info(uint32_t unit_address, struct list_head *head,
133 if (!head || !pi_buff)
138 INIT_LIST_HEAD(head);
148 if (!list_empty(head))
169 hvcs_free_partner_info(head);
183 list_add_tail(&(next_partner_info->node), head);