Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/platform/x86/lenovo/thinkpad_acpi.c tpacpi_battery_get() -> tpacpi_battery_acpi_eval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | method | 257131143081316352 |
| PARAM_VALUE | 1 | *ret | s32min-(-2),0-254 |
| PARAM_VALUE | 2 | param | 1-2 |
| BUF_SIZE | 0 | method | 5 |
| CAPPED_DATA | 2 | param | 1 |
| DATA_SOURCE | 1 | ret | $2 |
| DATA_SOURCE | 2 | param | $1 |
| STR_LEN | 0 | method | 4 |
| TERMINATED | 0 | method | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &hook_mutex |
drivers/platform/x86/lenovo/thinkpad_acpi.c tpacpi_battery_get() -> tpacpi_battery_acpi_eval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | method | 2411995411386449920 |
| PARAM_VALUE | 1 | ret | 4096-ptr_max |
| PARAM_VALUE | 1 | *ret | s32min-(-2),0-254 |
| PARAM_VALUE | 2 | param | 1-2 |
| BUF_SIZE | 0 | method | 5 |
| CAPPED_DATA | 2 | param | 1 |
| DATA_SOURCE | 1 | ret | $2 |
| DATA_SOURCE | 2 | param | $1 |
| STR_LEN | 0 | method | 4 |
| TERMINATED | 0 | method | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &hook_mutex |
drivers/platform/x86/lenovo/thinkpad_acpi.c tpacpi_battery_get() -> tpacpi_battery_acpi_eval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | method | 7431507677690408960 |
| PARAM_VALUE | 1 | ret | 3753436792515780608,8196798394269757440 |
| PARAM_VALUE | 1 | *ret | s32min-(-2),0-254 |
| PARAM_VALUE | 2 | param | 1-2 |
| BUF_SIZE | 0 | method | 5 |
| CAPPED_DATA | 2 | param | 1 |
| DATA_SOURCE | 1 | ret | $2 |
| DATA_SOURCE | 2 | param | $1 |
| STR_LEN | 0 | method | 4 |
| TERMINATED | 0 | method | 1 |
| 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_battery_get() -> tpacpi_battery_acpi_eval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | method | 856089115720069120 |
| PARAM_VALUE | 1 | ret | 3753436792515780608,8196798394269757440 |
| PARAM_VALUE | 1 | *ret | s32min-(-2),0-254 |
| PARAM_VALUE | 2 | param | 1-2 |
| BUF_SIZE | 0 | method | 5 |
| CAPPED_DATA | 2 | param | 1 |
| DATA_SOURCE | 1 | ret | $2 |
| DATA_SOURCE | 2 | param | $1 |
| STR_LEN | 0 | method | 4 |
| TERMINATED | 0 | method | 1 |
| 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_battery_probe() -> tpacpi_battery_acpi_eval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | method | 257131143081316352 |
| PARAM_VALUE | 1 | ret | 7574392722126151680 |
| PARAM_VALUE | 1 | *ret | 0 |
| PARAM_VALUE | 2 | param | 1-2 |
| BUF_SIZE | 0 | method | 5 |
| DATA_SOURCE | 2 | param | $0 |
| STR_LEN | 0 | method | 4 |
| TERMINATED | 0 | method | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &hook_mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/platform/x86/lenovo/thinkpad_acpi.c tpacpi_battery_probe() -> tpacpi_battery_acpi_eval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | method | 2411995411386449920 |
| PARAM_VALUE | 1 | ret | 7574392722126151680 |
| PARAM_VALUE | 1 | *ret | s32min-(-2),0 |
| PARAM_VALUE | 2 | param | 1-2 |
| BUF_SIZE | 0 | method | 5 |
| DATA_SOURCE | 2 | param | $0 |
| STR_LEN | 0 | method | 4 |
| TERMINATED | 0 | method | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &hook_mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/platform/x86/lenovo/thinkpad_acpi.c tpacpi_battery_probe() -> tpacpi_battery_acpi_eval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | method | 7431507677690408960 |
| PARAM_VALUE | 1 | ret | 7574392722126151680 |
| PARAM_VALUE | 1 | *ret | s32min-(-2),0 |
| PARAM_VALUE | 2 | param | 1-2 |
| BUF_SIZE | 0 | method | 5 |
| DATA_SOURCE | 2 | param | $0 |
| STR_LEN | 0 | method | 4 |
| TERMINATED | 0 | method | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &hook_mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/platform/x86/lenovo/thinkpad_acpi.c tpacpi_battery_probe() -> tpacpi_battery_acpi_eval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | method | 856089115720069120 |
| PARAM_VALUE | 1 | ret | 7574392722126151680 |
| PARAM_VALUE | 1 | *ret | s32min-(-2),0 |
| PARAM_VALUE | 2 | param | 1-2 |
| BUF_SIZE | 0 | method | 5 |
| DATA_SOURCE | 2 | param | $0 |
| STR_LEN | 0 | method | 4 |
| TERMINATED | 0 | method | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &hook_mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/platform/x86/lenovo/thinkpad_acpi.c tpacpi_battery_set() -> tpacpi_battery_acpi_eval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | method | 5129721324576010240 |
| PARAM_VALUE | 1 | ret | 1170753813047463936 |
| PARAM_VALUE | 2 | param | 0-1023 |
| BUF_SIZE | 0 | method | 5 |
| STR_LEN | 0 | method | 4 |
| BIT_INFO | 2 | param | 0x0,0x37f |
| TERMINATED | 0 | method | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | param | 0-1023[c] |
| NO_OVERFLOW_SIMPLE | 2 | param | |
| 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_battery_set() -> tpacpi_battery_acpi_eval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | method | 2594652227980197888 |
| PARAM_VALUE | 1 | ret | 1170753813047463936 |
| PARAM_VALUE | 2 | param | 0-1023 |
| BUF_SIZE | 0 | method | 5 |
| STR_LEN | 0 | method | 4 |
| BIT_INFO | 2 | param | 0x0,0x37f |
| TERMINATED | 0 | method | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | param | 0-1023[c] |
| NO_OVERFLOW_SIMPLE | 2 | param | |
| 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_battery_set() -> tpacpi_battery_acpi_eval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | method | 2787044683844419584 |
| PARAM_VALUE | 1 | ret | 1170753813047463936 |
| PARAM_VALUE | 2 | param | 0-1023 |
| BUF_SIZE | 0 | method | 5 |
| STR_LEN | 0 | method | 4 |
| BIT_INFO | 2 | param | 0x0,0x37f |
| TERMINATED | 0 | method | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | param | 0-1023[c] |
| NO_OVERFLOW_SIMPLE | 2 | param | |
| 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_battery_set() -> tpacpi_battery_acpi_eval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | method | 3734673044750405632 |
| PARAM_VALUE | 1 | ret | 1170753813047463936 |
| PARAM_VALUE | 2 | param | 16776960-16777023 |
| BUF_SIZE | 0 | method | 5 |
| STR_LEN | 0 | method | 4 |
| BIT_INFO | 2 | param | 0xffff00,0xffff31 |
| TERMINATED | 0 | method | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | param | |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |