Searched refs:qm_sg_ents (Results 1 – 2 of 2) sorted by relevance
957 int qm_sg_index = 0, qm_sg_ents = 0, qm_sg_bytes; in aead_edesc_alloc() local1055 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() local1314 qm_sg_ents = 1 + mapped_src_nents; in skcipher_edesc_alloc()[all …]
1127 int dst_sg_idx, qm_sg_ents, qm_sg_bytes; in skcipher_edesc_alloc() local1168 qm_sg_ents = 1 + mapped_src_nents; in skcipher_edesc_alloc()1169 dst_sg_idx = qm_sg_ents; in skcipher_edesc_alloc()1180 qm_sg_ents += pad_sg_nents(mapped_dst_nents + 1); in skcipher_edesc_alloc()1182 qm_sg_ents = 1 + pad_sg_nents(qm_sg_ents); in skcipher_edesc_alloc()1184 qm_sg_bytes = qm_sg_ents * sizeof(struct dpaa2_sg_entry); in skcipher_edesc_alloc()1188 qm_sg_ents, ivsize); in skcipher_edesc_alloc()1205 iv = (u8 *)(sg_table + qm_sg_ents); in skcipher_edesc_alloc()