Lines Matching defs:list_empty
96 * Note: list_empty() on entry does not return true after this, the entry is
184 * list_empty - tests whether a list is empty
187 static inline int list_empty(const struct list_head *head)
219 if (!list_empty(head)) {
231 return !list_empty(head) && (head->next == head->prev);
263 if (list_empty(head))
296 if (!list_empty(list))
308 if (!list_empty(list))
322 if (!list_empty(list)) {
339 if (!list_empty(list)) {
385 (!list_empty(ptr) ? list_first_entry(ptr, type, member) : NULL)
396 (!list_empty(ptr) ? list_last_entry(ptr, type, member) : NULL)
765 * Note: list_empty on the range of entries does not return true after this,