/linux/block/ |
H A D | blk-settings.c | 49 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 D | blk-sysfs.c | 106 QUEUE_SYSFS_LIMIT_SHOW(max_segment_size) in QUEUE_SYSFS_LIMIT_SHOW()
|
H A D | blk-merge.c | 246 (unsigned long)lim->max_segment_size - 1) + 1); in get_max_segment_size()
|
/linux/drivers/scsi/ |
H A D | hosts.c | 476 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 D | mac53c94.c | 403 .max_segment_size = 65535,
|
H A D | scsi_lib.c | 1977 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 D | u_ncm.h | 35 u16 max_segment_size; member
|
H A D | f_ncm.c | 1186 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 D | scsi_host.h | 410 unsigned int max_segment_size; member 622 unsigned int max_segment_size; member
|
H A D | libiscsi.h | 228 unsigned max_segment_size; member
|
H A D | scsi_transport_iscsi.h | 338 unsigned max_segment_size; member
|
/linux/include/linux/ |
H A D | dma-mapping.h | 518 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 D | blkdev.h | 369 unsigned int max_segment_size; member 1217 return q->limits.max_segment_size; in queue_max_segment_size()
|
H A D | device.h | 447 unsigned int max_segment_size; member
|
/linux/drivers/s390/block/ |
H A D | dasd_genhd.c | 42 .max_segment_size = PAGE_SIZE, in dasd_gendisk_alloc()
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | sdio.h | 184 uint max_segment_size; member
|
/linux/drivers/mmc/core/ |
H A D | queue.c | 376 lim.max_segment_size = in mmc_alloc_disk()
|
/linux/drivers/block/ |
H A D | ps3disk.c | 389 .max_segment_size = dev->bounce_size, in ps3disk_probe()
|
H A D | sunvdc.c | 792 .max_segment_size = PAGE_SIZE, in probe_disk()
|
/linux/drivers/cdrom/ |
H A D | gdrom.c | 746 .max_segment_size = 0x40000, in probe_gdrom()
|
/linux/drivers/ata/ |
H A D | sata_inic162x.c | 255 .max_segment_size = 65536 - 512,
|
H A D | pata_macio.c | 934 .max_segment_size = PATA_MACIO_MAX_SEGMENT_SIZE,
|
/linux/drivers/scsi/aacraid/ |
H A D | linit.c | 1734 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 D | virtio_ring.c | 299 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 D | zfcp_scsi.c | 445 .max_segment_size = ZFCP_QDIO_SBALE_LEN,
|