cpupid 1124 include/linux/mm.h static inline int cpupid_to_pid(int cpupid) cpupid 1126 include/linux/mm.h return cpupid & LAST__PID_MASK; cpupid 1129 include/linux/mm.h static inline int cpupid_to_cpu(int cpupid) cpupid 1131 include/linux/mm.h return (cpupid >> LAST__PID_SHIFT) & LAST__CPU_MASK; cpupid 1134 include/linux/mm.h static inline int cpupid_to_nid(int cpupid) cpupid 1136 include/linux/mm.h return cpu_to_node(cpupid_to_cpu(cpupid)); cpupid 1139 include/linux/mm.h static inline bool cpupid_pid_unset(int cpupid) cpupid 1141 include/linux/mm.h return cpupid_to_pid(cpupid) == (-1 & LAST__PID_MASK); cpupid 1144 include/linux/mm.h static inline bool cpupid_cpu_unset(int cpupid) cpupid 1146 include/linux/mm.h return cpupid_to_cpu(cpupid) == (-1 & LAST__CPU_MASK); cpupid 1149 include/linux/mm.h static inline bool __cpupid_match_pid(pid_t task_pid, int cpupid) cpupid 1151 include/linux/mm.h return (task_pid & LAST__PID_MASK) == cpupid_to_pid(cpupid); cpupid 1154 include/linux/mm.h #define cpupid_match_pid(task, cpupid) __cpupid_match_pid(task->pid, cpupid) cpupid 1156 include/linux/mm.h static inline int page_cpupid_xchg_last(struct page *page, int cpupid) cpupid 1158 include/linux/mm.h return xchg(&page->_last_cpupid, cpupid & LAST_CPUPID_MASK); cpupid 1175 include/linux/mm.h extern int page_cpupid_xchg_last(struct page *page, int cpupid); cpupid 1183 include/linux/mm.h static inline int page_cpupid_xchg_last(struct page *page, int cpupid) cpupid 1193 include/linux/mm.h static inline int cpupid_to_nid(int cpupid) cpupid 1198 include/linux/mm.h static inline int cpupid_to_pid(int cpupid) cpupid 1203 include/linux/mm.h static inline int cpupid_to_cpu(int cpupid) cpupid 1213 include/linux/mm.h static inline bool cpupid_pid_unset(int cpupid) cpupid 1222 include/linux/mm.h static inline bool cpupid_match_pid(struct task_struct *task, int cpupid) cpupid 2244 kernel/sched/fair.c static void task_numa_group(struct task_struct *p, int cpupid, int flags, cpupid 2250 kernel/sched/fair.c int cpu = cpupid_to_cpu(cpupid); cpupid 2282 kernel/sched/fair.c if (!cpupid_match_pid(tsk, cpupid)) cpupid 596 mm/migrate.c int cpupid; cpupid 629 mm/migrate.c cpupid = page_cpupid_xchg_last(page, -1); cpupid 630 mm/migrate.c page_cpupid_xchg_last(newpage, cpupid); cpupid 100 mm/mmzone.c int page_cpupid_xchg_last(struct page *page, int cpupid) cpupid 110 mm/mmzone.c flags |= (cpupid & LAST_CPUPID_MASK) << LAST_CPUPID_PGSHIFT;