3 #ifdef CONFIG_MTD_UBI_FASTMAP
4 static int is_fm_block(struct ubi_device
*ubi
, int pnum
);
5 static int anchor_pebs_avalible(struct rb_root
*root
);
6 static void update_fastmap_work_fn(struct work_struct
*wrk
);
7 static struct ubi_wl_entry
*find_anchor_wl_entry(struct rb_root
*root
);
8 static struct ubi_wl_entry
*get_peb_for_wl(struct ubi_device
*ubi
);
9 static void ubi_fastmap_close(struct ubi_device
*ubi
);
10 #else /* !CONFIG_MTD_UBI_FASTMAP */
11 static struct ubi_wl_entry
*get_peb_for_wl(struct ubi_device
*ubi
);
12 static inline int is_fm_block(struct ubi_device
*ubi
, int pnum
)
16 static inline void ubi_fastmap_close(struct ubi_device
*ubi
) { }
17 #endif /* CONFIG_MTD_UBI_FASTMAP */
This page took 0.03768 seconds and 5 git commands to generate.