Home
last modified time | relevance | path

Searched refs:sizep (Results 1 – 4 of 4) sorted by relevance

/tools/lib/api/fs/
A Dfs.h48 int filename__read_str(const char *filename, char **buf, size_t *sizep);
52 int procfs__read_str(const char *entry, char **buf, size_t *sizep);
58 int sysfs__read_str(const char *entry, char **buf, size_t *sizep);
A Dfs.c348 int filename__read_str(const char *filename, char **buf, size_t *sizep) in filename__read_str() argument
359 err = io__getdelim(&io, buf, sizep, /*delim=*/-1); in filename__read_str()
385 int procfs__read_str(const char *entry, char **buf, size_t *sizep) in procfs__read_str() argument
395 return filename__read_str(path, buf, sizep); in procfs__read_str()
435 int sysfs__read_str(const char *entry, char **buf, size_t *sizep) in sysfs__read_str() argument
445 return filename__read_str(path, buf, sizep); in sysfs__read_str()
/tools/perf/util/
A Dtrace-event-info.c46 char buf[BUFSIZ], *sizep; in record_file() local
73 sizep = (char*)&size; in record_file()
75 sizep += sizeof(u64) - hdr_sz; in record_file()
77 if (hdr_sz && pwrite(output_fd, sizep, hdr_sz, hdr_pos) < 0) { in record_file()
/tools/testing/selftests/kvm/include/
A Dtest_util.h49 int test_seq_read(const char *path, char **bufp, size_t *sizep);

Completed in 9 milliseconds