Lines Matching refs:fenceFd
111 int fenceFd; in lock() local
112 if (!getFenceFd(acquireFence, &fenceFd)) { in lock()
119 common::GrallocRect(accessRegion), fenceFd, &outData)); in lock()
133 static hidl_handle buildFenceHandle(int fenceFd, char *handleStorage) { in buildFenceHandle() argument
135 if (fenceFd >= 0) { in buildFenceHandle()
137 handle->data[0] = fenceFd; in buildFenceHandle()
145 int fenceFd = -1; in unlock() local
153 static_cast<hidl::Error>(common::unlock(handle, &fenceFd)); in unlock()
156 hidl_cb(err, buildFenceHandle(fenceFd, fenceStorage)); in unlock()
158 if (fenceFd >= 0) { in unlock()
159 close(fenceFd); in unlock()