Home
last modified time | relevance | path

Searched refs:dki_lbsize (Results 1 – 25 of 37) sorted by relevance

12

/titanic_44/usr/src/lib/libefi/common/
H A Drdwr_efi.c129 *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 Ddkio.h343 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 Db_generic.c122 mp->sm_blocksize = minfo.dki_lbsize; in _m_get_media_info()
/titanic_44/usr/src/cmd/hal/probing/storage/
H A Dprobe-storage.c409 block_size = minfo.dki_lbsize; in main()
424 block_size = minfo.dki_lbsize; in main()
/titanic_44/usr/src/cmd/hal/utils/
H A Dcdutils.c462 *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 Dpc_vfsops.c2347 (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 Dmkfs.c2194 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 Ddiskscan.c183 sector_size = mediainfo.dki_lbsize; in scandisk()
/titanic_44/usr/src/cmd/fs.d/udfs/mkfs/
H A Dmkfs.c1353 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 Ddsbitmap.c185 dkm.dki_lbsize / 512; in get_partsize()
/titanic_44/usr/src/uts/common/fs/zfs/
H A Dvdev_disk.c533 blksz = dkmext->dki_lbsize; in vdev_disk_open()
541 blksz = dkm->dki_lbsize; in vdev_disk_open()
H A Dzvol.c1690 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 Dfstyp.c392 secsz = mi.dki_lbsize; in find_dos_drive()
/titanic_44/usr/src/lib/libdiskmgt/common/
H A Dmedia.c406 if (nvlist_add_uint32(attrs, DM_BLOCKSIZE, minfo.dki_lbsize) != 0) {
/titanic_44/usr/src/cmd/hal/probing/volume/
H A Dprobe-volume.c517 block_size = mi.dki_lbsize; in main()
/titanic_44/usr/src/lib/libfdisk/common/
H A Dlibfdisk.c125 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 Ddevice.c254 dev->d_blksize = mediainfo.dki_lbsize; in get_device()
/titanic_44/usr/src/cmd/avs/nsctl/
H A Dnskernd.c607 (dkm.dki_lbsize) / 512; in zvol_bsize()
/titanic_44/usr/src/cmd/fs.d/
H A Dfsck.c479 lbs = dkminfo.dki_lbsize; in main()
/titanic_44/usr/src/cmd/fmthard/
H A Dfmthard.c226 sectsiz = minfo.dki_lbsize; in main()
/titanic_44/usr/src/cmd/fdisk/
H A Dfdisk.c998 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 Dauto_sense.c556 if (disk_info.dki_lbsize == 0) { in auto_label_init()
561 disk_info.dki_lbsize = DEV_BSIZE; in auto_label_init()
H A Dlabel.c571 *capacity = minf.dki_capacity * minf.dki_lbsize / cur_blksz; in get_disk_capacity()
/titanic_44/usr/src/cmd/smserverd/
H A Dsmediad.c2202 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 Dblkdev.c1292 minfo.dki_lbsize = (1U << bd->d_blkshift); in bd_ioctl()
1306 miext.dki_lbsize = (1U << bd->d_blkshift); in bd_ioctl()

12