Home
last modified time | relevance | path

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

/freebsd/share/examples/scsi_target/
H A Dscsi_target.c66 off_t volume_size; variable
247 volume_size = mediasize / sector_size; in main()
250 volume_size = st.st_size / sector_size; in main()
252 volume_size = user_size / sector_size; in main()
256 sector_size, volume_size); in main()
258 if (volume_size <= 0) in main()
H A Dscsi_cmds.c417 if (volume_size > 0xffffffff) in tcmd_rd_cap()
420 vsize = (uint32_t)(volume_size - 1); in tcmd_rd_cap()
456 atio->init_id, volume_size - 1, sector_size); in tcmd_rd_cap16()
460 scsi_u64to8b(volume_size - 1, srp->addr); in tcmd_rd_cap16()
552 if (((off_t)(blkno + count)) > volume_size) { in tcmd_rdwr_decode()
H A Dscsi_target.h120 extern off_t volume_size;
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/zvol/
H A Dzvol_common.shlib39 # volume_size: is the size of the volume, e.g. 2G
42 function default_zvol_setup # disk_device volume_size block_size
/freebsd/sys/cam/
H A Dcam.c559 size_mb = ccg->volume_size / size_mb; in cam_calc_geometry()
572 ccg->cylinders = ccg->volume_size / secs_per_cylinder; in cam_calc_geometry()
H A Dcam_ccb.h1151 uint64_t volume_size;
1135 uint64_t volume_size; global() member
H A Dcam_xpt.c2599 || start_ccb->ccg.volume_size == 0) { in xpt_action_default()
/freebsd/sys/dev/aac/
H A Daac_cam.c279 size_mb = ccg->volume_size / in aac_cam_action()
292 ccg->cylinders = ccg->volume_size / secs_per_cylinder; in aac_cam_action()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_format_iso9660.c359 uint64_t volume_size; /* Total size of volume in bytes. */ member
724 iso9660->volume_size = logical_block_size * (uint64_t)volume_block; in isJolietSVD()
979 iso9660->volume_size = in isPVD()
1057 if (parent->offset + parent->size > iso9660->volume_size) { in read_children()
1348 if (file->offset + file->size > iso9660->volume_size) { in archive_read_format_iso9660_read_header()
2382 > iso9660->volume_size) { in register_CE()
/freebsd/sys/dev/aacraid/
H A Daacraid_cam.c980 size_mb = ccg->volume_size / in aac_cam_action()
993 ccg->cylinders = ccg->volume_size / secs_per_cylinder; in aac_cam_action()
/freebsd/sys/dev/hpt27xx/
H A Dhpt27xx_osm_bsd.c833 ccb->ccg.cylinders = ccb->ccg.volume_size / (ccb->ccg.heads * ccb->ccg.secs_per_track); in hpt_action()
/freebsd/sys/dev/hptnr/
H A Dhptnr_osm_bsd.c1121 ccb->ccg.cylinders = ccb->ccg.volume_size / (ccb->ccg.heads * ccb->ccg.secs_per_track); in hpt_action()
/freebsd/sys/dev/firewire/
H A Dsbp.c2467 (uintmax_t)ccg->volume_size); in sbp_action()
/freebsd/sys/dev/ciss/
H A Dciss.c3060 ccg->cylinders = ccg->volume_size / secs_per_cylinder; in ciss_cam_action()
/freebsd/sys/cam/scsi/
H A Dscsi_da.c6242 ccg.volume_size = dp->sectors; in dasetgeom()