Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/kvm/lib/
Dio.c44 ssize_t num_written = 0; in test_write() local
66 rc, num_written, num_left); in test_write()
72 num_written += rc; in test_write()
77 } while (num_written < count); in test_write()
79 return num_written; in test_write()
/linux-6.1.9/tools/testing/selftests/vm/
Dsplit_huge_page_test.c235 ssize_t num_written; in split_file_backed_thp() local
263 num_written = write(fd, tmpfs_loc, strlen(tmpfs_loc) + 1); in split_file_backed_thp()
266 if (num_written < 1) { in split_file_backed_thp()
/linux-6.1.9/drivers/rtc/
Drtc-isl12026.c328 size_t chunk_size, num_written; in isl12026_nvm_write() local
346 num_written = 0; in isl12026_nvm_write()
355 memcpy(payload + 2, v + num_written, chunk_size); in isl12026_nvm_write()
370 num_written += chunk_size; in isl12026_nvm_write()
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Duser_ringbuf.c611 int err, num_written = 0; in test_user_ringbuf_blocking_reserve() local
629 num_written++; in test_user_ringbuf_blocking_reserve()
632 if (!ASSERT_GE(num_written, 0, "num_written")) in test_user_ringbuf_blocking_reserve()
657 ASSERT_LE(skel->bss->read, num_written, "num_post_kill"); in test_user_ringbuf_blocking_reserve()
/linux-6.1.9/fs/btrfs/
Dfile.c1501 size_t num_written = 0; in btrfs_buffered_write() local
1725 num_written += copied; in btrfs_buffered_write()
1744 if (num_written > 0) { in btrfs_buffered_write()
1746 iocb->ki_pos += num_written; in btrfs_buffered_write()
1750 return num_written ? num_written : ret; in btrfs_buffered_write()
1965 ssize_t num_written, num_sync; in btrfs_do_write_iter() local
1983 num_written = btrfs_encoded_write(iocb, from, encoded); in btrfs_do_write_iter()
1986 num_written = btrfs_direct_write(iocb, from); in btrfs_do_write_iter()
1987 num_sync = num_written; in btrfs_do_write_iter()
1989 num_written = btrfs_buffered_write(iocb, from); in btrfs_do_write_iter()
[all …]
/linux-6.1.9/drivers/scsi/ibmvscsi/
Dibmvfc.h262 __be32 num_written; member
Dibmvfc.c4845 vhost->num_targets = be32_to_cpu(rsp->num_written); in ibmvfc_discover_targets_done()
/linux-6.1.9/fs/fuse/
Dfile.c1278 size_t num_written = ia.write.out.size; in fuse_perform_write() local
1280 res += num_written; in fuse_perform_write()
1281 pos += num_written; in fuse_perform_write()
1284 if (num_written != count) in fuse_perform_write()