Home
last modified time | relevance | path

Searched refs:lseek (Results 1 – 9 of 9) sorted by relevance

/DragonOS/user/apps/http_server/
H A Dmain.c85 int content_length = lseek(fd, 0, SEEK_END); in send_file()
88 lseek(fd, 0, SEEK_SET); in send_file()
/DragonOS/docs/kernel/filesystem/vfs/
H A Ddesign.md21 │ │ lseek
/DragonOS/kernel/src/mm/
H A Dsyscall.rs621 let old_pos = file.lseek(SeekFrom::SeekCurrent(0)).unwrap(); in msync()
622 file.lseek(SeekFrom::SeekSet(fstart as i64)).unwrap(); in msync()
626 file.lseek(SeekFrom::SeekSet(old_pos as i64)).unwrap(); in msync()
/DragonOS/kernel/src/process/
H A Dexec.rs168 param.file_mut().lseek(SeekFrom::SeekSet(0))?; in load_binary_file()
/DragonOS/kernel/src/libs/
H A Delf.rs340 file.lseek(SeekFrom::SeekSet(offset_in_file as i64))?; in do_load_file()
447 file.lseek(SeekFrom::SeekSet(shoff as i64)) in parse_segments()
479 file.lseek(SeekFrom::SeekSet(phoff as i64)) in parse_segments()
/DragonOS/kernel/src/filesystem/vfs/
H A Dopen.rs220 file.lseek(SeekFrom::SeekEnd(0))?; in do_sys_openat2()
H A Dfile.rs387 pub fn lseek(&self, origin: SeekFrom) -> Result<usize, SystemError> { in lseek() method
H A Dsyscall.rs604 pub fn lseek(fd: i32, offset: i64, seek: u32) -> Result<usize, SystemError> { in lseek() method
621 return file.lseek(seek); in lseek()
/DragonOS/kernel/src/syscall/
H A Dmod.rs186 Self::lseek(fd, offset, whence) in handle()