Home | History | Annotate | Download | only in power

Lines Matching defs:lock_handle

207     static int lock_handle = 0;
214 lock_handle = perf_lock_acq(lock_handle, duration, opt_list, num_args);
215 if (lock_handle == -1)
222 int interaction_with_handle(int lock_handle, int duration, int num_args, int opt_list[])
230 lock_handle = perf_lock_acq(lock_handle, duration, opt_list, num_args);
231 if (lock_handle == -1)
235 return lock_handle;
240 void release_request(int lock_handle) {
242 perf_lock_rel(lock_handle);
259 int lock_handle = perf_lock_acq(0, 0, resource_values,
262 if (lock_handle == -1) {
277 new_hint->perflock_handle = lock_handle;
283 perf_lock_rel(lock_handle);
290 perf_lock_rel(lock_handle);