Home
last modified time | relevance | path

Searched refs:file_size (Results 1 – 5 of 5) sorted by relevance

/DragonOS-0.1.8/user/apps/shell/
Dcmd.c329 int file_size = lseek(fd, 0, SEEK_END); in shell_cmd_cat() local
335 while (file_size > 0) in shell_cmd_cat()
346 file_size -= l; in shell_cmd_cat()
/DragonOS-0.1.8/kernel/src/filesystem/vfs/
DVFS.h73 uint64_t file_size; // 文件大小 member
Dfile.rs163 let file_size = self.inode.metadata()?.size as usize; in write() localVariable
164 if self.offset > file_size { in write()
/DragonOS-0.1.8/kernel/src/filesystem/procfs/
Dmod.rs334 let file_size = match inode.fdata.ftype { in open() localVariable
342 inode.metadata.size = file_size; in open()
/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dentry.rs65 return self.short_dir_entry.file_size as u64; in size()
71 self.short_dir_entry.file_size = size; in set_size()
959 file_size: u32, field
1326 cursor.write_u32(self.file_size)?; in flush()
2426 short_dentry.file_size = cursor.read_u32()?; in get_raw_dir_entry()