Defined in 2 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/hwmon/it87.c it87_temp_is_visible() -> get_temp_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0-306783378 |
| BUF_SIZE | 0 | src | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | src | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | src | unit_byte |
drivers/hwmon/it87.c show_temp_type() -> get_temp_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src | 4096-ptr_max |
| BUF_SIZE | 0 | src | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | src | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | src | r it87_update_device |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | index | unit_array_size |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/nct6683.c nct6683_temp_is_visible() -> get_temp_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src | 0-95 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hwmon/nct6683.c show_temp_type() -> get_temp_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src | 0-95 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |