Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-integrity.c calculate_device_limits() -> get_data_sector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ic | 4096-ptr_max |
| PARAM_VALUE | 0 | ic->initial_sectors | 8 |
| PARAM_VALUE | 0 | ic->meta_dev | 0 |
| PARAM_VALUE | 0 | ic->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | ic->sb->log2_interleave_sectors | 3-31 |
| PARAM_VALUE | 1 | area | 0-2305843009213693951 |
| PARAM_VALUE | 2 | offset | 0-u32max |
| CAPPED_DATA | 0 | ic->sb->log2_interleave_sectors | 1 |
| DATA_SOURCE | 0 | ic | $0 |
| MEM_ZERO | 0 | ic->sb |
drivers/md/dm-integrity.c dm_integrity_map() -> get_data_sector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ic | 4096-ptr_max |
| PARAM_VALUE | 0 | ic->sb | 4096-ptr_max |
| BUF_SIZE | 0 | ic | 16,40-s32max |
| BUF_SIZE | 0 | ic | 16,40-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &md->io_barrier | ||
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->swap_bios_semaphore | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-integrity.c do_journal_write() -> get_data_sector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ic | 4096-ptr_max |
| PARAM_VALUE | 0 | ic->sb | 4096-ptr_max |
| BUF_SIZE | 0 | ic | (-1),16,40-s32max |
| BUF_SIZE | 0 | ic | (-1),16,40-s32max |
| CAPPED_DATA | 0 | ic->sectors_per_block | 1 |
| DATA_SOURCE | 0 | ic | $0 |
| HALF_LOCKED2 | &md->suspend_lock |
drivers/md/dm-integrity.c integrity_recalc() -> get_data_sector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ic | 4096-ptr_max |
| PARAM_VALUE | 0 | ic->sb | 4096-ptr_max |
| CAPPED_DATA | 0 | ic->internal_hash_digestsize | 1 |
drivers/md/dm-integrity.c integrity_recheck() -> get_data_sector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ic | 4096-ptr_max |
| PARAM_VALUE | 0 | ic->sb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |