Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/platform/x86/intel/sdsi.c meter_certificate_read() -> certificate_read()

Type Parameter Key Value
PARAM_VALUE 0 command 20
PARAM_VALUE 1 control_flags 0
PARAM_VALUE 3 buf 1-u64max
PARAM_VALUE 5 count 1-4096
BUF_SIZE 2 priv s32min-(-2),1-s32max
BUF_SIZE 2 priv s32min-(-2),1-s32max
CAPPED_DATA 5 count 1
CAPPED_DATA 5 count 1
DATA_SOURCE 3 buf $3
DATA_SOURCE 4 off $4
DATA_SOURCE 5 count $5
PARAM_COMPARE 3 buf == $5
BIT_INFO 5 count 0x0,0x7fffffffffffffff
NOSPEC 4 off
NOSPEC 4 off
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 off 0-4095
USER_DATA 5 count 1-4096[c]
UNITS 2 priv unit_byte
BYTE_COUNT 3 ==buf5 8050
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/x86/intel/sdsi.c meter_current_read() -> certificate_read()

Type Parameter Key Value
PARAM_VALUE 0 command 20
PARAM_VALUE 1 control_flags 8589934592
PARAM_VALUE 3 buf 1-u64max
PARAM_VALUE 5 count 1-4096
BUF_SIZE 2 priv s32min-(-2),1-s32max
BUF_SIZE 2 priv s32min-(-2),1-s32max
CAPPED_DATA 5 count 1
CAPPED_DATA 5 count 1
DATA_SOURCE 3 buf $3
DATA_SOURCE 4 off $4
DATA_SOURCE 5 count $5
PARAM_COMPARE 3 buf == $5
BIT_INFO 5 count 0x0,0x7fffffffffffffff
NOSPEC 4 off
NOSPEC 4 off
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 off 0-4095
USER_DATA 5 count 1-4096[c]
UNITS 2 priv unit_byte
BYTE_COUNT 3 ==buf5 8050
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/platform/x86/intel/sdsi.c state_certificate_read() -> certificate_read()

Type Parameter Key Value
PARAM_VALUE 0 command 16
PARAM_VALUE 1 control_flags 0
PARAM_VALUE 3 buf 1-u64max
PARAM_VALUE 5 count 1-4096
BUF_SIZE 2 priv s32min-(-2),1-s32max
BUF_SIZE 2 priv s32min-(-2),1-s32max
CAPPED_DATA 5 count 1
CAPPED_DATA 5 count 1
DATA_SOURCE 3 buf $3
DATA_SOURCE 4 off $4
DATA_SOURCE 5 count $5
PARAM_COMPARE 3 buf == $5
BIT_INFO 5 count 0x0,0x7fffffffffffffff
NOSPEC 4 off
NOSPEC 4 off
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 off 0-4095
USER_DATA 5 count 1-4096[c]
UNITS 2 priv unit_byte
BYTE_COUNT 3 ==buf5 8050
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex