Lines Matching refs:NULL
86 return NULL;
96 return NULL;
103 * item is NULL, it returns the first entry in the list,
105 * Returns NULL if there aren't any more items in this list.
113 if (item == NULL)
114 return list_is_empty(list) ? NULL : GET_ITEM(list, list->link.next);
117 return link != NULL ? GET_ITEM(list, link) : NULL;
122 * item is NULL, it returns the last entry in the list,
124 * Returns NULL if there aren't any previous items in this list.
132 if (item == NULL)
133 return list_is_empty(list) ? NULL : GET_ITEM(list, list->link.prev);
136 return link != NULL ? GET_ITEM(list, link) : NULL;
143 return list_is_empty(list) ? NULL : GET_ITEM(list, list->link.prev);
170 * If you pass NULL as \a before item, the item is added at the end of
180 if (before == NULL) {
197 * Returns NULL if the list is empty.
206 return NULL;
214 * Returns NULL if the list is empty.
223 return NULL;