Lines Matching defs:status

65 	int		status;
85 status = tavor_agent_list_init(state);
86 if (status != DDI_SUCCESS) {
87 /* Set "status" and "errormsg" and goto failure */
102 /* Set "status" and "errormsg" and goto failure */
108 status = tavor_agent_register_all(state);
109 if (status != DDI_SUCCESS) {
112 /* Set "status" and "errormsg" and goto failure */
126 return (status);
137 int status;
149 status = tavor_agent_unregister_all(state, state->ts_num_agents);
150 if (status != DDI_SUCCESS) {
186 int status;
226 status = ddi_taskq_dispatch(state->ts_taskq_agents,
228 if (status == DDI_FAILURE) {
258 int status;
308 status = tavor_mad_ifc_cmd_post(state, port,
312 if (status != TAVOR_CMD_SUCCESS) {
313 if ((status != TAVOR_CMD_BAD_PKT) &&
314 (status != TAVOR_CMD_INSUFF_RSRC)) {
316 "command failed: %08x\n", port, status);
319 status);
349 status = ibmf_msg_transport(ibmf_handle, IBMF_QP_HANDLE_DEFAULT,
351 if (status != IBMF_SUCCESS) {
353 tnf_uint, ibmf_status, status);
364 status = ibmf_free_msg(ibmf_handle, &msgp);
365 if (status != IBMF_SUCCESS) {
368 status);
385 int status;
394 status = ibmf_free_msg(ibmf_handle, &msgp);
395 if (status != IBMF_SUCCESS) {
397 TAVOR_TNF_ERROR, "", tnf_uint, ibmf_status, status);
526 int i, status, num_registered;
548 status = ibmf_register(&ibmf_reg, IBMF_VERSION, 0,
550 if (status != IBMF_SUCCESS) {
557 status = ibmf_setup_async_cb(curr->agl_ibmfhdl,
559 if (status != IBMF_SUCCESS) {
586 int i, status;
598 status = ibmf_tear_down_async_cb(curr->agl_ibmfhdl,
600 if (status != IBMF_SUCCESS) {
608 status = ibmf_unregister(&curr->agl_ibmfhdl, 0);
609 if (status != IBMF_SUCCESS) {