Lines Matching refs:partition
70 struct partition { struct
92 static int build_block_map(struct partition *part, int block_no) in build_block_map() argument
150 static int scan_header(struct partition *part) in scan_header()
243 struct partition *part = (struct partition*)dev; in rfd_ftl_readsect()
271 struct partition *part; in erase_callback()
276 part = (struct partition*)erase->priv; in erase_callback()
326 static int erase_block(struct partition *part, int block) in erase_block()
357 static int move_block_contents(struct partition *part, int block_no, u_long *old_sector) in move_block_contents()
445 static int reclaim_block(struct partition *part, u_long *old_sector) in reclaim_block()
517 static int find_free_block(struct partition *part) in find_free_block()
541 static int find_writable_block(struct partition *part, u_long *old_sector) in find_writable_block()
583 static int mark_sector_deleted(struct partition *part, u_long old_addr) in mark_sector_deleted()
620 static int find_free_sector(const struct partition *part, const struct block *block) in find_free_sector()
641 struct partition *part = (struct partition*)dev; in do_writesect()
707 struct partition *part = (struct partition*)dev; in rfd_ftl_writesect()
748 struct partition *part = (struct partition*)dev; in rfd_ftl_getgeo()
759 struct partition *part; in rfd_ftl_add_mtd()
764 part = kzalloc(sizeof(struct partition), GFP_KERNEL); in rfd_ftl_add_mtd()
804 struct partition *part = (struct partition*)dev; in rfd_ftl_remove_dev()