Home
last modified time | relevance | path

Searched refs:sector_size_shift (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/dev/hpt27xx/
H A Dhpt27xx_osm_bsd.c602 HPT_U8 sector_size_shift = 0; in hpt_scsi_io() local
607 sector_size_shift = vd->u.array.sector_size_shift; in hpt_scsi_io()
616 sector_size_shift = 3; in hpt_scsi_io()
622 new_cap = vd->capacity >> sector_size_shift; in hpt_scsi_io()
635 rbuf[6] = 2 << sector_size_shift; in hpt_scsi_io()
653 HPT_U8 sector_size_shift = 0; in hpt_scsi_io() local
657 sector_size_shift = vd->u.array.sector_size_shift; in hpt_scsi_io()
666 sector_size_shift = 3; in hpt_scsi_io()
672 cap = (vd->capacity >> sector_size_shift) - 1; in hpt_scsi_io()
684 rbuf[10] = 2 << sector_size_shift; in hpt_scsi_io()
[all …]
H A Darray.h123 HPT_U8 sector_size_shift; /*sector size = 512B<<sector_size_shift*/ member
/freebsd/sys/dev/hptnr/
H A Dhptnr_osm_bsd.c883 HPT_U8 sector_size_shift = 0; in hpt_scsi_io() local
888 sector_size_shift = vd->u.array.sector_size_shift; in hpt_scsi_io()
897 sector_size_shift = 3; in hpt_scsi_io()
903 new_cap = vd->capacity >> sector_size_shift; in hpt_scsi_io()
916 rbuf[6] = 2 << sector_size_shift; in hpt_scsi_io()
935 HPT_U8 sector_size_shift = 0; in hpt_scsi_io() local
939 sector_size_shift = vd->u.array.sector_size_shift; in hpt_scsi_io()
948 sector_size_shift = 3; in hpt_scsi_io()
954 cap = (vd->capacity >> sector_size_shift) - 1; in hpt_scsi_io()
966 rbuf[10] = 2 << sector_size_shift; in hpt_scsi_io()
[all …]
H A Darray.h123 HPT_U8 sector_size_shift; /*sector size = 512B<<sector_size_shift*/ member
/freebsd/sys/dev/hptrr/
H A Darray.h124 HPT_U8 sector_size_shift; /*sector size = 512B<<sector_size_shift*/ member
/freebsd/sys/dev/xen/blkback/
H A Dblkback.c660 u_int sector_size_shift; member
1157 xbb->sector_size_shift; in xbb_get_resources()
1626 nr_sects = (nr_sects << 9) >> xbb->sector_size_shift; in xbb_dispatch_io()
1987 << xbb->sector_size_shift; in xbb_dispatch_dev()
2067 bio->bio_pblkno = bio_offset >> xbb->sector_size_shift; in xbb_dispatch_dev()
2180 << xbb->sector_size_shift; in xbb_dispatch_file()
2579 xbb->sector_size_shift = fls(xbb->sector_size) - 1; in xbb_open_backend()
2580 xbb->media_num_sectors = xbb->media_size >> xbb->sector_size_shift; in xbb_open_backend()