Searched refs:shrink (Results 1 – 5 of 5) sorted by relevance
79 struct ttm_mem_shrink *shrink; member100 static inline void ttm_mem_init_shrink(struct ttm_mem_shrink *shrink, in ttm_mem_init_shrink() argument103 shrink->do_shrink = func; in ttm_mem_init_shrink()117 struct ttm_mem_shrink *shrink) in ttm_mem_register_shrink() argument120 if (glob->shrink != NULL) { in ttm_mem_register_shrink()124 glob->shrink = shrink; in ttm_mem_register_shrink()138 struct ttm_mem_shrink *shrink) in ttm_mem_unregister_shrink() argument141 BUG_ON(glob->shrink != shrink); in ttm_mem_unregister_shrink()142 glob->shrink = NULL; in ttm_mem_unregister_shrink()
471 struct ttm_mem_shrink shrink; member
193 __field(void *, shrink)206 __entry->shrink = shr->scan_objects;218 __entry->shrink,240 __field(void *, shrink)250 __entry->shrink = shr->scan_objects;258 __entry->shrink,
91 int (*shrink)(void *pool, unsigned int pages, member
2098 unsigned long shrink_slab(struct shrink_control *shrink,