Lines Matching full:bytes

154  * Total number of bytes covered by an iovec.
171 size_t bytes, struct iov_iter *i);
172 void iov_iter_advance(struct iov_iter *i, size_t bytes);
173 void iov_iter_revert(struct iov_iter *i, size_t bytes);
174 size_t fault_in_iov_iter_readable(const struct iov_iter *i, size_t bytes);
175 size_t fault_in_iov_iter_writeable(const struct iov_iter *i, size_t bytes);
177 size_t copy_page_to_iter(struct page *page, size_t offset, size_t bytes,
179 size_t copy_page_from_iter(struct page *page, size_t offset, size_t bytes,
182 size_t _copy_to_iter(const void *addr, size_t bytes, struct iov_iter *i);
183 size_t _copy_from_iter(void *addr, size_t bytes, struct iov_iter *i);
184 size_t _copy_from_iter_nocache(void *addr, size_t bytes, struct iov_iter *i);
187 size_t bytes, struct iov_iter *i) in copy_folio_to_iter() argument
189 return copy_page_to_iter(&folio->page, offset, bytes, i); in copy_folio_to_iter()
193 size_t bytes, struct iov_iter *i) in copy_folio_from_iter() argument
195 return copy_page_from_iter(&folio->page, offset, bytes, i); in copy_folio_from_iter()
199 size_t offset, size_t bytes, struct iov_iter *i) in copy_folio_from_iter_atomic() argument
201 return copy_page_from_iter_atomic(&folio->page, offset, bytes, i); in copy_folio_from_iter_atomic()
205 size_t bytes, struct iov_iter *i);
208 size_t copy_to_iter(const void *addr, size_t bytes, struct iov_iter *i) in copy_to_iter() argument
210 if (check_copy_size(addr, bytes, true)) in copy_to_iter()
211 return _copy_to_iter(addr, bytes, i); in copy_to_iter()
216 size_t copy_from_iter(void *addr, size_t bytes, struct iov_iter *i) in copy_from_iter() argument
218 if (check_copy_size(addr, bytes, false)) in copy_from_iter()
219 return _copy_from_iter(addr, bytes, i); in copy_from_iter()
224 bool copy_to_iter_full(const void *addr, size_t bytes, struct iov_iter *i) in copy_to_iter_full() argument
226 size_t copied = copy_to_iter(addr, bytes, i); in copy_to_iter_full()
227 if (likely(copied == bytes)) in copy_to_iter_full()
234 bool copy_from_iter_full(void *addr, size_t bytes, struct iov_iter *i) in copy_from_iter_full() argument
236 size_t copied = copy_from_iter(addr, bytes, i); in copy_from_iter_full()
237 if (likely(copied == bytes)) in copy_from_iter_full()
244 size_t copy_from_iter_nocache(void *addr, size_t bytes, struct iov_iter *i) in copy_from_iter_nocache() argument
246 if (check_copy_size(addr, bytes, false)) in copy_from_iter_nocache()
247 return _copy_from_iter_nocache(addr, bytes, i); in copy_from_iter_nocache()
252 bool copy_from_iter_full_nocache(void *addr, size_t bytes, struct iov_iter *i) in copy_from_iter_full_nocache() argument
254 size_t copied = copy_from_iter_nocache(addr, bytes, i); in copy_from_iter_full_nocache()
255 if (likely(copied == bytes)) in copy_from_iter_full_nocache()
268 size_t _copy_from_iter_flushcache(void *addr, size_t bytes, struct iov_iter *i);
274 size_t _copy_mc_to_iter(const void *addr, size_t bytes, struct iov_iter *i);
279 size_t iov_iter_zero(size_t bytes, struct iov_iter *);