Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/pstore/ram_core.c persistent_ram_update_ecc() -> persistent_ram_encode_rs8()

Type Parameter Key Value
PARAM_VALUE 0 prz 4096-ptr_max
PARAM_VALUE 0 prz->buffer 4096-ptr_max
PARAM_VALUE 0 prz->buffer->size.counter 0-s32max
PARAM_VALUE 0 prz->buffer->start.counter s32min-(-2),0-s32max
PARAM_VALUE 0 prz->buffer_lock.dep_map->name 0-255
PARAM_VALUE 0 prz->buffer_size 1-u64max
PARAM_VALUE 0 prz->ecc_info.ecc_size s32min-(-1),1-s32max
PARAM_VALUE 1 data 0-ptr_max
PARAM_VALUE 2 len 0-s32max,18446744071562067968-u64max
CAPPED_DATA 0 prz->buffer_size 1
CAPPED_DATA 0 prz->ecc_info.ecc_size 1
CAPPED_DATA 1 data 1
DATA_SOURCE 0 prz $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 data unit_byte
UNITS 2 len unit_byte
UNITS 3 ecc unit_byte
HALF_LOCKED2 global &pmsg_lock

fs/pstore/ram_core.c persistent_ram_update_header_ecc() -> persistent_ram_encode_rs8()

Type Parameter Key Value
PARAM_VALUE 0 prz 4096-ptr_max
PARAM_VALUE 0 prz->buffer 4096-ptr_max
PARAM_VALUE 0 prz->buffer->size.counter 0-s32max
PARAM_VALUE 0 prz->buffer->start.counter s32min-(-2),0-s32max
PARAM_VALUE 0 prz->ecc_info.ecc_size s32min-(-1),1-s32max
PARAM_VALUE 1 data 4096-ptr_max
PARAM_VALUE 2 len 12
DATA_SOURCE 0 prz $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 *prz->old_log 0-255
NO_OVERFLOW_SIMPLE 0 prz->ecc_info.ecc_size
NO_OVERFLOW_SIMPLE 0 prz->paddr
UNITS 2 len unit_byte
UNITS 3 ecc unit_byte
HALF_LOCKED2 global &pmsg_lock