Searched refs:first_task (Results 1 – 2 of 2) sorted by relevance
85 struct task_struct __rcu *first_task; /* lockless peek at head */ member
1667 rcu_assign_pointer(dsq->first_task, p); in scx_dispatch_enqueue()1678 rcu_assign_pointer(dsq->first_task, p); in scx_dispatch_enqueue()1686 if (!dsq->first_task && !(dsq->id & SCX_DSQ_FLAG_BUILTIN)) in scx_dispatch_enqueue()1687 rcu_assign_pointer(dsq->first_task, p); in scx_dispatch_enqueue()1745 if (!(dsq->id & SCX_DSQ_FLAG_BUILTIN) && rcu_access_pointer(dsq->first_task) == p) { in scx_task_unlink_from_dsq()1746 struct task_struct *first_task; in scx_task_unlink_from_dsq() local1748 first_task = nldsq_next_task(dsq, NULL, false); in scx_task_unlink_from_dsq()1749 rcu_assign_pointer(dsq->first_task, first_task); in scx_task_unlink_from_dsq()9820 return rcu_dereference(dsq->first_task); in scx_bpf_dsq_peek()