list_is_last(9)
NAME
list_is_last - tests whether list is the last entry in list head
SYNOPSIS
int list_is_last(const struct list_head * list,
const struct list_head * head);
ARGUMENTS
- list
- the entry to test
- head
- the head of the list