Searched refs:mm_cid (Results 1 - 12 of 12) sorted by relevance
/linux-master/include/trace/events/ |
H A D | rseq.h | 20 __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 D | rseq-bits-template.h | 20 # define RSEQ_TEMPLATE_CPU_ID_FIELD mm_cid
|
H A D | rseq-abi.h | 159 * Restartable sequences mm_cid field. Updated by the kernel. Read by 165 __u32 mm_cid; member in struct:rseq_abi
|
H A D | rseq.h | 210 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 D | rseq.c | 93 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 D | fork.c | 1192 tsk->mm_cid = -1;
|
/linux-master/include/uapi/linux/ |
H A D | rseq.h | 143 * 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 D | mm_types.h | 754 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 D | sched.h | 1329 int mm_cid; /* Current cid in mm */ member in struct:task_struct
|
H A D | mm.h | 2342 return t->mm_cid;
|
/linux-master/kernel/sched/ |
H A D | sched.h | 3271 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 D | core.c | 11575 * 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