• Home
  • Raw
  • Download

Lines Matching refs:seq

78 static void pr_err_size_seq(size_t *sizes, int *seq)  in pr_err_size_seq()  argument
88 pr_cont("[%d]", seq[i]); in pr_err_size_seq()
117 size_t *sizes, int *seq) in binder_selftest_alloc_buf() argument
126 pr_err_size_seq(sizes, seq); in binder_selftest_alloc_buf()
134 size_t *sizes, int *seq, size_t end) in binder_selftest_free_buf() argument
139 binder_alloc_free_buf(alloc, buffers[seq[i]]); in binder_selftest_free_buf()
148 pr_err_size_seq(sizes, seq); in binder_selftest_free_buf()
177 size_t *sizes, int *seq, size_t end) in binder_selftest_alloc_free() argument
181 binder_selftest_alloc_buf(alloc, buffers, sizes, seq); in binder_selftest_alloc_free()
182 binder_selftest_free_buf(alloc, buffers, sizes, seq, end); in binder_selftest_alloc_free()
185 binder_selftest_alloc_buf(alloc, buffers, sizes, seq); in binder_selftest_alloc_free()
189 binder_selftest_free_buf(alloc, buffers, sizes, seq, end); in binder_selftest_alloc_free()
193 static bool is_dup(int *seq, int index, int val) in is_dup() argument
198 if (seq[i] == val) in is_dup()
206 size_t *sizes, int *seq, in binder_selftest_free_seq() argument
212 binder_selftest_alloc_free(alloc, sizes, seq, end); in binder_selftest_free_seq()
216 if (is_dup(seq, index, i)) in binder_selftest_free_seq()
218 seq[index] = i; in binder_selftest_free_seq()
219 binder_selftest_free_seq(alloc, sizes, seq, index + 1, end); in binder_selftest_free_seq()
227 int seq[BUFFER_NUM] = {0}; in binder_selftest_alloc_size() local
244 binder_selftest_free_seq(alloc, front_sizes, seq, 0, in binder_selftest_alloc_size()
246 binder_selftest_free_seq(alloc, back_sizes, seq, 0, alloc->buffer_size); in binder_selftest_alloc_size()