Lines Matching defs:zone
195 static loff_t sm_mkoffset(struct sm_ftl *ftl, int zone, int block, int boffset) in sm_mkoffset()
210 int *zone, int *block, int *boffset) in sm_break_offset()
237 int zone, int block, int boffset, in sm_read_sector()
319 int zone, int block, int boffset, in sm_write_sector()
366 int zone, int block, int lba, in sm_write_block()
428 static void sm_mark_block_bad(struct sm_ftl *ftl, int zone, int block) in sm_mark_block_bad()
458 struct ftl_zone *zone = &ftl->zones[zone_num]; in sm_erase_block() local
510 static int sm_check_block(struct sm_ftl *ftl, int zone, int block) in sm_check_block()
760 struct ftl_zone *zone = &ftl->zones[zone_num]; in sm_init_zone() local
880 struct ftl_zone *zone; in sm_get_zone() local
930 struct ftl_zone *zone; in sm_cache_flush() local
1014 struct ftl_zone *zone; in sm_read() local
1060 struct ftl_zone *zone; in sm_write() local