Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/hwmon/dme1737.c dme1737_chmod_group() -> dme1737_chmod_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data->client->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->driver_data->client->adapter->bus_lock.rtmutex.owner | 0-1 |
| PARAM_VALUE | 0 | dev->driver_data->config | 0-255 |
| PARAM_VALUE | 0 | dev->driver_data->config2 | 0-255 |
| PARAM_VALUE | 0 | dev->driver_data->has_features | 0-4294967295 |
| PARAM_VALUE | 0 | dev->driver_data->in_nominal | 1026639637522165760,1241688778221010944,3571812544533356544,5890278083812257792 |
| PARAM_VALUE | 0 | dev->driver_data->vrm | 0-133,135-255 |
| PARAM_VALUE | 0 | dev->kobj.sd | 1-u64max |
| PARAM_VALUE | 0 | *dev->driver_data->in_nominal | 2500,5000 |
| PARAM_VALUE | 0 | *dev->driver_data->pwm_config | 0-255 |
| PARAM_VALUE | 1 | attr | 1-u64max |
| PARAM_VALUE | 2 | mode | 420 |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 2 | mode | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/hwmon/dme1737.c dme1737_create_files() -> dme1737_chmod_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data->client->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->driver_data->client->adapter->dev.parent->devt | 0-4294967295 |
| PARAM_VALUE | 0 | dev->driver_data->client->adapter->dev.parent->dma_uses_io_tlb | 0-1 |
| PARAM_VALUE | 0 | dev->driver_data->client->adapter->dev.parent->id | 0-4294967295 |
| PARAM_VALUE | 0 | dev->driver_data->client->adapter->dev.parent->kobj.kref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->driver_data->client->adapter->dev.parent->kobj.release.cpu | s32min-s32max |
| PARAM_VALUE | 0 | dev->driver_data->client->adapter->dev.parent->kobj.release.timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | dev->driver_data->client->adapter->dev.parent->kobj.state_add_uevent_sent | 0-1 |
| PARAM_VALUE | 0 | dev->driver_data->client->adapter->dev.parent->kobj.state_in_sysfs | 0-1 |
| PARAM_VALUE | 0 | dev->driver_data->client->adapter->dev.parent->kobj.state_initialized | 0-1 |
| PARAM_VALUE | 0 | dev->driver_data->client->adapter->dev.parent->kobj.state_remove_uevent_sent | 0-1 |
| PARAM_VALUE | 0 | dev->driver_data->client->adapter->dev.parent->kobj.uevent_suppress | 0-1 |
| PARAM_VALUE | 0 | dev->driver_data->client->adapter->dev.parent->links.status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->driver_data->client->adapter->dev.parent->numa_node | s32min-s32max |
| PARAM_VALUE | 0 | dev->driver_data->client->adapter->dev.parent->removable | 0-4294967295 |
| PARAM_VALUE | 0 | dev->driver_data->config | 0-255 |
| PARAM_VALUE | 0 | dev->driver_data->config2 | 0-255 |
| PARAM_VALUE | 0 | dev->driver_data->has_features | 0-4294967295 |
| PARAM_VALUE | 0 | dev->driver_data->in_nominal | 1026639637522165760,1241688778221010944,3571812544533356544,5890278083812257792 |
| PARAM_VALUE | 0 | dev->driver_data->vrm | 0-133,135-255 |
| PARAM_VALUE | 0 | dev->kobj.sd | 1-u64max |
| PARAM_VALUE | 0 | dev->kobj.sd->__parent | 0 |
| PARAM_VALUE | 0 | *dev->driver_data->in_nominal | 2500,5000 |
| PARAM_VALUE | 0 | *dev->driver_data->pwm_config | 0-255 |
| PARAM_VALUE | 2 | mode | 420 |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/hwmon/dme1737.c dme1737_create_files() -> dme1737_chmod_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data->client->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->driver_data->client->adapter->dev.parent->devt | 0-4294967295 |
| PARAM_VALUE | 0 | dev->driver_data->client->adapter->dev.parent->dma_uses_io_tlb | 0-1 |
| PARAM_VALUE | 0 | dev->driver_data->client->adapter->dev.parent->id | 0-4294967295 |
| PARAM_VALUE | 0 | dev->driver_data->client->adapter->dev.parent->kobj.kref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->driver_data->client->adapter->dev.parent->kobj.release.cpu | s32min-s32max |
| PARAM_VALUE | 0 | dev->driver_data->client->adapter->dev.parent->kobj.release.timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | dev->driver_data->client->adapter->dev.parent->kobj.state_add_uevent_sent | 0-1 |
| PARAM_VALUE | 0 | dev->driver_data->client->adapter->dev.parent->kobj.state_in_sysfs | 0-1 |
| PARAM_VALUE | 0 | dev->driver_data->client->adapter->dev.parent->kobj.state_initialized | 0-1 |
| PARAM_VALUE | 0 | dev->driver_data->client->adapter->dev.parent->kobj.state_remove_uevent_sent | 0-1 |
| PARAM_VALUE | 0 | dev->driver_data->client->adapter->dev.parent->kobj.uevent_suppress | 0-1 |
| PARAM_VALUE | 0 | dev->driver_data->client->adapter->dev.parent->links.status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->driver_data->client->adapter->dev.parent->numa_node | s32min-s32max |
| PARAM_VALUE | 0 | dev->driver_data->client->adapter->dev.parent->removable | 0-4294967295 |
| PARAM_VALUE | 0 | dev->driver_data->config | 0-255 |
| PARAM_VALUE | 0 | dev->driver_data->config2 | 0-255 |
| PARAM_VALUE | 0 | dev->driver_data->has_features | 0-4294967295 |
| PARAM_VALUE | 0 | dev->driver_data->in_nominal | 1026639637522165760,1241688778221010944,3571812544533356544,5890278083812257792 |
| PARAM_VALUE | 0 | dev->driver_data->vrm | 0-133,135-255 |
| PARAM_VALUE | 0 | dev->kobj.sd | 1-u64max |
| PARAM_VALUE | 0 | dev->kobj.sd->__parent | 0 |
| PARAM_VALUE | 0 | *dev->driver_data->in_nominal | 2500,5000 |
| PARAM_VALUE | 0 | *dev->driver_data->pwm_config | 0-255 |
| PARAM_VALUE | 2 | mode | 420 |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/hwmon/dme1737.c set_pwm() -> dme1737_chmod_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | mode | 292 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &data->update_lock | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dme1737_data)->update_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/dme1737.c set_pwm() -> dme1737_chmod_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | mode | 420 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &data->update_lock | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dme1737_data)->update_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/dme1737.c set_pwm() -> dme1737_chmod_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | mode | 292 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &data->update_lock | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dme1737_data)->update_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |