Searched refs:MM_CID_UNSET (Results 1 – 3 of 3) sorted by relevance
/linux/include/linux/ |
H A D | mm_types.h | 1178 MM_CID_UNSET = -1U, /* Unset state has lazy_put flag set. */ enumerator 1184 return cid == MM_CID_UNSET; in mm_cid_is_unset() 1237 pcpu_cid->cid = MM_CID_UNSET; in mm_init_cid() 1238 pcpu_cid->recent_cid = MM_CID_UNSET; in mm_init_cid()
|
/linux/kernel/sched/ |
H A D | sched.h | 3628 !try_cmpxchg(&this_cpu_ptr(pcpu_cid)->cid, &cid, MM_CID_UNSET)) in mm_cid_put_lazy() 3642 return MM_CID_UNSET; in mm_cid_pcpu_unset() 3646 res = cmpxchg(&this_cpu_ptr(pcpu_cid)->cid, cid, MM_CID_UNSET); in mm_cid_pcpu_unset() 3660 if (cid == MM_CID_UNSET) in mm_cid_put() 3786 if (try_cmpxchg(&this_cpu_ptr(pcpu_cid)->cid, &cid, MM_CID_UNSET)) in mm_cid_get()
|
H A D | core.c | 10356 if (!try_cmpxchg(&src_pcpu_cid->cid, &lazy_cid, MM_CID_UNSET)) in __sched_mm_cid_migrate_from_try_steal_cid() 10358 WRITE_ONCE(src_pcpu_cid->recent_cid, MM_CID_UNSET); in __sched_mm_cid_migrate_from_try_steal_cid() 10473 if (try_cmpxchg(&pcpu_cid->cid, &lazy_cid, MM_CID_UNSET)) in sched_mm_cid_remote_clear()
|