Go to the documentation of this file.
16 #include <linux/sched.h>
75 #define SM_FTL_PARTN_BITS 3
77 #define sm_printk(format, ...) \
78 printk(KERN_WARNING "sm_ftl" ": " format "\n", ## __VA_ARGS__)
80 #define dbg(format, ...) \
82 printk(KERN_DEBUG "sm_ftl" ": " format "\n", ## __VA_ARGS__)
84 #define dbg_verbose(format, ...) \
86 printk(KERN_DEBUG "sm_ftl" ": " format "\n", ## __VA_ARGS__)
89 static void sm_erase_callback(
struct erase_info *
self);
92 static void sm_mark_block_bad(
struct sm_ftl *ftl,
int zone_num,
int block);
94 static int sm_recheck_media(
struct sm_ftl *ftl);