Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-thin-metadata.c __create_snap() -> __open_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pmd | 4096-ptr_max |
| PARAM_VALUE | 0 | pmd->fail_io | 0 |
| PARAM_VALUE | 0 | pmd->in_service | 1 |
| PARAM_VALUE | 0 | pmd->root_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | pmd->root_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | pmd->tl_info.levels | 1-u32max |
| PARAM_VALUE | 0 | pmd->tl_info.tm->bm->bufio->cache.num_locks | 0-4294967295 |
| PARAM_VALUE | 0 | pmd->tl_info.tm->bm->bufio->need_reserved_buffers | 0-4294967295 |
| PARAM_VALUE | 0 | pmd->tl_info.tm->is_clone | 0 |
| PARAM_VALUE | 0 | pmd->tl_info.tm->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pmd->tm | 4096-ptr_max |
| PARAM_VALUE | 0 | pmd->tm->is_clone | 0 |
| PARAM_VALUE | 0 | pmd->tm->sm | 4096-ptr_max |
| PARAM_VALUE | 0 | pmd->tm->sm->inc_blocks | 4096-ptr_max |
| PARAM_VALUE | 1 | dev | 0-16777215 |
| PARAM_VALUE | 2 | create | 1 |
| PARAM_VALUE | 3 | td | 1737793674257096704 |
| CAPPED_DATA | 0 | pmd->details_info.levels | 1 |
| CAPPED_DATA | 0 | pmd->tl_info.levels | 1 |
| DATA_SOURCE | 0 | pmd | $0 |
| DATA_SOURCE | 1 | dev | $1 |
| USER_DATA | 1 | dev | 0-16777215 |
| LOCK2 | &md->io_barrier | ||
| LOCK2 | 0 | &pmd->root_lock | |
| TYPE_LOCK | (struct dm_pool_metadata)->root_lock | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-thin-metadata.c __create_thin() -> __open_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pmd | 4096-ptr_max |
| PARAM_VALUE | 0 | pmd->bl_info.tm | 4096-ptr_max |
| PARAM_VALUE | 0 | pmd->bl_info.tm->bm->bufio->cache.num_locks | 0-4294967295 |
| PARAM_VALUE | 0 | pmd->bl_info.tm->bm->bufio->lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | pmd->bl_info.tm->bm->bufio->need_reserved_buffers | 0-4294967295 |
| PARAM_VALUE | 0 | pmd->bl_info.tm->is_clone | 0 |
| PARAM_VALUE | 0 | pmd->bl_info.tm->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pmd->fail_io | 0 |
| PARAM_VALUE | 0 | pmd->in_service | 1 |
| PARAM_VALUE | 0 | pmd->root_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | pmd->root_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | pmd->tl_info.tm->bm->bufio->cache.num_locks | 0-4294967295 |
| PARAM_VALUE | 0 | pmd->tl_info.tm->bm->bufio->need_reserved_buffers | 0-4294967295 |
| PARAM_VALUE | 0 | pmd->tl_info.tm->is_clone | 0 |
| PARAM_VALUE | 0 | pmd->tl_info.tm->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dev | 0-16777215 |
| PARAM_VALUE | 2 | create | 1 |
| PARAM_VALUE | 3 | td | 6742000033912549376 |
| CAPPED_DATA | 0 | pmd->details_info.levels | 1 |
| DATA_SOURCE | 0 | pmd | $0 |
| DATA_SOURCE | 1 | dev | $1 |
| USER_DATA | 1 | dev | 0-16777215 |
| LOCK2 | &md->io_barrier | ||
| LOCK2 | 0 | &pmd->root_lock | |
| TYPE_LOCK | (struct dm_pool_metadata)->root_lock | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-thin-metadata.c __delete_device() -> __open_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pmd | 4096-ptr_max |
| PARAM_VALUE | 0 | pmd->fail_io | 0 |
| PARAM_VALUE | 0 | pmd->in_service | 1 |
| PARAM_VALUE | 0 | pmd->root_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | pmd->root_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | dev | 0-16777215 |
| PARAM_VALUE | 2 | create | 0 |
| PARAM_VALUE | 3 | td | 8640049588208549888 |
| DATA_SOURCE | 0 | pmd | $0 |
| DATA_SOURCE | 1 | dev | $1 |
| USER_DATA | 1 | dev | 0-16777215 |
| LOCK2 | &md->io_barrier | ||
| LOCK2 | 0 | &pmd->root_lock | |
| TYPE_LOCK | (struct dm_pool_metadata)->root_lock | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-thin-metadata.c __set_snapshot_details() -> __open_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pmd | 4096-ptr_max |
| PARAM_VALUE | 0 | pmd->details_info.tm->is_clone | s32min-s32max |
| PARAM_VALUE | 0 | pmd->fail_io | 0 |
| PARAM_VALUE | 0 | pmd->in_service | 1 |
| PARAM_VALUE | 0 | pmd->root_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | pmd->root_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | pmd->thin_devices.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pmd->thin_devices.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pmd->thin_devices.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pmd->tl_info->tm->bm->bufio->lock.first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | pmd->tl_info.levels | 1-u32max |
| PARAM_VALUE | 0 | pmd->tl_info.tm->bm->bufio->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | pmd->tl_info.tm->bm->bufio->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | pmd->tl_info.tm->bm->bufio->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | pmd->tl_info.tm->bm->bufio->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | pmd->tl_info.tm->bm->bufio->lock.first_waiter->task->blocked_on | (-1)-0 |
| PARAM_VALUE | 0 | pmd->tl_info.tm->bm->bufio->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | pmd->tl_info.tm->bm->bufio->need_reserved_buffers | 0-4294967295 |
| PARAM_VALUE | 0 | pmd->tl_info.tm->is_clone | 0 |
| PARAM_VALUE | 0 | pmd->tm | 4096-ptr_max |
| PARAM_VALUE | 0 | pmd->tm->is_clone | 0 |
| PARAM_VALUE | 1 | dev | 0-16777215 |
| PARAM_VALUE | 2 | create | 0 |
| PARAM_VALUE | 3 | td | 5418888581449703424 |
| CAPPED_DATA | 0 | pmd->details_info.levels | 1 |
| CAPPED_DATA | 0 | pmd->tl_info.levels | 1 |
| DATA_SOURCE | 0 | pmd | $0 |
| DATA_SOURCE | 1 | dev | $2 |
| USER_DATA | 1 | dev | 0-16777215 |
| LOCK2 | &md->io_barrier | ||
| LOCK2 | 0 | &pmd->root_lock | |
| TYPE_LOCK | (struct dm_pool_metadata)->root_lock | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-thin-metadata.c dm_pool_open_thin_device() -> __open_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pmd | 4096-ptr_max |
| PARAM_VALUE | 0 | pmd->fail_io | 0 |
| PARAM_VALUE | 0 | pmd->root_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pmd->root_lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | pmd->root_lock.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | pmd->root_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | pmd->root_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | dev | 0-16777215 |
| PARAM_VALUE | 2 | create | 0 |
| PARAM_VALUE | 3 | td | 4096-ptr_max |
| DATA_SOURCE | 0 | pmd | $0 |
| DATA_SOURCE | 1 | dev | $1 |
| DATA_SOURCE | 3 | td | $2 |
| USER_DATA | 1 | dev | 0-16777215 |
| NO_OVERFLOW_SIMPLE | 1 | dev | |
| LOCK2 | global &dm_thin_pool_table.mutex | ||
| LOCK2 | 0 | &pmd->root_lock | |
| HALF_LOCKED2 | &md->type_lock | ||
| TYPE_LOCK | (struct dm_pool_metadata)->root_lock | ||
| TYPE_LOCK | (struct dm_thin_pool_table)->mutex |