Lines Matching refs:shrinker
1571 struct shrinker *shrinker, const char *fmt, va_list ap) in shrinker_debugfs_name_alloc() argument
1573 shrinker->name = kvasprintf_const(GFP_KERNEL, fmt, ap); in shrinker_debugfs_name_alloc()
1575 return shrinker->name ? 0 : -ENOMEM; in shrinker_debugfs_name_alloc()
1578 static inline void shrinker_debugfs_name_free(struct shrinker *shrinker) in shrinker_debugfs_name_free() argument
1580 kfree_const(shrinker->name); in shrinker_debugfs_name_free()
1581 shrinker->name = NULL; in shrinker_debugfs_name_free()
1584 extern int shrinker_debugfs_add(struct shrinker *shrinker);
1585 extern struct dentry *shrinker_debugfs_detach(struct shrinker *shrinker,
1590 static inline int shrinker_debugfs_add(struct shrinker *shrinker) in shrinker_debugfs_add() argument
1594 static inline int shrinker_debugfs_name_alloc(struct shrinker *shrinker, in shrinker_debugfs_name_alloc() argument
1599 static inline void shrinker_debugfs_name_free(struct shrinker *shrinker) in shrinker_debugfs_name_free() argument
1602 static inline struct dentry *shrinker_debugfs_detach(struct shrinker *shrinker, in shrinker_debugfs_detach() argument