• Home
  • Raw
  • Download

Lines Matching refs:page

53 	struct page *page = scatterwalk_page(walk);  in skcipher_map()  local
55 return (PageHighMem(page) ? kmap_atomic(page) : page_address(page)) + in skcipher_map()
129 memcpy(walk->dst.virt.addr, walk->page, n); in skcipher_walk_done()
164 if (!((unsigned long)walk->buffer | (unsigned long)walk->page)) in skcipher_walk_done()
172 if (walk->buffer != walk->page) in skcipher_walk_done()
174 if (walk->page) in skcipher_walk_done()
175 free_page((unsigned long)walk->page); in skcipher_walk_done()
211 if (walk->buffer != walk->page) in skcipher_walk_complete()
213 if (walk->page) in skcipher_walk_complete()
214 free_page((unsigned long)walk->page); in skcipher_walk_complete()
237 walk->buffer = walk->page; in skcipher_next_slow()
289 u8 *tmp = walk->page; in skcipher_next_copy()
305 p->data = walk->page; in skcipher_next_copy()
309 if (offset_in_page(walk->page) + walk->nbytes + walk->stride > in skcipher_next_copy()
311 walk->page = NULL; in skcipher_next_copy()
313 walk->page += walk->nbytes; in skcipher_next_copy()
322 walk->src.phys.page = scatterwalk_page(&walk->in); in skcipher_next_fast()
324 walk->dst.phys.page = scatterwalk_page(&walk->out); in skcipher_next_fast()
331 diff |= walk->src.virt.page - walk->dst.virt.page; in skcipher_next_fast()
368 if (!walk->page) { in skcipher_walk_next()
371 walk->page = (void *)__get_free_page(gfp); in skcipher_walk_next()
372 if (!walk->page) in skcipher_walk_next()
377 PAGE_SIZE - offset_in_page(walk->page)); in skcipher_walk_next()
389 walk->src.phys.page = virt_to_page(walk->src.virt.addr); in skcipher_walk_next()
390 walk->dst.phys.page = virt_to_page(walk->dst.virt.addr); in skcipher_walk_next()
444 walk->page = NULL; in skcipher_walk_first()