Scroll to navigation

RESERVATION_OBJECT_R(9) Device drivers infrastructure RESERVATION_OBJECT_R(9)

NAME

reservation_object_reserve_shared - Reserve space to add shared fences to a reservation_object.

SYNOPSIS

int reservation_object_reserve_shared(struct reservation_object * obj, unsigned int num_fences);

ARGUMENTS

obj

reservation object

num_fences

number of fences we want to add

DESCRIPTION

Should be called before reservation_object_add_shared_fence. Must be called with obj->lock held.

RETURNS Zero for success, or -errno

COPYRIGHT

June 2023 Kernel Hackers Manual 3.10