| /linux/tools/testing/selftests/ublk/ |
| H A D | test_generic_03.sh | 16 max_segment_size=$(cat "$sysfs_path"/queue/max_segment_size) 23 if [ "$max_segment_size" != "32768" ]; then
|
| H A D | null.c | 35 .max_segment_size = 32 << 10, in ublk_null_tgt_init()
|
| /linux/drivers/usb/gadget/function/ |
| H A D | u_ncm.h | 44 u16 max_segment_size; member
|
| H A D | f_ncm.c | 1189 frame_max = ncm_opts->max_segment_size; in ncm_unwrap_ntb() 1459 ncm_opts->net->mtu = (ncm_opts->max_segment_size - ETH_HLEN); in ncm_bind() 1502 ecm_desc.wMaxSegmentSize = cpu_to_le16(ncm_opts->max_segment_size); in ncm_bind() 1606 segment_size = opts->max_segment_size; in ncm_opts_max_segment_size_show() 1634 opts->max_segment_size = segment_size; in ncm_opts_max_segment_size_store() 1641 CONFIGFS_ATTR(ncm_opts_, max_segment_size); 1691 opts->max_segment_size = ETH_FRAME_LEN; in ncm_alloc_inst()
|
| /linux/include/linux/ |
| H A D | dma-mapping.h | 661 if (dev->dma_parms && dev->dma_parms->max_segment_size) in dma_get_max_seg_size() 662 return dev->dma_parms->max_segment_size; in dma_get_max_seg_size() 670 dev->dma_parms->max_segment_size = size; in dma_set_max_seg_size()
|
| H A D | device.h | 335 unsigned int max_segment_size; member
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | sdio.h | 184 uint max_segment_size; member
|
| H A D | bcmsdh.c | 453 if (sg_data_sz > sdiodev->max_segment_size) in brcmf_sdiod_sglist_rw() 454 sg_data_sz = sdiodev->max_segment_size; in brcmf_sdiod_sglist_rw() 771 sdiodev->max_segment_size = host->max_seg_size; in brcmf_sdiod_sgtable_alloc()
|
| /linux/drivers/block/ |
| H A D | ps3disk.c | 393 .max_segment_size = BOUNCE_SIZE, in ps3disk_probe()
|
| H A D | ublk_drv.c | 966 if (p->max_segment_size < UBLK_MIN_SEGMENT_SIZE) in ublk_validate_params() 4424 .max_segment_size = UINT_MAX, in ublk_ctrl_start_dev() 4471 lim.max_segment_size = ub->params.seg.max_segment_size; in ublk_ctrl_start_dev()
|
| H A D | sunvdc.c | 791 .max_segment_size = PAGE_SIZE, in probe_disk()
|
| H A D | virtio_blk.c | 1284 lim->max_segment_size = max_size; in virtblk_read_limits()
|
| H A D | xen-blkfront.c | 975 lim->max_segment_size = PAGE_SIZE; in blkif_set_queue_limits()
|
| /linux/drivers/scsi/ |
| H A D | mac53c94.c | 403 .max_segment_size = 65535,
|
| /linux/drivers/cdrom/ |
| H A D | gdrom.c | 746 .max_segment_size = 0x40000, in probe_gdrom()
|
| /linux/block/ |
| H A D | blk.h | 463 (unsigned long)lim->max_segment_size - 1) + 1); in get_max_segment_size()
|
| H A D | blk-sysfs.c | 221 QUEUE_SYSFS_LIMIT_SHOW(max_segment_size) in QUEUE_SYSFS_LIMIT_SHOW()
|
| /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/virtio/ |
| H A D | virtio_ring.c | 361 size_t max_segment_size = SIZE_MAX; in virtio_max_dma_size() local 365 max_segment_size = in virtio_max_dma_size() 368 max_segment_size = in virtio_max_dma_size() 372 return max_segment_size; in virtio_max_dma_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/s390/scsi/ |
| H A D | zfcp_scsi.c | 445 .max_segment_size = ZFCP_QDIO_SBALE_LEN,
|
| /linux/drivers/memstick/core/ |
| H A D | mspro_block.c | 1106 .max_segment_size = MSPRO_BLOCK_MAX_PAGES * msb->page_size, in mspro_block_init_disk()
|
| H A D | ms_block.c | 2084 .max_segment_size = MS_BLOCK_MAX_PAGES * msb->page_size, in msb_init_disk()
|
| /linux/drivers/firewire/ |
| H A D | sbp2.c | 1599 .max_segment_size = SBP2_MAX_SEG_SIZE,
|