Searched refs:ps_tsk_num (Results 1 – 1 of 1) sorted by relevance
215 static unsigned int ps_tsk_num; variable220 ps_tsks[ps_tsk_num] = kthread_run(power_saving_thread, in create_power_saving_task()221 (void *)(unsigned long)ps_tsk_num, in create_power_saving_task()222 "acpi_pad/%d", ps_tsk_num); in create_power_saving_task()224 if (IS_ERR(ps_tsks[ps_tsk_num])) { in create_power_saving_task()225 rc = PTR_ERR(ps_tsks[ps_tsk_num]); in create_power_saving_task()226 ps_tsks[ps_tsk_num] = NULL; in create_power_saving_task()229 ps_tsk_num++; in create_power_saving_task()237 if (ps_tsk_num > 0) { in destroy_power_saving_task()238 ps_tsk_num--; in destroy_power_saving_task()[all …]