Lines Matching refs:head
98 static void chain_remove_from_list(struct ll_scan_aux_chain **head,
100 static void chain_append_to_list(struct ll_scan_aux_chain **head, struct ll_scan_aux_chain *chain);
101 static bool chain_is_in_list(struct ll_scan_aux_chain *head, struct ll_scan_aux_chain *chain);
2878 static void chain_remove_from_list(struct ll_scan_aux_chain **head, struct ll_scan_aux_chain *chain) in chain_remove_from_list() argument
2880 struct ll_scan_aux_chain *curr = *head; in chain_remove_from_list()
2892 *head = curr->next; in chain_remove_from_list()
2899 static void chain_append_to_list(struct ll_scan_aux_chain **head, struct ll_scan_aux_chain *chain) in chain_append_to_list() argument
2901 struct ll_scan_aux_chain *prev = *head; in chain_append_to_list()
2903 if (!*head) { in chain_append_to_list()
2905 *head = chain; in chain_append_to_list()
2916 static bool chain_is_in_list(struct ll_scan_aux_chain *head, struct ll_scan_aux_chain *chain) in chain_is_in_list() argument
2918 while (head) { in chain_is_in_list()
2919 if (head == chain) { in chain_is_in_list()
2922 head = head->next; in chain_is_in_list()