Searched refs:oom_notifier (Results 1 – 2 of 2) sorted by relevance
348 container_of(nb, struct drm_i915_private, mm.oom_notifier); in i915_gem_shrinker_oom()432 i915->mm.oom_notifier.notifier_call = i915_gem_shrinker_oom; in i915_gem_driver_register__shrinker()433 drm_WARN_ON(&i915->drm, register_oom_notifier(&i915->mm.oom_notifier)); in i915_gem_driver_register__shrinker()445 unregister_oom_notifier(&i915->mm.oom_notifier)); in i915_gem_driver_unregister__shrinker()
152 struct notifier_block oom_notifier; member