Home
last modified time | relevance | path

Searched refs:max_sectors (Results 1 – 16 of 16) sorted by relevance

/linux-4.19.296/block/
Dblk-settings.c97 lim->max_sectors = lim->max_hw_sectors = BLK_SAFE_MAX_SECTORS; in blk_set_default_limits()
134 lim->max_sectors = UINT_MAX; in blk_set_stacking_limits()
240 unsigned int max_sectors; in blk_queue_max_hw_sectors() local
249 max_sectors = min_not_zero(max_hw_sectors, limits->max_dev_sectors); in blk_queue_max_hw_sectors()
250 max_sectors = min_t(unsigned int, max_sectors, BLK_DEF_MAX_SECTORS); in blk_queue_max_hw_sectors()
251 limits->max_sectors = max_sectors; in blk_queue_max_hw_sectors()
252 q->backing_dev_info->io_pages = max_sectors >> (PAGE_SHIFT - 9); in blk_queue_max_hw_sectors()
561 t->max_sectors = min_not_zero(t->max_sectors, b->max_sectors); in blk_stack_limits()
650 t->max_sectors = blk_round_down_sectors(t->max_sectors, t->logical_block_size); in blk_stack_limits()
734 t->limits.max_sectors >> (PAGE_SHIFT - 9); in disk_stack_limits()
Dcompat_ioctl.c324 unsigned int max_sectors; in compat_blkdev_ioctl() local
380 max_sectors = min_t(unsigned int, USHRT_MAX, in compat_blkdev_ioctl()
382 return compat_put_ushort(arg, max_sectors); in compat_blkdev_ioctl()
Dscsi_ioctl.c87 unsigned int max_sectors = queue_max_sectors(q); in max_sectors_bytes() local
89 max_sectors = min_t(unsigned int, max_sectors, INT_MAX >> 9); in max_sectors_bytes()
91 return max_sectors << 9; in max_sectors_bytes()
Dblk-merge.c114 const unsigned max_sectors = get_max_io_size(q, bio); in blk_bio_segment_split() local
124 if (sectors + (bv.bv_len >> 9) > max_sectors) { in blk_bio_segment_split()
130 sectors < max_sectors) { in blk_bio_segment_split()
132 sectors = max_sectors; in blk_bio_segment_split()
Dioctl.c517 unsigned int max_sectors; in blkdev_ioctl() local
559 max_sectors = min_t(unsigned int, USHRT_MAX, in blkdev_ioctl()
561 return put_ushort(arg, max_sectors); in blkdev_ioctl()
Dblk-sysfs.c246 q->limits.max_sectors = max_sectors_kb << 1; in queue_max_sectors_store()
/linux-4.19.296/include/scsi/
Dscsi_host.h366 unsigned int max_sectors; member
606 unsigned int max_sectors; member
/linux-4.19.296/include/uapi/linux/
Dvirtio_scsi.h108 __u32 max_sectors; member
/linux-4.19.296/include/linux/
Dblkdev.h380 unsigned int max_sectors; member
1120 return q->limits.max_sectors; in blk_queue_get_max_sectors()
1131 return q->limits.max_sectors; in blk_max_size_offset()
1133 return min(q->limits.max_sectors, (unsigned int)(q->limits.chunk_sectors - in blk_max_size_offset()
1463 return q->limits.max_sectors; in queue_max_sectors()
Dide.h1349 u16 max_sectors; /* if < than the default one */ member
Dlibata.h722 unsigned int max_sectors; /* per-device max sectors */ member
/linux-4.19.296/drivers/s390/scsi/
Dzfcp_scsi.c435 .max_sectors = (((QDIO_MAX_ELEMENTS_PER_BUFFER - 1)
814 shost->max_sectors = shost->sg_tablesize * 8; in zfcp_scsi_set_prot()
Dzfcp_qdio.c435 adapter->scsi_host->max_sectors = qdio->max_sbale_per_req * 8; in zfcp_qdio_open()
/linux-4.19.296/drivers/message/fusion/
Dmptfc.c130 .max_sectors = 8192,
Dmptspi.c849 .max_sectors = 8192,
Dmptsas.c1993 .max_sectors = 8192,
5259 ioc->name, mpt_loadtime_max_sectors, sh->max_sectors)); in mptsas_probe()
5260 sh->max_sectors = mpt_loadtime_max_sectors; in mptsas_probe()