Defined in 2 files as a function:
- drivers/power/supply/max1721x_battery.c, line 226 (as a function)
- drivers/usb/gadget/composite.c, line 1245 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/power/supply/max1721x_battery.c devm_w1_max1721x_add_device() -> get_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 0 | info->ManufacturerName | 0 |
| PARAM_VALUE | 0 | info->bat_desc.get_property | 5719761188762312704 |
| PARAM_VALUE | 0 | info->bat_desc.name | 0 |
| PARAM_VALUE | 0 | info->bat_desc.no_thermal | 1 |
| PARAM_VALUE | 0 | info->bat_desc.num_properties | 13 |
| PARAM_VALUE | 0 | info->bat_desc.properties | 7986313799458316288 |
| PARAM_VALUE | 0 | info->bat_desc.type | 1 |
| PARAM_VALUE | 0 | info->name | 0 |
| PARAM_VALUE | 0 | info->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | info->regmap->lock | 4096-ptr_max |
| PARAM_VALUE | 0 | info->regmap->unlock | 4096-ptr_max |
| PARAM_VALUE | 0 | info->rsense | 1-u32max |
| PARAM_VALUE | 0 | info->w1_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | info->w1_dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | info->w1_dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | info->w1_dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | info->w1_dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | info->w1_dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | info->w1_dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *info->name | 0-127 |
| PARAM_VALUE | 0 | *info->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | reg | 460 |
| PARAM_VALUE | 2 | nr | 3 |
| PARAM_VALUE | 3 | str | 0 |
| BUF_SIZE | 0 | info | 184 |
| BUF_SIZE | 0 | info->bat_desc.properties | 52 |
| BUF_SIZE | 0 | info->w1_dev | 1616 |
| BUF_SIZE | 3 | str | 7 |
| DATA_SOURCE | 0 | info | r devm_kzalloc |
| FUZZY_MAX | 0 | info->rsense | 1000 |
| STR_LEN | 0 | info->bat_desc.name | 31 |
| STR_LEN | 0 | info->name | 31 |
| MEM_ZERO | 0 | info | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | info->name | |
| LOCK2 | &dev->mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &w1_mlock | ||
| TYPE_LOCK | (struct w1_master)->mutex |
drivers/power/supply/max1721x_battery.c devm_w1_max1721x_add_device() -> get_string()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 0 | info->DeviceName | 0 |
| PARAM_VALUE | 0 | info->bat_desc.get_property | 5719761188762312704 |
| PARAM_VALUE | 0 | info->bat_desc.name | 0 |
| PARAM_VALUE | 0 | info->bat_desc.no_thermal | 1 |
| PARAM_VALUE | 0 | info->bat_desc.num_properties | 13 |
| PARAM_VALUE | 0 | info->bat_desc.properties | 7986313799458316288 |
| PARAM_VALUE | 0 | info->bat_desc.type | 1 |
| PARAM_VALUE | 0 | info->name | 0 |
| PARAM_VALUE | 0 | info->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | info->regmap->lock | 4096-ptr_max |
| PARAM_VALUE | 0 | info->regmap->unlock | 4096-ptr_max |
| PARAM_VALUE | 0 | info->rsense | 1-u32max |
| PARAM_VALUE | 0 | info->w1_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | info->w1_dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | info->w1_dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | info->w1_dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | info->w1_dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | info->w1_dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | info->w1_dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *info->name | 0-127 |
| PARAM_VALUE | 0 | *info->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | reg | 475 |
| PARAM_VALUE | 2 | nr | 5 |
| PARAM_VALUE | 3 | str | 0 |
| BUF_SIZE | 0 | info | 184 |
| BUF_SIZE | 0 | info->bat_desc.properties | 52 |
| BUF_SIZE | 0 | info->w1_dev | 1616 |
| BUF_SIZE | 3 | str | 11 |
| DATA_SOURCE | 0 | info | r devm_kzalloc |
| FUZZY_MAX | 0 | info->rsense | 1000 |
| STR_LEN | 0 | info->bat_desc.name | 31 |
| STR_LEN | 0 | info->name | 31 |
| MEM_ZERO | 0 | info | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | info->name | |
| LOCK2 | &dev->mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &w1_mlock | ||
| TYPE_LOCK | (struct w1_master)->mutex |