Home
last modified time | relevance | path

Searched refs:cid (Results 1 – 3 of 3) sorted by relevance

/kernel/sched/
Dsched.h3359 static inline void __mm_cid_put(struct mm_struct *mm, int cid) in __mm_cid_put() argument
3361 if (cid < 0) in __mm_cid_put()
3363 cpumask_clear_cpu(cid, mm_cidmask(mm)); in __mm_cid_put()
3378 int cid; in mm_cid_put_lazy() local
3381 cid = __this_cpu_read(pcpu_cid->cid); in mm_cid_put_lazy()
3382 if (!mm_cid_is_lazy_put(cid) || in mm_cid_put_lazy()
3383 !try_cmpxchg(&this_cpu_ptr(pcpu_cid)->cid, &cid, MM_CID_UNSET)) in mm_cid_put_lazy()
3385 __mm_cid_put(mm, mm_cid_clear_lazy_put(cid)); in mm_cid_put_lazy()
3391 int cid, res; in mm_cid_pcpu_unset() local
3394 cid = __this_cpu_read(pcpu_cid->cid); in mm_cid_pcpu_unset()
[all …]
Dcore.c11988 src_cid = READ_ONCE(src_pcpu_cid->cid); in __sched_mm_cid_migrate_from_fetch_cid()
12027 if (!try_cmpxchg(&src_pcpu_cid->cid, &src_cid, lazy_cid)) in __sched_mm_cid_migrate_from_try_steal_cid()
12064 if (!try_cmpxchg(&src_pcpu_cid->cid, &lazy_cid, MM_CID_UNSET)) in __sched_mm_cid_migrate_from_try_steal_cid()
12105 dst_cid = READ_ONCE(dst_pcpu_cid->cid); in sched_mm_cid_migrate_to()
12124 WRITE_ONCE(dst_pcpu_cid->cid, src_cid); in sched_mm_cid_migrate_to()
12133 int cid, lazy_cid; in sched_mm_cid_remote_clear() local
12135 cid = READ_ONCE(pcpu_cid->cid); in sched_mm_cid_remote_clear()
12136 if (!mm_cid_is_valid(cid)) in sched_mm_cid_remote_clear()
12145 lazy_cid = mm_cid_set_lazy_put(cid); in sched_mm_cid_remote_clear()
12146 if (!try_cmpxchg(&pcpu_cid->cid, &cid, lazy_cid)) in sched_mm_cid_remote_clear()
[all …]
/kernel/printk/
Dprintk_ringbuffer.c1267 u32 cid; in desc_reopen_last() local
1275 d_state = desc_read(desc_ring, id, &desc, NULL, &cid); in desc_reopen_last()
1276 if (d_state != desc_committed || cid != caller_id) in desc_reopen_last()