Lines Matching refs:data
51 data: Vec<u8>, field
84 data: Vec::new(), in new()
137 let start = inode.data.len().min(offset); in read_at()
138 let end = inode.data.len().min(offset + len); in read_at()
146 let src = &inode.data[start..end]; in read_at()
170 let data: &mut Vec<u8> = &mut inode.data; in write_at() localVariable
173 if offset + len > data.len() { in write_at()
174 data.resize(offset + len, 0); in write_at()
177 let target = &mut data[offset..offset + len]; in write_at()
207 metadata.size = inode.data.len() as i64; in metadata()
227 inode.data.resize(len, 0); in resize()
239 data: usize, in create_with_data()
257 data: Vec::new(), in create_with_data()
272 raw_dev: data, in create_with_data()