Lines Matching refs:nbytes
53 unsigned int nbytes) in scatterwalk_clamp() argument
80 return min3(nbytes, len_this_sg, limit); in scatterwalk_clamp()
144 unsigned int nbytes = scatterwalk_clamp(walk, total); in scatterwalk_next() local
147 return nbytes; in scatterwalk_next()
157 unsigned int nbytes) in scatterwalk_advance() argument
159 walk->offset += nbytes; in scatterwalk_advance()
171 unsigned int nbytes) in scatterwalk_done_src() argument
174 scatterwalk_advance(walk, nbytes); in scatterwalk_done_src()
187 unsigned int nbytes) in __scatterwalk_flush_dcache_pages() argument
198 num_pages = nbytes / PAGE_SIZE; in __scatterwalk_flush_dcache_pages()
199 num_pages += DIV_ROUND_UP(offset + (nbytes % PAGE_SIZE), PAGE_SIZE); in __scatterwalk_flush_dcache_pages()
215 unsigned int nbytes) in scatterwalk_done_dst() argument
220 walk->offset, nbytes); in scatterwalk_done_dst()
221 scatterwalk_advance(walk, nbytes); in scatterwalk_done_dst()
224 void scatterwalk_skip(struct scatter_walk *walk, unsigned int nbytes);
227 unsigned int nbytes);
230 unsigned int nbytes);
233 unsigned int start, unsigned int nbytes);
236 const void *buf, unsigned int nbytes);
239 unsigned int nbytes);
244 unsigned int nbytes, int out) in scatterwalk_map_and_copy() argument
247 memcpy_to_sglist(sg, start, buf, nbytes); in scatterwalk_map_and_copy()
249 memcpy_from_sglist(buf, sg, start, nbytes); in scatterwalk_map_and_copy()