Home
last modified time | relevance | path

Searched defs:blkif_x86_64_request_discard (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/hw/block/
H A Dxen_blkif.h56 struct blkif_x86_64_request_discard { struct
57 uint8_t operation; /* BLKIF_OP_DISCARD */
58 uint8_t flag; /* nr_segments in request struct */
59 blkif_vdev_t handle; /* only for read/write requests */
60 uint64_t __attribute__((__aligned__(8))) id;
61 blkif_sector_t sector_number; /* start sector idx on disk (r/w only) */
62 uint64_t nr_sectors; /* # of contiguous sectors to discard */
/openbmc/linux/drivers/block/xen-blkback/
H A Dcommon.h141 struct blkif_x86_64_request_discard { struct
142 uint8_t flag; /* BLKIF_DISCARD_SECURE or zero */
143 blkif_vdev_t _pad1; /* was "handle" for read/write requests */
144 uint32_t _pad2; /* offsetof(blkif_..,u.discard.id)==8 */
145 uint64_t id;
146 blkif_sector_t sector_number;/* start sector idx on disk (r/w only) */
147 uint64_t nr_sectors;