Searched refs:arr_sz (Results 1 – 6 of 6) sorted by relevance
| /tools/perf/util/ |
| A D | util.c | 439 int do_realloc_array_as_needed(void **arr, size_t *arr_sz, size_t x, size_t msz, const void *init_v… in do_realloc_array_as_needed() argument 441 size_t new_sz = *arr_sz; in do_realloc_array_as_needed() 451 if (new_sz == *arr_sz) in do_realloc_array_as_needed() 456 if (*arr_sz) in do_realloc_array_as_needed() 457 memcpy(new_arr, *arr, *arr_sz * msz); in do_realloc_array_as_needed() 459 for (i = *arr_sz; i < new_sz; i++) in do_realloc_array_as_needed() 463 *arr_sz = new_sz; in do_realloc_array_as_needed()
|
| A D | thread-stack.c | 100 unsigned int arr_sz; member 179 unsigned int old_sz = ts ? ts->arr_sz : 0; in thread_stack__new() 191 new_ts->arr_sz = new_sz; in thread_stack__new() 198 (unsigned int)cpu < ts->arr_sz) in thread_stack__new() 215 if (!ts || (unsigned int)cpu >= ts->arr_sz) in thread__cpu_stack() 371 for (pos = 0; pos < ts->arr_sz; pos++) { in thread_stack__flush() 496 unsigned int arr_sz = ts->arr_sz; in thread_stack__reset() local 500 ts->arr_sz = arr_sz; in thread_stack__reset() 509 for (pos = 0; pos < ts->arr_sz; pos++) in thread_stack__free()
|
| A D | util.h | 87 int do_realloc_array_as_needed(void **arr, size_t *arr_sz, size_t x,
|
| /tools/testing/selftests/bpf/progs/ |
| A D | test_core_reloc_size.c | 23 int arr_sz; member 60 out->arr_sz = bpf_core_field_size(in->arr_field); in test_core_size()
|
| A D | core_reloc_types.h | 804 int arr_sz; member
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | core_reloc.c | 290 .arr_sz = sizeof(((type *)0)->arr_field), \
|
Completed in 23 milliseconds