Lines Matching refs:upper1
93 static inline int pid_split(unsigned int pid, unsigned int *upper1, in pid_split() argument
103 *upper1 = (pid >> UPPER1_SHIFT) & UPPER_MASK; in pid_split()
110 static inline unsigned int pid_join(unsigned int upper1, in pid_join() argument
113 return ((upper1 & UPPER_MASK) << UPPER1_SHIFT) | in pid_join()
134 unsigned int upper1; in trace_pid_list_is_set() local
142 if (pid_split(pid, &upper1, &upper2, &lower) < 0) in trace_pid_list_is_set()
146 upper_chunk = pid_list->upper[upper1]; in trace_pid_list_is_set()
173 unsigned int upper1; in trace_pid_list_set() local
181 if (pid_split(pid, &upper1, &upper2, &lower) < 0) in trace_pid_list_set()
185 upper_chunk = pid_list->upper[upper1]; in trace_pid_list_set()
192 pid_list->upper[upper1] = upper_chunk; in trace_pid_list_set()
226 unsigned int upper1; in trace_pid_list_clear() local
233 if (pid_split(pid, &upper1, &upper2, &lower) < 0) in trace_pid_list_clear()
237 upper_chunk = pid_list->upper[upper1]; in trace_pid_list_clear()
253 pid_list->upper[upper1] = NULL; in trace_pid_list_clear()
279 unsigned int upper1; in trace_pid_list_next() local
286 if (pid_split(pid, &upper1, &upper2, &lower) < 0) in trace_pid_list_next()
290 for (; upper1 <= UPPER_MASK; upper1++, upper2 = 0) { in trace_pid_list_next()
291 upper_chunk = pid_list->upper[upper1]; in trace_pid_list_next()
310 if (upper1 > UPPER_MASK) in trace_pid_list_next()
313 *next = pid_join(upper1, upper2, lower); in trace_pid_list_next()