rculist: add list_for_each_entry_from_rcu()
authorNeilBrown <neilb@suse.com>
Mon, 30 Apr 2018 04:31:30 +0000 (14:31 +1000)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 31 May 2018 18:59:19 +0000 (14:59 -0400)
commitead9ad7253f4296ba8cd3eb930f06a74924700a9
treed1bdf0e12adde5b85e8633fe6f5959c3a3ed8331
parent3ca951b618386321d9396e9e26be7f4235b5cdb2
rculist: add list_for_each_entry_from_rcu()

list_for_each_entry_from_rcu() is an RCU version of
list_for_each_entry_from().  It walks a linked list under rcu
protection, from a given start point.

It is similar to list_for_each_entry_continue_rcu() but starts *at*
the given position rather than *after* it.

Naturally, the start point must be known to be in the list.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
include/linux/rculist.h