Defined in 2 files as a function:
- block/partitions/core.c, line 295 (as a function)
- drivers/hv/mshv_root_main.c, line 1935 (as a function)
Referenced in 2 files:
Smatch caller information:
block/partitions/core.c bdev_add_partition() -> add_partition()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | disk | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->open_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->open_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | disk->open_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | disk->open_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | disk->open_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->open_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | disk->open_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | disk->part0 | 4096-ptr_max |
| PARAM_VALUE | 1 | partno | 1-s32max |
| PARAM_VALUE | 2 | start | 0-18014398509481983 |
| PARAM_VALUE | 3 | len | 0-18014398509481983 |
| PARAM_VALUE | 4 | flags | 0 |
| PARAM_VALUE | 5 | info | 0 |
| CAPPED_DATA | 0 | &disk->open_mutex | 1 |
| CAPPED_DATA | 2 | start | 1 |
| CAPPED_DATA | 2 | start | 1 |
| DATA_SOURCE | 0 | disk | $0 |
| DATA_SOURCE | 1 | partno | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | len | $3 |
| FUZZY_MAX | 1 | partno | 1 |
| CAPABLE | 0 | 21 | |
| BIT_INFO | 0 | disk->flags | 0x0,0xfffffffb |
| NOSPEC | 2 | start | |
| NOSPEC | 2 | start | |
| USER_DATA | 1 | partno | 1-s32max |
| USER_DATA | 2 | start | 0-s32max[c] |
| USER_DATA | 3 | len | 0-18014398509481983 |
| LOCK2 | 0 | &disk->open_mutex | |
| TYPE_LOCK | (struct gendisk)->open_mutex |
block/partitions/core.c blk_add_partition() -> add_partition()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | disk | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->fops->open | 0,4096-ptr_max |
| PARAM_VALUE | 0 | disk->open_partitions | 0 |
| PARAM_VALUE | 0 | disk->part0 | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->part0->bd_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->part0->bd_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792 |
| PARAM_VALUE | 0 | disk->part0->bd_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864 |
| PARAM_VALUE | 0 | disk->part0->bd_mapping->host->i_sb->s_export_op->fh_to_parent | 0,4672,148606482432692224,436469935444291584,457356038048772096 |
| PARAM_VALUE | 0 | disk->part0->bd_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | disk->part0->bd_nr_sectors | 1-u64max |
| PARAM_VALUE | 1 | partno | 1-255 |
| PARAM_VALUE | 2 | start | 0-18446744073709551614 |
| PARAM_VALUE | 5 | info | 4096-ptr_max |
| CAPPED_DATA | 2 | start | 1 |
| CAPPED_DATA | 2 | start | 1 |
| DATA_SOURCE | 0 | disk | $0 |
| DATA_SOURCE | 1 | partno | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | disk->part0->bd_nr_sectors | 1-18014398509481983 |
| NO_OVERFLOW_SIMPLE | 1 | partno | |
| UNITS | 1 | partno | unit_array_size |
| HALF_LOCKED2 | &disk->open_mutex | ||
| HALF_LOCKED2 | 0 | &disk->open_mutex | |
| TYPE_LOCK | (struct gendisk)->open_mutex |