• Home
  • Raw
  • Download

Lines Matching refs:limits

280 	struct queue_limits *limits = data;  in device_area_is_invalid()  local
285 limits->logical_block_size >> SECTOR_SHIFT; in device_area_is_invalid()
325 limits->logical_block_size, bdevname(bdev, b)); in device_area_is_invalid()
334 limits->logical_block_size, bdevname(bdev, b)); in device_area_is_invalid()
426 struct queue_limits *limits = data; in dm_set_device_limits() local
437 if (bdev_stack_limits(limits, bdev, start) < 0) in dm_set_device_limits()
442 q->limits.physical_block_size, in dm_set_device_limits()
443 q->limits.logical_block_size, in dm_set_device_limits()
444 q->limits.alignment_offset, in dm_set_device_limits()
453 blk_limits_max_hw_sectors(limits, in dm_set_device_limits()
604 struct queue_limits *limits) in validate_hardware_logical_block_alignment() argument
611 limits->logical_block_size >> SECTOR_SHIFT; in validate_hardware_logical_block_alignment()
663 limits->logical_block_size); in validate_hardware_logical_block_alignment()
1204 struct queue_limits *limits) in dm_calculate_queue_limits() argument
1210 blk_set_stacking_limits(limits); in dm_calculate_queue_limits()
1243 if (blk_stack_limits(limits, &ti_limits, 0) < 0) in dm_calculate_queue_limits()
1252 return validate_hardware_logical_block_alignment(table, limits); in dm_calculate_queue_limits()
1380 return q && !q->limits.max_write_same_sectors; in device_not_write_same_capable()
1440 struct queue_limits *limits) in dm_table_set_restrictions() argument
1447 q->limits = *limits; in dm_table_set_restrictions()
1462 q->limits.discard_zeroes_data = 0; in dm_table_set_restrictions()
1471 q->limits.max_write_same_sectors = 0; in dm_table_set_restrictions()