Lines Matching refs:lock_handle
210 static int lock_handle = 0; in interaction() local
217 lock_handle = perf_lock_acq(lock_handle, duration, opt_list, num_args); in interaction()
218 if (lock_handle == -1) in interaction()
225 int interaction_with_handle(int lock_handle, int duration, int num_args, int opt_list[]) in interaction_with_handle() argument
233 lock_handle = perf_lock_acq(lock_handle, duration, opt_list, num_args); in interaction_with_handle()
234 if (lock_handle == -1) in interaction_with_handle()
238 return lock_handle; in interaction_with_handle()
243 void release_request(int lock_handle) { in release_request() argument
245 perf_lock_rel(lock_handle); in release_request()
262 int lock_handle = perf_lock_acq(0, 0, resource_values, in perform_hint_action() local
265 if (lock_handle == -1) { in perform_hint_action()
280 new_hint->perflock_handle = lock_handle; in perform_hint_action()
286 perf_lock_rel(lock_handle); in perform_hint_action()
293 perf_lock_rel(lock_handle); in perform_hint_action()