Lines Matching refs:skip
368 unsigned int skip; member
1041 scatterwalk_map_and_copy(buf + ctx->bufcnt, sg, ctx->skip, in s5p_hash_copy_sgs()
1048 ctx->skip = 0; in s5p_hash_copy_sgs()
1071 unsigned int skip = ctx->skip, n = sg_nents(sg); in s5p_hash_copy_sg_lists() local
1096 while (sg && skip >= sg->length) { in s5p_hash_copy_sg_lists()
1097 skip -= sg->length; in s5p_hash_copy_sg_lists()
1102 len = sg->length - skip; in s5p_hash_copy_sg_lists()
1107 sg_set_page(tmp, sg_page(sg), len, sg->offset + skip); in s5p_hash_copy_sg_lists()
1108 skip = 0; in s5p_hash_copy_sg_lists()
1142 unsigned int skip = ctx->skip, nbytes = new_len, n = 0; in s5p_hash_prepare_sgs() local
1149 if (skip || !final) in s5p_hash_prepare_sgs()
1154 if (skip >= sg_tmp->length) { in s5p_hash_prepare_sgs()
1155 skip -= sg_tmp->length; in s5p_hash_prepare_sgs()
1161 if (!IS_ALIGNED(sg_tmp->length - skip, BUFLEN)) { in s5p_hash_prepare_sgs()
1166 if (nbytes < sg_tmp->length - skip) { in s5p_hash_prepare_sgs()
1171 nbytes -= sg_tmp->length - skip; in s5p_hash_prepare_sgs()
1172 skip = 0; in s5p_hash_prepare_sgs()
1239 ctx->skip = len; in s5p_hash_prepare_request()
1241 ctx->skip = 0; in s5p_hash_prepare_request()
1607 ctx->skip = 0; in s5p_hash_init()