Lines Matching refs:nand_chunk

218 static void yaffs_handle_chunk_wr_ok(struct yaffs_dev *dev, int nand_chunk,  in yaffs_handle_chunk_wr_ok()  argument
224 static void yaffs_handle_chunk_update(struct yaffs_dev *dev, int nand_chunk, in yaffs_handle_chunk_update() argument
246 static void yaffs_handle_chunk_wr_error(struct yaffs_dev *dev, int nand_chunk, in yaffs_handle_chunk_wr_error() argument
249 int flash_block = nand_chunk / dev->param.chunks_per_block; in yaffs_handle_chunk_wr_error()
263 yaffs_chunk_del(dev, nand_chunk, 1, __LINE__); in yaffs_handle_chunk_wr_error()
312 static int yaffs_check_chunk_erased(struct yaffs_dev *dev, int nand_chunk) in yaffs_check_chunk_erased() argument
318 yaffs_rd_chunk_tags_nand(dev, nand_chunk, data, &tags); in yaffs_check_chunk_erased()
326 "Chunk %d not erased", nand_chunk); in yaffs_check_chunk_erased()
337 int nand_chunk, in yaffs_verify_chunk_written() argument
345 yaffs_rd_chunk_tags_nand(dev, nand_chunk, buffer, &temp_tags); in yaffs_verify_chunk_written()
1046 int nand_chunk, int in_scan) in yaffs_put_chunk_in_file() argument
1074 yaffs_chunk_del(dev, nand_chunk, 1, __LINE__); in yaffs_put_chunk_in_file()
1084 if (!nand_chunk) in yaffs_put_chunk_in_file()
1120 nand_chunk, in yaffs_put_chunk_in_file()
1163 yaffs_chunk_del(dev, nand_chunk, 1, __LINE__); in yaffs_put_chunk_in_file()
1173 yaffs_load_tnode_0(dev, tn, inode_chunk, nand_chunk); in yaffs_put_chunk_in_file()
2908 int nand_chunk = yaffs_find_chunk_in_file(in, inode_chunk, NULL); in yaffs_rd_data_obj() local
2910 if (nand_chunk >= 0) in yaffs_rd_data_obj()
2911 return yaffs_rd_chunk_tags_nand(in->my_dev, nand_chunk, in yaffs_rd_data_obj()
2916 nand_chunk); in yaffs_rd_data_obj()