Lines Matching refs:cb_arg
188 if ((io_req->cb_func) && (io_req->cb_arg)) { in bnx2fc_cmd_timeout()
189 io_req->cb_func(io_req->cb_arg); in bnx2fc_cmd_timeout()
190 io_req->cb_arg = NULL; in bnx2fc_cmd_timeout()
967 struct bnx2fc_els_cb_arg *cb_arg = NULL; in bnx2fc_initiate_seq_cleanup() local
980 cb_arg = kzalloc(sizeof(struct bnx2fc_els_cb_arg), GFP_ATOMIC); in bnx2fc_initiate_seq_cleanup()
981 if (!cb_arg) { in bnx2fc_initiate_seq_cleanup()
991 kfree(cb_arg); in bnx2fc_initiate_seq_cleanup()
1009 cb_arg->aborted_io_req = orig_io_req; in bnx2fc_initiate_seq_cleanup()
1010 cb_arg->io_req = seq_clnp_req; in bnx2fc_initiate_seq_cleanup()
1011 cb_arg->r_ctl = r_ctl; in bnx2fc_initiate_seq_cleanup()
1012 cb_arg->offset = offset; in bnx2fc_initiate_seq_cleanup()
1013 seq_clnp_req->cb_arg = cb_arg; in bnx2fc_initiate_seq_cleanup()
1315 struct bnx2fc_els_cb_arg *cb_arg = seq_clnp_req->cb_arg; in bnx2fc_process_seq_cleanup_compl() local
1316 struct bnx2fc_cmd *orig_io_req = cb_arg->aborted_io_req; in bnx2fc_process_seq_cleanup_compl()
1317 u32 offset = cb_arg->offset; in bnx2fc_process_seq_cleanup_compl()
1318 enum fc_rctl r_ctl = cb_arg->r_ctl; in bnx2fc_process_seq_cleanup_compl()
1339 seq_clnp_req->cb_arg = NULL; in bnx2fc_process_seq_cleanup_compl()
1342 kfree(cb_arg); in bnx2fc_process_seq_cleanup_compl()