file-posix.c (b92902dfeaafbceaf744ab7473f2d070284f6172) | file-posix.c (5a5e7f8cd86b7ced0732b1b6e28c82baa65b09c9) |
---|---|
1/* 2 * Block driver for RAW files (posix) 3 * 4 * Copyright (c) 2006 Fabrice Bellard 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * of this software and associated documentation files (the "Software"), to deal 8 * in the Software without restriction, including without limitation the rights --- 3499 unchanged lines hidden (view full) --- 3508 .bdrv_needs_filename = true, 3509 .bdrv_probe_device = hdev_probe_device, 3510 .bdrv_parse_filename = hdev_parse_filename, 3511 .bdrv_file_open = hdev_open, 3512 .bdrv_close = raw_close, 3513 .bdrv_reopen_prepare = raw_reopen_prepare, 3514 .bdrv_reopen_commit = raw_reopen_commit, 3515 .bdrv_reopen_abort = raw_reopen_abort, | 1/* 2 * Block driver for RAW files (posix) 3 * 4 * Copyright (c) 2006 Fabrice Bellard 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * of this software and associated documentation files (the "Software"), to deal 8 * in the Software without restriction, including without limitation the rights --- 3499 unchanged lines hidden (view full) --- 3508 .bdrv_needs_filename = true, 3509 .bdrv_probe_device = hdev_probe_device, 3510 .bdrv_parse_filename = hdev_parse_filename, 3511 .bdrv_file_open = hdev_open, 3512 .bdrv_close = raw_close, 3513 .bdrv_reopen_prepare = raw_reopen_prepare, 3514 .bdrv_reopen_commit = raw_reopen_commit, 3515 .bdrv_reopen_abort = raw_reopen_abort, |
3516 .bdrv_co_create_opts = bdrv_co_create_opts_simple, 3517 .create_opts = &bdrv_create_opts_simple, |
|
3516 .mutable_opts = mutable_opts, 3517 .bdrv_co_invalidate_cache = raw_co_invalidate_cache, 3518 .bdrv_co_pwrite_zeroes = hdev_co_pwrite_zeroes, 3519 3520 .bdrv_co_preadv = raw_co_preadv, 3521 .bdrv_co_pwritev = raw_co_pwritev, 3522 .bdrv_co_flush_to_disk = raw_co_flush_to_disk, 3523 .bdrv_co_pdiscard = hdev_co_pdiscard, --- 110 unchanged lines hidden (view full) --- 3634 .bdrv_needs_filename = true, 3635 .bdrv_probe_device = cdrom_probe_device, 3636 .bdrv_parse_filename = cdrom_parse_filename, 3637 .bdrv_file_open = cdrom_open, 3638 .bdrv_close = raw_close, 3639 .bdrv_reopen_prepare = raw_reopen_prepare, 3640 .bdrv_reopen_commit = raw_reopen_commit, 3641 .bdrv_reopen_abort = raw_reopen_abort, | 3518 .mutable_opts = mutable_opts, 3519 .bdrv_co_invalidate_cache = raw_co_invalidate_cache, 3520 .bdrv_co_pwrite_zeroes = hdev_co_pwrite_zeroes, 3521 3522 .bdrv_co_preadv = raw_co_preadv, 3523 .bdrv_co_pwritev = raw_co_pwritev, 3524 .bdrv_co_flush_to_disk = raw_co_flush_to_disk, 3525 .bdrv_co_pdiscard = hdev_co_pdiscard, --- 110 unchanged lines hidden (view full) --- 3636 .bdrv_needs_filename = true, 3637 .bdrv_probe_device = cdrom_probe_device, 3638 .bdrv_parse_filename = cdrom_parse_filename, 3639 .bdrv_file_open = cdrom_open, 3640 .bdrv_close = raw_close, 3641 .bdrv_reopen_prepare = raw_reopen_prepare, 3642 .bdrv_reopen_commit = raw_reopen_commit, 3643 .bdrv_reopen_abort = raw_reopen_abort, |
3644 .bdrv_co_create_opts = bdrv_co_create_opts_simple, 3645 .create_opts = &bdrv_create_opts_simple, |
|
3642 .mutable_opts = mutable_opts, 3643 .bdrv_co_invalidate_cache = raw_co_invalidate_cache, 3644 | 3646 .mutable_opts = mutable_opts, 3647 .bdrv_co_invalidate_cache = raw_co_invalidate_cache, 3648 |
3645 | |
3646 .bdrv_co_preadv = raw_co_preadv, 3647 .bdrv_co_pwritev = raw_co_pwritev, 3648 .bdrv_co_flush_to_disk = raw_co_flush_to_disk, 3649 .bdrv_refresh_limits = raw_refresh_limits, 3650 .bdrv_io_plug = raw_aio_plug, 3651 .bdrv_io_unplug = raw_aio_unplug, 3652 .bdrv_attach_aio_context = raw_aio_attach_aio_context, 3653 --- 112 unchanged lines hidden (view full) --- 3766 .bdrv_needs_filename = true, 3767 .bdrv_probe_device = cdrom_probe_device, 3768 .bdrv_parse_filename = cdrom_parse_filename, 3769 .bdrv_file_open = cdrom_open, 3770 .bdrv_close = raw_close, 3771 .bdrv_reopen_prepare = raw_reopen_prepare, 3772 .bdrv_reopen_commit = raw_reopen_commit, 3773 .bdrv_reopen_abort = raw_reopen_abort, | 3649 .bdrv_co_preadv = raw_co_preadv, 3650 .bdrv_co_pwritev = raw_co_pwritev, 3651 .bdrv_co_flush_to_disk = raw_co_flush_to_disk, 3652 .bdrv_refresh_limits = raw_refresh_limits, 3653 .bdrv_io_plug = raw_aio_plug, 3654 .bdrv_io_unplug = raw_aio_unplug, 3655 .bdrv_attach_aio_context = raw_aio_attach_aio_context, 3656 --- 112 unchanged lines hidden (view full) --- 3769 .bdrv_needs_filename = true, 3770 .bdrv_probe_device = cdrom_probe_device, 3771 .bdrv_parse_filename = cdrom_parse_filename, 3772 .bdrv_file_open = cdrom_open, 3773 .bdrv_close = raw_close, 3774 .bdrv_reopen_prepare = raw_reopen_prepare, 3775 .bdrv_reopen_commit = raw_reopen_commit, 3776 .bdrv_reopen_abort = raw_reopen_abort, |
3777 .bdrv_co_create_opts = bdrv_co_create_opts_simple, 3778 .create_opts = &bdrv_create_opts_simple, |
|
3774 .mutable_opts = mutable_opts, 3775 3776 .bdrv_co_preadv = raw_co_preadv, 3777 .bdrv_co_pwritev = raw_co_pwritev, 3778 .bdrv_co_flush_to_disk = raw_co_flush_to_disk, 3779 .bdrv_refresh_limits = raw_refresh_limits, 3780 .bdrv_io_plug = raw_aio_plug, 3781 .bdrv_io_unplug = raw_aio_unplug, --- 32 unchanged lines hidden --- | 3779 .mutable_opts = mutable_opts, 3780 3781 .bdrv_co_preadv = raw_co_preadv, 3782 .bdrv_co_pwritev = raw_co_pwritev, 3783 .bdrv_co_flush_to_disk = raw_co_flush_to_disk, 3784 .bdrv_refresh_limits = raw_refresh_limits, 3785 .bdrv_io_plug = raw_aio_plug, 3786 .bdrv_io_unplug = raw_aio_unplug, --- 32 unchanged lines hidden --- |