Lines Matching refs:bytes
167 size_t bytes, struct iov_iter *i);
168 void iov_iter_advance(struct iov_iter *i, size_t bytes);
169 void iov_iter_revert(struct iov_iter *i, size_t bytes);
170 size_t fault_in_iov_iter_readable(const struct iov_iter *i, size_t bytes);
171 size_t fault_in_iov_iter_writeable(const struct iov_iter *i, size_t bytes);
173 size_t copy_page_to_iter(struct page *page, size_t offset, size_t bytes,
175 size_t copy_page_from_iter(struct page *page, size_t offset, size_t bytes,
178 size_t _copy_to_iter(const void *addr, size_t bytes, struct iov_iter *i);
179 size_t _copy_from_iter(void *addr, size_t bytes, struct iov_iter *i);
180 size_t _copy_from_iter_nocache(void *addr, size_t bytes, struct iov_iter *i);
183 size_t bytes, struct iov_iter *i) in copy_folio_to_iter() argument
185 return copy_page_to_iter(&folio->page, offset, bytes, i); in copy_folio_to_iter()
189 size_t offset, size_t bytes, struct iov_iter *i) in copy_folio_from_iter_atomic() argument
191 return copy_page_from_iter_atomic(&folio->page, offset, bytes, i); in copy_folio_from_iter_atomic()
195 size_t bytes, struct iov_iter *i);
198 size_t copy_to_iter(const void *addr, size_t bytes, struct iov_iter *i) in copy_to_iter() argument
200 if (check_copy_size(addr, bytes, true)) in copy_to_iter()
201 return _copy_to_iter(addr, bytes, i); in copy_to_iter()
206 size_t copy_from_iter(void *addr, size_t bytes, struct iov_iter *i) in copy_from_iter() argument
208 if (check_copy_size(addr, bytes, false)) in copy_from_iter()
209 return _copy_from_iter(addr, bytes, i); in copy_from_iter()
214 bool copy_from_iter_full(void *addr, size_t bytes, struct iov_iter *i) in copy_from_iter_full() argument
216 size_t copied = copy_from_iter(addr, bytes, i); in copy_from_iter_full()
217 if (likely(copied == bytes)) in copy_from_iter_full()
224 size_t copy_from_iter_nocache(void *addr, size_t bytes, struct iov_iter *i) in copy_from_iter_nocache() argument
226 if (check_copy_size(addr, bytes, false)) in copy_from_iter_nocache()
227 return _copy_from_iter_nocache(addr, bytes, i); in copy_from_iter_nocache()
232 bool copy_from_iter_full_nocache(void *addr, size_t bytes, struct iov_iter *i) in copy_from_iter_full_nocache() argument
234 size_t copied = copy_from_iter_nocache(addr, bytes, i); in copy_from_iter_full_nocache()
235 if (likely(copied == bytes)) in copy_from_iter_full_nocache()
248 size_t _copy_from_iter_flushcache(void *addr, size_t bytes, struct iov_iter *i);
254 size_t _copy_mc_to_iter(const void *addr, size_t bytes, struct iov_iter *i);
273 size_t iov_iter_zero(size_t bytes, struct iov_iter *);
350 size_t csum_and_copy_to_iter(const void *addr, size_t bytes, void *csstate, struct iov_iter *i);
351 size_t csum_and_copy_from_iter(void *addr, size_t bytes, __wsum *csum, struct iov_iter *i);
354 bool csum_and_copy_from_iter_full(void *addr, size_t bytes, in csum_and_copy_from_iter_full() argument
357 size_t copied = csum_and_copy_from_iter(addr, bytes, csum, i); in csum_and_copy_from_iter_full()
358 if (likely(copied == bytes)) in csum_and_copy_from_iter_full()
363 size_t hash_and_copy_to_iter(const void *addr, size_t bytes, void *hashp,