Home | History | Annotate | Download | only in libgenlock

Lines Matching full:handle

72             ALOGE("%s: handle is invalid", __FUNCTION__);
116 /* Internal function to close the fd and release the handle */
117 void close_genlock_fd_and_handle(int& fd, int& handle)
124 if (handle >= 0) {
125 close(handle);
126 handle = -1;
137 * handle are stored in the buffer_handle.
139 * @param: handle of the buffer
147 ALOGE("%s: handle is invalid", __FUNCTION__);
180 // Store the lock params in the handle.
192 * Release a genlock lock associated with the handle.
194 * @param: handle of the buffer
202 ALOGE("%s: handle is invalid", __FUNCTION__);
222 * Attach a lock to the buffer handle passed via an IPC.
224 * @param: handle of the buffer
232 ALOGE("%s: handle is invalid", __FUNCTION__);
246 // Attach the local handle to an existing lock
256 // Store the relavant information in the handle
264 * Lock the buffer specified by the buffer handle. The lock held by the buffer
270 * @param: handle of the buffer
301 * @param: handle of the buffer to be unlocked.
316 * Blocks the calling process until the lock held on the handle is unlocked.
318 * @param: handle of the buffer
325 ALOGE("%s: handle is invalid", __FUNCTION__);
355 * @param: handle of the buffer