Lines Matching refs:out
41 static void memcpy_dir(void *buf, void *sgdata, size_t nbytes, int out) in memcpy_dir() argument
43 if (out) in memcpy_dir()
63 void scatterwalk_map(struct scatter_walk *walk, int out) in scatterwalk_map() argument
65 walk->data = crypto_kmap(walk->page, out) + walk->offset; in scatterwalk_map()
68 static void scatterwalk_pagedone(struct scatter_walk *walk, int out, in scatterwalk_pagedone() argument
75 if (out) in scatterwalk_pagedone()
92 void scatterwalk_done(struct scatter_walk *walk, int out, int more) in scatterwalk_done() argument
94 crypto_kunmap(walk->data, out); in scatterwalk_done()
96 scatterwalk_pagedone(walk, out, more); in scatterwalk_done()
104 size_t nbytes, int out) in scatterwalk_copychunks() argument
108 memcpy_dir(buf, walk->data, walk->len_this_page, out); in scatterwalk_copychunks()
112 crypto_kunmap(walk->data, out); in scatterwalk_copychunks()
113 scatterwalk_pagedone(walk, out, 1); in scatterwalk_copychunks()
114 scatterwalk_map(walk, out); in scatterwalk_copychunks()
117 memcpy_dir(buf, walk->data, nbytes, out); in scatterwalk_copychunks()