Home
last modified time | relevance | path

Searched refs:twork (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/include/linux/
Dtask_work.h11 init_task_work(struct callback_head *twork, task_work_func_t func) in init_task_work() argument
13 twork->func = func; in init_task_work()
16 int task_work_add(struct task_struct *task, struct callback_head *twork, bool);
/Linux-v5.4/drivers/crypto/cavium/cpt/
Dcptvf_main.c15 struct tasklet_struct twork; member
48 tasklet_init(&cwqe_info->vq_wqe[i].twork, vq_work_handler, in init_worker_threads()
75 tasklet_kill(&cwqe_info->vq_wqe[i].twork); in cleanup_worker_threads()
608 tasklet_hi_schedule(&wqe->twork); in cptvf_done_intr_handler()
/Linux-v5.4/security/keys/
Dprocess_keys.c912 void key_change_session_keyring(struct callback_head *twork) in key_change_session_keyring() argument
915 struct cred *new = container_of(twork, struct cred, rcu); in key_change_session_keyring()
Dinternal.h169 extern void key_change_session_keyring(struct callback_head *twork);
/Linux-v5.4/kernel/sched/
Dcore.c3655 struct tick_work *twork = container_of(dwork, struct tick_work, work); in sched_tick_remote() local
3656 int cpu = twork->cpu; in sched_tick_remote()
3698 os = atomic_fetch_add_unless(&twork->state, -1, TICK_SCHED_REMOTE_RUNNING); in sched_tick_remote()
3707 struct tick_work *twork; in sched_tick_start() local
3714 twork = per_cpu_ptr(tick_work_cpu, cpu); in sched_tick_start()
3715 os = atomic_xchg(&twork->state, TICK_SCHED_REMOTE_RUNNING); in sched_tick_start()
3718 twork->cpu = cpu; in sched_tick_start()
3719 INIT_DELAYED_WORK(&twork->work, sched_tick_remote); in sched_tick_start()
3720 queue_delayed_work(system_unbound_wq, &twork->work, HZ); in sched_tick_start()
3727 struct tick_work *twork; in sched_tick_stop() local
[all …]
/Linux-v5.4/drivers/block/mtip32xx/
Dmtip32xx.c745 struct mtip_work *twork; in mtip_handle_irq() local
767 twork = &dd->work[i]; in mtip_handle_irq()
768 twork->completed = readl(port->completed[i]); in mtip_handle_irq()
769 if (twork->completed) in mtip_handle_irq()
776 twork = &dd->work[i]; in mtip_handle_irq()
777 if (twork->completed) in mtip_handle_irq()
779 twork->cpu_binding, in mtip_handle_irq()
781 &twork->work); in mtip_handle_irq()
/Linux-v5.4/drivers/media/platform/sti/bdisp/
Dbdisp-v4l2.c1143 struct delayed_work *twork = to_delayed_work(ptr); in bdisp_irq_timeout() local
1144 struct bdisp_dev *bdisp = container_of(twork, struct bdisp_dev, in bdisp_irq_timeout()
/Linux-v5.4/drivers/android/
Dbinder.c2214 struct callback_head twork; member
2231 static void binder_do_fd_close(struct callback_head *twork) in binder_do_fd_close() argument
2233 struct binder_task_work_cb *twcb = container_of(twork, in binder_do_fd_close()
2234 struct binder_task_work_cb, twork); in binder_do_fd_close()
2254 init_task_work(&twcb->twork, binder_do_fd_close); in binder_deferred_fd_close()
2257 task_work_add(current, &twcb->twork, true); in binder_deferred_fd_close()