Lines Matching refs:curr

164 	hermon_agent_list_t		*curr;  in hermon_agent_request_cb()  local
168 curr = (hermon_agent_list_t *)args; in hermon_agent_request_cb()
169 state = curr->agl_state; in hermon_agent_request_cb()
314 hermon_agent_list_t *curr; in hermon_agent_handle_req() local
336 curr = agent_args->ahd_agentlist; in hermon_agent_handle_req()
337 state = curr->agl_state; in hermon_agent_handle_req()
338 port = curr->agl_port; in hermon_agent_handle_req()
587 hermon_agent_list_t *curr; in hermon_agent_list_init() local
644 curr = &state->hs_agents[indx]; in hermon_agent_list_init()
645 curr->agl_state = state; in hermon_agent_list_init()
646 curr->agl_port = j + 1; in hermon_agent_list_init()
649 curr->agl_mgmtclass = SUBN_AGENT; in hermon_agent_list_init()
653 curr->agl_mgmtclass = PERF_AGENT; in hermon_agent_list_init()
657 curr->agl_mgmtclass = BM_AGENT; in hermon_agent_list_init()
688 hermon_agent_list_t *curr; in hermon_agent_register_all() local
712 curr = &state->hs_agents[i]; in hermon_agent_register_all()
714 ibmf_reg.ir_port_num = curr->agl_port; in hermon_agent_register_all()
715 ibmf_reg.ir_client_class = curr->agl_mgmtclass; in hermon_agent_register_all()
718 NULL, NULL, &curr->agl_ibmfhdl, &impl_caps); in hermon_agent_register_all()
724 status = ibmf_setup_async_cb(curr->agl_ibmfhdl, in hermon_agent_register_all()
725 IBMF_QP_HANDLE_DEFAULT, hermon_agent_request_cb, curr, 0); in hermon_agent_register_all()
727 (void) ibmf_unregister(&curr->agl_ibmfhdl, 0); in hermon_agent_register_all()
748 hermon_agent_list_t *curr; in hermon_agent_unregister_all() local
760 curr = &state->hs_agents[i]; in hermon_agent_unregister_all()
763 status = ibmf_tear_down_async_cb(curr->agl_ibmfhdl, in hermon_agent_unregister_all()
770 status = ibmf_unregister(&curr->agl_ibmfhdl, 0); in hermon_agent_unregister_all()