Lines Matching refs:upper_chunk
36 static inline union upper_chunk *get_upper_chunk(struct trace_pid_list *pid_list) in get_upper_chunk()
38 union upper_chunk *chunk; in get_upper_chunk()
71 union upper_chunk *chunk) in put_upper_chunk()
80 static inline bool upper_empty(union upper_chunk *chunk) in upper_empty()
131 union upper_chunk *upper_chunk; in trace_pid_list_is_set() local
146 upper_chunk = pid_list->upper[upper1]; in trace_pid_list_is_set()
147 if (upper_chunk) { in trace_pid_list_is_set()
148 lower_chunk = upper_chunk->data[upper2]; in trace_pid_list_is_set()
170 union upper_chunk *upper_chunk; in trace_pid_list_set() local
185 upper_chunk = pid_list->upper[upper1]; in trace_pid_list_set()
186 if (!upper_chunk) { in trace_pid_list_set()
187 upper_chunk = get_upper_chunk(pid_list); in trace_pid_list_set()
188 if (!upper_chunk) { in trace_pid_list_set()
192 pid_list->upper[upper1] = upper_chunk; in trace_pid_list_set()
194 lower_chunk = upper_chunk->data[upper2]; in trace_pid_list_set()
201 upper_chunk->data[upper2] = lower_chunk; in trace_pid_list_set()
223 union upper_chunk *upper_chunk; in trace_pid_list_clear() local
237 upper_chunk = pid_list->upper[upper1]; in trace_pid_list_clear()
238 if (!upper_chunk) in trace_pid_list_clear()
241 lower_chunk = upper_chunk->data[upper2]; in trace_pid_list_clear()
250 upper_chunk->data[upper2] = NULL; in trace_pid_list_clear()
251 if (upper_empty(upper_chunk)) { in trace_pid_list_clear()
252 put_upper_chunk(pid_list, upper_chunk); in trace_pid_list_clear()
276 union upper_chunk *upper_chunk; in trace_pid_list_next() local
291 upper_chunk = pid_list->upper[upper1]; in trace_pid_list_next()
293 if (!upper_chunk) in trace_pid_list_next()
297 lower_chunk = upper_chunk->data[upper2]; in trace_pid_list_next()
336 union upper_chunk *upper = NULL; in pid_list_refill_irq()
338 union upper_chunk **upper_next = &upper; in pid_list_refill_irq()
355 union upper_chunk *chunk; in pid_list_refill_irq()
428 union upper_chunk *chunk; in trace_pid_list_alloc()
460 union upper_chunk *upper; in trace_pid_list_free()
478 union upper_chunk *chunk; in trace_pid_list_free()