• Home
  • Raw
  • Download

Lines Matching refs:chunk_id

348 	    temp_tags.chunk_id != tags->chunk_id ||  in yaffs_verify_chunk_written()
619 int chunk_id = in yaffs_retire_block() local
627 if (dev->param.write_chunk_tags_fn(dev, chunk_id - in yaffs_retire_block()
803 u32 chunk_id) in yaffs_find_tnode_0() argument
814 if (chunk_id > YAFFS_MAX_CHUNK_ID) in yaffs_find_tnode_0()
819 i = chunk_id >> YAFFS_TNODES_LEVEL0_BITS; in yaffs_find_tnode_0()
831 tn = tn->internal[(chunk_id >> in yaffs_find_tnode_0()
856 u32 chunk_id, in yaffs_add_find_tnode_0() argument
870 if (chunk_id > YAFFS_MAX_CHUNK_ID) in yaffs_add_find_tnode_0()
875 x = chunk_id >> YAFFS_TNODES_LEVEL0_BITS; in yaffs_add_find_tnode_0()
907 x = (chunk_id >> in yaffs_add_find_tnode_0()
952 return (tags->chunk_id == chunk_obj && in yaffs_tags_match()
1402 dev->cache[i].chunk_id < lowest) { in yaffs_flush_file_cache()
1404 lowest = cache->chunk_id; in yaffs_flush_file_cache()
1413 cache->chunk_id, in yaffs_flush_file_cache()
1520 int chunk_id) in yaffs_find_chunk_cache() argument
1530 dev->cache[i].chunk_id == chunk_id) { in yaffs_find_chunk_cache()
1567 static void yaffs_invalidate_chunk_cache(struct yaffs_obj *object, int chunk_id) in yaffs_invalidate_chunk_cache() argument
1572 cache = yaffs_find_chunk_cache(object, chunk_id); in yaffs_invalidate_chunk_cache()
2403 tags.chunk_id, tags.n_bytes); in yaffs_gc_process_chunk()
2406 if (tags.chunk_id == 0) in yaffs_gc_process_chunk()
2415 (object, tags.chunk_id, in yaffs_gc_process_chunk()
2424 tags.chunk_id); in yaffs_gc_process_chunk()
2431 tags.obj_id, tags.chunk_id, in yaffs_gc_process_chunk()
2437 object->soft_del && tags.chunk_id != 0) { in yaffs_gc_process_chunk()
2473 if (tags.chunk_id == 0) { in yaffs_gc_process_chunk()
2512 if (tags.chunk_id == 0) { in yaffs_gc_process_chunk()
2518 yaffs_put_chunk_in_file(object, tags.chunk_id, in yaffs_gc_process_chunk()
2924 void yaffs_chunk_del(struct yaffs_dev *dev, int chunk_id, int mark_flash, in yaffs_chunk_del() argument
2932 if (chunk_id <= 0) in yaffs_chunk_del()
2936 block = chunk_id / dev->param.chunks_per_block; in yaffs_chunk_del()
2937 page = chunk_id % dev->param.chunks_per_block; in yaffs_chunk_del()
2941 "Deleting invalid chunk %d", chunk_id); in yaffs_chunk_del()
2949 lyn, chunk_id); in yaffs_chunk_del()
2956 yaffs_wr_chunk_tags_nand(dev, chunk_id, NULL, &tags); in yaffs_chunk_del()
2957 yaffs_handle_chunk_update(dev, chunk_id, &tags); in yaffs_chunk_del()
3010 new_tags.chunk_id = inode_chunk; in yaffs_wr_data_obj()
3356 new_tags.chunk_id = 0; in yaffs_update_oh()
3453 cache->chunk_id = chunk; in yaffs_file_rd()
3577 cache->chunk_id = chunk; in yaffs_do_file_wr()
3607 cache->chunk_id, in yaffs_do_file_wr()
3677 int chunk_id; in yaffs_prune_chunks() local
3701 chunk_id = yaffs_find_del_file_chunk(in, i, NULL); in yaffs_prune_chunks()
3703 if (chunk_id < 1) in yaffs_prune_chunks()
3706 if (chunk_id < in yaffs_prune_chunks()
3708 chunk_id >= in yaffs_prune_chunks()
3713 chunk_id, i); in yaffs_prune_chunks()
3716 yaffs_chunk_del(dev, chunk_id, 1, __LINE__); in yaffs_prune_chunks()