Home
last modified time | relevance | path

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

/linux-6.3-rc2/crypto/
A Dscatterwalk.c30 unsigned int len_this_page = scatterwalk_pagelen(walk); in scatterwalk_copychunks() local
33 if (len_this_page > nbytes) in scatterwalk_copychunks()
34 len_this_page = nbytes; in scatterwalk_copychunks()
38 memcpy_dir(buf, vaddr, len_this_page, out); in scatterwalk_copychunks()
42 scatterwalk_advance(walk, len_this_page); in scatterwalk_copychunks()
44 if (nbytes == len_this_page) in scatterwalk_copychunks()
47 buf += len_this_page; in scatterwalk_copychunks()
48 nbytes -= len_this_page; in scatterwalk_copychunks()
/linux-6.3-rc2/include/crypto/
A Dscatterwalk.h32 unsigned int len_this_page = offset_in_page(~walk->offset) + 1; in scatterwalk_pagelen() local
33 return len_this_page > len ? len : len_this_page; in scatterwalk_pagelen()
39 unsigned int len_this_page = scatterwalk_pagelen(walk); in scatterwalk_clamp() local
40 return nbytes > len_this_page ? len_this_page : nbytes; in scatterwalk_clamp()

Completed in 5 milliseconds