Home
last modified time | relevance | path

Searched refs:npages (Results 1 – 2 of 2) sorted by relevance

/crypto/
Daf_alg.c397 int npages, i; in af_alg_make_sg() local
403 npages = (off + n + PAGE_SIZE - 1) >> PAGE_SHIFT; in af_alg_make_sg()
404 if (WARN_ON(npages == 0)) in af_alg_make_sg()
407 sg_init_table(sgl->sg, npages + 1); in af_alg_make_sg()
409 for (i = 0, len = n; i < npages; i++) { in af_alg_make_sg()
417 sg_mark_end(sgl->sg + npages - 1); in af_alg_make_sg()
418 sgl->npages = npages; in af_alg_make_sg()
427 sg_unmark_end(sgl_prev->sg + sgl_prev->npages - 1); in af_alg_link_sg()
428 sg_chain(sgl_prev->sg, sgl_prev->npages + 1, sgl_new->sg); in af_alg_link_sg()
435 for (i = 0; i < sgl->npages; i++) in af_alg_free_sg()
[all …]
Dalgif_aead.c271 sg_unmark_end(sgl_prev->sg + sgl_prev->npages - 1); in _aead_recvmsg()
272 sg_chain(sgl_prev->sg, sgl_prev->npages + 1, in _aead_recvmsg()