Lines Matching refs:han
323 void gru_release_async_resources(unsigned long han) in gru_release_async_resources() argument
325 struct gru_blade_state *bs = ASYNC_HAN_TO_BS(han); in gru_release_async_resources()
340 void gru_wait_async_cbr(unsigned long han) in gru_wait_async_cbr() argument
342 struct gru_blade_state *bs = ASYNC_HAN_TO_BS(han); in gru_wait_async_cbr()
357 void gru_lock_async_resource(unsigned long han, void **cb, void **dsr) in gru_lock_async_resource() argument
359 struct gru_blade_state *bs = ASYNC_HAN_TO_BS(han); in gru_lock_async_resource()
360 int blade_id = ASYNC_HAN_TO_BID(han); in gru_lock_async_resource()
377 void gru_unlock_async_resource(unsigned long han) in gru_unlock_async_resource() argument
379 int blade_id = ASYNC_HAN_TO_BID(han); in gru_unlock_async_resource()
1043 unsigned long han; in quicktest2() local
1058 han = gru_reserve_async_resources(blade_id, numcb, 0, &cmp); in quicktest2()
1059 if (!han) in quicktest2()
1062 gru_lock_async_resource(han, &cb0, NULL); in quicktest2()
1071 gru_wait_async_cbr(han); in quicktest2()
1095 gru_unlock_async_resource(han); in quicktest2()
1096 gru_release_async_resources(han); in quicktest2()