Home
last modified time | relevance | path

Searched refs:donor (Results 1 – 12 of 12) sorted by relevance

/linux/kernel/sched/
H A Drt.c529 struct task_struct *donor = rq_of_rt_rq(rt_rq)->donor; in sched_rt_rq_enqueue() local
543 if (rt_rq->highest_prio.curr < donor->prio) in sched_rt_rq_enqueue()
976 struct task_struct *donor = rq->donor; in update_curr_rt() local
979 if (donor->sched_class != &rt_sched_class) in update_curr_rt()
987 struct sched_rt_entity *rt_se = &donor->rt; in update_curr_rt()
1501 struct task_struct *curr, *donor; in select_task_rq_rt() local
1513 donor = READ_ONCE(rq->donor); in select_task_rq_rt()
1542 unlikely(rt_task(donor)) && in select_task_rq_rt()
1543 (curr->nr_cpus_allowed < 2 || donor->prio <= p->prio); in select_task_rq_rt()
1574 !cpupri_find(&rq->rd->cpupri, rq->donor, NULL)) in check_preempt_equal_prio()
[all …]
H A Ddeadline.c1292 if (dl_task(rq->donor)) in dl_task_timer()
1703 struct task_struct *donor = rq->donor; in update_curr_dl() local
1704 struct sched_dl_entity *dl_se = &donor->dl; in update_curr_dl()
1707 if (!dl_task(donor) || !on_dl_rq(dl_se)) in update_curr_dl()
2171 struct task_struct *curr, *donor; in select_task_rq_dl() local
2182 donor = READ_ONCE(rq->donor); in select_task_rq_dl()
2193 select_rq = unlikely(dl_task(donor)) && in select_task_rq_dl()
2195 !dl_entity_preempt(&p->dl, &donor->dl)) && in select_task_rq_dl()
2257 !cpudl_find(&rq->rd->cpudl, rq->donor, NULL)) in check_preempt_equal_dl()
2295 if (dl_entity_preempt(&p->dl, &rq->donor->dl)) { in wakeup_preempt_dl()
[all …]
H A Dcore.c880 rq->donor->sched_class->task_tick(rq, rq->curr, 1); in hrtick()
2205 struct task_struct *donor = rq->donor; in wakeup_preempt() local
2207 if (p->sched_class == donor->sched_class) in wakeup_preempt()
2208 donor->sched_class->wakeup_preempt(rq, p, flags); in wakeup_preempt()
2209 else if (sched_class_above(p->sched_class, donor->sched_class)) in wakeup_preempt()
2216 if (task_on_rq_queued(donor) && test_tsk_need_resched(rq->curr)) in wakeup_preempt()
5578 struct task_struct *donor; in sched_tick() local
5589 donor = rq->donor; in sched_tick()
5591 psi_account_irqtime(rq, donor, NULL); in sched_tick()
5600 donor->sched_class->task_tick(rq, donor, 0); in sched_tick()
[all …]
H A Dpelt.c480 const struct sched_class *curr_class = rq->donor->sched_class; in update_other_load_avgs()
H A Dsched.h1171 struct task_struct __rcu *donor; /* Scheduling context */ member
1175 struct task_struct __rcu *donor; /* Scheduler context */ member
1362 rcu_assign_pointer(rq->donor, t); in rq_set_donor()
2287 return rq->donor == p; in task_current_donor()
2473 WARN_ON_ONCE(rq->donor != prev); in put_prev_task()
2496 WARN_ON_ONCE(rq->donor != prev); in put_prev_set_next_task()
2622 struct task_struct *p = rq->donor; in get_push_task()
H A Dfair.c1166 struct task_struct *donor = task_of(se); in update_se() local
1179 cgroup_account_cputime(donor, delta_exec); in update_se()
1201 return update_se(rq, &rq->donor->se); in update_curr_common()
1259 update_curr(cfs_rq_of(&rq->donor->se)); in update_curr_fair()
6809 struct task_struct *donor = rq->donor; in hrtick_update() local
6811 if (!hrtick_enabled_fair(rq) || donor->sched_class != &fair_sched_class) in hrtick_update()
6814 hrtick_start_fair(rq, donor); in hrtick_update()
8740 struct task_struct *donor = rq->donor; in check_preempt_wakeup_fair() local
8741 struct sched_entity *se = &donor->se, *pse = &p->se; in check_preempt_wakeup_fair()
8742 struct cfs_rq *cfs_rq = task_cfs_rq(donor); in check_preempt_wakeup_fair()
/linux/fs/ext4/
H A Dioctl.c1637 CLASS(fd, donor)(me.donor_fd); in __ext4_ioctl()
1638 if (fd_empty(donor)) in __ext4_ioctl()
1641 if (!(fd_file(donor)->f_mode & FMODE_WRITE)) in __ext4_ioctl()
1658 err = ext4_move_extents(filp, fd_file(donor), me.orig_start, in __ext4_ioctl()
/linux/Documentation/core-api/
H A Dlist.rst755 same thing as list_splice(), except reinitalizes the donor list_head after the
/linux/LICENSES/preferred/
H A DGPL-2.0241 system; it is up to the author/donor to decide if he or she is willing
H A DLGPL-2.0383 to the author/donor to decide if he or she is willing to distribute
H A DLGPL-2.1403 to the author/donor to decide if he or she is willing to distribute
/linux/tools/usb/usbip/
H A DCOPYING222 system; it is up to the author/donor to decide if he or she is willing