#include <block-device.h>
|
|
| block_device_impl (void) |
|
virtual | ~block_device_impl () override |
|
|
virtual ssize_t | do_read (void *buf, std::size_t nbyte) override |
|
virtual ssize_t | do_write (const void *buf, std::size_t nbyte) override |
|
virtual off_t | do_lseek (off_t offset, int whence) override |
|
virtual ssize_t | do_read_block (void *buf, blknum_t blknum, std::size_t nblocks)=0 |
|
virtual ssize_t | do_write_block (const void *buf, blknum_t blknum, std::size_t nblocks)=0 |
|
|
virtual bool | do_is_opened (void) override |
|
virtual int | do_vopen (const char *path, int oflag, std::va_list args)=0 |
|
virtual int | do_vioctl (int request, std::va_list args)=0 |
|
virtual void | do_sync (void)=0 |
|
int | open_count (void) |
|
|
virtual void | do_deallocate (void) |
|
virtual bool | do_is_connected (void) |
|
virtual ssize_t | do_writev (const struct 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 int | do_close (void)=0 |
|
off_t | offset (void) |
|
void | offset (off_t offset) |
|
Definition at line 167 of file block-device.h.
◆ blknum_t
◆ block_device_impl()
os::posix::block_device_impl::block_device_impl |
( |
void |
| ) |
|
◆ ~block_device_impl()
os::posix::block_device_impl::~block_device_impl |
( |
| ) |
|
|
overridevirtual |
◆ do_close()
virtual int os::posix::io_impl::do_close |
( |
void |
| ) |
|
|
pure virtualinherited |
◆ do_deallocate()
void os::posix::io_impl::do_deallocate |
( |
void |
| ) |
|
|
virtualinherited |
◆ do_fstat()
int os::posix::io_impl::do_fstat |
( |
struct stat * |
buf | ) |
|
|
virtualinherited |
◆ do_is_connected()
bool os::posix::io_impl::do_is_connected |
( |
void |
| ) |
|
|
virtualinherited |
◆ do_is_opened()
bool os::posix::device_impl::do_is_opened |
( |
void |
| ) |
|
|
overridevirtualinherited |
◆ do_isatty()
int os::posix::io_impl::do_isatty |
( |
void |
| ) |
|
|
virtualinherited |
◆ do_lseek()
off_t os::posix::block_device_impl::do_lseek |
( |
off_t |
offset, |
|
|
int |
whence |
|
) |
| |
|
overridevirtual |
◆ do_read()
ssize_t os::posix::block_device_impl::do_read |
( |
void * |
buf, |
|
|
std::size_t |
nbyte |
|
) |
| |
|
overridevirtual |
◆ do_read_block()
virtual ssize_t os::posix::block_device_impl::do_read_block |
( |
void * |
buf, |
|
|
blknum_t |
blknum, |
|
|
std::size_t |
nblocks |
|
) |
| |
|
pure virtual |
◆ do_sync()
virtual void os::posix::device_impl::do_sync |
( |
void |
| ) |
|
|
pure virtualinherited |
◆ do_vfcntl()
int os::posix::io_impl::do_vfcntl |
( |
int |
cmd, |
|
|
std::va_list |
args |
|
) |
| |
|
virtualinherited |
◆ do_vioctl()
virtual int os::posix::device_impl::do_vioctl |
( |
int |
request, |
|
|
std::va_list |
args |
|
) |
| |
|
pure virtualinherited |
◆ do_vopen()
virtual int os::posix::device_impl::do_vopen |
( |
const char * |
path, |
|
|
int |
oflag, |
|
|
std::va_list |
args |
|
) |
| |
|
pure virtualinherited |
◆ do_write()
ssize_t os::posix::block_device_impl::do_write |
( |
const void * |
buf, |
|
|
std::size_t |
nbyte |
|
) |
| |
|
overridevirtual |
◆ do_write_block()
virtual ssize_t os::posix::block_device_impl::do_write_block |
( |
const void * |
buf, |
|
|
blknum_t |
blknum, |
|
|
std::size_t |
nblocks |
|
) |
| |
|
pure virtual |
◆ do_writev()
ssize_t os::posix::io_impl::do_writev |
( |
const struct iovec * |
iov, |
|
|
int |
iovcnt |
|
) |
| |
|
virtualinherited |
◆ offset() [1/2]
void os::posix::io_impl::offset |
( |
off_t |
offset | ) |
|
|
inlineinherited |
Definition at line 467 of file io.h.
◆ offset() [2/2]
off_t os::posix::io_impl::offset |
( |
void |
| ) |
|
|
inlineinherited |
Definition at line 461 of file io.h.
◆ open_count()
int os::posix::device_impl::open_count |
( |
void |
| ) |
|
|
inlineinherited |
◆ block_device
The documentation for this class was generated from the following files: