#include <file.h>
Inheritance diagram for os::posix::file_impl:Public Member Functions | |
Constructors & Destructor | |
| file_impl (file_system &fs) | |
| virtual | ~file_impl () override |
Public Member Functions | |
| virtual int | do_ftruncate (off_t length)=0 |
| virtual int | do_fsync (void)=0 |
| class file_system & | get_file_system (void) |
Public Member Functions | |
| virtual void | do_deallocate (void) |
| virtual bool | do_is_opened (void)=0 |
| virtual bool | do_is_connected (void) |
| virtual ssize_t | do_read (void *buf, std::size_t nbyte)=0 |
| virtual ssize_t | do_write (const void *buf, std::size_t nbyte)=0 |
| virtual ssize_t | do_writev (const iovec *iov, int iovcnt) |
| virtual int | do_vfcntl (int cmd, std::va_list args) |
| virtual int | do_isatty (void) |
| virtual int | do_fstat (struct stat *buf) |
| virtual off_t | do_lseek (off_t offset, int whence)=0 |
| virtual int | do_close (void)=0 |
| off_t | offset (void) |
| void | offset (off_t offset) |
| os::posix::file_impl::file_impl | ( | file_system & | fs | ) |
Definition at line 118 of file file.cpp.
References os::trace::printf().
|
overridevirtual |
Definition at line 125 of file file.cpp.
References os::trace::printf().
|
pure virtualinherited |
Implemented in os::posix::block_device_partition_impl.
Referenced by os::posix::io::alloc_file_descriptor(), and os::posix::io::close().
|
virtualinherited |
|
virtualinherited |
Definition at line 539 of file io.cpp.
Referenced by os::posix::io::fstat().
|
pure virtual |
Definition at line 151 of file file.cpp.
Referenced by os::posix::file::fsync().
|
pure virtual |
Definition at line 142 of file file.cpp.
Referenced by os::posix::file::ftruncate().
|
virtualinherited |
|
pure virtualinherited |
Implemented in os::posix::device_impl.
Referenced by os::posix::io::is_opened().
|
virtualinherited |
Reimplemented in os::posix::tty_impl.
Definition at line 532 of file io.cpp.
Referenced by os::posix::io::isatty().
|
pure virtualinherited |
Implemented in os::posix::block_device_impl, and os::posix::char_device_impl.
Referenced by os::posix::io::lseek().
|
pure virtualinherited |
Implemented in os::posix::block_device_impl.
Referenced by os::posix::io::read().
|
virtualinherited |
Definition at line 525 of file io.cpp.
Referenced by os::posix::io::vfcntl().
|
pure virtualinherited |
Implemented in os::posix::block_device_impl.
Referenced by os::posix::io_impl::do_writev(), and os::posix::io::write().
|
virtualinherited |
Definition at line 502 of file io.cpp.
References os::posix::io_impl::do_write(), iovec::iov_base, and iovec::iov_len.
Referenced by os::posix::io::writev().
|
inline |
Definition at line 492 of file file.h.
Referenced by os::posix::file::get_file_system().
|
inlineinherited |
Definition at line 478 of file io.h.
References os::posix::io_impl::offset().
|
inlineinherited |
Definition at line 472 of file io.h.
Referenced by os::posix::block_device_partition_impl::configure(), os::posix::block_device_impl::do_lseek(), and os::posix::io_impl::offset().