Searched refs:cpupid (Results 1 – 4 of 4) sorted by relevance
980 static inline int cpupid_to_pid(int cpupid) in cpupid_to_pid() argument982 return cpupid & LAST__PID_MASK; in cpupid_to_pid()985 static inline int cpupid_to_cpu(int cpupid) in cpupid_to_cpu() argument987 return (cpupid >> LAST__PID_SHIFT) & LAST__CPU_MASK; in cpupid_to_cpu()990 static inline int cpupid_to_nid(int cpupid) in cpupid_to_nid() argument992 return cpu_to_node(cpupid_to_cpu(cpupid)); in cpupid_to_nid()995 static inline bool cpupid_pid_unset(int cpupid) in cpupid_pid_unset() argument997 return cpupid_to_pid(cpupid) == (-1 & LAST__PID_MASK); in cpupid_pid_unset()1000 static inline bool cpupid_cpu_unset(int cpupid) in cpupid_cpu_unset() argument1002 return cpupid_to_cpu(cpupid) == (-1 & LAST__CPU_MASK); in cpupid_cpu_unset()[all …]
100 int page_cpupid_xchg_last(struct page *page, int cpupid) in page_cpupid_xchg_last() argument110 flags |= (cpupid & LAST_CPUPID_MASK) << LAST_CPUPID_PGSHIFT; in page_cpupid_xchg_last()
675 int cpupid; in migrate_page_states() local706 cpupid = page_cpupid_xchg_last(page, -1); in migrate_page_states()707 page_cpupid_xchg_last(newpage, cpupid); in migrate_page_states()
2238 static void task_numa_group(struct task_struct *p, int cpupid, int flags, in task_numa_group() argument2244 int cpu = cpupid_to_cpu(cpupid); in task_numa_group()2276 if (!cpupid_match_pid(tsk, cpupid)) in task_numa_group()