Lines Matching refs:han
324 void gru_release_async_resources(unsigned long han) in gru_release_async_resources() argument
326 struct gru_blade_state *bs = ASYNC_HAN_TO_BS(han); in gru_release_async_resources()
341 void gru_wait_async_cbr(unsigned long han) in gru_wait_async_cbr() argument
343 struct gru_blade_state *bs = ASYNC_HAN_TO_BS(han); in gru_wait_async_cbr()
358 void gru_lock_async_resource(unsigned long han, void **cb, void **dsr) in gru_lock_async_resource() argument
360 struct gru_blade_state *bs = ASYNC_HAN_TO_BS(han); in gru_lock_async_resource()
361 int blade_id = ASYNC_HAN_TO_BID(han); in gru_lock_async_resource()
378 void gru_unlock_async_resource(unsigned long han) in gru_unlock_async_resource() argument
380 int blade_id = ASYNC_HAN_TO_BID(han); in gru_unlock_async_resource()
1044 unsigned long han; in quicktest2() local
1059 han = gru_reserve_async_resources(blade_id, numcb, 0, &cmp); in quicktest2()
1060 if (!han) in quicktest2()
1063 gru_lock_async_resource(han, &cb0, NULL); in quicktest2()
1072 gru_wait_async_cbr(han); in quicktest2()
1096 gru_unlock_async_resource(han); in quicktest2()
1097 gru_release_async_resources(han); in quicktest2()