Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/block/loop.c loop_configure() -> loop_update_limits()
| 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_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_flags | 0-31 |
| 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.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->limits_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lo->lo_queue->limits_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_queue->limits_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | lo->lo_queue->limits_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | lo->lo_sizelimit | 0-s64max |
| PARAM_VALUE | 0 | lo->lo_state | 0 |
| PARAM_VALUE | 0 | lo->workqueue | 1-u64max |
| PARAM_VALUE | 0 | *lo->lo_file_name | 0-255 |
| PARAM_VALUE | 1 | lim | 5623280874498928640 |
| 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 |
| TERMINATED | 0 | lo->lo_file_name | 1 |
| 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 |
| USER_DATA | 2 | bsize | 0-u32max |
| UNITS | 0 | lo | unit_byte |
| LOCK2 | 0 | &lo->lo_mutex | |
| LOCK2 | 0 | &lo->lo_queue->limits_lock | |
| TYPE_LOCK | (struct loop_device)->lo_mutex | ||
| TYPE_LOCK | (struct request_queue)->limits_lock |
drivers/block/loop.c loop_set_block_size() -> loop_update_limits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lo | 4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_device | 4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_device->bd_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_device->bd_mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2712 |
| PARAM_VALUE | 0 | lo->lo_device->bd_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | lo->lo_device->bd_mapping->host->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| PARAM_VALUE | 0 | lo->lo_device->bd_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | lo->lo_device->bd_mapping->nrpages | 0-1 |
| 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.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | lo->lo_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lo->lo_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | lo->lo_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | lo->lo_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_queue->limits_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | lo->lo_queue->limits_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | lo->lo_queue->limits_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | lo->lo_queue->limits_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | lo->lo_state | 1 |
| PARAM_VALUE | 1 | lim | 66166362053496832 |
| BUF_SIZE | 0 | lo | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | lo | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &lo->lo_mutex | 1 |
| DATA_SOURCE | 0 | lo | $0 |
| DATA_SOURCE | 2 | bsize | $3 |
| PARAM_COMPARE | 2 | bsize | != $0->lo_queue->limits.logical_block_size |
| NOCHECK_CALL | |||
| USER_DATA | 2 | bsize | 0-u32max |
| UNITS | 0 | lo | unit_byte |
| UNITS | 2 | bsize | unit_byte |
| LOCK2 | 0 | &lo->lo_mutex | |
| LOCK2 | 0 | &lo->lo_queue->limits_lock | |
| TYPE_LOCK | (struct loop_device)->lo_mutex | ||
| TYPE_LOCK | (struct request_queue)->limits_lock |