Home
last modified time | relevance | path

Searched refs:slab_objects (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
H A Di915_gem_object.c39 struct kmem_cache *slab_objects; member
44 return kmem_cache_zalloc(global.slab_objects, GFP_KERNEL); in i915_gem_object_alloc()
49 return kmem_cache_free(global.slab_objects, obj); in i915_gem_object_free()
382 kmem_cache_shrink(global.slab_objects); in i915_global_objects_shrink()
387 kmem_cache_destroy(global.slab_objects); in i915_global_objects_exit()
397 global.slab_objects = in i915_global_objects_init()
399 if (!global.slab_objects) in i915_global_objects_init()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/
H A Di915_gem_object.c44 static struct kmem_cache *slab_objects; variable
79 obj = kmem_cache_zalloc(slab_objects, GFP_KERNEL); in i915_gem_object_alloc()
89 return kmem_cache_free(slab_objects, obj); in i915_gem_object_free()
877 kmem_cache_destroy(slab_objects); in i915_objects_module_exit()
882 slab_objects = KMEM_CACHE(drm_i915_gem_object, SLAB_HWCACHE_ALIGN); in i915_objects_module_init()
883 if (!slab_objects) in i915_objects_module_init()
/kernel/linux/linux-6.6/scripts/gdb/linux/
H A Dslab.py46 def for_each_object(cache, addr, slab_objects):
50 while p < addr + (slab_objects * cache['size']):

Completed in 5 milliseconds