Home
last modified time | relevance | path

Searched refs:volume_size (Results 1 – 22 of 22) sorted by relevance

/dragonfly/share/examples/scsi_target/
H A Dscsi_cmds.c91 extern u_int32_t volume_size;
404 atio->init_id, volume_size - 1, sector_size); in tcmd_rd_cap()
408 scsi_ulto4b(volume_size - 1, srp->addr); in tcmd_rd_cap()
476 if (blkno + count > volume_size) { in tcmd_rdwr_decode()
H A Dscsi_target.c63 u_int32_t volume_size; variable
202 volume_size = st.st_size / sector_size; in main()
204 volume_size = user_size / sector_size; in main()
206 if (volume_size <= 0) in main()
/dragonfly/sys/bus/cam/
H A Dcam.c389 size_mb = ccg->volume_size / size_mb; in cam_calc_geometry()
398 ccg->cylinders = ccg->volume_size / secs_per_cylinder; in cam_calc_geometry()
H A Dcam_ccb.h779 u_int64_t volume_size; member
H A Dcam_xpt.c3063 || start_ccb->ccg.volume_size == 0) { in xpt_action()
/dragonfly/sys/dev/disk/iscsi/initiator/
H A Disc_cam.c291 debug(6, "XPT_CALC_GEOMETRY vsize=%jd bsize=%d", ccg->volume_size, ccg->block_size); in ic_action()
293 (ccg->volume_size < ccg->block_size)) { in ic_action()
/dragonfly/sys/dev/disk/vpo/
H A Dvpo.c362 (uintmax_t)ccg->volume_size, in vpo_action()
370 ccg->cylinders = ccg->volume_size / in vpo_action()
/dragonfly/sys/dev/raid/aac/
H A Daac_cam.c295 size_mb = ccg->volume_size / in aac_cam_action()
308 ccg->cylinders = ccg->volume_size / secs_per_cylinder; in aac_cam_action()
/dragonfly/contrib/libarchive/libarchive/
H A Darchive_read_support_format_iso9660.c355 uint64_t volume_size; /* Total size of volume in bytes. */ member
715 iso9660->volume_size = logical_block_size * (uint64_t)volume_block; in isJolietSVD()
945 iso9660->volume_size = in isPVD()
978 if (parent->offset + parent->size > iso9660->volume_size) { in read_children()
1269 if (file->offset + file->size > iso9660->volume_size) { in archive_read_format_iso9660_read_header()
2291 > iso9660->volume_size) { in register_CE()
/dragonfly/sys/dev/disk/advansys/
H A Dadvansys.c441 size_mb = ccg->volume_size in adv_action()
453 ccg->cylinders = ccg->volume_size / secs_per_cylinder; in adv_action()
H A Dadwcam.c734 size_mb = ccg->volume_size in adw_action()
746 ccg->cylinders = ccg->volume_size / secs_per_cylinder; in adw_action()
/dragonfly/sys/dev/disk/sbp/
H A Dsbp.c2381 (uintmax_t)ccg->volume_size); in sbp_action1()
2385 size_mb = ccg->volume_size in sbp_action1()
2396 ccg->cylinders = ccg->volume_size / secs_per_cylinder; in sbp_action1()
/dragonfly/sys/dev/disk/buslogic/
H A Dbt.c1157 size_mb = ccg->volume_size in btaction()
1173 ccg->cylinders = ccg->volume_size / secs_per_cylinder; in btaction()
/dragonfly/sys/dev/raid/dpt/
H A Ddpt_scsi.c1025 size_mb = ccg->volume_size in dpt_action()
1037 ccg->cylinders = ccg->volume_size / secs_per_cylinder; in dpt_action()
/dragonfly/sys/dev/disk/amd/
H A Damd.c683 size_mb = ccg->volume_size/((1024L * 1024L)/ccg->block_size); in amd_action()
694 ccg->cylinders = ccg->volume_size / secs_per_cylinder; in amd_action()
/dragonfly/sys/dev/raid/hpt27xx/
H A Dhpt27xx_osm_bsd.c792 ccb->ccg.cylinders = ccb->ccg.volume_size / (ccb->ccg.heads * ccb->ccg.secs_per_track); in hpt_action()
/dragonfly/sys/dev/raid/asr/
H A Dasr.c2802 size_mb = ccg->volume_size in asr_action()
2819 ccg->cylinders = ccg->volume_size / secs_per_cylinder; in asr_action()
/dragonfly/sys/bus/cam/scsi/
H A Dscsi_da.c2303 ccg->volume_size = dp->sectors; in dasetgeom()
/dragonfly/sys/dev/disk/ncr/
H A Dncr.c4344 size_mb = ccg->volume_size
4355 ccg->cylinders = ccg->volume_size / secs_per_cylinder;
/dragonfly/sys/dev/raid/iir/
H A Diir.c1395 ccg->cylinders = ccg->volume_size / secs_per_cylinder; in iir_action()
/dragonfly/sys/dev/raid/mly/
H A Dmly.c2062 ccg->cylinders = ccg->volume_size / secs_per_cylinder; in mly_cam_action()
/dragonfly/sys/dev/raid/ciss/
H A Dciss.c2935 ccg->cylinders = ccg->volume_size / secs_per_cylinder; in ciss_cam_action()