Lines Matching refs:cb_arg
143 if ((io_req->cb_func) && (io_req->cb_arg)) { in bnx2fc_cmd_timeout()
144 io_req->cb_func(io_req->cb_arg); in bnx2fc_cmd_timeout()
145 io_req->cb_arg = NULL; in bnx2fc_cmd_timeout()
926 struct bnx2fc_els_cb_arg *cb_arg = NULL; in bnx2fc_initiate_seq_cleanup() local
939 cb_arg = kzalloc(sizeof(struct bnx2fc_els_cb_arg), GFP_ATOMIC); in bnx2fc_initiate_seq_cleanup()
940 if (!cb_arg) { in bnx2fc_initiate_seq_cleanup()
950 kfree(cb_arg); in bnx2fc_initiate_seq_cleanup()
968 cb_arg->aborted_io_req = orig_io_req; in bnx2fc_initiate_seq_cleanup()
969 cb_arg->io_req = seq_clnp_req; in bnx2fc_initiate_seq_cleanup()
970 cb_arg->r_ctl = r_ctl; in bnx2fc_initiate_seq_cleanup()
971 cb_arg->offset = offset; in bnx2fc_initiate_seq_cleanup()
972 seq_clnp_req->cb_arg = cb_arg; in bnx2fc_initiate_seq_cleanup()
1254 struct bnx2fc_els_cb_arg *cb_arg = seq_clnp_req->cb_arg; in bnx2fc_process_seq_cleanup_compl() local
1255 struct bnx2fc_cmd *orig_io_req = cb_arg->aborted_io_req; in bnx2fc_process_seq_cleanup_compl()
1256 u32 offset = cb_arg->offset; in bnx2fc_process_seq_cleanup_compl()
1257 enum fc_rctl r_ctl = cb_arg->r_ctl; in bnx2fc_process_seq_cleanup_compl()
1278 seq_clnp_req->cb_arg = NULL; in bnx2fc_process_seq_cleanup_compl()
1281 kfree(cb_arg); in bnx2fc_process_seq_cleanup_compl()