Searched refs:filebuf (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/usr/ |
D | gen_init_cpio.c | 302 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() 403 unsigned char filebuf[65536]; in cpio_mkfile() local 405 size_t this_size = MIN(size, sizeof(filebuf)); in cpio_mkfile() 407 this_read = read(file, filebuf, this_size); in cpio_mkfile() 413 if (fwrite(filebuf, this_read, 1, stdout) != 1) { in cpio_mkfile()
|
/linux-6.6.21/tools/perf/util/ |
D | symbol.c | 1841 static int dso__find_perf_map(char *filebuf, size_t bufsz, in dso__find_perf_map() argument 1852 snprintf(filebuf, bufsz, "/tmp/perf-%d.map", nsinfo__nstgid(nsi)); in dso__find_perf_map() 1854 rc = access(filebuf, R_OK); in dso__find_perf_map() 1865 snprintf(filebuf, bufsz, "/tmp/perf-%d.map", nsinfo__tgid(nnsi)); in dso__find_perf_map()
|