Name

reservation_object_get_fences_rcu — Get an object's shared and exclusive fences without update side lock held

Synopsis

int reservation_object_get_fences_rcu (struct reservation_object * obj,
 struct fence ** pfence_excl,
 unsigned * pshared_count,
 struct fence *** pshared);
 

Arguments

obj

the reservation object

pfence_excl

the returned exclusive fence (or NULL)

pshared_count

the number of shared fences returned

pshared

the array of shared fence ptrs returned (array is krealloc'd to the required size, and must be freed by caller)

Description

RETURNS Zero or -errno