Home | History | Annotate | Download | only in power

Lines Matching defs:lock_handle

178     int lock_handle = 0;
185 lock_handle = perf_lock_acq(lock_handle, duration, opt_list, num_args);
186 if (lock_handle == -1)
190 return lock_handle;
195 int interaction_with_handle(int lock_handle, int duration, int num_args, int opt_list[])
203 lock_handle = perf_lock_acq(lock_handle, duration, opt_list, num_args);
204 if (lock_handle == -1)
208 return lock_handle;
213 void release_request(int lock_handle) {
215 perf_lock_rel(lock_handle);
223 int lock_handle = perf_lock_acq(0, 0, resource_values,
226 if (lock_handle == -1) {
241 new_hint->perflock_handle = lock_handle;
247 perf_lock_rel(lock_handle);
254 perf_lock_rel(lock_handle);