Lines Matching refs:shrinker
63 struct shrinker { struct
64 unsigned long (*count_objects)(struct shrinker *, argument
66 unsigned long (*scan_objects)(struct shrinker *, argument
99 extern int __printf(2, 3) prealloc_shrinker(struct shrinker *shrinker,
101 extern void register_shrinker_prepared(struct shrinker *shrinker);
102 extern int __printf(2, 3) register_shrinker(struct shrinker *shrinker,
104 extern void unregister_shrinker(struct shrinker *shrinker);
105 extern void free_prealloced_shrinker(struct shrinker *shrinker);
109 extern int shrinker_debugfs_add(struct shrinker *shrinker);
110 extern struct dentry *shrinker_debugfs_remove(struct shrinker *shrinker);
111 extern int __printf(2, 3) shrinker_debugfs_rename(struct shrinker *shrinker,
114 static inline int shrinker_debugfs_add(struct shrinker *shrinker) in shrinker_debugfs_add() argument
118 static inline struct dentry *shrinker_debugfs_remove(struct shrinker *shrinker) in shrinker_debugfs_remove() argument
123 int shrinker_debugfs_rename(struct shrinker *shrinker, const char *fmt, ...) in shrinker_debugfs_rename() argument