reservation_object_get_fences_rcu(9) 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

COPYRIGHT