Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/hwmon/pmbus/pmbus_core.c pmbus_find_attributes() -> pmbus_add_sensor_attrs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->algo | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->algo->functionality | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->mutex->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | client->adapter->lock_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.kobj.sd->__parent | 0 |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | data->currpage | (-1) |
| PARAM_VALUE | 1 | data->currphase | (-1) |
| PARAM_VALUE | 1 | data->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | data->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | data->groups | 1-u64max |
| PARAM_VALUE | 1 | data->has_status_word | 1 |
| PARAM_VALUE | 1 | data->have_pmbus_revision | 1 |
| PARAM_VALUE | 1 | data->info | 4096-ptr_max |
| PARAM_VALUE | 1 | data->info->groups | 0,4096-ptr_max |
| PARAM_VALUE | 1 | data->read_status | 2316503881730301952,2382050755872395264 |
| PARAM_VALUE | 1 | data->update_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | data->update_lock.first_waiter | 0 |
| PARAM_VALUE | 1 | data->update_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | data->update_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 1 | data->update_lock.owner.counter | 0 |
| PARAM_VALUE | 1 | *data->exponent | s32min-s32max |
| PARAM_VALUE | 2 | name | 705614506351214592 |
| PARAM_VALUE | 3 | attrs | 2728871270587289600 |
| PARAM_VALUE | 4 | nattrs | 4 |
| BUF_SIZE | 1 | data | 888 |
| BUF_SIZE | 1 | data->dev | 1616 |
| BUF_SIZE | 2 | name | 3 |
| BUF_SIZE | 3 | attrs | 192 |
| DATA_SOURCE | 0 | client | $0 |
| DATA_SOURCE | 1 | data | $1 |
| STR_LEN | 0 | client | 2 |
| TERMINATED | 2 | name | 1 |
| MEM_ZERO | 1 | data | |
| MEM_ZERO | 1 | data->groups | |
| UNITS | 4 | nattrs | unit_array_size |
drivers/hwmon/pmbus/pmbus_core.c pmbus_find_attributes() -> pmbus_add_sensor_attrs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->algo | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->algo->functionality | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->mutex->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | client->adapter->lock_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.kobj.sd->__parent | 0 |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | data->currpage | (-1) |
| PARAM_VALUE | 1 | data->currphase | (-1) |
| PARAM_VALUE | 1 | data->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | data->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | data->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | data->dev->devres_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | data->groups | 1-u64max |
| PARAM_VALUE | 1 | data->has_status_word | 1 |
| PARAM_VALUE | 1 | data->have_pmbus_revision | 1 |
| PARAM_VALUE | 1 | data->info | 4096-ptr_max |
| PARAM_VALUE | 1 | data->info->groups | 0 |
| PARAM_VALUE | 1 | data->read_status | 2316503881730301952,2382050755872395264 |
| PARAM_VALUE | 1 | data->sensors | 4096-ptr_max |
| PARAM_VALUE | 1 | data->sensors->attribute.attr.key | 0 |
| PARAM_VALUE | 1 | data->sensors->attribute.attr.mode | 0 |
| PARAM_VALUE | 1 | data->sensors->attribute.attr.name | 0 |
| PARAM_VALUE | 1 | data->sensors->attribute.show | 1207268999148228608,6327081207716843520 |
| PARAM_VALUE | 1 | data->sensors->attribute.show_const | 1207268999148228608,6327081207716843520 |
| PARAM_VALUE | 1 | data->sensors->attribute.store | 3003613535047811072 |
| PARAM_VALUE | 1 | data->sensors->attribute.store_const | 3003613535047811072 |
| PARAM_VALUE | 1 | data->sensors->data | (-61) |
| PARAM_VALUE | 1 | data->sensors->next | 0,4096-ptr_max |
| PARAM_VALUE | 1 | data->update_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | data->update_lock.first_waiter | 0 |
| PARAM_VALUE | 1 | data->update_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | data->update_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 1 | data->update_lock.owner.counter | 0 |
| PARAM_VALUE | 1 | *data->exponent | s32min-s32max |
| PARAM_VALUE | 2 | name | 4184987160019345408 |
| PARAM_VALUE | 3 | attrs | 3244974128477261824 |
| PARAM_VALUE | 4 | nattrs | 2 |
| BUF_SIZE | 1 | data | 888 |
| BUF_SIZE | 1 | data->dev | 1616 |
| BUF_SIZE | 2 | name | 5 |
| BUF_SIZE | 3 | attrs | 96 |
| DATA_SOURCE | 0 | client | $0 |
| DATA_SOURCE | 1 | data | $1 |
| STR_LEN | 0 | client | 4 |
| TERMINATED | 2 | name | 1 |
| MEM_ZERO | 1 | data | |
| MEM_ZERO | 1 | data->groups | |
| MEM_ZERO | 1 | data->info | |
| UNITS | 4 | nattrs | unit_array_size |
drivers/hwmon/pmbus/pmbus_core.c pmbus_find_attributes() -> pmbus_add_sensor_attrs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->algo | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->algo->functionality | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->mutex->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | client->adapter->lock_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.kobj.sd->__parent | 0 |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | data->currpage | (-1) |
| PARAM_VALUE | 1 | data->currphase | (-1) |
| PARAM_VALUE | 1 | data->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | data->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | data->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | data->dev->devres_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | data->groups | 1-u64max |
| PARAM_VALUE | 1 | data->has_status_word | 1 |
| PARAM_VALUE | 1 | data->have_pmbus_revision | 1 |
| PARAM_VALUE | 1 | data->info | 4096-ptr_max |
| PARAM_VALUE | 1 | data->info->groups | 0 |
| PARAM_VALUE | 1 | data->read_status | 2316503881730301952,2382050755872395264 |
| PARAM_VALUE | 1 | data->sensors | 4096-ptr_max |
| PARAM_VALUE | 1 | data->sensors->attribute.attr.key | 0 |
| PARAM_VALUE | 1 | data->sensors->attribute.attr.mode | 0 |
| PARAM_VALUE | 1 | data->sensors->attribute.attr.name | 0 |
| PARAM_VALUE | 1 | data->sensors->attribute.show | 1207268999148228608,6327081207716843520 |
| PARAM_VALUE | 1 | data->sensors->attribute.show_const | 1207268999148228608,6327081207716843520 |
| PARAM_VALUE | 1 | data->sensors->attribute.store | 3003613535047811072 |
| PARAM_VALUE | 1 | data->sensors->attribute.store_const | 3003613535047811072 |
| PARAM_VALUE | 1 | data->update_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | data->update_lock.first_waiter | 0 |
| PARAM_VALUE | 1 | data->update_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | data->update_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 1 | data->update_lock.owner.counter | 0 |
| PARAM_VALUE | 1 | *data->exponent | s32min-s32max |
| PARAM_VALUE | 2 | name | 7358211294139260928 |
| PARAM_VALUE | 3 | attrs | 5692390625441296384 |
| PARAM_VALUE | 4 | nattrs | 2 |
| BUF_SIZE | 1 | data | 888 |
| BUF_SIZE | 1 | data->dev | 1616 |
| BUF_SIZE | 2 | name | 6 |
| BUF_SIZE | 3 | attrs | 96 |
| DATA_SOURCE | 0 | client | $0 |
| DATA_SOURCE | 1 | data | $1 |
| STR_LEN | 0 | client | 5 |
| TERMINATED | 2 | name | 1 |
| MEM_ZERO | 1 | data | |
| MEM_ZERO | 1 | data->groups | |
| MEM_ZERO | 1 | data->info | |
| UNITS | 4 | nattrs | unit_array_size |
drivers/hwmon/pmbus/pmbus_core.c pmbus_find_attributes() -> pmbus_add_sensor_attrs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->algo | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->algo->functionality | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->mutex->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | client->adapter->lock_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.kobj.sd->__parent | 0 |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | data->currpage | (-1) |
| PARAM_VALUE | 1 | data->currphase | (-1) |
| PARAM_VALUE | 1 | data->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | data->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | data->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | data->dev->devres_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | data->groups | 1-u64max |
| PARAM_VALUE | 1 | data->has_status_word | 1 |
| PARAM_VALUE | 1 | data->have_pmbus_revision | 1 |
| PARAM_VALUE | 1 | data->info | 4096-ptr_max |
| PARAM_VALUE | 1 | data->info->groups | 0 |
| PARAM_VALUE | 1 | data->read_status | 2316503881730301952,2382050755872395264 |
| PARAM_VALUE | 1 | data->sensors | 4096-ptr_max |
| PARAM_VALUE | 1 | data->sensors->attribute.attr.key | 0 |
| PARAM_VALUE | 1 | data->sensors->attribute.attr.mode | 0 |
| PARAM_VALUE | 1 | data->sensors->attribute.attr.name | 0 |
| PARAM_VALUE | 1 | data->sensors->attribute.show | 1207268999148228608,6327081207716843520 |
| PARAM_VALUE | 1 | data->sensors->attribute.show_const | 1207268999148228608,6327081207716843520 |
| PARAM_VALUE | 1 | data->sensors->attribute.store | 3003613535047811072 |
| PARAM_VALUE | 1 | data->sensors->attribute.store_const | 3003613535047811072 |
| PARAM_VALUE | 1 | data->update_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | data->update_lock.first_waiter | 0 |
| PARAM_VALUE | 1 | data->update_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | data->update_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 1 | data->update_lock.owner.counter | 0 |
| PARAM_VALUE | 1 | *data->exponent | s32min-s32max |
| PARAM_VALUE | 2 | name | 5563882615435505664 |
| PARAM_VALUE | 3 | attrs | 3371381402093572096 |
| PARAM_VALUE | 4 | nattrs | 3 |
| BUF_SIZE | 1 | data | 888 |
| BUF_SIZE | 1 | data->dev | 1616 |
| BUF_SIZE | 2 | name | 5 |
| BUF_SIZE | 3 | attrs | 144 |
| DATA_SOURCE | 0 | client | $0 |
| DATA_SOURCE | 1 | data | $1 |
| STR_LEN | 0 | client | 4 |
| TERMINATED | 2 | name | 1 |
| MEM_ZERO | 1 | data | |
| MEM_ZERO | 1 | data->groups | |
| MEM_ZERO | 1 | data->info | |
| UNITS | 4 | nattrs | unit_array_size |