Lines Matching refs:num_written
1501 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()
1990 num_sync = num_written; in btrfs_do_write_iter()
1998 num_written = num_sync; in btrfs_do_write_iter()
2005 return num_written; in btrfs_do_write_iter()