Lines Matching refs:lf
55 auto *lf = reinterpret_cast<LinuxFile *>(f); in write_func() local
56 long ret = __llvm_libc::syscall(SYS_write, lf->get_fd(), data, size); in write_func()
65 auto *lf = reinterpret_cast<LinuxFile *>(f); in read_func() local
66 long ret = __llvm_libc::syscall(SYS_read, lf->get_fd(), buf, size); in read_func()
75 auto *lf = reinterpret_cast<LinuxFile *>(f); in seek_func() local
77 long ret = __llvm_libc::syscall(SYS_lseek, lf->get_fd(), offset, whence); in seek_func()
80 long ret = __llvm_libc::syscall(SYS__lseek, lf->get_fd(), offset >> 32, in seek_func()
94 auto *lf = reinterpret_cast<LinuxFile *>(f); in close_func() local
95 long ret = __llvm_libc::syscall(SYS_close, lf->get_fd()); in close_func()
104 auto *lf = reinterpret_cast<LinuxFile *>(f); in flush_func() local
105 long ret = __llvm_libc::syscall(SYS_fsync, lf->get_fd()); in flush_func()