Lines Matching defs:sd_dp

405 	struct sdebug_defer sd_dp;
5333 static void sdebug_q_cmd_complete(struct sdebug_defer *sd_dp)
5335 struct sdebug_queued_cmd *sqcp = container_of(sd_dp, struct sdebug_queued_cmd, sd_dp);
5343 if (raw_smp_processor_id() != sd_dp->issuing_cpu)
5354 aborted = sd_dp->aborted;
5356 sd_dp->aborted = false;
5375 struct sdebug_defer *sd_dp = container_of(timer, struct sdebug_defer,
5377 sdebug_q_cmd_complete(sd_dp);
5384 struct sdebug_defer *sd_dp = container_of(work, struct sdebug_defer,
5386 sdebug_q_cmd_complete(sd_dp);
5652 static bool stop_qc_helper(struct sdebug_defer *sd_dp,
5656 int res = hrtimer_try_to_cancel(&sd_dp->hrt);
5668 if (cancel_work_sync(&sd_dp->ew.work))
5683 struct sdebug_defer *sd_dp;
5691 sd_dp = &sqcp->sd_dp;
5692 l_defer_t = READ_ONCE(sd_dp->defer_t);
5695 if (stop_qc_helper(sd_dp, l_defer_t))
6072 struct sdebug_defer *sd_dp;
6078 sd_dp = &sqcp->sd_dp;
6080 hrtimer_init(&sd_dp->hrt, CLOCK_MONOTONIC, HRTIMER_MODE_REL_PINNED);
6081 sd_dp->hrt.function = sdebug_q_cmd_hrt_complete;
6082 INIT_WORK(&sd_dp->ew.work, sdebug_q_cmd_wq_complete);
6107 struct sdebug_defer *sd_dp;
6142 sd_dp = &sqcp->sd_dp;
6199 sd_dp->issuing_cpu = raw_smp_processor_id();
6202 sd_dp->cmpl_ts = ktime_add(ns_to_ktime(ns_from_boot), kt);
6204 WRITE_ONCE(sd_dp->defer_t, SDEB_DEFER_POLL);
6210 WRITE_ONCE(sd_dp->defer_t, SDEB_DEFER_HRT);
6211 hrtimer_start(&sd_dp->hrt, kt, HRTIMER_MODE_REL_PINNED);
6223 sd_dp->aborted = true;
6230 sd_dp->issuing_cpu = raw_smp_processor_id();
6234 sd_dp->cmpl_ts = ns_to_ktime(ns_from_boot);
6235 WRITE_ONCE(sd_dp->defer_t, SDEB_DEFER_POLL);
6240 WRITE_ONCE(sd_dp->defer_t, SDEB_DEFER_WQ);
6241 schedule_work(&sd_dp->ew.work);
8021 struct sdebug_defer *sd_dp;
8046 sd_dp = &sqcp->sd_dp;
8047 if (READ_ONCE(sd_dp->defer_t) != SDEB_DEFER_POLL) {
8052 if (time < sd_dp->cmpl_ts) {
8062 if (raw_smp_processor_id() != sd_dp->issuing_cpu)