Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
block/partitions/core.c bdev_add_partition() -> partition_overlaps()
| 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 | start | 0-18014398509481983 |
| PARAM_VALUE | 2 | length | 0-18014398509481983 |
| PARAM_VALUE | 3 | skip_partno | (-1) |
| CAPPED_DATA | 0 | &disk->open_mutex | 1 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| DATA_SOURCE | 0 | disk | $0 |
| DATA_SOURCE | 1 | start | $2 |
| DATA_SOURCE | 2 | length | $3 |
| CAPABLE | 0 | 21 | |
| BIT_INFO | 0 | disk->flags | 0x0,0xfffffffb |
| NOSPEC | 1 | start | |
| NOSPEC | 1 | start | |
| USER_DATA | 1 | start | 0-s32max[c] |
| USER_DATA | 2 | length | 0-18014398509481983 |
| LOCK2 | 0 | &disk->open_mutex | |
| TYPE_LOCK | (struct gendisk)->open_mutex |
block/partitions/core.c bdev_resize_partition() -> partition_overlaps()
| 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 | start | 0-18014398509481983 |
| PARAM_VALUE | 2 | length | 0-18014398509481983 |
| PARAM_VALUE | 3 | skip_partno | 1-s32max |
| CAPPED_DATA | 0 | &disk->open_mutex | 1 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| DATA_SOURCE | 0 | disk | $0 |
| DATA_SOURCE | 1 | start | $2 |
| DATA_SOURCE | 2 | length | $3 |
| DATA_SOURCE | 3 | skip_partno | $1 |
| FUZZY_MAX | 3 | skip_partno | 1 |
| CAPABLE | 0 | 21 | |
| NOSPEC | 1 | start | |
| USER_DATA | 2 | length | 0-18014398509481983 |
| USER_DATA | 3 | skip_partno | 1-s32max |
| UNITS | 1 | start | unit_byte |
| LOCK2 | 0 | &disk->open_mutex | |
| TYPE_LOCK | (struct gendisk)->open_mutex |