Lines Matching refs:rx_frag_num

135 			    u8 rx_frag_num,  in spu_skcipher_rx_sg_create()  argument
143 mssg->spu.dst = kcalloc(rx_frag_num, sizeof(struct scatterlist), in spu_skcipher_rx_sg_create()
149 sg_init_table(sg, rx_frag_num); in spu_skcipher_rx_sg_create()
319 u8 rx_frag_num = 2; /* response header and STATUS */ in handle_skcipher_req() local
409 rx_frag_num++; in handle_skcipher_req()
433 rx_frag_num += rctx->dst_nents; in handle_skcipher_req()
437 rx_frag_num++; /* extra sg to insert tweak */ in handle_skcipher_req()
439 err = spu_skcipher_rx_sg_create(mssg, rctx, rx_frag_num, chunksize, in handle_skcipher_req()
527 u8 rx_frag_num, unsigned int digestsize, in spu_ahash_rx_sg_create() argument
534 mssg->spu.dst = kcalloc(rx_frag_num, sizeof(struct scatterlist), in spu_ahash_rx_sg_create()
540 sg_init_table(sg, rx_frag_num); in spu_ahash_rx_sg_create()
691 u8 rx_frag_num = 3; in handle_ahash_req() local
839 rx_frag_num++; in handle_ahash_req()
865 err = spu_ahash_rx_sg_create(mssg, rctx, rx_frag_num, digestsize, in handle_ahash_req()
1044 u8 rx_frag_num, in spu_aead_rx_sg_create() argument
1077 rx_frag_num++; in spu_aead_rx_sg_create()
1079 mssg->spu.dst = kcalloc(rx_frag_num, sizeof(struct scatterlist), in spu_aead_rx_sg_create()
1085 sg_init_table(sg, rx_frag_num); in spu_aead_rx_sg_create()
1283 u8 rx_frag_num = 2; /* and STATUS */ in handle_aead_req() local
1357 rx_frag_num++; in handle_aead_req()
1445 rx_frag_num++; in handle_aead_req()
1472 rx_frag_num += rctx->dst_nents; in handle_aead_req()
1480 rx_frag_num++; in handle_aead_req()
1491 rx_frag_num -= rctx->dst_nents; in handle_aead_req()
1494 err = spu_aead_rx_sg_create(mssg, req, rctx, rx_frag_num, in handle_aead_req()