Searched refs:volume_size (Results 1 - 16 of 16) sorted by relevance

/freebsd-13-stable/sys/dev/iscsi_initiator/
H A Disc_cam.c222 ccg->volume_size, ccg->block_size);
224 (ccg->volume_size < ccg->block_size)) {
/freebsd-13-stable/share/examples/scsi_target/
H A Dscsi_cmds.c108 extern off_t volume_size;
423 if (volume_size > 0xffffffff)
426 vsize = (uint32_t)(volume_size - 1);
462 atio->init_id, volume_size - 1, sector_size);
466 scsi_u64to8b(volume_size - 1, srp->addr);
558 if (blkno + count > volume_size) {
H A Dscsi_target.c68 off_t volume_size; variable
247 volume_size = mediasize / sector_size;
250 volume_size = st.st_size / sector_size;
252 volume_size = user_size / sector_size;
255 warnx("volume_size: %d bytes x " OFF_FMT " sectors",
256 sector_size, volume_size);
258 if (volume_size <= 0)
/freebsd-13-stable/sys/cam/
H A Dcam.c559 * Caller should set ccg->volume_size and block_size.
577 size_mb = ccg->volume_size / size_mb;
590 ccg->cylinders = ccg->volume_size / secs_per_cylinder;
H A Dcam_ccb.h1125 u_int64_t volume_size; member in struct:ccb_calc_geometry
H A Dcam_xpt.c2709 || start_ccb->ccg.volume_size == 0) {
/freebsd-13-stable/sys/dev/aac/
H A Daac_cam.c283 size_mb = ccg->volume_size /
296 ccg->cylinders = ccg->volume_size / secs_per_cylinder;
/freebsd-13-stable/contrib/libarchive/libarchive/
H A Darchive_read_support_format_iso9660.c355 uint64_t volume_size; /* Total size of volume in bytes. */ member in struct:iso9660
715 iso9660->volume_size = logical_block_size * (uint64_t)volume_block;
945 iso9660->volume_size =
978 if (parent->offset + parent->size > iso9660->volume_size) {
1268 if (file->offset + file->size > iso9660->volume_size) {
2290 > iso9660->volume_size) {
/freebsd-13-stable/sys/dev/aacraid/
H A Daacraid_cam.c984 size_mb = ccg->volume_size /
997 ccg->cylinders = ccg->volume_size / secs_per_cylinder;
/freebsd-13-stable/sys/dev/hpt27xx/
H A Dhpt27xx_osm_bsd.c919 ccb->ccg.cylinders = ccb->ccg.volume_size / (ccb->ccg.heads * ccb->ccg.secs_per_track);
/freebsd-13-stable/sys/dev/hptnr/
H A Dhptnr_osm_bsd.c1119 ccb->ccg.cylinders = ccb->ccg.volume_size / (ccb->ccg.heads * ccb->ccg.secs_per_track);
/freebsd-13-stable/sys/dev/mly/
H A Dmly.c2086 ccg->cylinders = ccg->volume_size / secs_per_cylinder;
/freebsd-13-stable/sys/dev/iir/
H A Diir.c1329 ccg->cylinders = ccg->volume_size / secs_per_cylinder;
/freebsd-13-stable/sys/dev/firewire/
H A Dsbp.c2471 (uintmax_t)ccg->volume_size);
/freebsd-13-stable/sys/dev/ciss/
H A Dciss.c3008 ccg->cylinders = ccg->volume_size / secs_per_cylinder;
/freebsd-13-stable/sys/cam/scsi/
H A Dscsi_da.c6131 ccg.volume_size = dp->sectors;

Completed in 329 milliseconds