Lines Matching refs:qm_sg_ents
957 int qm_sg_index = 0, qm_sg_ents = 0, qm_sg_bytes; in aead_edesc_alloc() local
1055 qm_sg_ents = 1 + !!ivsize + mapped_src_nents; in aead_edesc_alloc()
1057 qm_sg_ents += pad_sg_nents(mapped_dst_nents); in aead_edesc_alloc()
1059 qm_sg_ents = max(pad_sg_nents(qm_sg_ents), in aead_edesc_alloc()
1062 qm_sg_ents = pad_sg_nents(qm_sg_ents); in aead_edesc_alloc()
1065 qm_sg_bytes = qm_sg_ents * sizeof(*sg_table); in aead_edesc_alloc()
1069 qm_sg_ents, ivsize); in aead_edesc_alloc()
1077 u8 *iv = (u8 *)(sg_table + qm_sg_ents); in aead_edesc_alloc()
1267 int dst_sg_idx, qm_sg_ents, qm_sg_bytes; in skcipher_edesc_alloc() local
1314 qm_sg_ents = 1 + mapped_src_nents; in skcipher_edesc_alloc()
1315 dst_sg_idx = qm_sg_ents; in skcipher_edesc_alloc()
1326 qm_sg_ents += pad_sg_nents(mapped_dst_nents + 1); in skcipher_edesc_alloc()
1328 qm_sg_ents = 1 + pad_sg_nents(qm_sg_ents); in skcipher_edesc_alloc()
1330 qm_sg_bytes = qm_sg_ents * sizeof(struct qm_sg_entry); in skcipher_edesc_alloc()
1338 qm_sg_ents, ivsize); in skcipher_edesc_alloc()