Lines Matching defs:zone
192 static loff_t sm_mkoffset(struct sm_ftl *ftl, int zone, int block, int boffset) in sm_mkoffset()
207 int *zone, int *block, int *boffset) in sm_break_offset()
238 int zone, int block, int boffset, in sm_read_sector()
323 int zone, int block, int boffset, in sm_write_sector()
370 int zone, int block, int lba, in sm_write_block()
436 static void sm_mark_block_bad(struct sm_ftl *ftl, int zone, int block) in sm_mark_block_bad()
467 struct ftl_zone *zone = &ftl->zones[zone_num]; in sm_erase_block() local
501 static int sm_check_block(struct sm_ftl *ftl, int zone, int block) in sm_check_block()
754 struct ftl_zone *zone = &ftl->zones[zone_num]; in sm_init_zone() local
882 struct ftl_zone *zone; in sm_get_zone() local
932 struct ftl_zone *zone; in sm_cache_flush() local
1017 struct ftl_zone *zone; in sm_read() local
1063 struct ftl_zone *zone; in sm_write() local