Searched refs:poll_task (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/drivers/power/supply/ |
D | tps65217_charger.c | 38 struct task_struct *poll_task; member 189 struct task_struct *poll_task; in tps65217_charger_probe() local 224 poll_task = kthread_run(tps65217_charger_poll_task, in tps65217_charger_probe() 226 if (IS_ERR(poll_task)) { in tps65217_charger_probe() 227 ret = PTR_ERR(poll_task); in tps65217_charger_probe() 233 charger->poll_task = poll_task; in tps65217_charger_probe() 261 if (charger->poll_task) in tps65217_charger_remove() 262 kthread_stop(charger->poll_task); in tps65217_charger_remove()
|
D | tps65090-charger.c | 34 struct task_struct *poll_task; member 312 cdata->poll_task = kthread_run(tps65090_charger_poll_task, in tps65090_charger_probe() 315 if (IS_ERR(cdata->poll_task)) { in tps65090_charger_probe() 316 ret = PTR_ERR(cdata->poll_task); in tps65090_charger_probe() 336 kthread_stop(cdata->poll_task); in tps65090_charger_remove()
|
/linux-6.1.9/drivers/platform/surface/ |
D | surface3_power.c | 52 struct task_struct *poll_task; member 537 data->poll_task = kthread_run(mshw0011_poll_task, data, "mshw0011_adp"); in mshw0011_probe() 538 if (IS_ERR(data->poll_task)) { in mshw0011_probe() 539 error = PTR_ERR(data->poll_task); in mshw0011_probe() 552 kthread_stop(data->poll_task); in mshw0011_probe() 564 kthread_stop(cdata->poll_task); in mshw0011_remove()
|
/linux-6.1.9/drivers/macintosh/ |
D | therm_windtunnel.c | 50 struct task_struct *poll_task; member 344 kthread_stop(x.poll_task); in do_remove() 345 x.poll_task = NULL; in do_remove() 434 x.poll_task = kthread_run(control_loop, NULL, "g4fand"); in do_probe()
|
/linux-6.1.9/include/linux/ |
D | psi_types.h | 176 struct task_struct __rcu *poll_task; member
|
/linux-6.1.9/kernel/sched/ |
D | psi.c | 198 rcu_assign_pointer(group->poll_task, NULL); in group_init() 584 task = rcu_dereference(group->poll_task); in psi_schedule_poll_work() 1242 if (!rcu_access_pointer(group->poll_task)) { in psi_trigger_create() 1253 rcu_assign_pointer(group->poll_task, task); in psi_trigger_create() 1305 group->poll_task, in psi_trigger_destroy() 1307 rcu_assign_pointer(group->poll_task, NULL); in psi_trigger_destroy()
|