Home
last modified time | relevance | path

Searched refs:ranges (Results 1 – 5 of 5) sorted by relevance

/tools/testing/selftests/x86/
Dmpx-dig.c81 struct vaddr_range *ranges; variable
118 ranges[nr_ranges_populated].start = start; in __pid_load_vaddrs()
119 ranges[nr_ranges_populated].end = end; in __pid_load_vaddrs()
133 if (!ranges) { in pid_load_vaddrs()
135 ranges = malloc(nr_ranges_allocated * sizeof(ranges[0])); in pid_load_vaddrs()
137 nr_ranges_allocated, ranges); in pid_load_vaddrs()
138 assert(ranges != NULL); in pid_load_vaddrs()
147 ranges = realloc(ranges, in pid_load_vaddrs()
148 nr_ranges_allocated * sizeof(ranges[0])); in pid_load_vaddrs()
150 pid, nr_ranges_allocated, ranges); in pid_load_vaddrs()
[all …]
/tools/perf/util/
Dparse-events.y623 $$.ranges = NULL;
632 new_array.ranges = malloc(sizeof(new_array.ranges[0]) *
634 ABORT_ON(!new_array.ranges);
635 memcpy(&new_array.ranges[0], $1.ranges,
636 $1.nr_ranges * sizeof(new_array.ranges[0]));
637 memcpy(&new_array.ranges[$1.nr_ranges], $3.ranges,
638 $3.nr_ranges * sizeof(new_array.ranges[0]));
639 free($1.ranges);
640 free($3.ranges);
652 array.ranges = malloc(sizeof(array.ranges[0]));
[all …]
Dbpf-loader.c863 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()
911 sizeof(op->k.array.ranges[0]); in bpf_map_op__clone()
913 newop->k.array.ranges = memdup(op->k.array.ranges, memsz); in bpf_map_op__clone()
914 if (!newop->k.array.ranges) { in bpf_map_op__clone()
1138 if (!array->ranges) { in config_map_indices_range_check()
1152 unsigned int start = array->ranges[i].start; in config_map_indices_range_check()
1153 size_t length = array->ranges[i].length; in config_map_indices_range_check()
1283 unsigned int start = op->k.array.ranges[i].start; in foreach_key_array_ranges()
[all …]
Dparse-events.h83 } *ranges; member
Dparse-events.c2403 free(term->array.ranges); in parse_events_terms__purge()
2419 free(a->ranges); in parse_events__clear_array()