Lines Matching refs:sd_dp

353 	struct sdebug_defer sd_dp;
4898 static void sdebug_q_cmd_complete(struct sdebug_defer *sd_dp)
4900 struct sdebug_queued_cmd *sqcp = container_of(sd_dp, struct sdebug_queued_cmd, sd_dp);
4908 if (raw_smp_processor_id() != sd_dp->issuing_cpu)
4919 aborted = sd_dp->aborted;
4921 sd_dp->aborted = false;
4940 struct sdebug_defer *sd_dp = container_of(timer, struct sdebug_defer,
4942 sdebug_q_cmd_complete(sd_dp);
4949 struct sdebug_defer *sd_dp = container_of(work, struct sdebug_defer,
4951 sdebug_q_cmd_complete(sd_dp);
5185 static bool stop_qc_helper(struct sdebug_defer *sd_dp,
5189 int res = hrtimer_try_to_cancel(&sd_dp->hrt);
5201 if (cancel_work_sync(&sd_dp->ew.work))
5216 struct sdebug_defer *sd_dp;
5224 sd_dp = &sqcp->sd_dp;
5225 l_defer_t = READ_ONCE(sd_dp->defer_t);
5228 if (stop_qc_helper(sd_dp, l_defer_t))
5514 struct sdebug_defer *sd_dp;
5520 sd_dp = &sqcp->sd_dp;
5522 hrtimer_init(&sd_dp->hrt, CLOCK_MONOTONIC, HRTIMER_MODE_REL_PINNED);
5523 sd_dp->hrt.function = sdebug_q_cmd_hrt_complete;
5524 INIT_WORK(&sd_dp->ew.work, sdebug_q_cmd_wq_complete);
5549 struct sdebug_defer *sd_dp;
5584 sd_dp = &sqcp->sd_dp;
5641 sd_dp->issuing_cpu = raw_smp_processor_id();
5644 sd_dp->cmpl_ts = ktime_add(ns_to_ktime(ns_from_boot), kt);
5646 WRITE_ONCE(sd_dp->defer_t, SDEB_DEFER_POLL);
5652 WRITE_ONCE(sd_dp->defer_t, SDEB_DEFER_HRT);
5653 hrtimer_start(&sd_dp->hrt, kt, HRTIMER_MODE_REL_PINNED);
5665 sd_dp->aborted = true;
5672 sd_dp->issuing_cpu = raw_smp_processor_id();
5676 sd_dp->cmpl_ts = ns_to_ktime(ns_from_boot);
5677 WRITE_ONCE(sd_dp->defer_t, SDEB_DEFER_POLL);
5682 WRITE_ONCE(sd_dp->defer_t, SDEB_DEFER_WQ);
5683 schedule_work(&sd_dp->ew.work);
7431 struct sdebug_defer *sd_dp;
7456 sd_dp = &sqcp->sd_dp;
7457 if (READ_ONCE(sd_dp->defer_t) != SDEB_DEFER_POLL) {
7462 if (time < sd_dp->cmpl_ts) {
7472 if (raw_smp_processor_id() != sd_dp->issuing_cpu)