Lines Matching defs:bs
130 static int raw_open_common(BlockDriverState *bs, const char *filename, in raw_open_common()
201 static int raw_open(BlockDriverState *bs, const char *filename, int flags) in raw_open()
233 static int raw_pread_aligned(BlockDriverState *bs, int64_t offset, in raw_pread_aligned()
286 static int raw_pwrite_aligned(BlockDriverState *bs, int64_t offset, in raw_pwrite_aligned()
314 static int raw_pread(BlockDriverState *bs, int64_t offset, in raw_pread()
385 static int raw_read(BlockDriverState *bs, int64_t sector_num, in raw_read()
402 static int raw_pwrite(BlockDriverState *bs, int64_t offset, in raw_pwrite()
475 static int raw_write(BlockDriverState *bs, int64_t sector_num, in raw_write()
502 static BlockDriverAIOCB *raw_aio_submit(BlockDriverState *bs, in raw_aio_submit()
531 static BlockDriverAIOCB *raw_aio_readv(BlockDriverState *bs, in raw_aio_readv()
539 static BlockDriverAIOCB *raw_aio_writev(BlockDriverState *bs, in raw_aio_writev()
547 static BlockDriverAIOCB *raw_aio_flush(BlockDriverState *bs, in raw_aio_flush()
558 static void raw_close(BlockDriverState *bs) in raw_close()
569 static int raw_truncate(BlockDriverState *bs, int64_t offset) in raw_truncate()
580 static int64_t raw_getlength(BlockDriverState *bs) in raw_getlength()
599 static int64_t raw_getlength(BlockDriverState *bs) in raw_getlength()
625 static int64_t raw_getlength(BlockDriverState *bs) in raw_getlength()
680 static int64_t raw_getlength(BlockDriverState *bs) in raw_getlength()
723 static void raw_flush(BlockDriverState *bs) in raw_flush()
838 static int hdev_open(BlockDriverState *bs, const char *filename, int flags) in hdev_open()
883 static int fd_open(BlockDriverState *bs) in fd_open()
929 static int hdev_ioctl(BlockDriverState *bs, unsigned long int req, void *buf) in hdev_ioctl()
936 static BlockDriverAIOCB *hdev_aio_ioctl(BlockDriverState *bs, in hdev_aio_ioctl()
948 static int fd_open(BlockDriverState *bs) in fd_open()
959 static int fd_open(BlockDriverState *bs) in fd_open()
996 static int hdev_has_zero_init(BlockDriverState *bs) in hdev_has_zero_init()
1029 static int floppy_open(BlockDriverState *bs, const char *filename, int flags) in floppy_open()
1074 static int floppy_is_inserted(BlockDriverState *bs) in floppy_is_inserted()
1079 static int floppy_media_changed(BlockDriverState *bs) in floppy_media_changed()
1097 static int floppy_eject(BlockDriverState *bs, int eject_flag) in floppy_eject()
1142 static int cdrom_open(BlockDriverState *bs, const char *filename, int flags) in cdrom_open()
1175 static int cdrom_is_inserted(BlockDriverState *bs) in cdrom_is_inserted()
1186 static int cdrom_eject(BlockDriverState *bs, int eject_flag) in cdrom_eject()
1201 static int cdrom_set_locked(BlockDriverState *bs, int locked) in cdrom_set_locked()
1248 static int cdrom_open(BlockDriverState *bs, const char *filename, int flags) in cdrom_open()
1272 static int cdrom_reopen(BlockDriverState *bs) in cdrom_reopen()
1295 static int cdrom_is_inserted(BlockDriverState *bs) in cdrom_is_inserted()
1300 static int cdrom_eject(BlockDriverState *bs, int eject_flag) in cdrom_eject()
1322 static int cdrom_set_locked(BlockDriverState *bs, int locked) in cdrom_set_locked()