Lines Matching refs:shrinker
1585 struct shrinker *shrinker, const char *fmt, va_list ap) in shrinker_debugfs_name_alloc() argument
1587 shrinker->name = kvasprintf_const(GFP_KERNEL, fmt, ap); in shrinker_debugfs_name_alloc()
1589 return shrinker->name ? 0 : -ENOMEM; in shrinker_debugfs_name_alloc()
1592 static inline void shrinker_debugfs_name_free(struct shrinker *shrinker) in shrinker_debugfs_name_free() argument
1594 kfree_const(shrinker->name); in shrinker_debugfs_name_free()
1595 shrinker->name = NULL; in shrinker_debugfs_name_free()
1598 extern int shrinker_debugfs_add(struct shrinker *shrinker);
1599 extern struct dentry *shrinker_debugfs_detach(struct shrinker *shrinker,
1604 static inline int shrinker_debugfs_add(struct shrinker *shrinker) in shrinker_debugfs_add() argument
1608 static inline int shrinker_debugfs_name_alloc(struct shrinker *shrinker, in shrinker_debugfs_name_alloc() argument
1613 static inline void shrinker_debugfs_name_free(struct shrinker *shrinker) in shrinker_debugfs_name_free() argument
1616 static inline struct dentry *shrinker_debugfs_detach(struct shrinker *shrinker, in shrinker_debugfs_detach() argument