Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/platform/x86/lenovo/thinkpad_acpi.c tpacpi_rfk_hook_set_block() -> tpacpi_rfk_update_swstate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp_rfk | 4096-ptr_max |
| PARAM_VALUE | 0 | tp_rfk->ops | 4096-ptr_max |
| BUF_SIZE | 0 | tp_rfk | 1-s32max |
| BUF_SIZE | 0 | tp_rfk | 1-s32max |
| DATA_SOURCE | 0 | tp_rfk | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &rfkill_global_mutex |
drivers/platform/x86/lenovo/thinkpad_acpi.c tpacpi_rfk_procfs_read() -> tpacpi_rfk_update_swstate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/platform/x86/lenovo/thinkpad_acpi.c tpacpi_rfk_procfs_write() -> tpacpi_rfk_update_swstate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp_rfk | 4096-ptr_max |
| PARAM_VALUE | 0 | tp_rfk->ops | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/platform/x86/lenovo/thinkpad_acpi.c tpacpi_rfk_sysfs_enable_show() -> tpacpi_rfk_update_swstate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/lenovo/thinkpad_acpi.c tpacpi_rfk_sysfs_enable_store() -> tpacpi_rfk_update_swstate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp_rfk | 4096-ptr_max |
| PARAM_VALUE | 0 | tp_rfk->ops | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |