Lines Matching full:progress

15 typedef size_t (*iov_step_f)(void *iter_base, size_t progress, size_t len,
17 typedef size_t (*iov_ustep_f)(void __user *iter_base, size_t progress, size_t len,
28 size_t progress = 0, remain; in iterate_ubuf() local
31 progress = len - remain; in iterate_ubuf()
32 iter->iov_offset += progress; in iterate_ubuf()
33 iter->count -= progress; in iterate_ubuf()
34 return progress; in iterate_ubuf()
45 size_t progress = 0, skip = iter->iov_offset; in iterate_iovec() local
52 remain = step(p->iov_base + skip, progress, part, priv, priv2); in iterate_iovec()
54 progress += consumed; in iterate_iovec()
67 iter->count -= progress; in iterate_iovec()
68 return progress; in iterate_iovec()
79 size_t progress = 0, skip = iter->iov_offset; in iterate_kvec() local
86 remain = step(p->iov_base + skip, progress, part, priv, priv2); in iterate_kvec()
88 progress += consumed; in iterate_kvec()
101 iter->count -= progress; in iterate_kvec()
102 return progress; in iterate_kvec()
113 size_t progress = 0, skip = iter->iov_offset; in iterate_bvec() local
123 remain = step(kaddr + offset % PAGE_SIZE, progress, part, priv, priv2); in iterate_bvec()
127 progress += consumed; in iterate_bvec()
140 iter->count -= progress; in iterate_bvec()
141 return progress; in iterate_bvec()
153 size_t progress = 0, skip = iter->iov_offset; in iterate_folioq() local
173 remain = step(base, progress, part, priv, priv2); in iterate_folioq()
177 progress += consumed; in iterate_folioq()
194 iter->count -= progress; in iterate_folioq()
195 return progress; in iterate_folioq()
206 size_t progress = 0; in iterate_xarray() local
222 offset = offset_in_folio(folio, start + progress); in iterate_xarray()
230 remain = step(base, progress, part, priv, priv2); in iterate_xarray()
234 progress += consumed; in iterate_xarray()
246 iter->iov_offset += progress; in iterate_xarray()
247 iter->count -= progress; in iterate_xarray()
248 return progress; in iterate_xarray()
258 size_t progress = len; in iterate_discard() local
260 iter->count -= progress; in iterate_discard()
261 return progress; in iterate_discard()