Home
last modified time | relevance | path

Searched refs:total_len (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dsyscall.rs727 let total_len: usize = self.0.iter().map(|slice| slice.len()).sum(); in new_buf() localVariable
728 let mut buf: Vec<u8> = Vec::with_capacity(total_len); in new_buf()
732 buf.set_len(total_len); in new_buf()
/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dentry.rs1183 let total_len = if ext_len > 0 { in name_to_string() localVariable
1196 let iter = name[..total_len].iter().map(|c| decode_u8_ascii(*c)); in name_to_string()