Home
last modified time | relevance | path

Searched refs:seek (Results 1 – 8 of 8) sorted by relevance

/DragonOS/user/apps/test-blockcache/src/
H A Dmain.rs7 file.seek(std::io::SeekFrom::Start(file_size_bytes - 1))?; in main()
15 file.seek(SeekFrom::Start(0))?; in main()
/DragonOS/user/apps/user-manage/src/executor/
H A Dexecutor.rs123 guard.group_file.seek(std::io::SeekFrom::Start(0)).unwrap(); in write_group_file()
166 .seek(std::io::SeekFrom::Start(0)) in write_gshadow_file()
211 guard.passwd_file.seek(std::io::SeekFrom::Start(0)).unwrap(); in update_passwd_file()
240 guard.group_file.seek(std::io::SeekFrom::Start(0)).unwrap(); in update_group_file()
258 guard.shadow_file.seek(std::io::SeekFrom::Start(0)).unwrap(); in update_shadow_file()
289 .seek(std::io::SeekFrom::Start(0)) in update_gshadow_file()
358 guard.passwd_file.seek(std::io::SeekFrom::Start(0)).unwrap(); in update_passwd_file()
406 guard.group_file.seek(std::io::SeekFrom::Start(0)).unwrap(); in update_group_file()
428 guard.shadow_file.seek(std::io::SeekFrom::Start(0)).unwrap(); in update_shadow_file()
481 .seek(std::io::SeekFrom::Start(0)) in update_gshadow_file()
[all …]
/DragonOS/kernel/src/filesystem/fat/
H A Dfs.rs438 cursor.seek(SeekFrom::SeekSet(blk_offset as i64))?; in get_fat_entry()
529 cursor.seek(SeekFrom::SeekSet(blk_offset as i64))?; in get_fat_entry_raw()
984 cursor.seek(SeekFrom::SeekSet(in_block_offset as i64))?; in get_free_cluster()
1029 cursor.seek(SeekFrom::SeekSet(in_block_offset as i64))?; in get_free_cluster()
1058 cursor.seek(SeekFrom::SeekSet(in_block_offset as i64))?; in get_free_cluster()
1104 cursor.seek(SeekFrom::SeekSet(in_block_offset as i64))?; in set_entry()
1114 cursor.seek(SeekFrom::SeekSet(in_block_offset as i64))?; in set_entry()
1136 cursor.seek(SeekFrom::SeekSet(in_block_offset as i64))?; in set_entry()
1162 cursor.seek(SeekFrom::SeekSet(in_block_offset as i64))?; in set_entry()
1191 cursor.seek(SeekFrom::SeekSet(in_block_offset as i64))?; in set_entry()
[all …]
H A Dbpb.rs264 cursor.seek(SeekFrom::SeekCurrent(420))?; in new()
H A Dentry.rs1143 cursor.seek(SeekFrom::SeekSet(blk_offset as i64))?; in flush()
1356 cursor.seek(SeekFrom::SeekSet(blk_offset as i64))?; in flush()
2406 cursor.seek(SeekFrom::SeekSet(blk_offset as i64))?; in get_raw_dir_entry()
2418 cursor.seek(SeekFrom::SeekCurrent(10))?; in get_raw_dir_entry()
2422 cursor.seek(SeekFrom::SeekSet(blk_offset as i64))?; in get_raw_dir_entry()
/DragonOS/kernel/src/filesystem/
H A Dmbr.rs97 cursor.seek(SeekFrom::SeekCurrent(446))?; in from_disk()
/DragonOS/kernel/src/libs/
H A Dvec_cursor.rs132 pub fn seek(&mut self, origin: SeekFrom) -> Result<usize, SystemError> { in seek() method
/DragonOS/kernel/src/filesystem/vfs/
H A Dsyscall.rs604 pub fn lseek(fd: i32, offset: i64, seek: u32) -> Result<usize, SystemError> { in lseek()
605 let seek = match seek { in lseek() localVariable
621 return file.lseek(seek); in lseek()