Lines Matching refs:size
111 * max_hw_sectors, on the size of requests. max_hw_sectors is set by
156 * blk_queue_chunk_sectors - set size of the chunk for this queue
161 * If a driver doesn't want IOs to cross a given chunk size, it can set
229 * being 0 due to a 0 argument, the chunk_sectors limit (zone size) not set,
276 * blk_queue_max_segment_size - set max segment size for blk_rq_map_sg
278 * @max_size: max size of segment in bytes
281 * Enables a low level driver to set an upper limit on the size of a
300 * blk_queue_logical_block_size - set logical block size for the queue
302 * @size: the logical block size, in bytes
305 * This should be set to the lowest possible block size that the
309 void blk_queue_logical_block_size(struct request_queue *q, unsigned int size)
313 limits->logical_block_size = size;
315 if (limits->physical_block_size < size)
316 limits->physical_block_size = size;
322 round_down(limits->max_hw_sectors, size >> SECTOR_SHIFT);
324 round_down(limits->max_sectors, size >> SECTOR_SHIFT);
329 * blk_queue_physical_block_size - set physical block size for the queue
331 * @size: the physical block size, in bytes
334 * This should be set to the lowest possible sector size that the
338 void blk_queue_physical_block_size(struct request_queue *q, unsigned int size)
340 q->limits.physical_block_size = size;
353 * @size: the zone write granularity size, in bytes
356 * This should be set to the lowest possible size allowing to write in
360 unsigned int size)
365 q->limits.zone_write_granularity = size;
397 * at least twice the optimal I/O size.
406 * blk_limits_io_min - set minimum request size for a device
408 * @min: smallest I/O size in bytes
411 * Some devices have an internal block size bigger than the reported
412 * hardware sector size. This function can be used to signal the
429 * blk_queue_io_min - set minimum request size for the queue
431 * @min: smallest I/O size in bytes
435 * size which is the smallest request the device can perform without
437 * physical block size. For RAID arrays it is often the stripe chunk
438 * size. A properly aligned multiple of minimum_io_size is the
439 * preferred request size for workloads where a high number of I/O
449 * blk_limits_io_opt - set optimal request size for a device
451 * @opt: smallest I/O size in bytes
454 * Storage devices may report an optimal I/O size, which is the
457 * the internal track size. A properly aligned multiple of
458 * optimal_io_size is the preferred request size for workloads where
468 * blk_queue_io_opt - set optimal request size for the queue
470 * @opt: optimal request size in bytes
473 * Storage devices may report an optimal I/O size, which is the
476 * the internal track size. A properly aligned multiple of
477 * optimal_io_size is the preferred request size for workloads where
615 /* Physical block size a multiple of the logical block size? */
622 /* Minimum I/O a multiple of the physical block size? */
629 /* Optimal I/O a multiple of the physical block size? */
636 /* chunk_sectors a multiple of the physical block size? */
768 * of that they are not limited by our notion of "segment size".
959 * size by default. The driver can change this value if needed.