Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hwmon/applesmc.c applesmc_device_init() -> applesmc_read_key()

Type Parameter Key Value
PARAM_VALUE 0 key 7878089895836491776
PARAM_VALUE 1 buffer 6354024019346751488
PARAM_VALUE 2 len 2
BUF_SIZE 0 key 5
BUF_SIZE 1 buffer 2
STR_LEN 0 key 4
TERMINATED 0 key 1
RX_PATH
TASK_NOT_RUNNING

drivers/hwmon/applesmc.c applesmc_hwmon_read() -> applesmc_read_key()

Type Parameter Key Value
PARAM_VALUE 0 key 4133321886476967936
PARAM_VALUE 1 buffer 6222933708781096960
PARAM_VALUE 2 len 2
BUF_SIZE 0 key 5
BUF_SIZE 1 buffer 2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/applesmc.c applesmc_hwmon_read() -> applesmc_read_key()

Type Parameter Key Value
PARAM_VALUE 0 key 4133321886476967936
PARAM_VALUE 1 buffer 6222933708781096960
PARAM_VALUE 2 len 2
BUF_SIZE 0 key 5
BUF_SIZE 1 buffer 2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/applesmc.c applesmc_hwmon_read() -> applesmc_read_key()

Type Parameter Key Value
PARAM_VALUE 0 key 4133321886476967936
PARAM_VALUE 1 buffer 6222933708781096960
PARAM_VALUE 2 len 2
BUF_SIZE 0 key 5
BUF_SIZE 1 buffer 2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/applesmc.c applesmc_hwmon_read() -> applesmc_read_key()

Type Parameter Key Value
PARAM_VALUE 0 key 4133321886476967936
PARAM_VALUE 1 buffer 6222933708781096960
PARAM_VALUE 2 len 2
BUF_SIZE 0 key 5
BUF_SIZE 1 buffer 2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/applesmc.c applesmc_hwmon_read() -> applesmc_read_key()

Type Parameter Key Value
PARAM_VALUE 0 key 3853940516187439104
PARAM_VALUE 1 buffer 6222933708781096960
PARAM_VALUE 2 len 2
BUF_SIZE 0 key 5
BUF_SIZE 1 buffer 2
STR_LEN 0 key 4
TERMINATED 0 key 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/applesmc.c applesmc_init_smcreg_try() -> applesmc_read_key()

Type Parameter Key Value
PARAM_VALUE 0 key 3469779208467628032
PARAM_VALUE 1 buffer 3234280504853061632
PARAM_VALUE 2 len 1
BUF_SIZE 0 key 5
STR_LEN 0 key 4
TERMINATED 0 key 1
RX_PATH
TASK_NOT_RUNNING

drivers/hwmon/applesmc.c applesmc_init_smcreg_try() -> applesmc_read_key()

Type Parameter Key Value
PARAM_VALUE 0 key 7119249535831048192
PARAM_VALUE 2 len 16
BUF_SIZE 0 key 5
BUF_SIZE 1 buffer 17
RX_PATH
TASK_NOT_RUNNING

drivers/hwmon/applesmc.c applesmc_key_count_show() -> applesmc_read_key()

Type Parameter Key Value
PARAM_VALUE 0 key 7744856709186572288
PARAM_VALUE 1 buffer 582789140787679232
PARAM_VALUE 2 len 4
BUF_SIZE 0 key 5
BUF_SIZE 1 buffer 4
STR_LEN 0 key 4
TERMINATED 0 key 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/hwmon/applesmc.c applesmc_light_show() -> applesmc_read_key()

Type Parameter Key Value
PARAM_VALUE 0 key 2333152538707734528
PARAM_VALUE 1 buffer 3768119132741427200
BUF_SIZE 0 key 5
BUF_SIZE 1 buffer 10
STR_LEN 0 key 4
TERMINATED 0 key 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/hwmon/applesmc.c applesmc_light_show() -> applesmc_read_key()

Type Parameter Key Value
PARAM_VALUE 0 key 3802326260363325440
PARAM_VALUE 1 buffer 3768119132741427200
BUF_SIZE 0 key 5
BUF_SIZE 1 buffer 10
CAPPED_DATA 2 len 1
STR_LEN 0 key 4
TERMINATED 0 key 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/hwmon/applesmc.c applesmc_read_s16() -> applesmc_read_key()

Type Parameter Key Value
PARAM_VALUE 1 buffer 4348170948233330688
PARAM_VALUE 2 len 2
BUF_SIZE 0 key (-1),5
BUF_SIZE 0 key (-1),5
BUF_SIZE 1 buffer 2
DATA_SOURCE 0 key $0
STR_LEN 0 key (-1),4
STR_LEN 0 key (-1),4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock

drivers/hwmon/applesmc.c applesmc_show_fan_speed() -> applesmc_read_key()

Type Parameter Key Value
PARAM_VALUE 0 key 2445320234454802432
PARAM_VALUE 1 buffer 4698079473356050432
PARAM_VALUE 2 len 2
BUF_SIZE 0 key 5
BUF_SIZE 1 buffer 2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex