Name

struct fence_array — fence to represent an array of fences

Synopsis

struct fence_array {
  struct fence base;
  spinlock_t lock;
  unsigned num_fences;
  atomic_t num_pending;
  struct fence ** fences;
};  

Members

base

fence base class

lock

spinlock for fence handling

num_fences

number of fences in the array

num_pending

fences in the array still pending

fences

array of the fences