Home
last modified time | relevance | path

Searched refs:logical_block_size (Results 1 – 13 of 13) sorted by relevance

/freebsd/sys/dev/isci/scil/
H A Dsati_unmap.c87 U32 blocks = (dsm_descriptor_count * sizeof(TRIM_PAIR))/sequence->device->logical_block_size; in sati_unmap_calculate_dsm_blocks()
88 if ((dsm_descriptor_count * sizeof(TRIM_PAIR)) % sequence->device->logical_block_size) in sati_unmap_calculate_dsm_blocks()
209 return MIN(SATI_DSM_MAX_BUFFER_SIZE/sequence->device->logical_block_size, in sati_unmap_get_max_buffer_size_in_blocks()
321 (max_dsm_blocks*sequence->device->logical_block_size)/sizeof(TRIM_PAIR); in sati_unmap_initial_processing()
326 max_dsm_blocks*sequence->device->logical_block_size, in sati_unmap_initial_processing()
439 dsm_bytes = dsm_blocks * sequence->device->logical_block_size; in sati_unmap_process()
445 dsm_remainder_bytes = sequence->device->logical_block_size; in sati_unmap_process()
447 (sequence->device->logical_block_size-1)); in sati_unmap_process()
450 if (dsm_remainder_bytes != sequence->device->logical_block_size) in sati_unmap_process()
453 … dsm_remainder_bytes += (sequence->device->logical_block_size * (max_dsm_blocks - dsm_blocks)); in sati_unmap_process()
H A Dsati_device.c199 device->logical_block_size = (identify->words_per_logical_sector[3] << 24) | in sati_device_update_capabilities()
206 device->logical_block_size = 512; in sati_device_update_capabilities()
H A Dsati_device.h168 U32 logical_block_size; member
/freebsd/sys/fs/cd9660/
H A Dcd9660_vfsops.c223 int logical_block_size, ssector; in iso_mountfs() local
330 logical_block_size = in iso_mountfs()
332 pri_sierra->logical_block_size: in iso_mountfs()
333 pri->logical_block_size); in iso_mountfs()
335 if (logical_block_size < DEV_BSIZE || logical_block_size > MAXBSIZE in iso_mountfs()
336 || (logical_block_size & (logical_block_size - 1)) != 0) { in iso_mountfs()
341 if (logical_block_size < cp->provider->sectorsize) { in iso_mountfs()
343 logical_block_size); in iso_mountfs()
356 isomp->logical_block_size = logical_block_size; in iso_mountfs()
375 isomp->im_bmask = logical_block_size - 1; in iso_mountfs()
[all …]
H A Diso.h75 u_char logical_block_size [ISODCL (129, 132)]; /* 723 */ member
118 u_char logical_block_size [ISODCL (129, 132)]; /* 723 */ member
155 u_char logical_block_size [ISODCL (137, 140)]; /* 723 */ member
236 int logical_block_size; member
268 #define blksize(imp, ip, lbn) ((imp)->logical_block_size)
H A Dcd9660_vnops.c222 vap->va_blocksize = ip->i_mnt->logical_block_size; in cd9660_getattr()
296 n = MIN(imp->logical_block_size - on, uio->uio_resid); in cd9660_read()
507 (idp->curroff & ~bmask) + imp->logical_block_size; in cd9660_readdir()
517 if (entryoffsetinblock + reclen > imp->logical_block_size) { in cd9660_readdir()
644 imp->logical_block_size, NOCRED, &bp); in cd9660_readlink()
659 > (unsigned)imp->logical_block_size) { in cd9660_readlink()
H A Dcd9660_lookup.c206 (i_offset & ~bmask) + imp->logical_block_size; in cd9660_lookup()
214 if (entryoffsetinblock + reclen > imp->logical_block_size) in cd9660_lookup()
H A Dcd9660_rrip.c520 ana->imp->logical_block_size) in cd9660_rrip_loop()
529 ana->imp->logical_block_size, NOCRED, &bp) != 0) in cd9660_rrip_loop()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_format_iso9660.c358 ssize_t logical_block_size; member
688 ssize_t logical_block_size; in isJolietSVD() local
718 logical_block_size = in isJolietSVD()
722 iso9660->logical_block_size = logical_block_size; in isJolietSVD()
724 iso9660->volume_size = logical_block_size * (uint64_t)volume_block; in isJolietSVD()
737 ssize_t logical_block_size; in isSVD() local
759 logical_block_size = in isSVD()
761 if (logical_block_size <= 0) in isSVD()
797 ssize_t logical_block_size; in isEVD() local
826 logical_block_size = in isEVD()
[all …]
/freebsd/usr.sbin/makefs/cd9660/
H A Dcd9660_debug.c411 (u_char *)desc->logical_block_size, 723); in debug_dump_to_xml_volume_descriptor()
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dvdev_disk.c433 int logical_block_size = bdev_logical_block_size(bdev); in vdev_disk_open() local
460 *logical_ashift = highbit64(MAX(logical_block_size, in vdev_disk_open()
/freebsd/stand/libsa/
H A Dcd9660.c326 if (isonum_723(vd->logical_block_size) == ISO_DEFAULT_BLOCK_SIZE) { in cd9660_read_dr()
/freebsd/usr.sbin/makefs/
H A Dcd9660.c650 diskStructure->primaryDescriptor.logical_block_size); in cd9660_finalize_PVD()