Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/platform/chrome/chromeos_acpi.c chromeos_attr_show_gpio_0() -> chromeos_acpi_evaluate_method()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pkg_num | 0 |
| PARAM_VALUE | 3 | name | 4195285335226011648 |
| PARAM_VALUE | 4 | buf | 1-u64max |
| BUF_SIZE | 3 | name | 5 |
| CAPPED_DATA | 4 | buf | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 4 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | sub_pkg_num | s32min-s32max |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/chrome/chromeos_acpi.c chromeos_attr_show_gpio_1() -> chromeos_acpi_evaluate_method()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pkg_num | 1 |
| PARAM_VALUE | 3 | name | 8859599472825597952 |
| PARAM_VALUE | 4 | buf | 1-u64max |
| BUF_SIZE | 3 | name | 5 |
| CAPPED_DATA | 4 | buf | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 4 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | sub_pkg_num | s32min-s32max |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/chrome/chromeos_acpi.c chromeos_attr_show_gpio_2() -> chromeos_acpi_evaluate_method()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pkg_num | 2 |
| PARAM_VALUE | 3 | name | 9210361328767168512 |
| PARAM_VALUE | 4 | buf | 1-u64max |
| BUF_SIZE | 3 | name | 5 |
| CAPPED_DATA | 4 | buf | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 4 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | sub_pkg_num | s32min-s32max |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/chrome/chromeos_acpi.c chromeos_attr_show_gpio_3() -> chromeos_acpi_evaluate_method()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pkg_num | 3 |
| PARAM_VALUE | 3 | name | 661419597928603648 |
| PARAM_VALUE | 4 | buf | 1-u64max |
| BUF_SIZE | 3 | name | 5 |
| CAPPED_DATA | 4 | buf | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 4 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | sub_pkg_num | s32min-s32max |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/chrome/chromeos_acpi.c chromeos_attr_show_gpio_4() -> chromeos_acpi_evaluate_method()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pkg_num | 4 |
| PARAM_VALUE | 3 | name | 5752652675380305920 |
| PARAM_VALUE | 4 | buf | 1-u64max |
| BUF_SIZE | 3 | name | 5 |
| CAPPED_DATA | 4 | buf | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 4 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | sub_pkg_num | s32min-s32max |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/chrome/chromeos_acpi.c chromeos_attr_show_gpio_5() -> chromeos_acpi_evaluate_method()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pkg_num | 5 |
| PARAM_VALUE | 3 | name | 6040379836722724864 |
| PARAM_VALUE | 4 | buf | 1-u64max |
| BUF_SIZE | 3 | name | 5 |
| CAPPED_DATA | 4 | buf | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 4 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | sub_pkg_num | s32min-s32max |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/chrome/chromeos_acpi.c chromeos_attr_show_gpio_6() -> chromeos_acpi_evaluate_method()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pkg_num | 6 |
| PARAM_VALUE | 3 | name | 3167962007083143168 |
| PARAM_VALUE | 4 | buf | 1-u64max |
| BUF_SIZE | 3 | name | 5 |
| CAPPED_DATA | 4 | buf | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 4 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | sub_pkg_num | s32min-s32max |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/chrome/chromeos_acpi.c chromeos_attr_show_gpio_7() -> chromeos_acpi_evaluate_method()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pkg_num | 7 |
| PARAM_VALUE | 3 | name | 8569619287815790592 |
| PARAM_VALUE | 4 | buf | 1-u64max |
| BUF_SIZE | 3 | name | 5 |
| CAPPED_DATA | 4 | buf | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 4 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | sub_pkg_num | s32min-s32max |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/chrome/chromeos_acpi.c chromeos_first_level_attr_show() -> chromeos_acpi_evaluate_method()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | sub_pkg_num | 0 |
| PARAM_VALUE | 3 | name | 7261343299102298112 |
| PARAM_VALUE | 4 | buf | 1-u64max |
| BUF_SIZE | 3 | name | 5 |
| CAPPED_DATA | 4 | buf | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 4 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | pkg_num | s32min-s32max |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |