Searched refs:max_sectors (Results 1 – 16 of 16) sorted by relevance
/linux-4.19.296/block/ |
D | blk-settings.c | 97 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()
|
D | compat_ioctl.c | 324 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()
|
D | scsi_ioctl.c | 87 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()
|
D | blk-merge.c | 114 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()
|
D | ioctl.c | 517 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()
|
D | blk-sysfs.c | 246 q->limits.max_sectors = max_sectors_kb << 1; in queue_max_sectors_store()
|
/linux-4.19.296/include/scsi/ |
D | scsi_host.h | 366 unsigned int max_sectors; member 606 unsigned int max_sectors; member
|
/linux-4.19.296/include/uapi/linux/ |
D | virtio_scsi.h | 108 __u32 max_sectors; member
|
/linux-4.19.296/include/linux/ |
D | blkdev.h | 380 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()
|
D | ide.h | 1349 u16 max_sectors; /* if < than the default one */ member
|
D | libata.h | 722 unsigned int max_sectors; /* per-device max sectors */ member
|
/linux-4.19.296/drivers/s390/scsi/ |
D | zfcp_scsi.c | 435 .max_sectors = (((QDIO_MAX_ELEMENTS_PER_BUFFER - 1) 814 shost->max_sectors = shost->sg_tablesize * 8; in zfcp_scsi_set_prot()
|
D | zfcp_qdio.c | 435 adapter->scsi_host->max_sectors = qdio->max_sbale_per_req * 8; in zfcp_qdio_open()
|
/linux-4.19.296/drivers/message/fusion/ |
D | mptfc.c | 130 .max_sectors = 8192,
|
D | mptspi.c | 849 .max_sectors = 8192,
|
D | mptsas.c | 1993 .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()
|