Lines Matching refs:errcode
347 int errcode, wrapped, num_wqebbs; in cmdq_sync_cmd_direct_resp() local
373 cmdq->errcode[curr_prod_idx] = &errcode; in cmdq_sync_cmd_direct_resp()
396 if (cmdq->errcode[curr_prod_idx] == &errcode) in cmdq_sync_cmd_direct_resp()
397 cmdq->errcode[curr_prod_idx] = NULL; in cmdq_sync_cmd_direct_resp()
416 if (errcode != 0) in cmdq_sync_cmd_direct_resp()
590 int errcode) in cmdq_update_errcode() argument
592 if (cmdq->errcode[prod_idx]) in cmdq_update_errcode()
593 *cmdq->errcode[prod_idx] = errcode; in cmdq_update_errcode()
603 int errcode) in cmdq_sync_cmd_handler() argument
608 cmdq_update_errcode(cmdq, prod_idx, errcode); in cmdq_sync_cmd_handler()
623 int errcode; in cmdq_cmd_ceq_handler() local
630 errcode = CMDQ_WQE_ERRCODE_GET(be32_to_cpu(status->status_info), VAL); in cmdq_cmd_ceq_handler()
632 cmdq_sync_cmd_handler(cmdq, ci, errcode); in cmdq_cmd_ceq_handler()
758 cmdq->errcode = vzalloc(array_size(sizeof(*cmdq->errcode), in init_cmdq()
760 if (!cmdq->errcode) { in init_cmdq()
779 vfree(cmdq->errcode); in free_cmdq()