Lines Matching refs:han
337 void gru_release_async_resources(unsigned long han) in gru_release_async_resources() argument
339 struct gru_blade_state *bs = ASYNC_HAN_TO_BS(han); in gru_release_async_resources()
354 void gru_wait_async_cbr(unsigned long han) in gru_wait_async_cbr() argument
356 struct gru_blade_state *bs = ASYNC_HAN_TO_BS(han); in gru_wait_async_cbr()
371 void gru_lock_async_resource(unsigned long han, void **cb, void **dsr) in gru_lock_async_resource() argument
373 struct gru_blade_state *bs = ASYNC_HAN_TO_BS(han); in gru_lock_async_resource()
374 int blade_id = ASYNC_HAN_TO_BID(han); in gru_lock_async_resource()
391 void gru_unlock_async_resource(unsigned long han) in gru_unlock_async_resource() argument
393 int blade_id = ASYNC_HAN_TO_BID(han); in gru_unlock_async_resource()
1057 unsigned long han; in quicktest2() local
1072 han = gru_reserve_async_resources(blade_id, numcb, 0, &cmp); in quicktest2()
1073 if (!han) in quicktest2()
1076 gru_lock_async_resource(han, &cb0, NULL); in quicktest2()
1085 gru_wait_async_cbr(han); in quicktest2()
1109 gru_unlock_async_resource(han); in quicktest2()
1110 gru_release_async_resources(han); in quicktest2()