Lines Matching refs:bytes

151 				  size_t bytes, struct iov_iter *i);
152 void iov_iter_advance(struct iov_iter *i, size_t bytes);
153 void iov_iter_revert(struct iov_iter *i, size_t bytes);
154 size_t fault_in_iov_iter_readable(const struct iov_iter *i, size_t bytes);
155 size_t fault_in_iov_iter_writeable(const struct iov_iter *i, size_t bytes);
157 size_t copy_page_to_iter(struct page *page, size_t offset, size_t bytes,
159 size_t copy_page_from_iter(struct page *page, size_t offset, size_t bytes,
162 size_t _copy_to_iter(const void *addr, size_t bytes, struct iov_iter *i);
163 size_t _copy_from_iter(void *addr, size_t bytes, struct iov_iter *i);
164 size_t _copy_from_iter_nocache(void *addr, size_t bytes, struct iov_iter *i);
167 size_t bytes, struct iov_iter *i) in copy_folio_to_iter() argument
169 return copy_page_to_iter(&folio->page, offset, bytes, i); in copy_folio_to_iter()
173 size_t copy_to_iter(const void *addr, size_t bytes, struct iov_iter *i) in copy_to_iter() argument
175 if (check_copy_size(addr, bytes, true)) in copy_to_iter()
176 return _copy_to_iter(addr, bytes, i); in copy_to_iter()
181 size_t copy_from_iter(void *addr, size_t bytes, struct iov_iter *i) in copy_from_iter() argument
183 if (check_copy_size(addr, bytes, false)) in copy_from_iter()
184 return _copy_from_iter(addr, bytes, i); in copy_from_iter()
189 bool copy_from_iter_full(void *addr, size_t bytes, struct iov_iter *i) in copy_from_iter_full() argument
191 size_t copied = copy_from_iter(addr, bytes, i); in copy_from_iter_full()
192 if (likely(copied == bytes)) in copy_from_iter_full()
199 size_t copy_from_iter_nocache(void *addr, size_t bytes, struct iov_iter *i) in copy_from_iter_nocache() argument
201 if (check_copy_size(addr, bytes, false)) in copy_from_iter_nocache()
202 return _copy_from_iter_nocache(addr, bytes, i); in copy_from_iter_nocache()
207 bool copy_from_iter_full_nocache(void *addr, size_t bytes, struct iov_iter *i) in copy_from_iter_full_nocache() argument
209 size_t copied = copy_from_iter_nocache(addr, bytes, i); in copy_from_iter_full_nocache()
210 if (likely(copied == bytes)) in copy_from_iter_full_nocache()
223 size_t _copy_from_iter_flushcache(void *addr, size_t bytes, struct iov_iter *i);
229 size_t _copy_mc_to_iter(const void *addr, size_t bytes, struct iov_iter *i);
234 size_t iov_iter_zero(size_t bytes, struct iov_iter *);
313 size_t csum_and_copy_to_iter(const void *addr, size_t bytes, void *csstate, struct iov_iter *i);
314 size_t csum_and_copy_from_iter(void *addr, size_t bytes, __wsum *csum, struct iov_iter *i);
317 bool csum_and_copy_from_iter_full(void *addr, size_t bytes, in csum_and_copy_from_iter_full() argument
320 size_t copied = csum_and_copy_from_iter(addr, bytes, csum, i); in csum_and_copy_from_iter_full()
321 if (likely(copied == bytes)) in csum_and_copy_from_iter_full()
326 size_t hash_and_copy_to_iter(const void *addr, size_t bytes, void *hashp,