| /linux/tools/testing/selftests/ublk/ |
| H A D | test_generic_03.sh | 17 max_segment_size=$(cat "$sysfs_path"/queue/max_segment_size) 24 if [ "$max_segment_size" != "32768" ]; then
|
| H A D | null.c | 35 .max_segment_size = 32 << 10, in ublk_null_tgt_init()
|
| /linux/drivers/scsi/ |
| H A D | hosts.c | 493 WARN_ON_ONCE(sht->max_segment_size && in scsi_host_alloc() 494 sht->max_segment_size != UINT_MAX); in scsi_host_alloc() 495 shost->max_segment_size = UINT_MAX; in scsi_host_alloc() 497 if (sht->max_segment_size) in scsi_host_alloc() 498 shost->max_segment_size = sht->max_segment_size; in scsi_host_alloc() 500 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 | 2028 lim->max_segment_size = shost->max_segment_size; in scsi_init_limits() 2040 dma_set_max_seg_size(dev, shost->max_segment_size); in scsi_init_limits()
|
| H A D | scsi_transport_iscsi.c | 1070 iscsi_flashnode_conn_attr(fnode, max_segment_size, 4143 iscsi_conn_attr(max_segment_size, ISCSI_PARAM_MAX_SEGMENT_SIZE);
|
| H A D | libiscsi.c | 3835 len = sysfs_emit(buf, "%u\n", conn->max_segment_size); in iscsi_conn_get_param()
|
| /linux/drivers/usb/gadget/function/ |
| H A D | u_ncm.h | 35 u16 max_segment_size; member
|
| /linux/include/scsi/ |
| H A D | scsi_host.h | 421 unsigned int max_segment_size; member 645 unsigned int max_segment_size; member
|
| H A D | libiscsi.h | 228 unsigned max_segment_size; member
|
| /linux/include/linux/ |
| H A D | dma-mapping.h | 636 if (dev->dma_parms && dev->dma_parms->max_segment_size) in dma_get_max_seg_size() 637 return dev->dma_parms->max_segment_size; in dma_get_max_seg_size() 645 dev->dma_parms->max_segment_size = size; in dma_set_max_seg_size()
|
| H A D | device.h | 289 unsigned int max_segment_size; member
|
| /linux/include/uapi/linux/ |
| H A D | ublk_cmd.h | 598 __u32 max_segment_size; member
|
| /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/virtio/ |
| H A D | virtio_ring.c | 298 size_t max_segment_size = SIZE_MAX; in virtio_max_dma_size() local 302 max_segment_size = in virtio_max_dma_size() 305 max_segment_size = in virtio_max_dma_size() 309 return max_segment_size; in virtio_max_dma_size()
|
| /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 | 1736 shost->max_segment_size = shost->max_sectors << 9; in aac_probe_one() 1738 shost->max_segment_size = 65536; in aac_probe_one()
|
| /linux/drivers/firewire/ |
| H A D | sbp2.c | 1598 .max_segment_size = SBP2_MAX_SEG_SIZE,
|
| /linux/drivers/memstick/core/ |
| H A D | mspro_block.c | 1107 .max_segment_size = MSPRO_BLOCK_MAX_PAGES * msb->page_size, in mspro_block_init_disk()
|
| /linux/drivers/scsi/qla4xxx/ |
| H A D | ql4_os.c | 3582 conn->max_segment_size = le16_to_cpu(fw_ddb_entry->mss); in qla4xxx_copy_from_fwddb_param() 3709 fw_ddb_entry->mss = cpu_to_le16(conn->max_segment_size); in qla4xxx_copy_to_fwddb_param() 3818 conn->max_segment_size = le16_to_cpu(fw_ddb_entry->mss); in qla4xxx_copy_to_sess_conn_params() 7998 rc = sprintf(buf, "%u\n", fnode_conn->max_segment_size); in qla4xxx_sysfs_ddb_get_param() 8263 fnode_conn->max_segment_size = in qla4xxx_sysfs_ddb_set_param()
|
| /linux/drivers/block/ |
| H A D | nbd.c | 1913 .max_segment_size = UINT_MAX, in nbd_dev_add()
|
| /linux/drivers/infiniband/ulp/srp/ |
| H A D | ib_srp.c | 3710 target_host->max_segment_size = ib_dma_max_seg_size(ibdev); in add_target_store()
|