Searched refs:cpupid (Results 1 – 1 of 1) sorted by relevance
1436 static inline int cpupid_to_pid(int cpupid) in cpupid_to_pid() argument1438 return cpupid & LAST__PID_MASK; in cpupid_to_pid()1441 static inline int cpupid_to_cpu(int cpupid) in cpupid_to_cpu() argument1443 return (cpupid >> LAST__PID_SHIFT) & LAST__CPU_MASK; in cpupid_to_cpu()1446 static inline int cpupid_to_nid(int cpupid) in cpupid_to_nid() argument1448 return cpu_to_node(cpupid_to_cpu(cpupid)); in cpupid_to_nid()1451 static inline bool cpupid_pid_unset(int cpupid) in cpupid_pid_unset() argument1453 return cpupid_to_pid(cpupid) == (-1 & LAST__PID_MASK); in cpupid_pid_unset()1456 static inline bool cpupid_cpu_unset(int cpupid) in cpupid_cpu_unset() argument1458 return cpupid_to_cpu(cpupid) == (-1 & LAST__CPU_MASK); in cpupid_cpu_unset()[all …]