1RESERVATION_OBJECT_G(9)  Device drivers infrastructure RESERVATION_OBJECT_G(9)
2
3
4

NAME

6       reservation_object_get_fences_rcu - Get an object's shared and
7       exclusive fences without update side lock held
8

SYNOPSIS

10       int reservation_object_get_fences_rcu(struct reservation_object * obj,
11                                             struct dma_fence ** pfence_excl,
12                                             unsigned * pshared_count,
13                                             struct dma_fence *** pshared);
14

ARGUMENTS

16       obj
17           the reservation object
18
19       pfence_excl
20           the returned exclusive fence (or NULL)
21
22       pshared_count
23           the number of shared fences returned
24
25       pshared
26           the array of shared fence ptrs returned (array is krealloc'd to the
27           required size, and must be freed by caller)
28

DESCRIPTION

30       Retrieve all fences from the reservation object. If the pointer for the
31       exclusive fence is not specified the fence is put into the array of the
32       shared fences as well. Returns either zero or -ENOMEM.
33
35Kernel Hackers Manual 3.10         June 2019           RESERVATION_OBJECT_G(9)
Impressum