Home
last modified time | relevance | path

Searched refs:ftl (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/drivers/mtd/
Dsm_ftl.c57 struct attribute_group *sm_create_sysfs_attributes(struct sm_ftl *ftl) in sm_create_sysfs_attributes() argument
63 int vendor_len = strnlen(ftl->cis_buffer + SM_CIS_VENDOR_OFFSET, in sm_create_sysfs_attributes()
69 memcpy(vendor, ftl->cis_buffer + SM_CIS_VENDOR_OFFSET, vendor_len); in sm_create_sysfs_attributes()
110 void sm_delete_sysfs_attributes(struct sm_ftl *ftl) in sm_delete_sysfs_attributes() argument
112 struct attribute **attributes = ftl->disk_attributes->attrs; in sm_delete_sysfs_attributes()
128 kfree(ftl->disk_attributes->attrs); in sm_delete_sysfs_attributes()
129 kfree(ftl->disk_attributes); in sm_delete_sysfs_attributes()
198 static loff_t sm_mkoffset(struct sm_ftl *ftl, int zone, int block, int boffset) in sm_mkoffset() argument
201 WARN_ON(zone < 0 || zone >= ftl->zone_count); in sm_mkoffset()
202 WARN_ON(block >= ftl->zone_size); in sm_mkoffset()
[all …]
Dsm_ftl.h90 static int sm_erase_block(struct sm_ftl *ftl, int zone_num, uint16_t block,
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);
DMakefile21 obj-$(CONFIG_FTL) += ftl.o
/linux-2.6.39/arch/mips/include/asm/octeon/
Dcvmx-l2d-defs.h48 uint64_t ftl:1; member