vgpu_data 78 drivers/gpu/drm/i915/gvt/sched_policy.c struct vgpu_sched_data *vgpu_data; vgpu_data 83 drivers/gpu/drm/i915/gvt/sched_policy.c vgpu_data = vgpu->sched_data; vgpu_data 84 drivers/gpu/drm/i915/gvt/sched_policy.c delta_ts = ktime_sub(cur_time, vgpu_data->sched_in_time); vgpu_data 85 drivers/gpu/drm/i915/gvt/sched_policy.c vgpu_data->sched_time = ktime_add(vgpu_data->sched_time, delta_ts); vgpu_data 86 drivers/gpu/drm/i915/gvt/sched_policy.c vgpu_data->left_ts = ktime_sub(vgpu_data->left_ts, delta_ts); vgpu_data 87 drivers/gpu/drm/i915/gvt/sched_policy.c vgpu_data->sched_in_time = cur_time; vgpu_data 95 drivers/gpu/drm/i915/gvt/sched_policy.c struct vgpu_sched_data *vgpu_data; vgpu_data 108 drivers/gpu/drm/i915/gvt/sched_policy.c vgpu_data = container_of(pos, struct vgpu_sched_data, lru_list); vgpu_data 109 drivers/gpu/drm/i915/gvt/sched_policy.c total_weight += vgpu_data->sched_ctl.weight; vgpu_data 113 drivers/gpu/drm/i915/gvt/sched_policy.c vgpu_data = container_of(pos, struct vgpu_sched_data, lru_list); vgpu_data 115 drivers/gpu/drm/i915/gvt/sched_policy.c total_weight) * vgpu_data->sched_ctl.weight; vgpu_data 117 drivers/gpu/drm/i915/gvt/sched_policy.c vgpu_data->allocated_ts = fair_timeslice; vgpu_data 118 drivers/gpu/drm/i915/gvt/sched_policy.c vgpu_data->left_ts = vgpu_data->allocated_ts; vgpu_data 122 drivers/gpu/drm/i915/gvt/sched_policy.c vgpu_data = container_of(pos, struct vgpu_sched_data, lru_list); vgpu_data 127 drivers/gpu/drm/i915/gvt/sched_policy.c vgpu_data->left_ts += vgpu_data->allocated_ts; vgpu_data 137 drivers/gpu/drm/i915/gvt/sched_policy.c struct vgpu_sched_data *vgpu_data; vgpu_data 162 drivers/gpu/drm/i915/gvt/sched_policy.c vgpu_data = scheduler->next_vgpu->sched_data; vgpu_data 163 drivers/gpu/drm/i915/gvt/sched_policy.c vgpu_data->sched_in_time = cur_time; vgpu_data 178 drivers/gpu/drm/i915/gvt/sched_policy.c struct vgpu_sched_data *vgpu_data; vgpu_data 186 drivers/gpu/drm/i915/gvt/sched_policy.c vgpu_data = container_of(pos, struct vgpu_sched_data, lru_list); vgpu_data 187 drivers/gpu/drm/i915/gvt/sched_policy.c if (!vgpu_has_pending_workload(vgpu_data->vgpu)) vgpu_data 190 drivers/gpu/drm/i915/gvt/sched_policy.c if (vgpu_data->pri_sched) { vgpu_data 191 drivers/gpu/drm/i915/gvt/sched_policy.c if (ktime_before(ktime_get(), vgpu_data->pri_time)) { vgpu_data 192 drivers/gpu/drm/i915/gvt/sched_policy.c vgpu = vgpu_data->vgpu; vgpu_data 195 drivers/gpu/drm/i915/gvt/sched_policy.c vgpu_data->pri_sched = false; vgpu_data 199 drivers/gpu/drm/i915/gvt/sched_policy.c if (vgpu_data->left_ts > 0) { vgpu_data 200 drivers/gpu/drm/i915/gvt/sched_policy.c vgpu = vgpu_data->vgpu; vgpu_data 215 drivers/gpu/drm/i915/gvt/sched_policy.c struct vgpu_sched_data *vgpu_data; vgpu_data 225 drivers/gpu/drm/i915/gvt/sched_policy.c vgpu_data = vgpu->sched_data; vgpu_data 226 drivers/gpu/drm/i915/gvt/sched_policy.c if (!vgpu_data->pri_sched) { vgpu_data 228 drivers/gpu/drm/i915/gvt/sched_policy.c list_del_init(&vgpu_data->lru_list); vgpu_data 229 drivers/gpu/drm/i915/gvt/sched_policy.c list_add_tail(&vgpu_data->lru_list, vgpu_data 344 drivers/gpu/drm/i915/gvt/sched_policy.c struct vgpu_sched_data *vgpu_data = vgpu->sched_data; vgpu_data 347 drivers/gpu/drm/i915/gvt/sched_policy.c if (!list_empty(&vgpu_data->lru_list)) vgpu_data 351 drivers/gpu/drm/i915/gvt/sched_policy.c vgpu_data->pri_time = ktime_add(now, vgpu_data 353 drivers/gpu/drm/i915/gvt/sched_policy.c vgpu_data->pri_sched = true; vgpu_data 355 drivers/gpu/drm/i915/gvt/sched_policy.c list_add(&vgpu_data->lru_list, &sched_data->lru_runq_head); vgpu_data 360 drivers/gpu/drm/i915/gvt/sched_policy.c vgpu_data->active = true; vgpu_data 365 drivers/gpu/drm/i915/gvt/sched_policy.c struct vgpu_sched_data *vgpu_data = vgpu->sched_data; vgpu_data 367 drivers/gpu/drm/i915/gvt/sched_policy.c list_del_init(&vgpu_data->lru_list); vgpu_data 368 drivers/gpu/drm/i915/gvt/sched_policy.c vgpu_data->active = false; vgpu_data 426 drivers/gpu/drm/i915/gvt/sched_policy.c struct vgpu_sched_data *vgpu_data = vgpu->sched_data; vgpu_data 429 drivers/gpu/drm/i915/gvt/sched_policy.c if (!vgpu_data->active) { vgpu_data 448 drivers/gpu/drm/i915/gvt/sched_policy.c struct vgpu_sched_data *vgpu_data = vgpu->sched_data; vgpu_data 451 drivers/gpu/drm/i915/gvt/sched_policy.c if (!vgpu_data->active)