Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 6 files:

Smatch caller information:

drivers/scsi/lpfc/lpfc_init.c lpfc_idle_stat_delay_work() -> get_cpu_idle_time()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0-64
PARAM_VALUE 1 wall 3840837254533365760
PARAM_VALUE 2 io_busy 1
CAPPED_DATA 0 cpu 1
DATA_SOURCE 0 cpu r find_next_bit
CONSTRAINT 0 cpu <3035
UNITS 0 cpu unit_array_size
HALF_LOCKED2 &pool->lock

drivers/scsi/lpfc/lpfc_sli.c lpfc_init_idle_stat_hb() -> get_cpu_idle_time()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0-64
PARAM_VALUE 1 wall 7665386353409433600
PARAM_VALUE 2 io_busy 1
CAPPED_DATA 0 cpu 1
DATA_SOURCE 0 cpu r find_next_bit
UNITS 0 cpu unit_array_size

drivers/cpufreq/cpufreq_governor.c cpufreq_dbs_governor_start() -> get_cpu_idle_time()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0-64
PARAM_VALUE 1 wall 4096-ptr_max
CAPPED_DATA 0 cpu 1
DATA_SOURCE 0 cpu r find_next_bit
CONSTRAINT 0 cpu <3035
RX_PATH
TASK_NOT_RUNNING
LOCK2 &policy_dbs->update_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &policy->rwsem
HALF_LOCKED2 global &intel_pstate_limits_lock
HALF_LOCKED2 global &system_transition_mutex
TYPE_LOCK (struct policy_dbs_info)->update_mutex

drivers/cpufreq/cpufreq_governor.c dbs_update() -> get_cpu_idle_time()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0-64
PARAM_VALUE 1 wall 5425073027825664
CAPPED_DATA 0 cpu 1
DATA_SOURCE 0 cpu r find_next_bit
CONSTRAINT 0 cpu <3035
LOCK2 &policy_dbs->update_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct policy_dbs_info)->update_mutex

drivers/cpufreq/cpufreq_governor.c gov_update_cpu_data() -> get_cpu_idle_time()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0-64
PARAM_VALUE 1 wall 4096-ptr_max
CAPPED_DATA 0 cpu 1
DATA_SOURCE 0 cpu r find_next_bit
CONSTRAINT 0 cpu <3035
RX_PATH
TASK_NOT_RUNNING
LOCK2 &attr_set->update_lock
LOCK2 &of->mutex
LOCK2 &policy_dbs->update_mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct gov_attr_set)->update_lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct policy_dbs_info)->update_mutex