Scroll to navigation

RESERVATION_OBJECT_G(9) Device drivers infrastructure RESERVATION_OBJECT_G(9)

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

COPYRIGHT

January 2017 Kernel Hackers Manual 4.8.