Lines Matching refs:inode_chunk
41 static int yaffs_wr_data_obj(struct yaffs_obj *in, int inode_chunk,
961 int inode_chunk) in yaffs_find_chunk_in_group() argument
976 obj_id, inode_chunk)) { in yaffs_find_chunk_in_group()
987 static int yaffs_find_chunk_in_file(struct yaffs_obj *in, int inode_chunk, in yaffs_find_chunk_in_file() argument
1002 tn = yaffs_find_tnode_0(dev, &in->variant.file_variant, inode_chunk); in yaffs_find_chunk_in_file()
1007 the_chunk = yaffs_get_group_base(dev, tn, inode_chunk); in yaffs_find_chunk_in_file()
1010 inode_chunk); in yaffs_find_chunk_in_file()
1014 static int yaffs_find_del_file_chunk(struct yaffs_obj *in, int inode_chunk, in yaffs_find_del_file_chunk() argument
1029 tn = yaffs_find_tnode_0(dev, &in->variant.file_variant, inode_chunk); in yaffs_find_del_file_chunk()
1034 the_chunk = yaffs_get_group_base(dev, tn, inode_chunk); in yaffs_find_del_file_chunk()
1037 inode_chunk); in yaffs_find_del_file_chunk()
1041 yaffs_load_tnode_0(dev, tn, inode_chunk, 0); in yaffs_find_del_file_chunk()
1046 int yaffs_put_chunk_in_file(struct yaffs_obj *in, int inode_chunk, in yaffs_put_chunk_in_file() argument
1081 inode_chunk, NULL); in yaffs_put_chunk_in_file()
1089 existing_cunk = yaffs_get_group_base(dev, tn, inode_chunk); in yaffs_put_chunk_in_file()
1126 yaffs_find_chunk_in_file(in, inode_chunk, in yaffs_put_chunk_in_file()
1174 yaffs_load_tnode_0(dev, tn, inode_chunk, nand_chunk); in yaffs_put_chunk_in_file()
2907 static int yaffs_rd_data_obj(struct yaffs_obj *in, int inode_chunk, u8 * buffer) in yaffs_rd_data_obj() argument
2909 int nand_chunk = yaffs_find_chunk_in_file(in, inode_chunk, NULL); in yaffs_rd_data_obj()
2983 static int yaffs_wr_data_obj(struct yaffs_obj *in, int inode_chunk, in yaffs_wr_data_obj() argument
3003 prev_chunk_id = yaffs_find_chunk_in_file(in, inode_chunk, &prev_tags); in yaffs_wr_data_obj()
3005 !yaffs_put_chunk_in_file(in, inode_chunk, 0, 0)) in yaffs_wr_data_obj()
3011 new_tags.chunk_id = inode_chunk; in yaffs_wr_data_obj()
3028 yaffs_put_chunk_in_file(in, inode_chunk, new_chunk_id, 0); in yaffs_wr_data_obj()