Home
last modified time | relevance | path

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

/tools/lib/api/fs/
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);
Dfs.c377 int filename__read_str(const char *filename, char **buf, size_t *sizep) in filename__read_str() argument
416 *sizep = size; in filename__read_str()
441 int procfs__read_str(const char *entry, char **buf, size_t *sizep) in procfs__read_str() argument
451 return filename__read_str(path, buf, sizep); in procfs__read_str()
491 int sysfs__read_str(const char *entry, char **buf, size_t *sizep) in sysfs__read_str() argument
501 return filename__read_str(path, buf, sizep); in sysfs__read_str()
/tools/perf/util/
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/
Dtest_util.h40 int test_seq_read(const char *path, char **bufp, size_t *sizep);