Lines Matching refs:pid
93 static inline int pid_split(unsigned int pid, unsigned int *upper1, in pid_split() argument
100 if (unlikely(pid >= MAX_PID)) in pid_split()
103 *upper1 = (pid >> UPPER1_SHIFT) & UPPER_MASK; in pid_split()
104 *upper2 = (pid >> UPPER2_SHIFT) & UPPER_MASK; in pid_split()
105 *lower = pid & LOWER_MASK; in pid_split()
129 bool trace_pid_list_is_set(struct trace_pid_list *pid_list, unsigned int pid) in trace_pid_list_is_set() argument
142 if (pid_split(pid, &upper1, &upper2, &lower) < 0) in trace_pid_list_is_set()
168 int trace_pid_list_set(struct trace_pid_list *pid_list, unsigned int pid) in trace_pid_list_set() argument
181 if (pid_split(pid, &upper1, &upper2, &lower) < 0) in trace_pid_list_set()
221 int trace_pid_list_clear(struct trace_pid_list *pid_list, unsigned int pid) in trace_pid_list_clear() argument
233 if (pid_split(pid, &upper1, &upper2, &lower) < 0) in trace_pid_list_clear()
273 int trace_pid_list_next(struct trace_pid_list *pid_list, unsigned int pid, in trace_pid_list_next() argument
286 if (pid_split(pid, &upper1, &upper2, &lower) < 0) in trace_pid_list_next()
327 int trace_pid_list_first(struct trace_pid_list *pid_list, unsigned int *pid) in trace_pid_list_first() argument
329 return trace_pid_list_next(pid_list, 0, pid); in trace_pid_list_first()