/tools/lib/perf/Documentation/examples/ |
D | sampling.c | 86 __u64 ip, period, *array; in main() local 89 array = event->sample.array; in main() 91 ip = *array; in main() 92 array++; in main() 94 u.val64 = *array; in main() 97 array++; in main() 99 u.val64 = *array; in main() 101 array++; in main() 103 period = *array; in main()
|
/tools/testing/radix-tree/ |
D | iteration_check_2.c | 57 DEFINE_XARRAY(array); in iteration_test2() 64 xa_store(&array, 100, xa_mk_value(100), GFP_KERNEL); in iteration_test2() 65 xa_set_mark(&array, 100, XA_MARK_0); in iteration_test2() 67 if (pthread_create(&threads[0], NULL, iterator, &array)) { in iteration_test2() 71 if (pthread_create(&threads[1], NULL, throbber, &array)) { in iteration_test2() 86 xa_destroy(&array); in iteration_test2()
|
D | iteration_check.c | 17 static DEFINE_XARRAY(array); 54 my_item_insert(&array, pgoff); in add_entries_fn() 69 XA_STATE(xas, &array, 0); in tagged_iteration_fn() 102 XA_STATE(xas, &array, 0); in untagged_iteration_fn() 143 item = xa_erase(&array, pgoff); in remove_entries_fn() 158 tag_tagged_items(&array, 0, MAX_IDX, 10, TAG, NEW_TAG); in tag_entries_fn() 209 item_kill_tree(&array); in iteration_test()
|
/tools/perf/util/ |
D | evsel.c | 2005 const __u64 *array = event->sample.array; in perf_evsel__parse_id_sample() local 2009 array += ((event->header.size - in perf_evsel__parse_id_sample() 2013 sample->id = *array; in perf_evsel__parse_id_sample() 2014 array--; in perf_evsel__parse_id_sample() 2018 u.val64 = *array; in perf_evsel__parse_id_sample() 2026 array--; in perf_evsel__parse_id_sample() 2030 sample->stream_id = *array; in perf_evsel__parse_id_sample() 2031 array--; in perf_evsel__parse_id_sample() 2035 sample->id = *array; in perf_evsel__parse_id_sample() 2036 array--; in perf_evsel__parse_id_sample() [all …]
|
D | parse-events.y | 118 %type <array> array 119 %type <array> array_term 120 %type <array> array_terms 121 %destructor { free ($$.ranges); } <array> 134 struct parse_events_array array; member 841 PE_NAME array '=' PE_NAME 852 term->array = $2; 856 PE_NAME array '=' PE_VALUE 866 term->array = $2; 885 array: [all …]
|
D | synthetic-events.c | 1424 __u64 *array; in perf_event__synthesize_sample() local 1432 array = event->sample.array; in perf_event__synthesize_sample() 1435 *array = sample->id; in perf_event__synthesize_sample() 1436 array++; in perf_event__synthesize_sample() 1440 *array = sample->ip; in perf_event__synthesize_sample() 1441 array++; in perf_event__synthesize_sample() 1447 *array = u.val64; in perf_event__synthesize_sample() 1448 array++; in perf_event__synthesize_sample() 1452 *array = sample->time; in perf_event__synthesize_sample() 1453 array++; in perf_event__synthesize_sample() [all …]
|
D | demangle-java.c | 48 int array = 0; in __demangle_java_sym() local 87 while (array--) in __demangle_java_sym() 89 array = 0; in __demangle_java_sym() 97 while (array--) in __demangle_java_sym() 99 array = 0; in __demangle_java_sym() 106 array++; in __demangle_java_sym()
|
D | bpf-loader.c | 811 struct parse_events_array array; member 829 parse_events__clear_array(&op->k.array); in bpf_map_op__delete() 861 if (term->array.nr_ranges) { in bpf_map_op_setkey() 862 size_t memsz = term->array.nr_ranges * in bpf_map_op_setkey() 863 sizeof(op->k.array.ranges[0]); in bpf_map_op_setkey() 865 op->k.array.ranges = memdup(term->array.ranges, memsz); in bpf_map_op_setkey() 866 if (!op->k.array.ranges) { in bpf_map_op_setkey() 871 op->k.array.nr_ranges = term->array.nr_ranges; in bpf_map_op_setkey() 910 size_t memsz = op->k.array.nr_ranges * in bpf_map_op__clone() 911 sizeof(op->k.array.ranges[0]); in bpf_map_op__clone() [all …]
|
D | debug.c | 241 void *array[16]; in dump_stack() local 242 size_t size = backtrace(array, ARRAY_SIZE(array)); in dump_stack() 243 char **strings = backtrace_symbols(array, size); in dump_stack()
|
D | session.h | 128 #define perf_session__set_tracepoints_handlers(session, array) \ argument 129 __evlist__set_tracepoints_handlers(session->evlist, array, ARRAY_SIZE(array))
|
D | evlist.h | 110 #define evlist__add_default_attrs(evlist, array) \ argument 111 __evlist__add_default_attrs(evlist, array, ARRAY_SIZE(array)) 130 #define evlist__set_tracepoints_handlers(evlist, array) \ argument 131 __evlist__set_tracepoints_handlers(evlist, array, ARRAY_SIZE(array))
|
/tools/virtio/ringtest/ |
D | ptr_ring.c | 115 static struct ptr_ring array ____cacheline_aligned_in_smp; 120 int ret = ptr_ring_init(&array, ring_size, 0); in alloc_ring() 124 array.batch = param; in alloc_ring() 132 ret = __ptr_ring_produce(&array, buf); in add_inbuf() 151 if (tailcnt == headcnt || __ptr_ring_full(&array)) in get_buf() 163 return (tailcnt == headcnt || __ptr_ring_full(&array)); in used_empty() 194 return __ptr_ring_empty(&array); in avail_empty() 201 ptr = __ptr_ring_consume(&array); in use_buf()
|
/tools/include/linux/ |
D | stacktrace.h | 24 void *array[64]; in dump_stack() local 27 size = backtrace(array, 64); in dump_stack() 28 backtrace_symbols_fd(array, size, 1); in dump_stack()
|
/tools/perf/trace/beauty/ |
D | beauty.h | 17 #define DEFINE_STRARRAY(array, _prefix) struct strarray strarray__##array = { \ argument 18 .nr_entries = ARRAY_SIZE(array), \ 19 .entries = array, \ 23 #define DEFINE_STRARRAY_OFFSET(array, _prefix, off) struct strarray strarray__##array = { \ argument 25 .nr_entries = ARRAY_SIZE(array), \ 26 .entries = array, \ 52 #define DEFINE_STRARRAYS(array) struct strarrays strarrays__##array = { \ argument 53 .nr_entries = ARRAY_SIZE(array), \ 54 .entries = array, \
|
/tools/lib/traceevent/Documentation/ |
D | libtraceevent-fields.txt | 20 The _tep_event_common_fields()_ function returns an array of pointers to common 21 fields for the _event_. The array is allocated in the function and must be freed 22 by free(). The last element of the array is NULL. 24 The _tep_event_fields()_ function returns an array of pointers to event specific 25 fields for the _event_. The array is allocated in the function and must be freed 26 by free(). The last element of the array is NULL. 31 an array of pointers to tep_format_field structures in case of success, or
|
D | libtraceevent-event_list.txt | 27 The _tep_list_events()_ function returns an array of pointers to the events, 28 sorted by the _sort_type_ criteria. The last element of the array is NULL. 40 It has the same behavior, but the returned array is allocated internally and 41 must be freed by the caller. Note that the content of the array must not be 46 The _tep_list_events()_ function returns an array of pointers to events. 47 In case of an error, NULL is returned. The returned array must not be freed, 50 The _tep_list_events_copy()_ function returns an array of pointers to events. 51 In case of an error, NULL is returned. The returned array must be freed by
|
/tools/vm/ |
D | slabinfo-gnuplot.sh | 190 array=(${OPTARG//,/ }) 191 width=${array[0]} 192 height=${array[1]} 195 array=(${OPTARG//,/ }) 196 xmin=${array[0]} 197 xmax=${array[1]}
|
/tools/testing/selftests/bpf/progs/ |
D | sample_map_ret0.c | 12 struct bpf_map_def SEC("maps") array = { 29 value = bpf_map_lookup_elem(&array, &key64); in func()
|
/tools/perf/ |
D | perf-completion.sh | 227 local -a array 234 array[${#array[@]}+1]="$c" 238 compadd -Q -S '' -a -- array && _ret=0 247 local -a array 258 array[$#array+1]=${c#"$colon_word"} 262 compadd -Q -S '' -a -- array && _ret=0
|
/tools/lib/perf/Documentation/ |
D | libperf-sampling.txt | 193 86 __u64 ip, period, *array; 196 89 array = event->sample.array; 198 91 ip = *array; 199 92 array++; 201 94 u.val64 = *array; 204 97 array++; 206 99 u.val64 = *array; 208 101 array++; 210 103 period = *array;
|
/tools/testing/selftests/rseq/ |
D | param_test.c | 303 struct percpu_buffer_node **array; member 320 struct percpu_memcpy_buffer_node *array; member 704 targetptr_spec = (intptr_t *)&buffer->c[cpu].array[offset]; in this_cpu_buffer_push() 744 head = RSEQ_READ_ONCE(buffer->c[cpu].array[offset - 1]); in this_cpu_buffer_pop() 748 (intptr_t *)&buffer->c[cpu].array[offset - 1], in this_cpu_buffer_pop() 772 head = buffer->c[cpu].array[offset - 1]; in __percpu_buffer_pop() 826 buffer.c[i].array = in test_percpu_buffer() 827 malloc(sizeof(*buffer.c[i].array) * CPU_SETSIZE * in test_percpu_buffer() 829 assert(buffer.c[i].array); in test_percpu_buffer() 846 buffer.c[i].array[j - 1] = node; in test_percpu_buffer() [all …]
|
/tools/firewire/ |
D | nosy-dump.h | 5 #define array_length(array) (sizeof(array) / sizeof(array[0])) argument
|
/tools/lib/api/fd/ |
D | Build | 1 libapi-y += array.o
|
/tools/io_uring/ |
D | setup.c | 17 sq->ring_sz = p->sq_off.array + p->sq_entries * sizeof(unsigned); in io_uring_mmap() 28 sq->array = ptr + p->sq_off.array; in io_uring_mmap()
|
/tools/testing/selftests/powerpc/math/ |
D | vsx_asm.S | 10 #This function wraps storeing VSX regs to the end of an array and a 15 addi r3, r3, 16 * 12 #Second half of array
|