Home
last modified time | relevance | path

Searched refs:read_size (Results 1 – 8 of 8) sorted by relevance

/tools/testing/selftests/net/
Drxtimestamp.c175 bool do_recv(int rcv, int read_size, struct tstamps expected) in do_recv() argument
192 recv_iov.iov_base = malloc(read_size); in do_recv()
193 recv_iov.iov_len = read_size; in do_recv()
201 if (r != read_size) in do_recv()
285 int read_size = op_size; in run_test_case() local
298 read_size += 20; /* for IPv4 header */ in run_test_case()
338 failed = do_recv(rcv, read_size, test_cases[test_num].expected); in run_test_case()
/tools/iio/
Diio_generic_buffer.c359 ssize_t read_size; in main() local
710 read_size = read(fd, data, 1); in main()
711 if (read_size > -1 || errno != EBUSY) { in main()
744 read_size = read(buf_fd, data, toread * scan_size); in main()
745 if (read_size < 0) { in main()
753 for (i = 0; i < read_size / scan_size; i++) in main()
/tools/perf/util/
Dtrace-event.h51 unsigned long long read_size(struct tep_event *event, void *ptr, int size);
Dtrace-event-parse.c95 unsigned long long read_size(struct tep_event *event, void *ptr, int size) in read_size() function
/tools/testing/selftests/filesystems/fuse/
Dfuse_test.c1630 size_t read_size = 0; in bpf_test_readdirplus_not_overriding_backing() local
1677 read_size = read(fuse_dev, bytes_in, sizeof(bytes_in)); in bpf_test_readdirplus_not_overriding_backing()
1681 (struct fuse_direntplus *) (bytes_in + read_size); in bpf_test_readdirplus_not_overriding_backing()
1711 strcpy((char *)(bytes_in + read_size + sizeof(*dirent_plus)), folder1); in bpf_test_readdirplus_not_overriding_backing()
1712 read_size += FUSE_DIRENT_ALIGN(sizeof(*dirent_plus) + strlen(folder1) + in bpf_test_readdirplus_not_overriding_backing()
1719 read_size - sizeof(struct fuse_in_header) - in bpf_test_readdirplus_not_overriding_backing()
1769 size_t read_size; in bpf_test_no_readdirplus_without_nodeid() local
1796 TEST(read_size = read(fuse_dev, bytes_in, sizeof(bytes_in)), read_size > 0); in bpf_test_no_readdirplus_without_nodeid()
1820 TEST(read_size = read(fuse_dev, bytes_in, sizeof(bytes_in)), read_size > 0); in bpf_test_no_readdirplus_without_nodeid()
/tools/testing/selftests/bpf/prog_tests/
Dbpf_iter.c1187 int len, read_size = 4; in test_task_vma() local
1218 min(read_size, CMP_BUFFER_SIZE - len)); in test_task_vma()
/tools/perf/util/scripting-engines/
Dtrace-event-perl.c399 val = read_size(event, data + field->offset, in perl_process_tracepoint()
Dtrace-event-python.c358 val = read_size(event, data + field->offset + i * item_size, in get_field_numeric_entry()