Lines Matching refs:indata
613 int rem_length = operation->tfrm_op.indata[*iniov_ix].iov_len - *iniov_offset;
626 cdesc->dma_descr->buf = (char*)virt_to_phys(operation->tfrm_op.indata[*iniov_ix].iov_base + *iniov_offset);
632 if (*iniov_offset >= operation->tfrm_op.indata[*iniov_ix].iov_len) {
636 DEBUG_API(printk("create_output_descriptors: not enough indata in operation."));
1198 /* Setup DMA out descriptors for the indata. */
2258 DEBUG_API(printk("cryptocop_job_setup: bad indata (use_dmalists)\n"));
2491 * can get connected/disconnected on different places in the indata. */
2538 if (((oper.indata + oper.inlen) < oper.indata) || ((oper.cipher_outdata + oper.cipher_outlen) < oper.cipher_outdata)){
2547 if (!access_ok(VERIFY_READ, oper.indata, oper.inlen)){
2573 cop->tfrm_op.indata = NULL;
2697 noinpages = (((unsigned long int)(oper.indata + prev_ix) & ~PAGE_MASK) + oper.inlen - 1 - prev_ix + ~PAGE_MASK) >> PAGE_SHIFT;
2723 (unsigned long int)(oper.indata + prev_ix),
2733 DEBUG_API(printk("cryptocop_ioctl_process: get_user_pages indata\n"));
2759 cop->tfrm_op.indata = kmalloc((noinpages) * sizeof(struct iovec), GFP_KERNEL);
2761 if (!cop->tfrm_op.indata || !cop->tfrm_op.outdata) {
2778 cop->tfrm_op.indata[0].iov_len = PAGE_SIZE - ((unsigned long int)(oper.indata + prev_ix) & ~PAGE_MASK);
2779 cop->tfrm_op.indata[0].iov_base = (unsigned char*)page_address(inpages[0]) + ((unsigned long int)(oper.indata + prev_ix) & ~PAGE_MASK);
2780 tmplen -= cop->tfrm_op.indata[0].iov_len;
2782 cop->tfrm_op.indata[i].iov_len = tmplen < PAGE_SIZE ? tmplen : PAGE_SIZE;
2783 cop->tfrm_op.indata[i].iov_base = (unsigned char*)page_address(inpages[i]);
2787 cop->tfrm_op.indata[0].iov_len = oper.inlen - prev_ix;
2788 cop->tfrm_op.indata[0].iov_base = (unsigned char*)page_address(inpages[0]) + ((unsigned long int)(oper.indata + prev_ix) & ~PAGE_MASK);
2957 kfree(cop->tfrm_op.indata);
3247 printk("indata=0x%p\n"
3256 cop->indata,
3305 "indata=0x%p\n"
3313 cop->tfrm_op.indata,
3362 printk("indata[%d]\n"
3366 cop->tfrm_op.indata[i].iov_base,
3367 cop->tfrm_op.indata[i].iov_len);