Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/base/power/trace.c generate_pm_trace() -> hash_string()

Type Parameter Key Value
PARAM_VALUE 2 mod 997
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &system_transition_mutex

drivers/base/power/trace.c set_trace_device() -> hash_string()

Type Parameter Key Value
PARAM_VALUE 0 seed 7919
PARAM_VALUE 2 mod 1009
BUF_SIZE 1 data 1-s32max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &system_transition_mutex

drivers/base/power/trace.c show_dev_hash() -> hash_string()

Type Parameter Key Value
PARAM_VALUE 0 seed 7919
PARAM_VALUE 2 mod 1009
BUF_SIZE 1 data 1-s32max
LOCK2 global &dpm_list_mtx

drivers/base/power/trace.c show_file_hash() -> hash_string()

Type Parameter Key Value
PARAM_VALUE 2 mod 997

drivers/base/power/trace.c show_trace_dev_match() -> hash_string()

Type Parameter Key Value
PARAM_VALUE 0 seed 7919
PARAM_VALUE 2 mod 1009
BUF_SIZE 1 data 1-s32max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 global &dpm_list_mtx
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex