/titanic_44/usr/src/lib/libefi/common/ |
H A D | rdwr_efi.c | 129 *lbsize = disk_info.dki_lbsize; in read_disk_info() 356 disk_info.dki_lbsize = DEV_BSIZE; in efi_read() 358 if (disk_info.dki_lbsize == 0) { in efi_read() 363 disk_info.dki_lbsize = DEV_BSIZE; in efi_read() 370 if (NBLOCKS(vtoc->efi_nparts, disk_info.dki_lbsize) < 34) { in efi_read() 371 label_len = EFI_MIN_ARRAY_SIZE + disk_info.dki_lbsize; in efi_read() 374 disk_info.dki_lbsize; in efi_read() 375 if (label_len % disk_info.dki_lbsize) { in efi_read() 377 label_len += disk_info.dki_lbsize; in efi_read() 378 label_len &= ~(disk_info.dki_lbsize - 1); in efi_read() [all …]
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | dkio.h | 343 uint_t dki_lbsize; /* Logical blocksize of media */ member 353 uint_t dki_lbsize; /* Logical blocksize of media */ member
|
/titanic_44/usr/src/lib/libsmedia/plugins/blkdev/common/ |
H A D | b_generic.c | 122 mp->sm_blocksize = minfo.dki_lbsize; in _m_get_media_info()
|
/titanic_44/usr/src/cmd/hal/probing/storage/ |
H A D | probe-storage.c | 409 block_size = minfo.dki_lbsize; in main() 424 block_size = minfo.dki_lbsize; in main()
|
/titanic_44/usr/src/cmd/hal/utils/ |
H A D | cdutils.c | 462 *capacity = mi.dki_capacity * mi.dki_lbsize; in get_disc_capacity_for_profile() 471 *capacity = di.capacity * mi.dki_lbsize; in get_disc_capacity_for_profile()
|
/titanic_44/usr/src/uts/common/fs/pcfs/ |
H A D | pc_vfsops.c | 2347 (len_t)arg.mi.dki_lbsize * in pcfs_device_getinfo() 2351 if (VALID_SECSIZE(arg.mi.dki_lbsize)) { in pcfs_device_getinfo() 2353 fsp->pcfs_secsize = arg.mi.dki_lbsize; in pcfs_device_getinfo() 2355 ddi_ffs(arg.mi.dki_lbsize / DEV_BSIZE) - 1; in pcfs_device_getinfo() 2360 arg.mi.dki_lbsize, in pcfs_device_getinfo() 2364 } else if (arg.mi.dki_lbsize) { in pcfs_device_getinfo() 2368 arg.mi.dki_lbsize, in pcfs_device_getinfo()
|
/titanic_44/usr/src/cmd/fs.d/pcfs/mkfs/ |
H A D | mkfs.c | 2194 if (dkminfo.dki_lbsize != 0 && in open_and_examine() 2195 ISP2(dkminfo.dki_lbsize / DEV_BSIZE) && in open_and_examine() 2196 dkminfo.dki_lbsize != DEV_BSIZE) { in open_and_examine() 2199 "supported by pcfs!\n"), dkminfo.dki_lbsize); in open_and_examine() 2308 if (dkminfo.dki_lbsize != 0 && in open_and_seek() 2309 ISP2(dkminfo.dki_lbsize / DEV_BSIZE) && in open_and_seek() 2310 dkminfo.dki_lbsize != DEV_BSIZE) { in open_and_seek() 2313 "supported by pcfs!\n"), dkminfo.dki_lbsize); in open_and_seek()
|
/titanic_44/usr/src/cmd/diskscan/ |
H A D | diskscan.c | 183 sector_size = mediainfo.dki_lbsize; in scandisk()
|
/titanic_44/usr/src/cmd/fs.d/udfs/mkfs/ |
H A D | mkfs.c | 1353 if (dkminfo.dki_lbsize != 0 && in get_bsize() 1354 POWEROF2(dkminfo.dki_lbsize / DEV_BSIZE) && in get_bsize() 1355 dkminfo.dki_lbsize != DEV_BSIZE) { in get_bsize() 1359 dkminfo.dki_lbsize); in get_bsize()
|
/titanic_44/usr/src/cmd/avs/dsbitmap/ |
H A D | dsbitmap.c | 185 dkm.dki_lbsize / 512; in get_partsize()
|
/titanic_44/usr/src/uts/common/fs/zfs/ |
H A D | vdev_disk.c | 533 blksz = dkmext->dki_lbsize; in vdev_disk_open() 541 blksz = dkm->dki_lbsize; in vdev_disk_open()
|
H A D | zvol.c | 1690 dkm.dki_lbsize = 1U << zv->zv_min_bs; in zvol_ioctl() 1704 dkmext.dki_lbsize = 1U << zv->zv_min_bs; in zvol_ioctl()
|
/titanic_44/usr/src/cmd/fstyp/ |
H A D | fstyp.c | 392 secsz = mi.dki_lbsize; in find_dos_drive()
|
/titanic_44/usr/src/lib/libdiskmgt/common/ |
H A D | media.c | 406 if (nvlist_add_uint32(attrs, DM_BLOCKSIZE, minfo.dki_lbsize) != 0) {
|
/titanic_44/usr/src/cmd/hal/probing/volume/ |
H A D | probe-volume.c | 517 block_size = mi.dki_lbsize; in main()
|
/titanic_44/usr/src/lib/libfdisk/common/ |
H A D | libfdisk.c | 125 epp->disk_geom.sectsize = ((disk_info.dki_lbsize) ? in fdisk_init_disk_geom() 126 disk_info.dki_lbsize : 512); in fdisk_init_disk_geom()
|
/titanic_44/usr/src/cmd/cdrw/ |
H A D | device.c | 254 dev->d_blksize = mediainfo.dki_lbsize; in get_device()
|
/titanic_44/usr/src/cmd/avs/nsctl/ |
H A D | nskernd.c | 607 (dkm.dki_lbsize) / 512; in zvol_bsize()
|
/titanic_44/usr/src/cmd/fs.d/ |
H A D | fsck.c | 479 lbs = dkminfo.dki_lbsize; in main()
|
/titanic_44/usr/src/cmd/fmthard/ |
H A D | fmthard.c | 226 sectsiz = minfo.dki_lbsize; in main()
|
/titanic_44/usr/src/cmd/fdisk/ |
H A D | fdisk.c | 998 if (minfo.dki_lbsize != 0) in main() 999 sectsiz = minfo.dki_lbsize; in main() 1064 if (minfo.dki_lbsize != 0) in main() 1065 sectsiz = minfo.dki_lbsize; in main()
|
/titanic_44/usr/src/cmd/format/ |
H A D | auto_sense.c | 556 if (disk_info.dki_lbsize == 0) { in auto_label_init() 561 disk_info.dki_lbsize = DEV_BSIZE; in auto_label_init()
|
H A D | label.c | 571 *capacity = minf.dki_capacity * minf.dki_lbsize / cur_blksz; in get_disk_capacity()
|
/titanic_44/usr/src/cmd/smserverd/ |
H A D | smediad.c | 2202 media_info.dki_lbsize = blocksize; in client_servproc() 2210 media_info.dki_lbsize; in client_servproc() 2289 media_info.dki_lbsize, media_info.dki_capacity); in client_servproc()
|
/titanic_44/usr/src/uts/common/io/blkdev/ |
H A D | blkdev.c | 1292 minfo.dki_lbsize = (1U << bd->d_blkshift); in bd_ioctl() 1306 miext.dki_lbsize = (1U << bd->d_blkshift); in bd_ioctl()
|