- signed long fence_wait_timeout(struct fence * fence, bool intr, signed long timeout);
- [in] the fence to wait on
- [in] if true, do an interruptible wait
- [in] timeout value in jiffies, or MAX_SCHEDULE_TIMEOUT
Performs a synchronous wait on this fence. It is assumed the caller directly or indirectly (buf-mgr between reservation and committing) holds a reference to the fence, otherwise the fence might be freed before return, resulting in undefined behavior.