Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-table.c dm_calculate_queue_limits() -> (struct target_type)->io_hints()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ti | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type->io_hints | 1-u64max |
| PARAM_VALUE | 0 | ti->type->iterate_devices | 0 |
| PARAM_VALUE | 1 | limits | 3585778653106552832 |
| PARAM_VALUE | 1 | limits->atomic_write_boundary_sectors | 0 |
| PARAM_VALUE | 1 | limits->atomic_write_hw_boundary | 0 |
| PARAM_VALUE | 1 | limits->atomic_write_hw_max | 1048576,u32max |
| PARAM_VALUE | 1 | limits->atomic_write_hw_unit_max | 0-1048576 |
| PARAM_VALUE | 1 | limits->atomic_write_hw_unit_min | 0 |
| PARAM_VALUE | 1 | limits->atomic_write_max_sectors | 0 |
| PARAM_VALUE | 1 | limits->atomic_write_unit_max | 0 |
| PARAM_VALUE | 1 | limits->atomic_write_unit_min | 0 |
| PARAM_VALUE | 1 | limits->dma_pad_mask | 0 |
| PARAM_VALUE | 1 | limits->features | 0,16-u32max |
| PARAM_VALUE | 1 | limits->flags | 0 |
| PARAM_VALUE | 1 | limits->integrity.csum_type | 0 |
| PARAM_VALUE | 1 | limits->integrity.flags | 0 |
| PARAM_VALUE | 1 | limits->integrity.pi_offset | 0 |
| PARAM_VALUE | 1 | limits->integrity.pi_tuple_size | 0 |
| PARAM_VALUE | 1 | limits->max_active_zones | 0 |
| PARAM_VALUE | 1 | limits->max_dev_sectors | u32max |
| PARAM_VALUE | 1 | limits->max_discard_sectors | 0 |
| PARAM_VALUE | 1 | limits->max_fast_segment_size | 0 |
| PARAM_VALUE | 1 | limits->max_hw_sectors | 2048,u32max |
| PARAM_VALUE | 1 | limits->max_hw_wzeroes_unmap_sectors | u32max |
| PARAM_VALUE | 1 | limits->max_hw_zone_append_sectors | u32max |
| PARAM_VALUE | 1 | limits->max_integrity_segments | 0,u16max |
| PARAM_VALUE | 1 | limits->max_open_zones | 0 |
| PARAM_VALUE | 1 | limits->max_secure_erase_sectors | 0 |
| PARAM_VALUE | 1 | limits->max_segment_size | u32max |
| PARAM_VALUE | 1 | limits->max_segments | u16max |
| PARAM_VALUE | 1 | limits->max_user_discard_sectors | u32max |
| PARAM_VALUE | 1 | limits->max_user_sectors | 0 |
| PARAM_VALUE | 1 | limits->max_user_wzeroes_unmap_sectors | u32max |
| PARAM_VALUE | 1 | limits->max_write_streams | 0 |
| PARAM_VALUE | 1 | limits->max_wzeroes_unmap_sectors | 0 |
| PARAM_VALUE | 1 | limits->max_zone_append_sectors | 0 |
| PARAM_VALUE | 1 | limits->seg_boundary_mask | u32max |
| PARAM_VALUE | 1 | limits->virt_boundary_mask | 0 |
| PARAM_VALUE | 1 | limits->write_stream_granularity | 0 |
| PARAM_VALUE | 1 | limits->zone_write_granularity | 0 |
| DATA_SOURCE | 0 | ti | r dm_table_get_target |
| CONTAINER | 0 | -184-8+0 | $(-1) |
| MEM_ZERO | 1 | limits | |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | limits->io_min | |
| NO_OVERFLOW_SIMPLE | 1 | limits->max_hw_discard_sectors | |
| HALF_LOCKED2 | &md->suspend_lock |
drivers/md/dm-table.c dm_calculate_queue_limits() -> (struct target_type)->io_hints()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ti | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type | 4096-ptr_max |
| PARAM_VALUE | 0 | ti->type->io_hints | 1-u64max |
| PARAM_VALUE | 0 | ti->type->iterate_devices | 1-u64max |
| PARAM_VALUE | 1 | limits | 3585778653106552832 |
| PARAM_VALUE | 1 | limits->atomic_write_boundary_sectors | 0 |
| PARAM_VALUE | 1 | limits->atomic_write_hw_boundary | 0 |
| PARAM_VALUE | 1 | limits->atomic_write_hw_max | 1048576,u32max |
| PARAM_VALUE | 1 | limits->atomic_write_hw_unit_max | 0-1048576 |
| PARAM_VALUE | 1 | limits->atomic_write_hw_unit_min | 0 |
| PARAM_VALUE | 1 | limits->atomic_write_max_sectors | 0 |
| PARAM_VALUE | 1 | limits->atomic_write_unit_max | 0 |
| PARAM_VALUE | 1 | limits->atomic_write_unit_min | 0 |
| PARAM_VALUE | 1 | limits->dma_pad_mask | 0 |
| PARAM_VALUE | 1 | limits->features | 0,16-u32max |
| PARAM_VALUE | 1 | limits->flags | 0 |
| PARAM_VALUE | 1 | limits->integrity.csum_type | 0 |
| PARAM_VALUE | 1 | limits->integrity.flags | 0 |
| PARAM_VALUE | 1 | limits->integrity.pi_offset | 0 |
| PARAM_VALUE | 1 | limits->integrity.pi_tuple_size | 0 |
| PARAM_VALUE | 1 | limits->max_active_zones | 0 |
| PARAM_VALUE | 1 | limits->max_dev_sectors | u32max |
| PARAM_VALUE | 1 | limits->max_discard_sectors | 0 |
| PARAM_VALUE | 1 | limits->max_fast_segment_size | 0 |
| PARAM_VALUE | 1 | limits->max_hw_sectors | 2048,u32max |
| PARAM_VALUE | 1 | limits->max_hw_wzeroes_unmap_sectors | u32max |
| PARAM_VALUE | 1 | limits->max_hw_zone_append_sectors | u32max |
| PARAM_VALUE | 1 | limits->max_integrity_segments | 0,u16max |
| PARAM_VALUE | 1 | limits->max_open_zones | 0 |
| PARAM_VALUE | 1 | limits->max_secure_erase_sectors | 0 |
| PARAM_VALUE | 1 | limits->max_segment_size | u32max |
| PARAM_VALUE | 1 | limits->max_segments | u16max |
| PARAM_VALUE | 1 | limits->max_user_discard_sectors | u32max |
| PARAM_VALUE | 1 | limits->max_user_sectors | 0 |
| PARAM_VALUE | 1 | limits->max_user_wzeroes_unmap_sectors | u32max |
| PARAM_VALUE | 1 | limits->max_write_streams | 0 |
| PARAM_VALUE | 1 | limits->max_wzeroes_unmap_sectors | 0 |
| PARAM_VALUE | 1 | limits->max_zone_append_sectors | 0 |
| PARAM_VALUE | 1 | limits->seg_boundary_mask | u32max |
| PARAM_VALUE | 1 | limits->virt_boundary_mask | 0 |
| PARAM_VALUE | 1 | limits->write_stream_granularity | 0 |
| PARAM_VALUE | 1 | limits->zone_write_granularity | 0 |
| DATA_SOURCE | 0 | ti | r dm_table_get_target |
| CONTAINER | 0 | -184-8+0 | $(-1) |
| MEM_ZERO | 1 | limits | |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | limits->io_min | |
| NO_OVERFLOW_SIMPLE | 1 | limits->max_hw_discard_sectors | |
| HALF_LOCKED2 | &md->suspend_lock |