Home
last modified time | relevance | path

Searched refs:filebuf (Results 1 – 2 of 2) sorted by relevance

/linux-6.3-rc2/usr/
A Dgen_init_cpio.c302 unsigned char filebuf[65536]; in cpio_mkfile_csum() local
304 size_t i, this_size = MIN(size, sizeof(filebuf)); in cpio_mkfile_csum()
306 this_read = read(fd, filebuf, this_size); in cpio_mkfile_csum()
311 *csum += filebuf[i]; in cpio_mkfile_csum()
397 unsigned char filebuf[65536]; in cpio_mkfile() local
399 size_t this_size = MIN(size, sizeof(filebuf)); in cpio_mkfile()
401 this_read = read(file, filebuf, this_size); in cpio_mkfile()
407 if (fwrite(filebuf, this_read, 1, stdout) != 1) { in cpio_mkfile()
/linux-6.3-rc2/tools/perf/util/
A Dsymbol.c1767 static int dso__find_perf_map(char *filebuf, size_t bufsz, in dso__find_perf_map() argument
1778 snprintf(filebuf, bufsz, "/tmp/perf-%d.map", nsinfo__nstgid(nsi)); in dso__find_perf_map()
1780 rc = access(filebuf, R_OK); in dso__find_perf_map()
1791 snprintf(filebuf, bufsz, "/tmp/perf-%d.map", nsinfo__tgid(nnsi)); in dso__find_perf_map()

Completed in 8 milliseconds