Home
last modified time | relevance | path

Searched refs:mm_cid (Results 1 – 10 of 10) sorted by relevance

/linux/kernel/
H A Drseq.c93 u32 mm_cid = task_mm_cid(t); in rseq_update_cpu_node_id() local
95 WARN_ON_ONCE((int) mm_cid < 0); in rseq_update_cpu_node_id()
101 unsafe_put_user(mm_cid, &rseq->mm_cid, efault_end); in rseq_update_cpu_node_id()
120 mm_cid = 0; in rseq_reset_rseq_cpu_node_id() local
142 if (put_user(mm_cid, &t->rseq->mm_cid)) in rseq_reset_rseq_cpu_node_id()
H A Dfork.c1192 tsk->mm_cid = -1; in dup_task_struct()
/linux/include/trace/events/
H A Drseq.h20 __field(s32, mm_cid)
26 __entry->mm_cid = task_mm_cid(t);
30 __entry->node_id, __entry->mm_cid)
/linux/tools/testing/selftests/rseq/
H A Drseq-bits-template.h20 # define RSEQ_TEMPLATE_CPU_ID_FIELD mm_cid
H A Drseq-abi.h165 __u32 mm_cid; member
H A Drseq.h210 return (int) rseq_feature_size >= rseq_offsetofend(struct rseq_abi, mm_cid); in rseq_mm_cid_available()
215 return RSEQ_ACCESS_ONCE(rseq_get_abi()->mm_cid); in rseq_current_mm_cid()
/linux/include/uapi/linux/
H A Drseq.h149 __u32 mm_cid; member
/linux/kernel/sched/
H A Dsched.h3556 struct mm_cid __percpu *pcpu_cid = mm->pcpu_cid; in switch_mm_cid()
3569 struct mm_cid __percpu *pcpu_cid = mm->pcpu_cid; in switch_mm_cid()
3628 struct mm_cid *pcpu_cid = per_cpu_ptr(mm->pcpu_cid, cpu_of(rq)); in balance_callbacks()
3689 struct mm_cid __percpu *pcpu_cid = mm->pcpu_cid;
3755 prev->mm_cid = -1;
3758 next->last_mm_cid = next->mm_cid = mm_cid_get(rq, next->mm);
H A Dcore.c10139 struct mm_cid *src_pcpu_cid) in __sched_mm_cid_migrate_from_fetch_cid()
10178 struct mm_cid *src_pcpu_cid, in __sched_mm_cid_migrate_from_try_steal_cid()
10241 struct mm_cid *src_pcpu_cid, *dst_pcpu_cid; in sched_mm_cid_migrate_to()
10292 static void sched_mm_cid_remote_clear(struct mm_struct *mm, struct mm_cid *pcpu_cid, in sched_mm_cid_remote_clear()
10351 struct mm_cid *pcpu_cid; in sched_mm_cid_remote_clear_old()
10383 struct mm_cid *pcpu_cid; in sched_mm_cid_remote_clear_weight()
10483 t->last_mm_cid = t->mm_cid = -1; in sched_mm_cid_exit_signals()
10505 t->last_mm_cid = t->mm_cid = -1; in sched_mm_cid_before_execve()
10526 t->last_mm_cid = t->mm_cid = mm_cid_get(rq, mm); in sched_mm_cid_after_execve()
10533 WARN_ON_ONCE(!t->mm || t->mm_cid != -1); in sched_mm_cid_fork()
/linux/include/linux/
H A Dmm.h2332 return t->mm_cid; in task_mm_cid()