/titanic_44/usr/src/uts/common/avs/ns/sdbc/ |
H A D | sd_conf.c | 261 if (_sd_cache_config.blk_size == 0) 262 _sd_cache_config.blk_size = 8192; 268 if (_sd_cache_config.blk_size != 4096) { 270 if (_sd_cache_config.blk_size != 8192) { 272 (void) spcs_s_inttostring(_sd_cache_config.blk_size, itmp, 279 get_high_bit(_sd_cache_config.blk_size)) == -1) || 280 (_sd_cache_config.blk_size != (1 << _sd_cblock_shift))) { 281 (void) spcs_s_inttostring(_sd_cache_config.blk_size, itmp,
|
H A D | sdbc_ioctl.h | 239 int blk_size; member
|
/titanic_44/usr/src/lib/libdscfg/common/ |
H A D | cfg_local.c | 127 int blk_size; in get_block_buf() local 130 blk_size = get_block_size(size); in get_block_buf() 132 if ((blk_buf = (char *)calloc(blk_size, sizeof (char))) == NULL) { in get_block_buf() 285 int blk_size; in localcf_read() local 288 blk_size = get_block_size(size); in localcf_read() 293 rc = read(cfp->cf_fd, blk_buf, blk_size); in localcf_read() 306 int blk_size; in localcf_write() local 309 blk_size = get_block_size(size); in localcf_write() 316 rc = write(cfp->cf_fd, blk_buf, blk_size); in localcf_write()
|
/titanic_44/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_umem.c | 59 size_t blk_size; /* size of block in bytes */ member 141 blkp->blk_size = nbytes; in mdb_umem_gc_enter() 242 (ulong_t)blkp->blk_size); in mdb_recycle() 245 mdb_free(blkp->blk_addr, blkp->blk_size); in mdb_recycle()
|
/titanic_44/usr/src/uts/common/io/usb/scsa2usb/ |
H A D | scsa2usb.c | 3793 size_t blk_size; /* calculate the block size to be used */ in scsa2usb_rw_transport() local 3802 blk_size = scsa2usbp->scsa2usb_lbasize[pkt->pkt_address.a_lun]; in scsa2usb_rw_transport() 3836 blk_size = sz; /* change it accordingly */ in scsa2usb_rw_transport() 3846 blk_size = scsa2usb_read_cd_blk_size(pkt->pkt_cdbp[1] >> 2); in scsa2usb_rw_transport() 3860 cmd->cmd_total_xfercount = xfer_count = len * blk_size; in scsa2usb_rw_transport() 3863 if (blk_size && in scsa2usb_rw_transport() 3876 if (SCSA2USB_VALID_CDRW_BLKSZ(blk_size)) { in scsa2usb_rw_transport() 3878 blk_size) * blk_size); in scsa2usb_rw_transport() 3879 len = xfer_count/blk_size; in scsa2usb_rw_transport() 3880 xfer_count = blk_size * len; in scsa2usb_rw_transport() [all …]
|
/titanic_44/usr/src/uts/common/io/1394/targets/scsa1394/ |
H A D | hba.c | 2071 size_t blk_size; in scsa1394_cmd_fill_cdb_rbc() local 2075 blk_size = lp->l_lba_size; in scsa1394_cmd_fill_cdb_rbc() 2104 blk_size = sz; in scsa1394_cmd_fill_cdb_rbc() 2111 blk_size = scsa1394_cmd_read_cd_blk_size(pkt->pkt_cdbp[1] >> 2); in scsa1394_cmd_fill_cdb_rbc() 2126 cmd->sc_blk_size = blk_size; in scsa1394_cmd_fill_cdb_rbc() 2129 if (sp->s_symbios && (len * blk_size > scsa1394_symbios_size_max)) { in scsa1394_cmd_fill_cdb_rbc() 2134 len = scsa1394_symbios_size_max / blk_size; in scsa1394_cmd_fill_cdb_rbc() 2137 cmd->sc_xfer_bytes = len * blk_size; in scsa1394_cmd_fill_cdb_rbc() 2233 int blk_size; in scsa1394_cmd_read_cd_blk_size() local 2237 blk_size = CDROM_BLK_2352; in scsa1394_cmd_read_cd_blk_size() [all …]
|
/titanic_44/usr/src/uts/common/inet/sockmods/ |
H A D | socksctp.h | 119 extern int sosctp_uiomove(mblk_t *hdr_mp, ssize_t count, ssize_t blk_size,
|
H A D | socksctp.c | 672 sosctp_uiomove(mblk_t *hdr_mp, ssize_t count, ssize_t blk_size, int wroff, in sosctp_uiomove() argument 680 if (blk_size == INFPSZ) in sosctp_uiomove() 681 blk_size = count; in sosctp_uiomove() 687 size = MIN(count, blk_size); in sosctp_uiomove()
|
/titanic_44/usr/src/uts/common/fs/ufs/ |
H A D | ufs_directio.c | 539 uint_t blk_size; in ufs_directio_write() local 543 blk_size = (int)blksize(fs, ip, in ufs_directio_write() 545 error = bmap_write(ip, uoff, blk_size, in ufs_directio_write()
|
H A D | ufs_vnops.c | 4639 int blk_size; in ufs_getpage() local 4684 blk_size = (int)blksize(fs, ip, lblkno(fs, offset)); in ufs_getpage() 4685 err = bmap_write(ip, offset, blk_size, in ufs_getpage() 4691 offset += blk_size; /* XXX - make this contig */ in ufs_getpage()
|
/titanic_44/usr/src/uts/sun4v/io/ |
H A D | vdc.c | 7104 vdc_get_capacity(vdc_t *vdc, size_t *dsk_size, size_t *blk_size) in vdc_get_capacity() argument 7120 *blk_size = vd_cap->vdisk_block_size; in vdc_get_capacity() 7135 size_t dsk_size, blk_size; in vdc_check_capacity() local 7146 if ((rv = vdc_get_capacity(vdc, &dsk_size, &blk_size)) != 0) in vdc_check_capacity() 7149 if (dsk_size == VD_SIZE_UNKNOWN || dsk_size == 0 || blk_size == 0) in vdc_check_capacity() 7159 rv = vdc_update_vio_bsize(vdc, blk_size); in vdc_check_capacity() 7161 vdc_update_size(vdc, dsk_size, blk_size, vdc->max_xfer_sz); in vdc_check_capacity() 8198 vdc_update_size(vdc_t *vdc, size_t dsk_size, size_t blk_size, size_t xfr_size) in vdc_update_size() argument 8210 (blk_size == vdc->vdisk_bsize && dsk_size == vdc->vdisk_size && in vdc_update_size() 8221 if ((xfr_size * blk_size) > (PAGESIZE * DEV_BSIZE)) { in vdc_update_size() [all …]
|
/titanic_44/usr/src/uts/common/io/ |
H A D | bscv.c | 1797 uint8_t blk_size; in bscv_eerw() local 1803 blk_size = 0x100 - page_idx; in bscv_eerw() 1805 blk_size = remaining; in bscv_eerw() 1815 this_page, page_idx, blk_size, remaining - blk_size); in bscv_eerw() 1819 blk_size, DDI_DEV_AUTOINCR, is_write); in bscv_eerw() 1826 remaining -= blk_size; in bscv_eerw() 1827 blk_addr += blk_size; in bscv_eerw() 1828 buf += blk_size; in bscv_eerw()
|
/titanic_44/usr/src/uts/common/os/ |
H A D | dumpsubr.c | 1234 size_t blk_size; in dumpinit() local 1241 blk_size = minf.dki_lbsize; in dumpinit() 1243 blk_size = DEV_BSIZE; in dumpinit() 1247 dumpbuf.iosize = dki.dki_maxtransfer * blk_size; in dumpinit()
|
/titanic_44/usr/src/uts/common/fs/udfs/ |
H A D | udf_vnops.c | 1716 int32_t blk_size, count; in udf_getpage() local 1749 blk_size = udf_vfsp->udf_lbsize; in udf_getpage() 1750 if ((offset + blk_size) > ip->i_size) { in udf_getpage() 1753 count = blk_size; in udf_getpage()
|
/titanic_44/usr/src/cmd/avs/sdbc/ |
H A D | scmadm.c | 1524 user_level_conf.blk_size = 8192; /* DEFAULT */
|
/titanic_44/usr/src/cmd/mdb/common/modules/sdbc/ |
H A D | sdbc.c | 116 _sd_cache_config.blk_size, in sdbc_config()
|