list_empty_careful (9) Linux Manual Page
list_empty_careful – tests whether a list is empty and not being modified Synopsis int list_empty_careful(const struct list_head *head); Arguments head the list to test Description tests whether a list is empty _and_ checks that no other CPU might be in the process of modifying either member (next or prev) Note using list_empty_careful without synchronization can…
