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

/linux-master/usr/
H A Dgen_init_cpio.c303 unsigned char filebuf[65536]; local
305 size_t i, this_size = MIN(size, sizeof(filebuf));
307 this_read = read(fd, filebuf, this_size);
312 *csum += filebuf[i];
410 unsigned char filebuf[65536]; local
412 size_t this_size = MIN(size, sizeof(filebuf));
414 this_read = read(file, filebuf, this_size);
420 if (fwrite(filebuf, this_read, 1, stdout) != 1) {
421 fprintf(stderr, "writing filebuf failed\n");
/linux-master/tools/perf/util/
H A Dsymbol.c1745 static int dso__find_perf_map(char *filebuf, size_t bufsz, argument
1756 snprintf(filebuf, bufsz, "/tmp/perf-%d.map", nsinfo__nstgid(nsi));
1758 rc = access(filebuf, R_OK);
1769 snprintf(filebuf, bufsz, "/tmp/perf-%d.map", nsinfo__tgid(nnsi));

Completed in 165 milliseconds