Home
last modified time | relevance | path

Searched refs:last_sect (Results 1 – 8 of 8) sorted by relevance

/openbmc/qemu/hw/block/
H A Dfdc.c181 drv->last_sect = 0xFF; in fd_empty_seek_hack()
191 drv->last_sect = 0; in fd_init()
240 if (sect > drv->last_sect) { in fd_seek()
255 drv->last_sect); in fd_seek()
368 drv->last_sect = parse->last_sect; in pick_geometry()
415 drv->last_sect = 0; in fd_revalidate()
1397 if (new_sect >= cur_drv->last_sect || in fdctrl_seek_to_next_sect()
1864 fdctrl->fifo[6] = cur_drv->last_sect; in fdctrl_handle_dumpreg()
1899 cur_drv->last_sect = fdctrl->fifo[9]; in fdctrl_handle_restore()
1961 cur_drv->last_sect = in fdctrl_handle_format_track()
[all …]
H A Dfdc-internal.h58 uint8_t last_sect; member
82 uint8_t last_sect; /* Nb sector per track */ member
H A Dfdc-isa.c146 if (*maxs < fdf->last_sect) { in isa_fdc_get_drive_max_chs()
147 *maxs = fdf->last_sect; in isa_fdc_get_drive_max_chs()
/openbmc/qemu/include/hw/xen/interface/io/
H A Dblkif.h632 uint8_t first_sect, last_sect; member
/openbmc/linux/drivers/block/xen-blkback/
H A Dblkback.c935 uint8_t first_sect, last_sect; in xen_blkbk_parse_indirect() local
948 last_sect = READ_ONCE(segments[i].last_sect); in xen_blkbk_parse_indirect()
949 if (last_sect >= (XEN_PAGE_SIZE >> 9) || last_sect < first_sect) { in xen_blkbk_parse_indirect()
954 seg[n].nsec = last_sect - first_sect + 1; in xen_blkbk_parse_indirect()
1368 seg[i].nsec = req->u.rw.seg[i].last_sect - in dispatch_rw_block_io()
1371 if ((req->u.rw.seg[i].last_sect >= (XEN_PAGE_SIZE >> 9)) || in dispatch_rw_block_io()
1372 (req->u.rw.seg[i].last_sect < in dispatch_rw_block_io()
/openbmc/linux/include/xen/interface/io/
H A Dblkif.h191 uint8_t first_sect, last_sect; member
/openbmc/qemu/hw/block/dataplane/
H A Dxen-block.c185 if (request->req.seg[i].first_sect > request->req.seg[i].last_sect) { in xen_block_parse_request()
189 if (request->req.seg[i].last_sect * dataplane->sector_size >= in xen_block_parse_request()
195 len = (request->req.seg[i].last_sect - in xen_block_parse_request()
238 segs[i].len = (request->req.seg[i].last_sect - in xen_block_copy_request()
/openbmc/linux/drivers/block/
H A Dxen-blkfront.c671 .last_sect = lsect }; in blkif_setup_rw_req_grant()
677 .last_sect = lsect }; in blkif_setup_rw_req_grant()