Home
last modified time | relevance | path

Searched refs:idle_stat (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/scsi/lpfc/
Dlpfc_init.c1294 struct lpfc_idle_stat *idle_stat; in lpfc_idle_stat_delay_work() local
1314 idle_stat = &phba->sli4_hba.idle_stat[i]; in lpfc_idle_stat_delay_work()
1323 diff_idle = wall_idle - idle_stat->prev_idle; in lpfc_idle_stat_delay_work()
1324 diff_wall = wall - idle_stat->prev_wall; in lpfc_idle_stat_delay_work()
1339 idle_stat->prev_idle = wall_idle; in lpfc_idle_stat_delay_work()
1340 idle_stat->prev_wall = wall; in lpfc_idle_stat_delay_work()
8404 phba->sli4_hba.idle_stat = kcalloc(phba->sli4_hba.num_possible_cpu, in lpfc_sli4_driver_resource_setup()
8405 sizeof(*phba->sli4_hba.idle_stat), in lpfc_sli4_driver_resource_setup()
8407 if (!phba->sli4_hba.idle_stat) { in lpfc_sli4_driver_resource_setup()
8456 kfree(phba->sli4_hba.idle_stat); in lpfc_sli4_driver_resource_setup()
[all …]
Dlpfc_sli4.h958 struct lpfc_idle_stat *idle_stat; member
Dlpfc_sli.c7991 struct lpfc_idle_stat *idle_stat; in lpfc_init_idle_stat_hb() local
8002 idle_stat = &phba->sli4_hba.idle_stat[i]; in lpfc_init_idle_stat_hb()
8004 idle_stat->prev_idle = get_cpu_idle_time(i, &wall, 1); in lpfc_init_idle_stat_hb()
8005 idle_stat->prev_wall = wall; in lpfc_init_idle_stat_hb()