Searched refs:sm_ftl (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/drivers/mtd/ |
D | sm_ftl.c | 54 static struct attribute_group *sm_create_sysfs_attributes(struct sm_ftl *ftl) in sm_create_sysfs_attributes() 104 static void sm_delete_sysfs_attributes(struct sm_ftl *ftl) in sm_delete_sysfs_attributes() 192 static loff_t sm_mkoffset(struct sm_ftl *ftl, int zone, int block, int boffset) in sm_mkoffset() 206 static void sm_break_offset(struct sm_ftl *ftl, loff_t loffset, in sm_break_offset() 237 static int sm_read_sector(struct sm_ftl *ftl, in sm_read_sector() 322 static int sm_write_sector(struct sm_ftl *ftl, in sm_write_sector() 369 static int sm_write_block(struct sm_ftl *ftl, uint8_t *buf, in sm_write_block() 436 static void sm_mark_block_bad(struct sm_ftl *ftl, int zone, int block) in sm_mark_block_bad() 464 static int sm_erase_block(struct sm_ftl *ftl, int zone_num, uint16_t block, in sm_erase_block() 501 static int sm_check_block(struct sm_ftl *ftl, int zone, int block) in sm_check_block() [all …]
|
D | sm_ftl.h | 25 struct sm_ftl { struct 83 static int sm_erase_block(struct sm_ftl *ftl, int zone_num, uint16_t block, 85 static void sm_mark_block_bad(struct sm_ftl *ftl, int zone_num, int block); 87 static int sm_recheck_media(struct sm_ftl *ftl);
|
D | Makefile | 21 obj-$(CONFIG_SM_FTL) += sm_ftl.o
|