/fs/yaffs2/ |
D | yaffs_yaffs2.h | 21 void yaffs_calc_oldest_dirty_seq(struct yaffs_dev *dev); 22 void yaffs2_find_oldest_dirty_seq(struct yaffs_dev *dev); 23 void yaffs2_clear_oldest_dirty_seq(struct yaffs_dev *dev, 25 void yaffs2_update_oldest_dirty_seq(struct yaffs_dev *dev, unsigned block_no, 27 int yaffs_block_ok_for_gc(struct yaffs_dev *dev, struct yaffs_block_info *bi); 28 u32 yaffs2_find_refresh_block(struct yaffs_dev *dev); 29 int yaffs2_checkpt_required(struct yaffs_dev *dev); 30 int yaffs_calc_checkpt_blocks_required(struct yaffs_dev *dev); 32 void yaffs2_checkpt_invalidate(struct yaffs_dev *dev); 33 int yaffs2_checkpt_save(struct yaffs_dev *dev); [all …]
|
D | yaffs_guts.h | 435 struct yaffs_dev *my_dev; /* The device I'm on */ 574 void (*sb_dirty_fn) (struct yaffs_dev *dev); 577 unsigned (*gc_control_fn) (struct yaffs_dev *dev); 599 int (*drv_write_chunk_fn) (struct yaffs_dev *dev, int nand_chunk, 602 int (*drv_read_chunk_fn) (struct yaffs_dev *dev, int nand_chunk, 606 int (*drv_erase_fn) (struct yaffs_dev *dev, int block_no); 607 int (*drv_mark_bad_fn) (struct yaffs_dev *dev, int block_no); 608 int (*drv_check_bad_fn) (struct yaffs_dev *dev, int block_no); 609 int (*drv_initialise_fn) (struct yaffs_dev *dev); 610 int (*drv_deinitialise_fn) (struct yaffs_dev *dev); [all …]
|
D | yaffs_bitmap.h | 25 void yaffs_verify_chunk_bit_id(struct yaffs_dev *dev, int blk, int chunk); 26 void yaffs_clear_chunk_bits(struct yaffs_dev *dev, int blk); 27 void yaffs_clear_chunk_bit(struct yaffs_dev *dev, int blk, int chunk); 28 void yaffs_set_chunk_bit(struct yaffs_dev *dev, int blk, int chunk); 29 int yaffs_check_chunk_bit(struct yaffs_dev *dev, int blk, int chunk); 30 int yaffs_still_some_chunks(struct yaffs_dev *dev, int blk); 31 int yaffs_count_chunk_bits(struct yaffs_dev *dev, int blk);
|
D | yaffs_nand.h | 20 int yaffs_rd_chunk_tags_nand(struct yaffs_dev *dev, int nand_chunk, 23 int yaffs_wr_chunk_tags_nand(struct yaffs_dev *dev, 27 int yaffs_mark_bad(struct yaffs_dev *dev, int block_no); 29 int yaffs_query_init_block_state(struct yaffs_dev *dev, 34 int yaffs_erase_block(struct yaffs_dev *dev, int flash_block); 36 int yaffs_init_nand(struct yaffs_dev *dev); 37 int yaffs_deinit_nand(struct yaffs_dev *dev);
|
D | yaffs_allocator.h | 21 void yaffs_init_raw_tnodes_and_objs(struct yaffs_dev *dev); 22 void yaffs_deinit_raw_tnodes_and_objs(struct yaffs_dev *dev); 24 struct yaffs_tnode *yaffs_alloc_raw_tnode(struct yaffs_dev *dev); 25 void yaffs_free_raw_tnode(struct yaffs_dev *dev, struct yaffs_tnode *tn); 27 struct yaffs_obj *yaffs_alloc_raw_obj(struct yaffs_dev *dev); 28 void yaffs_free_raw_obj(struct yaffs_dev *dev, struct yaffs_obj *obj);
|
D | yaffs_checkptrw.h | 21 int yaffs2_checkpt_open(struct yaffs_dev *dev, int writing); 23 int yaffs2_checkpt_wr(struct yaffs_dev *dev, const void *data, int n_bytes); 25 int yaffs2_checkpt_rd(struct yaffs_dev *dev, void *data, int n_bytes); 27 int yaffs2_get_checkpt_sum(struct yaffs_dev *dev, u32 * sum); 29 int yaffs_checkpt_close(struct yaffs_dev *dev); 31 int yaffs2_checkpt_invalidate_stream(struct yaffs_dev *dev);
|
D | yaffs_summary.h | 22 int yaffs_summary_init(struct yaffs_dev *dev); 23 void yaffs_summary_deinit(struct yaffs_dev *dev); 25 int yaffs_summary_add(struct yaffs_dev *dev, 28 int yaffs_summary_fetch(struct yaffs_dev *dev, 31 int yaffs_summary_read(struct yaffs_dev *dev, 34 void yaffs_summary_gc(struct yaffs_dev *dev, int blk);
|
D | yaffs_bitmap.c | 20 static inline u8 *yaffs_block_bits(struct yaffs_dev *dev, int blk) in yaffs_block_bits() 32 void yaffs_verify_chunk_bit_id(struct yaffs_dev *dev, int blk, int chunk) in yaffs_verify_chunk_bit_id() 43 void yaffs_clear_chunk_bits(struct yaffs_dev *dev, int blk) in yaffs_clear_chunk_bits() 50 void yaffs_clear_chunk_bit(struct yaffs_dev *dev, int blk, int chunk) in yaffs_clear_chunk_bit() 58 void yaffs_set_chunk_bit(struct yaffs_dev *dev, int blk, int chunk) in yaffs_set_chunk_bit() 66 int yaffs_check_chunk_bit(struct yaffs_dev *dev, int blk, int chunk) in yaffs_check_chunk_bit() 74 int yaffs_still_some_chunks(struct yaffs_dev *dev, int blk) in yaffs_still_some_chunks() 87 int yaffs_count_chunk_bits(struct yaffs_dev *dev, int blk) in yaffs_count_chunk_bits()
|
D | yaffs_nand.c | 20 static int apply_chunk_offset(struct yaffs_dev *dev, int chunk) in apply_chunk_offset() 25 int yaffs_rd_chunk_tags_nand(struct yaffs_dev *dev, int nand_chunk, in yaffs_rd_chunk_tags_nand() 50 int yaffs_wr_chunk_tags_nand(struct yaffs_dev *dev, in yaffs_wr_chunk_tags_nand() 79 int yaffs_mark_bad(struct yaffs_dev *dev, int block_no) in yaffs_mark_bad() 87 int yaffs_query_init_block_state(struct yaffs_dev *dev, in yaffs_query_init_block_state() 96 int yaffs_erase_block(struct yaffs_dev *dev, int block_no) in yaffs_erase_block() 106 int yaffs_init_nand(struct yaffs_dev *dev) in yaffs_init_nand() 113 int yaffs_deinit_nand(struct yaffs_dev *dev) in yaffs_deinit_nand()
|
D | yaffs_verify.h | 21 void yaffs_verify_blk(struct yaffs_dev *dev, struct yaffs_block_info *bi, 23 void yaffs_verify_collected_blk(struct yaffs_dev *dev, 25 void yaffs_verify_blocks(struct yaffs_dev *dev); 34 void yaffs_verify_objects(struct yaffs_dev *dev); 37 void yaffs_verify_free_chunks(struct yaffs_dev *dev); 41 int yaffs_skip_verification(struct yaffs_dev *dev);
|
D | yaffs_allocator.c | 56 static void yaffs_deinit_raw_tnodes(struct yaffs_dev *dev) in yaffs_deinit_raw_tnodes() 80 static void yaffs_init_raw_tnodes(struct yaffs_dev *dev) in yaffs_init_raw_tnodes() 95 static int yaffs_create_tnodes(struct yaffs_dev *dev, int n_tnodes) in yaffs_create_tnodes() 158 struct yaffs_tnode *yaffs_alloc_raw_tnode(struct yaffs_dev *dev) in yaffs_alloc_raw_tnode() 183 void yaffs_free_raw_tnode(struct yaffs_dev *dev, struct yaffs_tnode *tn) in yaffs_free_raw_tnode() 206 static void yaffs_init_raw_objs(struct yaffs_dev *dev) in yaffs_init_raw_objs() 220 static void yaffs_deinit_raw_objs(struct yaffs_dev *dev) in yaffs_deinit_raw_objs() 242 static int yaffs_create_free_objs(struct yaffs_dev *dev, int n_obj) in yaffs_create_free_objs() 287 struct yaffs_obj *yaffs_alloc_raw_obj(struct yaffs_dev *dev) in yaffs_alloc_raw_obj() 312 void yaffs_free_raw_obj(struct yaffs_dev *dev, struct yaffs_obj *obj) in yaffs_free_raw_obj() [all …]
|
D | yaffs_tagscompat.h | 25 int yaffs_tags_compat_wr(struct yaffs_dev *dev, 28 int yaffs_tags_compat_rd(struct yaffs_dev *dev, 31 int yaffs_tags_compat_mark_bad(struct yaffs_dev *dev, int block_no); 32 int yaffs_tags_compat_query_block(struct yaffs_dev *dev, 40 void yaffs_tags_compat_install(struct yaffs_dev *dev);
|
D | yaffs_checkptrw.c | 25 static int apply_chunk_offset(struct yaffs_dev *dev, int chunk) in apply_chunk_offset() 30 static int apply_block_offset(struct yaffs_dev *dev, int block) in apply_block_offset() 35 static void yaffs2_checkpt_init_chunk_hdr(struct yaffs_dev *dev) in yaffs2_checkpt_init_chunk_hdr() 49 static int yaffs2_checkpt_check_chunk_hdr(struct yaffs_dev *dev) in yaffs2_checkpt_check_chunk_hdr() 63 static int yaffs2_checkpt_space_ok(struct yaffs_dev *dev) in yaffs2_checkpt_space_ok() 73 static int yaffs_checkpt_erase(struct yaffs_dev *dev) in yaffs_checkpt_erase() 112 static void yaffs2_checkpt_find_erased_block(struct yaffs_dev *dev) in yaffs2_checkpt_find_erased_block() 146 static void yaffs2_checkpt_find_block(struct yaffs_dev *dev) in yaffs2_checkpt_find_block() 196 int yaffs2_checkpt_open(struct yaffs_dev *dev, int writing) in yaffs2_checkpt_open() 252 int yaffs2_get_checkpt_sum(struct yaffs_dev *dev, u32 * sum) in yaffs2_get_checkpt_sum() [all …]
|
D | yaffs_guts.c | 49 void yaffs_addr_to_chunk(struct yaffs_dev *dev, loff_t addr, in yaffs_addr_to_chunk() 125 static int yaffs_init_tmp_buffers(struct yaffs_dev *dev) in yaffs_init_tmp_buffers() 141 u8 *yaffs_get_temp_buffer(struct yaffs_dev * dev) in yaffs_get_temp_buffer() 167 void yaffs_release_temp_buffer(struct yaffs_dev *dev, u8 *buffer) in yaffs_release_temp_buffer() 195 static void yaffs_handle_chunk_wr_ok(struct yaffs_dev *dev, int nand_chunk, in yaffs_handle_chunk_wr_ok() 205 static void yaffs_handle_chunk_update(struct yaffs_dev *dev, int nand_chunk, in yaffs_handle_chunk_update() 213 void yaffs_handle_chunk_error(struct yaffs_dev *dev, in yaffs_handle_chunk_error() 230 static void yaffs_handle_chunk_wr_error(struct yaffs_dev *dev, int nand_chunk, in yaffs_handle_chunk_wr_error() 271 struct yaffs_obj *yaffs_root(struct yaffs_dev *dev) in yaffs_root() 276 struct yaffs_obj *yaffs_lost_n_found(struct yaffs_dev *dev) in yaffs_lost_n_found() [all …]
|
D | yaffs_mtdif.c | 46 int nandmtd_erase_block(struct yaffs_dev *dev, int block_no) in nandmtd_erase_block() 72 static int yaffs_mtd_write(struct yaffs_dev *dev, int nand_chunk, in yaffs_mtd_write() 98 static int yaffs_mtd_read(struct yaffs_dev *dev, int nand_chunk, in yaffs_mtd_read() 157 static int yaffs_mtd_erase(struct yaffs_dev *dev, int block_no) in yaffs_mtd_erase() 186 static int yaffs_mtd_mark_bad(struct yaffs_dev *dev, int block_no) in yaffs_mtd_mark_bad() 198 static int yaffs_mtd_check_bad(struct yaffs_dev *dev, int block_no) in yaffs_mtd_check_bad() 210 static int yaffs_mtd_initialise(struct yaffs_dev *dev) in yaffs_mtd_initialise() 215 static int yaffs_mtd_deinitialise(struct yaffs_dev *dev) in yaffs_mtd_deinitialise() 221 void yaffs_mtd_drv_install(struct yaffs_dev *dev) in yaffs_mtd_drv_install()
|
D | yaffs_tagscompat.c | 20 static void yaffs_handle_rd_data_error(struct yaffs_dev *dev, int nand_chunk); 93 static void yaffs_get_tags_from_spare(struct yaffs_dev *dev, in yaffs_get_tags_from_spare() 121 static int yaffs_wr_nand(struct yaffs_dev *dev, in yaffs_wr_nand() 132 static int yaffs_rd_chunk_nand(struct yaffs_dev *dev, in yaffs_rd_chunk_nand() 219 static void yaffs_handle_rd_data_error(struct yaffs_dev *dev, int nand_chunk) in yaffs_handle_rd_data_error() 237 static int yaffs_tags_compat_wr(struct yaffs_dev *dev, in yaffs_tags_compat_wr() 271 static int yaffs_tags_compat_rd(struct yaffs_dev *dev, in yaffs_tags_compat_rd() 320 static int yaffs_tags_compat_mark_bad(struct yaffs_dev *dev, int flash_block) in yaffs_tags_compat_mark_bad() 336 static int yaffs_tags_compat_query_block(struct yaffs_dev *dev, in yaffs_tags_compat_query_block() 369 void yaffs_tags_compat_install(struct yaffs_dev *dev) in yaffs_tags_compat_install()
|
D | yaffs_yaffs2.c | 42 void yaffs_calc_oldest_dirty_seq(struct yaffs_dev *dev) in yaffs_calc_oldest_dirty_seq() 72 void yaffs2_find_oldest_dirty_seq(struct yaffs_dev *dev) in yaffs2_find_oldest_dirty_seq() 87 void yaffs2_clear_oldest_dirty_seq(struct yaffs_dev *dev, in yaffs2_clear_oldest_dirty_seq() 105 void yaffs2_update_oldest_dirty_seq(struct yaffs_dev *dev, unsigned block_no, in yaffs2_update_oldest_dirty_seq() 119 int yaffs_block_ok_for_gc(struct yaffs_dev *dev, struct yaffs_block_info *bi) in yaffs_block_ok_for_gc() 141 u32 yaffs2_find_refresh_block(struct yaffs_dev *dev) in yaffs2_find_refresh_block() 195 int yaffs2_checkpt_required(struct yaffs_dev *dev) in yaffs2_checkpt_required() 208 int yaffs_calc_checkpt_blocks_required(struct yaffs_dev *dev) in yaffs_calc_checkpt_blocks_required() 251 static int yaffs2_wr_checkpt_validity_marker(struct yaffs_dev *dev, int head) in yaffs2_wr_checkpt_validity_marker() 265 static int yaffs2_rd_checkpt_validity_marker(struct yaffs_dev *dev, int head) in yaffs2_rd_checkpt_validity_marker() [all …]
|
D | yaffs_summary.c | 55 static void yaffs_summary_clear(struct yaffs_dev *dev) in yaffs_summary_clear() 64 void yaffs_summary_deinit(struct yaffs_dev *dev) in yaffs_summary_deinit() 73 int yaffs_summary_init(struct yaffs_dev *dev) in yaffs_summary_init() 101 static unsigned yaffs_summary_sum(struct yaffs_dev *dev) in yaffs_summary_sum() 118 static int yaffs_summary_write(struct yaffs_dev *dev, int blk) in yaffs_summary_write() 178 int yaffs_summary_read(struct yaffs_dev *dev, in yaffs_summary_read() 250 int yaffs_summary_add(struct yaffs_dev *dev, in yaffs_summary_add() 279 int yaffs_summary_fetch(struct yaffs_dev *dev, in yaffs_summary_fetch() 296 void yaffs_summary_gc(struct yaffs_dev *dev, int blk) in yaffs_summary_gc()
|
D | yaffs_vfs.c | 222 #define yaffs_super_to_dev(sb) ((struct yaffs_dev *)sb->s_fs_info) 224 #define yaffs_super_to_dev(sb) ((struct yaffs_dev *)sb->u.generic_sbp) 242 static void yaffs_gross_lock(struct yaffs_dev *dev) in yaffs_gross_lock() 249 static void yaffs_gross_unlock(struct yaffs_dev *dev) in yaffs_gross_unlock() 264 struct yaffs_dev *dev; in yaffs_readpage_nolock() 327 static void yaffs_set_super_dirty_val(struct yaffs_dev *dev, int val) in yaffs_set_super_dirty_val() 345 static void yaffs_set_super_dirty(struct yaffs_dev *dev) in yaffs_set_super_dirty() 350 static void yaffs_clear_super_dirty(struct yaffs_dev *dev) in yaffs_clear_super_dirty() 355 static int yaffs_check_super_dirty(struct yaffs_dev *dev) in yaffs_check_super_dirty() 380 struct yaffs_dev *dev; in yaffs_writepage() [all …]
|
D | yaffs_verify.c | 20 int yaffs_skip_verification(struct yaffs_dev *dev) in yaffs_skip_verification() 27 static int yaffs_skip_full_verification(struct yaffs_dev *dev) in yaffs_skip_full_verification() 33 static int yaffs_skip_nand_verification(struct yaffs_dev *dev) in yaffs_skip_nand_verification() 52 void yaffs_verify_blk(struct yaffs_dev *dev, struct yaffs_block_info *bi, int n) in yaffs_verify_blk() 96 void yaffs_verify_collected_blk(struct yaffs_dev *dev, in yaffs_verify_collected_blk() 111 void yaffs_verify_blocks(struct yaffs_dev *dev) in yaffs_verify_blocks() 233 struct yaffs_dev *dev; in yaffs_verify_file() 312 struct yaffs_dev *dev; in yaffs_verify_obj() 407 void yaffs_verify_objects(struct yaffs_dev *dev) in yaffs_verify_objects() 505 void yaffs_verify_free_chunks(struct yaffs_dev *dev) in yaffs_verify_free_chunks()
|
D | yaffs_tagsmarshall.c | 18 static int yaffs_tags_marshall_write(struct yaffs_dev *dev, in yaffs_tags_marshall_write() 59 static int yaffs_tags_marshall_read(struct yaffs_dev *dev, in yaffs_tags_marshall_read() 133 static int yaffs_tags_marshall_query_block(struct yaffs_dev *dev, int block_no, in yaffs_tags_marshall_query_block() 175 static int yaffs_tags_marshall_mark_bad(struct yaffs_dev *dev, int block_no) in yaffs_tags_marshall_mark_bad() 182 void yaffs_tags_marshall_install(struct yaffs_dev *dev) in yaffs_tags_marshall_install()
|
D | yaffs_yaffs1.h | 20 int yaffs1_scan(struct yaffs_dev *dev);
|
D | yaffs_tagsmarshall.h | 20 void yaffs_tags_marshall_install(struct yaffs_dev *dev);
|
D | yaffs_mtdif.h | 21 void yaffs_mtd_drv_install(struct yaffs_dev *dev);
|
D | yaffs_getblockinfo.h | 23 static inline struct yaffs_block_info *yaffs_get_block_info(struct yaffs_dev in yaffs_get_block_info()
|