• Home
  • Raw
  • Download

Lines Matching refs:bytes

167 		unsigned long bytes;	/* Bytes to write to page */  in iomap_write_actor()  local
171 bytes = min_t(unsigned long, PAGE_SIZE - offset, in iomap_write_actor()
174 if (bytes > length) in iomap_write_actor()
175 bytes = length; in iomap_write_actor()
187 if (unlikely(iov_iter_fault_in_readable(i, bytes))) { in iomap_write_actor()
192 status = iomap_write_begin(inode, pos, bytes, flags, &page, in iomap_write_actor()
200 copied = iov_iter_copy_from_user_atomic(page, i, offset, bytes); in iomap_write_actor()
204 status = iomap_write_end(inode, pos, bytes, copied, page); in iomap_write_actor()
221 bytes = min_t(unsigned long, PAGE_SIZE - offset, in iomap_write_actor()
281 unsigned long bytes; /* Bytes to write to page */ in iomap_dirty_actor() local
284 bytes = min_t(loff_t, PAGE_SIZE - offset, length); in iomap_dirty_actor()
290 status = iomap_write_begin(inode, pos, bytes, in iomap_dirty_actor()
299 status = iomap_write_end(inode, pos, bytes, bytes, page); in iomap_dirty_actor()
338 unsigned bytes, struct iomap *iomap) in iomap_zero() argument
343 status = iomap_write_begin(inode, pos, bytes, in iomap_zero()
348 zero_user(page, offset, bytes); in iomap_zero()
351 return iomap_write_end(inode, pos, bytes, bytes, page); in iomap_zero()
354 static int iomap_dax_zero(loff_t pos, unsigned offset, unsigned bytes, in iomap_dax_zero() argument
360 return __dax_zero_page_range(iomap->bdev, sector, offset, bytes); in iomap_dax_zero()
376 unsigned offset, bytes; in iomap_zero_range_actor() local
379 bytes = min_t(loff_t, PAGE_SIZE - offset, count); in iomap_zero_range_actor()
382 status = iomap_dax_zero(pos, offset, bytes, iomap); in iomap_zero_range_actor()
384 status = iomap_zero(inode, pos, offset, bytes, iomap); in iomap_zero_range_actor()
388 pos += bytes; in iomap_zero_range_actor()
389 count -= bytes; in iomap_zero_range_actor()
390 written += bytes; in iomap_zero_range_actor()