Lines Matching refs:cb_arg
144 if ((io_req->cb_func) && (io_req->cb_arg)) { in bnx2fc_cmd_timeout()
145 io_req->cb_func(io_req->cb_arg); in bnx2fc_cmd_timeout()
146 io_req->cb_arg = NULL; in bnx2fc_cmd_timeout()
937 struct bnx2fc_els_cb_arg *cb_arg = NULL; in bnx2fc_initiate_seq_cleanup() local
949 cb_arg = kzalloc(sizeof(struct bnx2fc_els_cb_arg), GFP_ATOMIC); in bnx2fc_initiate_seq_cleanup()
950 if (!cb_arg) { in bnx2fc_initiate_seq_cleanup()
960 kfree(cb_arg); in bnx2fc_initiate_seq_cleanup()
978 cb_arg->aborted_io_req = orig_io_req; in bnx2fc_initiate_seq_cleanup()
979 cb_arg->io_req = seq_clnp_req; in bnx2fc_initiate_seq_cleanup()
980 cb_arg->r_ctl = r_ctl; in bnx2fc_initiate_seq_cleanup()
981 cb_arg->offset = offset; in bnx2fc_initiate_seq_cleanup()
982 seq_clnp_req->cb_arg = cb_arg; in bnx2fc_initiate_seq_cleanup()
1288 struct bnx2fc_els_cb_arg *cb_arg = seq_clnp_req->cb_arg; in bnx2fc_process_seq_cleanup_compl() local
1289 struct bnx2fc_cmd *orig_io_req = cb_arg->aborted_io_req; in bnx2fc_process_seq_cleanup_compl()
1290 u32 offset = cb_arg->offset; in bnx2fc_process_seq_cleanup_compl()
1291 enum fc_rctl r_ctl = cb_arg->r_ctl; in bnx2fc_process_seq_cleanup_compl()
1312 seq_clnp_req->cb_arg = NULL; in bnx2fc_process_seq_cleanup_compl()
1315 kfree(cb_arg); in bnx2fc_process_seq_cleanup_compl()