Home
last modified time | relevance | path

Searched refs:max_segment_size (Results 1 – 25 of 46) sorted by relevance

12

/linux/block/
H A Dblk-settings.c49 lim->max_segment_size = UINT_MAX; in blk_set_stacking_limits()
352 if (!lim->max_segment_size) in blk_validate_limits()
353 lim->max_segment_size = UINT_MAX; in blk_validate_limits()
360 if (!lim->max_segment_size) in blk_validate_limits()
361 lim->max_segment_size = BLK_MAX_SEGMENT_SIZE; in blk_validate_limits()
362 if (WARN_ON_ONCE(lim->max_segment_size < PAGE_SIZE)) in blk_validate_limits()
679 t->max_segment_size = min_not_zero(t->max_segment_size, in blk_stack_limits()
680 b->max_segment_size); in blk_stack_limits()
H A Dblk-sysfs.c106 QUEUE_SYSFS_LIMIT_SHOW(max_segment_size) in QUEUE_SYSFS_LIMIT_SHOW()
H A Dblk-merge.c246 (unsigned long)lim->max_segment_size - 1) + 1); in get_max_segment_size()
/linux/drivers/scsi/
H A Dhosts.c476 if (sht->max_segment_size) in scsi_host_alloc()
477 shost->max_segment_size = sht->max_segment_size; in scsi_host_alloc()
479 shost->max_segment_size = BLK_MAX_SEGMENT_SIZE; in scsi_host_alloc()
H A Dmac53c94.c403 .max_segment_size = 65535,
H A Dscsi_lib.c1977 lim->max_segment_size = shost->max_segment_size; in scsi_init_limits()
1992 dma_set_max_seg_size(dev, shost->max_segment_size); in scsi_init_limits()
/linux/drivers/usb/gadget/function/
H A Du_ncm.h35 u16 max_segment_size; member
H A Df_ncm.c1186 frame_max = ncm_opts->max_segment_size; in ncm_unwrap_ntb()
1455 ncm_opts->net->mtu = (ncm_opts->max_segment_size - ETH_HLEN); in ncm_bind()
1500 ecm_desc.wMaxSegmentSize = cpu_to_le16(ncm_opts->max_segment_size); in ncm_bind()
1611 segment_size = opts->max_segment_size; in ncm_opts_max_segment_size_show()
1639 opts->max_segment_size = segment_size; in ncm_opts_max_segment_size_store()
1646 CONFIGFS_ATTR(ncm_opts_, max_segment_size);
1696 opts->max_segment_size = ETH_FRAME_LEN; in ncm_alloc_inst()
/linux/include/scsi/
H A Dscsi_host.h410 unsigned int max_segment_size; member
622 unsigned int max_segment_size; member
H A Dlibiscsi.h228 unsigned max_segment_size; member
H A Dscsi_transport_iscsi.h338 unsigned max_segment_size; member
/linux/include/linux/
H A Ddma-mapping.h518 if (dev->dma_parms && dev->dma_parms->max_segment_size) in dma_get_max_seg_size()
519 return dev->dma_parms->max_segment_size; in dma_get_max_seg_size()
527 dev->dma_parms->max_segment_size = size; in dma_set_max_seg_size()
H A Dblkdev.h369 unsigned int max_segment_size; member
1217 return q->limits.max_segment_size; in queue_max_segment_size()
H A Ddevice.h447 unsigned int max_segment_size; member
/linux/drivers/s390/block/
H A Ddasd_genhd.c42 .max_segment_size = PAGE_SIZE, in dasd_gendisk_alloc()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dsdio.h184 uint max_segment_size; member
/linux/drivers/mmc/core/
H A Dqueue.c376 lim.max_segment_size = in mmc_alloc_disk()
/linux/drivers/block/
H A Dps3disk.c389 .max_segment_size = dev->bounce_size, in ps3disk_probe()
H A Dsunvdc.c792 .max_segment_size = PAGE_SIZE, in probe_disk()
/linux/drivers/cdrom/
H A Dgdrom.c746 .max_segment_size = 0x40000, in probe_gdrom()
/linux/drivers/ata/
H A Dsata_inic162x.c255 .max_segment_size = 65536 - 512,
H A Dpata_macio.c934 .max_segment_size = PATA_MACIO_MAX_SEGMENT_SIZE,
/linux/drivers/scsi/aacraid/
H A Dlinit.c1734 shost->max_segment_size = shost->max_sectors << 9; in aac_probe_one()
1736 shost->max_segment_size = 65536; in aac_probe_one()
/linux/drivers/virtio/
H A Dvirtio_ring.c299 size_t max_segment_size = SIZE_MAX; in virtio_max_dma_size() local
302 max_segment_size = dma_max_mapping_size(vdev->dev.parent); in virtio_max_dma_size()
304 return max_segment_size; in virtio_max_dma_size()
/linux/drivers/s390/scsi/
H A Dzfcp_scsi.c445 .max_segment_size = ZFCP_QDIO_SBALE_LEN,

12