Home
last modified time | relevance | path

Searched refs:buf_to (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/tools/perf/util/
H A Dsymbol-elf.c1918 char *buf_to; in kcore_copy__compare_fds() local
1924 buf_to = malloc(page_size); in kcore_copy__compare_fds()
1925 if (!buf_from || !buf_to) in kcore_copy__compare_fds()
1939 if (readn(to, buf_to, len) != (int)len) in kcore_copy__compare_fds()
1942 if (memcmp(buf_from, buf_to, len)) in kcore_copy__compare_fds()
1948 free(buf_to); in kcore_copy__compare_fds()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dsymbol-elf.c2394 char *buf_to; in kcore_copy__compare_fds() local
2400 buf_to = malloc(page_size); in kcore_copy__compare_fds()
2401 if (!buf_from || !buf_to) in kcore_copy__compare_fds()
2415 if (readn(to, buf_to, len) != (int)len) in kcore_copy__compare_fds()
2418 if (memcmp(buf_from, buf_to, len)) in kcore_copy__compare_fds()
2424 free(buf_to); in kcore_copy__compare_fds()

Completed in 7 milliseconds