Searched refs:sqcp (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/scsi/
H A Dscsi_debug.c3449 struct sdebug_queued_cmd *sqcp; sdebug_q_cmd_complete() local
3460 sqcp = &queued_arr[qa_indx]; sdebug_q_cmd_complete()
3461 scp = sqcp->a_cmnd; sdebug_q_cmd_complete()
3475 sqcp->a_cmnd = NULL; sdebug_q_cmd_complete()
3509 struct sdebug_queued_cmd *sqcp; sdebug_q_cmd_hrt_complete() local
3520 sqcp = &queued_arr[qa_indx]; sdebug_q_cmd_hrt_complete()
3521 scp = sqcp->a_cmnd; sdebug_q_cmd_hrt_complete()
3535 sqcp->a_cmnd = NULL; sdebug_q_cmd_hrt_complete()
3667 struct sdebug_queued_cmd *sqcp; stop_queued_cmnd() local
3677 sqcp = &queued_arr[k]; stop_queued_cmnd()
3678 if (cmnd == sqcp->a_cmnd) { stop_queued_cmnd()
3683 sqcp->a_cmnd = NULL; stop_queued_cmnd()
3687 if (sqcp->sd_hrtp) stop_queued_cmnd()
3689 &sqcp->sd_hrtp->hrt); stop_queued_cmnd()
3691 if (sqcp->cmnd_timerp) stop_queued_cmnd()
3693 sqcp->cmnd_timerp); stop_queued_cmnd()
3695 if (sqcp->tletp) stop_queued_cmnd()
3696 tasklet_kill(sqcp->tletp); stop_queued_cmnd()
3712 struct sdebug_queued_cmd *sqcp; stop_all_queued() local
3718 sqcp = &queued_arr[k]; stop_all_queued()
3719 if (sqcp->a_cmnd) { stop_all_queued()
3721 sqcp->a_cmnd->device->hostdata; stop_all_queued()
3724 sqcp->a_cmnd = NULL; stop_all_queued()
3728 if (sqcp->sd_hrtp) stop_all_queued()
3730 &sqcp->sd_hrtp->hrt); stop_all_queued()
3732 if (sqcp->cmnd_timerp) stop_all_queued()
3734 sqcp->cmnd_timerp); stop_all_queued()
3736 if (sqcp->tletp) stop_all_queued()
3737 tasklet_kill(sqcp->tletp); stop_all_queued()
3752 struct sdebug_queued_cmd *sqcp; free_all_queued() local
3756 sqcp = &queued_arr[k]; free_all_queued()
3757 kfree(sqcp->cmnd_timerp); free_all_queued()
3758 sqcp->cmnd_timerp = NULL; free_all_queued()
3759 kfree(sqcp->tletp); free_all_queued()
3760 sqcp->tletp = NULL; free_all_queued()
3761 kfree(sqcp->sd_hrtp); free_all_queued()
3762 sqcp->sd_hrtp = NULL; free_all_queued()
3948 struct sdebug_queued_cmd *sqcp = NULL; schedule_resp() local
4006 sqcp = &queued_arr[k]; schedule_resp()
4007 sqcp->a_cmnd = cmnd; schedule_resp()
4011 if (NULL == sqcp->cmnd_timerp) { schedule_resp()
4012 sqcp->cmnd_timerp = kmalloc(sizeof(struct timer_list), schedule_resp()
4014 if (NULL == sqcp->cmnd_timerp) schedule_resp()
4016 init_timer(sqcp->cmnd_timerp); schedule_resp()
4018 sqcp->cmnd_timerp->function = sdebug_q_cmd_complete; schedule_resp()
4019 sqcp->cmnd_timerp->data = k; schedule_resp()
4020 sqcp->cmnd_timerp->expires = get_jiffies_64() + delta_jiff; schedule_resp()
4021 add_timer(sqcp->cmnd_timerp); schedule_resp()
4024 struct sdebug_hrtimer *sd_hp = sqcp->sd_hrtp; schedule_resp()
4030 sqcp->sd_hrtp = sd_hp; schedule_resp()
4038 if (NULL == sqcp->tletp) { schedule_resp()
4039 sqcp->tletp = kmalloc(sizeof(*sqcp->tletp), schedule_resp()
4041 if (NULL == sqcp->tletp) schedule_resp()
4043 tasklet_init(sqcp->tletp, schedule_resp()
4047 tasklet_hi_schedule(sqcp->tletp); schedule_resp()
4049 tasklet_schedule(sqcp->tletp); schedule_resp()

Completed in 79 milliseconds