Home
last modified time | relevance | path

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

/Linux-v6.1/usr/
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-v6.1/tools/perf/util/
Dsymbol.c1745 static int dso__find_perf_map(char *filebuf, size_t bufsz, in dso__find_perf_map() argument
1756 snprintf(filebuf, bufsz, "/tmp/perf-%d.map", nsinfo__nstgid(nsi)); in dso__find_perf_map()
1758 rc = access(filebuf, R_OK); in dso__find_perf_map()
1769 snprintf(filebuf, bufsz, "/tmp/perf-%d.map", nsinfo__tgid(nnsi)); in dso__find_perf_map()