Lines Matching refs:tx_frag_num
199 u8 tx_frag_num, unsigned int chunksize, u32 pad_len) in spu_skcipher_tx_sg_create() argument
207 mssg->spu.src = kcalloc(tx_frag_num, sizeof(struct scatterlist), in spu_skcipher_tx_sg_create()
213 sg_init_table(sg, tx_frag_num); in spu_skcipher_tx_sg_create()
320 u8 tx_frag_num = 1; /* request header */ in handle_skcipher_req() local
412 tx_frag_num++; in handle_skcipher_req()
445 tx_frag_num += rctx->src_nents; in handle_skcipher_req()
447 tx_frag_num++; in handle_skcipher_req()
451 tx_frag_num++; /* extra sg to insert tweak */ in handle_skcipher_req()
453 err = spu_skcipher_tx_sg_create(mssg, rctx, tx_frag_num, chunksize, in handle_skcipher_req()
579 u8 tx_frag_num, in spu_ahash_tx_sg_create() argument
589 mssg->spu.src = kcalloc(tx_frag_num, sizeof(struct scatterlist), in spu_ahash_tx_sg_create()
595 sg_init_table(sg, tx_frag_num); in spu_ahash_tx_sg_create()
692 u8 tx_frag_num = 1; in handle_ahash_req() local
764 tx_frag_num++; in handle_ahash_req()
842 tx_frag_num++; in handle_ahash_req()
871 tx_frag_num += rctx->src_nents; in handle_ahash_req()
873 tx_frag_num++; in handle_ahash_req()
874 err = spu_ahash_tx_sg_create(mssg, rctx, tx_frag_num, spu_hdr_len, in handle_ahash_req()
1163 u8 tx_frag_num, in spu_aead_tx_sg_create() argument
1181 mssg->spu.src = kcalloc(tx_frag_num, sizeof(struct scatterlist), in spu_aead_tx_sg_create()
1187 sg_init_table(sg, tx_frag_num); in spu_aead_tx_sg_create()
1284 u8 tx_frag_num = 1; in handle_aead_req() local
1418 tx_frag_num++; in handle_aead_req()
1448 tx_frag_num++; in handle_aead_req()
1502 tx_frag_num += rctx->src_nents; in handle_aead_req()
1503 tx_frag_num += assoc_nents; in handle_aead_req()
1505 tx_frag_num++; in handle_aead_req()
1507 tx_frag_num++; in handle_aead_req()
1509 tx_frag_num++; in handle_aead_req()
1510 err = spu_aead_tx_sg_create(mssg, rctx, tx_frag_num, spu_hdr_len, in handle_aead_req()