Home
last modified time | relevance | path

Searched refs:end_ptr (Results 1 – 4 of 4) sorted by relevance

/tools/testing/selftests/resctrl/
Dfill_buf.c86 static int fill_one_span_read(unsigned char *start_ptr, unsigned char *end_ptr) in fill_one_span_read() argument
92 while (p < end_ptr) { in fill_one_span_read()
101 void fill_one_span_write(unsigned char *start_ptr, unsigned char *end_ptr) in fill_one_span_write() argument
106 while (p < end_ptr) { in fill_one_span_write()
112 static int fill_cache_read(unsigned char *start_ptr, unsigned char *end_ptr, in fill_cache_read() argument
119 ret = fill_one_span_read(start_ptr, end_ptr); in fill_cache_read()
136 static int fill_cache_write(unsigned char *start_ptr, unsigned char *end_ptr, in fill_cache_write() argument
140 fill_one_span_write(start_ptr, end_ptr); in fill_cache_write()
152 unsigned char *start_ptr, *end_ptr; in fill_cache() local
165 end_ptr = start_ptr + buf_size; in fill_cache()
[all …]
/tools/perf/util/
Dthread_map.c189 char *end_ptr; in thread_map__new_by_pid_str() local
198 pid = strtol(pos->s, &end_ptr, 10); in thread_map__new_by_pid_str()
201 (*end_ptr != '\0' && *end_ptr != ',')) in thread_map__new_by_pid_str()
248 char *end_ptr; in thread_map__new_by_tid_str() local
262 tid = strtol(pos->s, &end_ptr, 10); in thread_map__new_by_tid_str()
265 (*end_ptr != '\0' && *end_ptr != ',')) in thread_map__new_by_tid_str()
/tools/perf/tests/
Dpmu-events.c389 char *end_ptr; in is_number() local
393 v = strtod(str, &end_ptr); in is_number()
395 return errno == 0 && end_ptr != str; in is_number()
/tools/testing/selftests/sparc64/drivers/
Dadi-test.c154 char *dash, *end_ptr; in build_memory_map() local
163 start_addr[range_count] = strtoull(line, &end_ptr, 16); in build_memory_map()
164 end_addr[range_count] = strtoull(end_ptr, NULL, 16); in build_memory_map()