/tools/testing/selftests/kvm/lib/ |
D | io.c | 41 ssize_t test_write(int fd, const void *buf, size_t count) in test_write() 43 ssize_t rc; in test_write() 44 ssize_t num_written = 0; in test_write() 118 ssize_t test_read(int fd, void *buf, size_t count) in test_read() 120 ssize_t rc; in test_read() 121 ssize_t num_read = 0; in test_read()
|
/tools/lib/perf/ |
D | lib.c | 10 static ssize_t ion(bool is_read, int fd, void *buf, size_t n) in ion() 17 ssize_t ret = is_read ? read(fd, buf, left) : in ion() 36 ssize_t readn(int fd, void *buf, size_t n) in readn() 44 ssize_t writen(int fd, const void *buf, size_t n) in writen()
|
/tools/perf/util/ |
D | strbuf.h | 59 int strbuf_init(struct strbuf *buf, ssize_t hint); 64 static inline ssize_t strbuf_avail(const struct strbuf *sb) { in strbuf_avail() 93 ssize_t strbuf_read(struct strbuf *, int fd, ssize_t hint);
|
D | dso.h | 347 ssize_t dso__data_read_offset(struct dso *dso, struct machine *machine, 348 u64 offset, u8 *data, ssize_t size); 349 ssize_t dso__data_read_addr(struct dso *dso, struct map *map, 351 u8 *data, ssize_t size); 353 ssize_t dso__data_write_cache_offs(struct dso *dso, struct machine *machine, 354 u64 offset, const u8 *data, ssize_t size); 355 ssize_t dso__data_write_cache_addr(struct dso *dso, struct map *map, 357 const u8 *data, ssize_t size);
|
D | dso.c | 731 static ssize_t bpf_read(struct dso *dso, u64 offset, char *data) in bpf_read() 734 ssize_t size = DSO__DATA_CACHE_SIZE; in bpf_read() 750 size = (ssize_t)min(len - offset, (u64)size); in bpf_read() 846 static ssize_t dso_cache__memcpy(struct dso_cache *cache, u64 offset, u8 *data, in dso_cache__memcpy() 859 static ssize_t file_read(struct dso *dso, struct machine *machine, in file_read() 862 ssize_t ret; in file_read() 886 u64 offset, ssize_t *ret) in dso_cache__populate() 926 ssize_t *ret) in dso_cache__find() 933 static ssize_t dso_cache_io(struct dso *dso, struct machine *machine, in dso_cache_io() 934 u64 offset, u8 *data, ssize_t size, bool out) in dso_cache_io() [all …]
|
D | strbuf.c | 20 int strbuf_init(struct strbuf *sb, ssize_t hint) in strbuf_init() 139 ssize_t strbuf_read(struct strbuf *sb, int fd, ssize_t hint) in strbuf_read() 150 ssize_t cnt; in strbuf_read()
|
D | data.h | 71 ssize_t perf_data__write(struct perf_data *data, 73 ssize_t perf_data_file__write(struct perf_data_file *file,
|
D | lzma.c | 82 ssize_t write_size = sizeof(buf_out) - strm.avail_out; in lzma_decompress_to_file() 115 ssize_t rc; in lzma_is_compressed()
|
D | trace-event.h | 48 ssize_t trace_report(int fd, struct trace_event *tevent, bool repipe); 57 ssize_t size;
|
/tools/lib/perf/include/internal/ |
D | lib.h | 9 ssize_t readn(int fd, void *buf, size_t n); 10 ssize_t writen(int fd, const void *buf, size_t n);
|
/tools/lib/ |
D | vsprintf.c | 9 ssize_t ssize = size; in vscnprintf() 16 ssize_t ssize = size; in scnprintf() 29 ssize_t ssize = size; in scnprintf_pad()
|
/tools/usb/ |
D | ffs-test.c | 336 static ssize_t read_wrap(struct thread *t, void *buf, size_t nbytes); 337 static ssize_t write_wrap(struct thread *t, const void *buf, size_t nbytes); 338 static ssize_t ep0_consume(struct thread *t, const void *buf, size_t nbytes); 339 static ssize_t fill_in_buf(struct thread *t, void *buf, size_t nbytes); 340 static ssize_t empty_out_buf(struct thread *t, const void *buf, size_t nbytes); 347 ssize_t (*in)(struct thread *, void *, size_t); 350 ssize_t (*out)(struct thread *, const void *, size_t); 356 ssize_t status; 423 ssize_t ret; in start_thread_helper() 483 static ssize_t read_wrap(struct thread *t, void *buf, size_t nbytes) in read_wrap() [all …]
|
/tools/testing/selftests/proc/ |
D | proc-self-syscall.c | 25 static inline ssize_t sys_read(int fd, void *buf, size_t len) in sys_read() 35 ssize_t rv; in main()
|
D | read.c | 42 ssize_t rv; in f_reg() 56 ssize_t rv; in f_reg_write() 69 ssize_t rv; in f_lnk()
|
D | self.c | 28 ssize_t rv; in main()
|
/tools/usb/usbip/src/ |
D | usbip_network.c | 95 static ssize_t usbip_net_xmit(int sockfd, void *buff, size_t bufflen, in usbip_net_xmit() 98 ssize_t nbytes; in usbip_net_xmit() 99 ssize_t total = 0; in usbip_net_xmit() 122 ssize_t usbip_net_recv(int sockfd, void *buff, size_t bufflen) in usbip_net_recv() 127 ssize_t usbip_net_send(int sockfd, void *buff, size_t bufflen) in usbip_net_send()
|
/tools/testing/vsock/ |
D | control.c | 116 ssize_t len = strlen(str); in control_writeln() 117 ssize_t ret; in control_writeln() 159 ssize_t ret; in control_readln()
|
/tools/testing/selftests/kvm/include/ |
D | test_util.h | 37 ssize_t test_write(int fd, const void *buf, size_t count); 38 ssize_t test_read(int fd, void *buf, size_t count);
|
/tools/testing/selftests/uevent/ |
D | uevent_filtering.c | 30 ssize_t read_nointr(int fd, void *buf, size_t count) in read_nointr() 32 ssize_t ret; in read_nointr() 42 ssize_t write_nointr(int fd, const void *buf, size_t count) in write_nointr() 44 ssize_t ret; in write_nointr() 156 ssize_t r; in uevent_listener()
|
/tools/testing/selftests/bpf/prog_tests/ |
D | attach_probe.c | 5 ssize_t get_base_addr() { in get_base_addr() 33 ssize_t base_addr; in test_attach_probe()
|
/tools/testing/selftests/powerpc/include/ |
D | utils.h | 30 int read_auxv(char *buf, ssize_t buf_size); 125 ssize_t nbytes __attribute__((unused)); \
|
/tools/testing/selftests/net/mptcp/ |
D | mptcp_connect.c | 267 ssize_t bw; in do_rnd_write() 301 ssize_t bw; in do_write() 316 static ssize_t do_rnd_read(const int fd, char *buf, const size_t len) in do_rnd_read() 353 ssize_t len; in copyfd_io_poll() 399 ssize_t bw; in copyfd_io_poll() 448 ssize_t r; in do_recvfile() 468 ssize_t ret = 0, off = 0; in do_mmap() 497 ssize_t count; in get_infd_size() 523 ssize_t r; in do_sendfile()
|
/tools/testing/selftests/arm64/mte/ |
D | mte_common_util.h | 32 ssize_t trig_range; 60 void mte_initialize_current_context(int mode, uintptr_t ptr, ssize_t range);
|
/tools/power/cpupower/utils/helpers/ |
D | sysfs.c | 21 ssize_t numread; in sysfs_read_file() 51 ssize_t numread; in sysfs_is_cpu_online() 129 ssize_t numread; in sysfs_idlestate_read_file() 164 ssize_t numwrite; in sysfs_idlestate_write_file()
|
/tools/testing/selftests/cgroup/ |
D | cgroup_util.c | 20 static ssize_t read_text(const char *path, char *buf, size_t max_len) in read_text() 22 ssize_t len; in read_text() 39 static ssize_t write_text(const char *path, char *buf, ssize_t len) in write_text() 181 ssize_t len = strlen(buf); in cg_write() 532 ssize_t proc_read_text(int pid, bool thread, const char *item, char *buf, size_t size) in proc_read_text()
|