#include <linux/fs.h>
#include <linux/f2fs_fs.h>
#include "f2fs.h"
#include "node.h"
static LIST_HEAD(f2fs_list);
static DEFINE_SPINLOCK(f2fs_list_lock);
static unsigned int shrinker_run_no;
static unsigned long __count_nat_entries(struct f2fs_sb_info *sbi)
{ … }
static unsigned long __count_free_nids(struct f2fs_sb_info *sbi)
{ … }
static unsigned long __count_extent_cache(struct f2fs_sb_info *sbi,
enum extent_type type)
{ … }
unsigned long f2fs_shrink_count(struct shrinker *shrink,
struct shrink_control *sc)
{ … }
unsigned long f2fs_shrink_scan(struct shrinker *shrink,
struct shrink_control *sc)
{ … }
void f2fs_join_shrinker(struct f2fs_sb_info *sbi)
{ … }
void f2fs_leave_shrinker(struct f2fs_sb_info *sbi)
{ … }