Lines Matching refs:head
55 static void plist_check_head(struct plist_head *head) in plist_check_head() argument
57 WARN_ON(!head->lock); in plist_check_head()
58 if (head->lock) in plist_check_head()
59 WARN_ON_SMP(!spin_is_locked(head->lock)); in plist_check_head()
60 plist_check_list(&head->prio_list); in plist_check_head()
61 plist_check_list(&head->node_list); in plist_check_head()
74 void plist_add(struct plist_node *node, struct plist_head *head) in plist_add() argument
78 plist_check_head(head); in plist_add()
81 list_for_each_entry(iter, &head->prio_list, plist.prio_list) { in plist_add()
96 plist_check_head(head); in plist_add()
105 void plist_del(struct plist_node *node, struct plist_head *head) in plist_del() argument
107 plist_check_head(head); in plist_del()
118 plist_check_head(head); in plist_del()