Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/block/loop.c loop_change_fd() -> loop_global_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lo | 4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_backing_file | 4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_backing_file->f_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_backing_file->f_op | 4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_backing_file->f_path.dentry->d_inode->i_ctime_nsec.counter | 0-s32max |
| PARAM_VALUE | 0 | lo->lo_disk | 4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_disk->part0 | 4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_disk->part0->bd_holder_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lo->lo_disk->part0->bd_holder_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | lo->lo_disk->part0->bd_holder_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | lo->lo_disk->part0->bd_holder_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | lo->lo_disk->part0->bd_holder_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | lo->lo_disk->part0->bd_holder_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | lo->lo_disk->part0->bd_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_disk->part0->bd_mapping->host->i_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lo->lo_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lo->lo_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | lo->lo_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | lo->lo_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | lo->lo_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_queue->io_lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | lo->lo_queue->mq_freeze_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lo->lo_queue->mq_freeze_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | lo->lo_queue->mq_freeze_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | lo->lo_queue->mq_freeze_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lo->lo_queue->mq_freeze_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | lo->lo_queue->mq_freeze_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | lo->lo_queue->mq_freeze_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | lo->lo_queue->mq_freeze_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | lo->lo_queue->q_lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | lo->lo_queue->q_usage_counter.data | 0,4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_state | 1 |
| BUF_SIZE | 0 | lo | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | lo | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | lo | $0 |
| DATA_SOURCE | 1 | global | r is_loop_device |
| NOCHECK_CALL | |||
| UNITS | 0 | lo | unit_byte |
| LOCK2 | 0 | &lo->lo_mutex | |
| TYPE_LOCK | (struct loop_device)->lo_mutex |
drivers/block/loop.c loop_change_fd() -> loop_global_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lo | 4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_disk | 4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lo->lo_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | lo->lo_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | lo->lo_mutex.osq.tail.counter | 0-s32max |
| BUF_SIZE | 0 | lo | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | lo | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | lo | $0 |
| DATA_SOURCE | 1 | global | r is_loop_device |
| NOCHECK_CALL | |||
| UNITS | 0 | lo | unit_byte |
| LOCK2 | 0 | &lo->lo_mutex | |
| TYPE_LOCK | (struct loop_device)->lo_mutex |
drivers/block/loop.c loop_clr_fd() -> loop_global_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lo | 4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lo->lo_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | lo->lo_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | lo->lo_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | lo->lo_state | s32min-0,2-s32max |
| PARAM_VALUE | 1 | global | 1 |
| BUF_SIZE | 0 | lo | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | lo | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | lo | $0 |
| NOCHECK_CALL | |||
| UNITS | 0 | lo | unit_byte |
| LOCK2 | global &loop_validate_mutex | ||
| LOCK2 | 0 | &lo->lo_mutex | |
| TYPE_LOCK | (struct loop_device)->lo_mutex |
drivers/block/loop.c loop_clr_fd() -> loop_global_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lo | 4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_disk | 4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_disk->part0 | 4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_flags | 0,4-s32max |
| PARAM_VALUE | 0 | lo->lo_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lo->lo_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | lo->lo_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | lo->lo_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | lo->lo_state | 1-2 |
| PARAM_VALUE | 1 | global | 1 |
| BUF_SIZE | 0 | lo | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | lo | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | lo | $0 |
| FUZZY_MAX | 0 | lo->lo_state | 2 |
| BIT_INFO | 0 | lo->lo_flags | 0x4,0xffffffff |
| NOCHECK_CALL | |||
| UNITS | 0 | lo | unit_byte |
| LOCK2 | global &loop_validate_mutex | ||
| LOCK2 | 0 | &lo->lo_mutex | |
| TYPE_LOCK | (struct loop_device)->lo_mutex |
drivers/block/loop.c loop_configure() -> loop_global_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lo | 4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_backing_file | 4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_backing_file->f_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_backing_file->f_mapping->host | 4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_backing_file->f_op | 4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_backing_file->f_path.dentry->d_inode->i_ctime_nsec.counter | 0-s32max |
| PARAM_VALUE | 0 | lo->lo_device | 4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_device->bd_disk | 4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_disk | 4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_disk->part0 | 4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_disk->part0->bd_holder_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lo->lo_disk->part0->bd_holder_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | lo->lo_disk->part0->bd_holder_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | lo->lo_disk->part0->bd_holder_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | lo->lo_disk->part0->bd_holder_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | lo->lo_disk->part0->bd_holder_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | lo->lo_disk->part0->bd_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_disk->part0->bd_mapping->host->i_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lo->lo_disk->part0->bd_nr_sectors | 0-18014398509481983 |
| PARAM_VALUE | 0 | lo->lo_disk->part0->bd_size_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lo->lo_flags | 0-39 |
| PARAM_VALUE | 0 | lo->lo_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lo->lo_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | lo->lo_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | lo->lo_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | lo->lo_offset | 0-s64max |
| PARAM_VALUE | 0 | lo->lo_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_queue->disk | 0,4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_queue->disk->bdi->io_pages | 0-536870911 |
| PARAM_VALUE | 0 | lo->lo_queue->disk->bdi->ra_pages | 32-u64max |
| PARAM_VALUE | 0 | lo->lo_queue->limits.atomic_write_boundary_sectors | 0-8388607 |
| PARAM_VALUE | 0 | lo->lo_queue->limits.atomic_write_max_sectors | 0-8388607 |
| PARAM_VALUE | 0 | lo->lo_queue->limits.atomic_write_unit_max | 0-1171456 |
| PARAM_VALUE | 0 | lo->lo_queue->limits.atomic_write_unit_min | 0-1171456 |
| PARAM_VALUE | 0 | lo->lo_queue->limits.discard_granularity | 0,512-u32max |
| PARAM_VALUE | 0 | lo->lo_queue->limits.dma_alignment | 1-u32max |
| PARAM_VALUE | 0 | lo->lo_queue->limits.io_min | 512-u32max |
| PARAM_VALUE | 0 | lo->lo_queue->limits.logical_block_size | 512-65536 |
| PARAM_VALUE | 0 | lo->lo_queue->limits.max_discard_segments | 1-u16max |
| PARAM_VALUE | 0 | lo->lo_queue->limits.max_fast_segment_size | 0-4096 |
| PARAM_VALUE | 0 | lo->lo_queue->limits.max_segment_size | 1-u32max |
| PARAM_VALUE | 0 | lo->lo_queue->limits.max_segments | 1-u16max |
| PARAM_VALUE | 0 | lo->lo_queue->limits.max_user_sectors | 0,8-u32max |
| PARAM_VALUE | 0 | lo->lo_queue->limits.physical_block_size | 512-u32max |
| PARAM_VALUE | 0 | lo->lo_queue->limits.seg_boundary_mask | 1-u64max |
| PARAM_VALUE | 0 | lo->lo_queue->limits.zone_write_granularity | 512-u32max |
| PARAM_VALUE | 0 | lo->lo_queue->limits_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lo->lo_queue->limits_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | lo->lo_queue->limits_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lo->lo_queue->limits_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | lo->lo_queue->limits_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | lo->lo_queue->limits_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | lo->lo_queue->limits_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | lo->lo_sizelimit | 0-s64max |
| PARAM_VALUE | 0 | lo->lo_state | 1 |
| PARAM_VALUE | 0 | lo->workqueue | 1-u64max |
| PARAM_VALUE | 0 | *lo->lo_file_name | 0-255 |
| BUF_SIZE | 0 | lo | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | lo | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | lo->workqueue | (-1),512,528-8720 |
| CAPPED_DATA | 0 | lo->lo_queue->limits.max_hw_wzeroes_unmap_sectors | 1 |
| DATA_SOURCE | 0 | lo | $0 |
| DATA_SOURCE | 1 | global | r is_loop_device |
| TERMINATED | 0 | lo->lo_file_name | 1 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | lo->lo_disk->part0->bd_nr_sectors | 0-18014398509481983 |
| USER_DATA | 0 | lo->lo_flags | 0-39[c] |
| USER_DATA | 0 | lo->lo_offset | 0-s64max |
| USER_DATA | 0 | lo->lo_queue->disk->bdi->io_pages | 0-268435455[c] |
| USER_DATA | 0 | lo->lo_queue->disk->bdi->ra_pages | 33-536870911[c] |
| USER_DATA | 0 | lo->lo_queue->limits.alignment_offset | 0-u32max[c][u] |
| USER_DATA | 0 | lo->lo_queue->limits.atomic_write_max_sectors | 0-8388607[c] |
| USER_DATA | 0 | lo->lo_queue->limits.discard_granularity | 512-u32max[c] |
| USER_DATA | 0 | lo->lo_queue->limits.io_min | 512-u32max[c] |
| USER_DATA | 0 | lo->lo_queue->limits.logical_block_size | 512-65536[c] |
| USER_DATA | 0 | lo->lo_queue->limits.max_hw_wzeroes_unmap_sectors | 0-u32max[c] |
| USER_DATA | 0 | lo->lo_queue->limits.max_sectors | 0-s32max[c] |
| USER_DATA | 0 | lo->lo_queue->limits.max_write_zeroes_sectors | 0-u32max[c] |
| USER_DATA | 0 | lo->lo_queue->limits.max_wzeroes_unmap_sectors | 0-s32max[c] |
| USER_DATA | 0 | lo->lo_queue->limits.max_zone_append_sectors | 0-s32max[c] |
| USER_DATA | 0 | lo->lo_queue->limits.physical_block_size | 512-u32max[c] |
| USER_DATA | 0 | lo->lo_sizelimit | 0-s64max |
| USER_DATA | 0 | *lo->lo_file_name | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | lo->lo_queue->limits.discard_granularity | |
| UNITS | 0 | lo | unit_byte |
| LOCK2 | 0 | &lo->lo_mutex | |
| TYPE_LOCK | (struct loop_device)->lo_mutex |
drivers/block/loop.c loop_configure() -> loop_global_unlock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lo | 4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lo->lo_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | lo->lo_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | lo->lo_mutex.osq.tail.counter | 0-s32max |
| BUF_SIZE | 0 | lo | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | lo | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | lo->workqueue | (-1),512,528-8720 |
| DATA_SOURCE | 0 | lo | $0 |
| DATA_SOURCE | 1 | global | r is_loop_device |
| NOCHECK_CALL | |||
| USER_DATA | 0 | lo->lo_flags | 0-47[c] |
| USER_DATA | 0 | lo->lo_offset | 0-s64max |
| USER_DATA | 0 | lo->lo_sizelimit | 0-s64max |
| USER_DATA | 0 | *lo->lo_file_name | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | lo->lo_queue->limits.discard_granularity | |
| UNITS | 0 | lo | unit_byte |
| LOCK2 | 0 | &lo->lo_mutex | |
| TYPE_LOCK | (struct loop_device)->lo_mutex |