Lines Matching refs:new_len
1024 struct scatterlist *sg, unsigned int new_len) in s5p_hash_copy_sgs() argument
1029 len = new_len + ctx->bufcnt; in s5p_hash_copy_sgs()
1043 new_len, 0); in s5p_hash_copy_sgs()
1070 struct scatterlist *sg, unsigned int new_len) in s5p_hash_copy_sg_lists() argument
1102 while (sg && new_len) { in s5p_hash_copy_sg_lists()
1104 if (new_len < len) in s5p_hash_copy_sg_lists()
1105 len = new_len; in s5p_hash_copy_sg_lists()
1107 new_len -= len; in s5p_hash_copy_sg_lists()
1110 if (new_len <= 0) in s5p_hash_copy_sg_lists()
1141 unsigned int new_len, bool final) in s5p_hash_prepare_sgs() argument
1143 unsigned int skip = ctx->skip, nbytes = new_len, n = 0; in s5p_hash_prepare_sgs()
1147 if (!sg || !sg->length || !new_len) in s5p_hash_prepare_sgs()
1180 return s5p_hash_copy_sgs(ctx, sg, new_len); in s5p_hash_prepare_sgs()
1182 return s5p_hash_copy_sg_lists(ctx, sg, new_len); in s5p_hash_prepare_sgs()