Home
last modified time | relevance | path

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

/linux/crypto/
H 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/include/crypto/
H 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()
/linux/arch/x86/crypto/
H A Daesni-intel_glue.c1294 unsigned int len_this_page = scatterwalk_clamp(&walk, assoclen); in gcm_process_assoc() local
1299 assoclen -= len_this_page; in gcm_process_assoc()
1300 scatterwalk_advance(&walk, len_this_page); in gcm_process_assoc()
1302 len = min(len_this_page, 16 - pos); in gcm_process_assoc()
1306 len_this_page -= len; in gcm_process_assoc()
1312 len = len_this_page; in gcm_process_assoc()
1317 len_this_page -= len; in gcm_process_assoc()
1318 if (unlikely(len_this_page)) { in gcm_process_assoc()
1319 memcpy(buf, src, len_this_page); in gcm_process_assoc()
1320 pos = len_this_page; in gcm_process_assoc()