Searched refs:oom_notifier (Results 1 – 2 of 2) sorted by relevance
321 container_of(nb, struct drm_i915_private, mm.oom_notifier); in i915_gem_shrinker_oom()398 i915->mm.oom_notifier.notifier_call = i915_gem_shrinker_oom; in i915_gem_driver_register__shrinker()399 drm_WARN_ON(&i915->drm, register_oom_notifier(&i915->mm.oom_notifier)); in i915_gem_driver_register__shrinker()411 unregister_oom_notifier(&i915->mm.oom_notifier)); in i915_gem_driver_unregister__shrinker()
590 struct notifier_block oom_notifier; member