Home
last modified time | relevance | path

Searched refs:bw (Results 1 – 2 of 2) sorted by relevance

/tools/testing/selftests/net/mptcp/
Dmptcp_connect.c315 ssize_t bw; in do_rnd_write() local
327 bw = write(fd, buf, do_w); in do_rnd_write()
328 if (bw < 0) in do_rnd_write()
340 return bw; in do_rnd_write()
349 ssize_t bw; in do_write() local
351 bw = write(fd, buf + offset, len - offset); in do_write()
352 if (bw < 0) { in do_write()
357 written = (size_t)bw; in do_write()
515 ssize_t bw; in copyfd_io_poll() local
517 bw = do_rnd_write(peerfd, wbuf + woff, wlen); in copyfd_io_poll()
[all …]
/tools/testing/selftests/filesystems/incfs/
Dincfs_test.c3148 uint32_t bw; in zero_blocks_written_count() local
3167 TESTEQUAL(pread(fd, &bw, sizeof(bw), offset + 23), sizeof(bw)); in zero_blocks_written_count()
3168 TESTEQUAL(le32_to_cpu(bw), data_blocks_written); in zero_blocks_written_count()
3169 TESTEQUAL(pread(fd, &bw, sizeof(bw), offset + 27), sizeof(bw)); in zero_blocks_written_count()
3170 TESTEQUAL(le32_to_cpu(bw), hash_blocks_written); in zero_blocks_written_count()
3173 bw = 0; in zero_blocks_written_count()
3174 TESTEQUAL(pwrite(fd, &bw, sizeof(bw), offset + 23), sizeof(bw)); in zero_blocks_written_count()
3175 TESTEQUAL(pwrite(fd, &bw, sizeof(bw), offset + 27), sizeof(bw)); in zero_blocks_written_count()