Searched refs:mm_cid (Results 1 - 12 of 12) sorted by relevance

/linux-master/include/trace/events/
H A Drseq.h20 __field(s32, mm_cid)
26 __entry->mm_cid = task_mm_cid(t);
29 TP_printk("cpu_id=%d node_id=%d mm_cid=%d", __entry->cpu_id,
30 __entry->node_id, __entry->mm_cid)
/linux-master/tools/testing/selftests/rseq/
H A Drseq-bits-template.h20 # define RSEQ_TEMPLATE_CPU_ID_FIELD mm_cid
H A Drseq-abi.h159 * Restartable sequences mm_cid field. Updated by the kernel. Read by
165 __u32 mm_cid; member in struct:rseq_abi
H A Drseq.h210 return (int) rseq_feature_size >= rseq_offsetofend(struct rseq_abi, mm_cid);
215 return RSEQ_ACCESS_ONCE(rseq_get_abi()->mm_cid);
/linux-master/kernel/
H A Drseq.c93 u32 mm_cid = task_mm_cid(t); local
95 WARN_ON_ONCE((int) mm_cid < 0);
101 unsafe_put_user(mm_cid, &rseq->mm_cid, efault_end);
120 mm_cid = 0; local
140 * Reset mm_cid to its initial state (0).
142 if (put_user(mm_cid, &t->rseq->mm_cid))
H A Dfork.c1192 tsk->mm_cid = -1;
/linux-master/include/uapi/linux/
H A Drseq.h143 * Restartable sequences mm_cid field. Updated by the kernel. Read by
149 __u32 mm_cid; member in struct:rseq
/linux-master/include/linux/
H A Dmm_types.h754 struct mm_cid { struct
820 * Keep track of the currently allocated mm_cid for each cpu.
821 * The per-cpu mm_cid values are serialized by their respective
824 struct mm_cid __percpu *pcpu_cid;
826 * @mm_cid_next_scan: Next mm_cid scan (in jiffies).
828 * When the next mm_cid scan is due (in jiffies).
1165 struct mm_cid *pcpu_cid = per_cpu_ptr(mm->pcpu_cid, i);
1175 mm->pcpu_cid = alloc_percpu(struct mm_cid);
H A Dsched.h1329 int mm_cid; /* Current cid in mm */ member in struct:task_struct
H A Dmm.h2342 return t->mm_cid;
/linux-master/kernel/sched/
H A Dsched.h3271 struct mm_cid __percpu *pcpu_cid = mm->pcpu_cid;
3284 struct mm_cid __percpu *pcpu_cid = mm->pcpu_cid;
3342 struct mm_cid *pcpu_cid = per_cpu_ptr(mm->pcpu_cid, cpu_of(rq));
3402 struct mm_cid __percpu *pcpu_cid = mm->pcpu_cid;
3467 prev->mm_cid = -1;
3470 next->last_mm_cid = next->mm_cid = mm_cid_get(rq, next->mm);
H A Dcore.c11575 * mm_cid remote-clear implements a lock-free algorithm to clear per-mm/cpu cid
11670 struct mm_cid *src_pcpu_cid)
11709 struct mm_cid *src_pcpu_cid,
11772 struct mm_cid *src_pcpu_cid, *dst_pcpu_cid;
11823 static void sched_mm_cid_remote_clear(struct mm_struct *mm, struct mm_cid *pcpu_cid,
11882 struct mm_cid *pcpu_cid;
11914 struct mm_cid *pcpu_cid;
12014 t->last_mm_cid = t->mm_cid = -1;
12036 t->last_mm_cid = t->mm_cid = -1;
12057 t->last_mm_cid = t->mm_cid
[all...]

Completed in 452 milliseconds