Searched refs:filebuf (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/usr/ |
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()
|
/linux-6.12.1/tools/perf/util/ |
D | symbol.c | 1753 static int dso__find_perf_map(char *filebuf, size_t bufsz, in dso__find_perf_map() argument 1764 snprintf(filebuf, bufsz, "/tmp/perf-%d.map", nsinfo__nstgid(nsi)); in dso__find_perf_map() 1766 rc = access(filebuf, R_OK); in dso__find_perf_map() 1777 snprintf(filebuf, bufsz, "/tmp/perf-%d.map", nsinfo__tgid(nnsi)); in dso__find_perf_map()
|