Searched refs:filebuf (Results 1 – 2 of 2) sorted by relevance
/linux/usr/ |
H A D | gen_init_cpio.c | 303 unsigned char filebuf[65536]; in cpio_mkfile_csum() local 305 size_t i, this_size = MIN(size, sizeof(filebuf)); in cpio_mkfile_csum() 307 this_read = read(fd, filebuf, this_size); in cpio_mkfile_csum() 312 *csum += filebuf[i]; in cpio_mkfile_csum() 410 unsigned char filebuf[65536]; in cpio_mkfile() local 412 size_t this_size = MIN(size, sizeof(filebuf)); in cpio_mkfile() 414 this_read = read(file, filebuf, this_size); in cpio_mkfile() 420 if (fwrite(filebuf, this_read, 1, stdout) != 1) { in cpio_mkfile() 421 fprintf(stderr, "writing filebuf failed\n"); in cpio_mkfile()
|
/linux/tools/perf/util/ |
H A D | symbol.c | 1772 static int dso__find_perf_map(char *filebuf, size_t bufsz, in dso__find_perf_map() argument 1783 snprintf(filebuf, bufsz, "/tmp/perf-%d.map", nsinfo__nstgid(nsi)); in dso__find_perf_map() 1785 rc = access(filebuf, R_OK); in dso__find_perf_map() 1796 snprintf(filebuf, bufsz, "/tmp/perf-%d.map", nsinfo__tgid(nnsi)); in dso__find_perf_map()
|