Searched refs:filebuf (Results 1 – 2 of 2) sorted by relevance
| /linux/usr/ |
| H A D | gen_init_cpio.c | 338 unsigned char filebuf[65536]; in cpio_mkfile_csum() local 340 size_t i, this_size = MIN(size, sizeof(filebuf)); in cpio_mkfile_csum() 342 this_read = read(fd, filebuf, this_size); in cpio_mkfile_csum() 347 *csum += filebuf[i]; in cpio_mkfile_csum() 471 unsigned char filebuf[65536]; in cpio_mkfile() local 472 size_t this_size = MIN(size, sizeof(filebuf)); in cpio_mkfile() 474 this_read = read(file, filebuf, this_size); in cpio_mkfile() 480 if (write(outfd, filebuf, this_read) != this_read) { in cpio_mkfile()
|
| /linux/tools/perf/util/ |
| H A D | symbol.c | 1653 static int dso__find_perf_map(char *filebuf, size_t bufsz, in dso__find_perf_map() argument 1664 snprintf(filebuf, bufsz, "/tmp/perf-%d.map", nsinfo__nstgid(nsi)); in dso__find_perf_map() 1666 rc = access(filebuf, R_OK); in dso__find_perf_map() 1677 snprintf(filebuf, bufsz, "/tmp/perf-%d.map", nsinfo__tgid(nnsi)); in dso__find_perf_map()
|