Searched refs:len_this_page (Results 1 – 3 of 3) sorted by relevance
30 unsigned int len_this_page = scatterwalk_pagelen(walk); in scatterwalk_copychunks() local33 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()
32 unsigned int len_this_page = offset_in_page(~walk->offset) + 1; in scatterwalk_pagelen() local33 return len_this_page > len ? len : len_this_page; in scatterwalk_pagelen()39 unsigned int len_this_page = scatterwalk_pagelen(walk); in scatterwalk_clamp() local40 return nbytes > len_this_page ? len_this_page : nbytes; in scatterwalk_clamp()
1294 unsigned int len_this_page = scatterwalk_clamp(&walk, assoclen); in gcm_process_assoc() local1299 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()