Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/hwmon/pmbus/pmbus_core.c pmbus_add_sensor_attrs() -> pmbus_add_sensor_attrs_one()
| 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->debugfs->d_children.first | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->debugfs->d_sb | 4096-ptr_max |
| 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->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | client->adapter->lock_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | client->debugfs | 4096-u64max |
| PARAM_VALUE | 0 | client->debugfs->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | client->debugfs->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | client->debugfs->d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 0 | client->debugfs->d_op->d_dname | 0,716233247738060800,2056107418359259136,2102941272419614720,3721061892745007104,5585410052597575680,6720345164634435584,7931586599356526592 |
| PARAM_VALUE | 0 | client->debugfs->d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | client->debugfs->d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | client->debugfs->d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | client->debugfs->d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | client->debugfs->d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | client->debugfs->d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 0 | client->debugfs->d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 0 | client->debugfs->d_op->d_weak_revalidate | 0,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 0 | client->debugfs->d_parent->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | client->debugfs->d_parent->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | client->debugfs->d_parent->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | client->debugfs->d_parent->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | client->debugfs->d_parent->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | client->debugfs->d_sb->__s_d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 0 | client->debugfs->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | client->debugfs->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | client->debugfs->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | client->debugfs->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | client->debugfs->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | client->debugfs->d_sb->__s_d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 0 | client->debugfs->d_sb->__s_d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 0 | client->debugfs->d_sb->__s_d_op->d_weak_revalidate | 0,5632434648052031488,5669063523602272256,7231033168839651328 |
| 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 | 0 | client->devres_group_id | 4096-ptr_max |
| PARAM_VALUE | 0 | *client->adapter->debugfs->d_children.first->pprev | 1-u64max |
| 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->groups | 1-u64max |
| PARAM_VALUE | 1 | data->has_status_word | 1 |
| PARAM_VALUE | 1 | data->info | 4096-ptr_max |
| PARAM_VALUE | 1 | data->info->func | 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 | info | 4096-ptr_max |
| PARAM_VALUE | 2 | info->func | 4096-ptr_max |
| PARAM_VALUE | 2 | info->groups | 0,4096-ptr_max |
| PARAM_VALUE | 3 | name | 705614506351214592,4184987160019345408,5563882615435505664,7358211294139260928 |
| PARAM_VALUE | 4 | index | 1-s32max |
| PARAM_VALUE | 5 | page | 0-s32max |
| PARAM_VALUE | 6 | phase | 255 |
| PARAM_VALUE | 7 | attr | 2728871270587289600-ptr_max |
| PARAM_VALUE | 7 | attr->limit->sbit | 0-2,4,16,24,32,64,128 |
| BUF_SIZE | 0 | client->debugfs | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | client->dev.platform_data | (-1),16 |
| BUF_SIZE | 0 | client->devres_group_id | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | data | 888 |
| BUF_SIZE | 1 | data->dev | 1616 |
| BUF_SIZE | 3 | name | 3,5-6 |
| BUF_SIZE | 3 | name | 3,5-6 |
| BUF_SIZE | 7 | attr | 96,144,192 |
| BUF_SIZE | 7 | attr | 96,144,192 |
| CAPPED_DATA | 0 | client->debugfs | 1 |
| CAPPED_DATA | 5 | page | 1 |
| DATA_SOURCE | 0 | client | $0 |
| DATA_SOURCE | 1 | data | $1 |
| DATA_SOURCE | 3 | name | $2 |
| DATA_SOURCE | 7 | attr | $3 |
| DATA_SOURCE | 8 | paged | r pmbus_sensor_is_paged |
| FUZZY_MAX | 4 | index | 1 |
| STR_LEN | 0 | client | 2,4-5 |
| STR_LEN | 0 | client | 2,4-5 |
| STR_LEN | 0 | client->name | (-1),19 |
| TERMINATED | 3 | name | 1 |
| MEM_ZERO | 1 | data | |
| MEM_ZERO | 1 | data->groups | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | client->irq | |
| UNITS | 5 | page | unit_array_size |
drivers/hwmon/pmbus/pmbus_core.c pmbus_add_sensor_attrs() -> pmbus_add_sensor_attrs_one()
| 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->debugfs->d_children.first | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->debugfs->d_sb | 4096-ptr_max |
| 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->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | client->adapter->lock_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | client->debugfs | 4096-u64max |
| PARAM_VALUE | 0 | client->debugfs->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | client->debugfs->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | client->debugfs->d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 0 | client->debugfs->d_op->d_dname | 0,716233247738060800,2056107418359259136,2102941272419614720,3721061892745007104,5585410052597575680,6720345164634435584,7931586599356526592 |
| PARAM_VALUE | 0 | client->debugfs->d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | client->debugfs->d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | client->debugfs->d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | client->debugfs->d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | client->debugfs->d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | client->debugfs->d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 0 | client->debugfs->d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 0 | client->debugfs->d_op->d_weak_revalidate | 0,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 0 | client->debugfs->d_parent->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | client->debugfs->d_parent->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | client->debugfs->d_parent->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | client->debugfs->d_parent->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | client->debugfs->d_parent->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | client->debugfs->d_sb->__s_d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 0 | client->debugfs->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | client->debugfs->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | client->debugfs->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | client->debugfs->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | client->debugfs->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | client->debugfs->d_sb->__s_d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 0 | client->debugfs->d_sb->__s_d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 0 | client->debugfs->d_sb->__s_d_op->d_weak_revalidate | 0,5632434648052031488,5669063523602272256,7231033168839651328 |
| 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 | 0 | client->devres_group_id | 4096-ptr_max |
| PARAM_VALUE | 0 | *client->adapter->debugfs->d_children.first->pprev | 1-u64max |
| 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->groups | 1-u64max |
| PARAM_VALUE | 1 | data->has_status_word | 1 |
| PARAM_VALUE | 1 | data->info | 4096-ptr_max |
| PARAM_VALUE | 1 | data->info->func | 4096-ptr_max |
| PARAM_VALUE | 1 | data->info->groups | 0,4096-ptr_max |
| PARAM_VALUE | 1 | data->info->pfunc | 4096-ptr_max |
| PARAM_VALUE | 1 | data->info->phases | 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 | info | 4096-ptr_max |
| PARAM_VALUE | 2 | info->func | 4096-ptr_max |
| PARAM_VALUE | 2 | info->groups | 0,4096-ptr_max |
| PARAM_VALUE | 2 | info->pfunc | 4096-ptr_max |
| PARAM_VALUE | 2 | info->phases | 4096-ptr_max |
| PARAM_VALUE | 3 | name | 705614506351214592,4184987160019345408,5563882615435505664,7358211294139260928 |
| PARAM_VALUE | 4 | index | 1-s32max |
| PARAM_VALUE | 5 | page | 0-s32max |
| PARAM_VALUE | 6 | phase | 0-254 |
| PARAM_VALUE | 7 | attr | 2728871270587289600-ptr_max |
| PARAM_VALUE | 7 | attr->limit->sbit | 0-2,4,16,24,32,64,128 |
| BUF_SIZE | 0 | client->debugfs | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | client->dev.platform_data | (-1),16 |
| BUF_SIZE | 0 | client->devres_group_id | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | data | 888 |
| BUF_SIZE | 1 | data->dev | 1616 |
| BUF_SIZE | 3 | name | 3,5-6 |
| BUF_SIZE | 3 | name | 3,5-6 |
| BUF_SIZE | 7 | attr | 96,144,192 |
| BUF_SIZE | 7 | attr | 96,144,192 |
| CAPPED_DATA | 0 | client->debugfs | 1 |
| CAPPED_DATA | 5 | page | 1 |
| CAPPED_DATA | 6 | phase | 1 |
| DATA_SOURCE | 0 | client | $0 |
| DATA_SOURCE | 1 | data | $1 |
| DATA_SOURCE | 3 | name | $2 |
| DATA_SOURCE | 7 | attr | $3 |
| DATA_SOURCE | 8 | paged | r pmbus_sensor_is_paged |
| FUZZY_MAX | 4 | index | 1 |
| STR_LEN | 0 | client | 2,4-5 |
| STR_LEN | 0 | client | 2,4-5 |
| STR_LEN | 0 | client->name | (-1),19 |
| TERMINATED | 3 | name | 1 |
| MEM_ZERO | 1 | data | |
| MEM_ZERO | 1 | data->groups | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | client->irq | |
| UNITS | 5 | page | unit_array_size |