Lines Matching refs:prev_ix
2507 size_t prev_ix = 0;
2684 prev_ix = first_cfg_change_ix(&oper);
2685 if (prev_ix > oper.inlen) {
2694 noinpages = (((unsigned long int)(oper.indata + prev_ix) & ~PAGE_MASK) + oper.inlen - 1 - prev_ix + ~PAGE_MASK) >> PAGE_SHIFT;
2720 (unsigned long int)(oper.indata + prev_ix),
2764 cop->tfrm_op.inlen = oper.inlen - prev_ix;
2775 cop->tfrm_op.indata[0].iov_len = PAGE_SIZE - ((unsigned long int)(oper.indata + prev_ix) & ~PAGE_MASK);
2776 cop->tfrm_op.indata[0].iov_base = (unsigned char*)page_address(inpages[0]) + ((unsigned long int)(oper.indata + prev_ix) & ~PAGE_MASK);
2784 cop->tfrm_op.indata[0].iov_len = oper.inlen - prev_ix;
2785 cop->tfrm_op.indata[0].iov_base = (unsigned char*)page_address(inpages[0]) + ((unsigned long int)(oper.indata + prev_ix) & ~PAGE_MASK);
2791 next_ix = next_cfg_change_ix(&oper, prev_ix);
2792 if (prev_ix == next_ix){
2797 while (prev_ix != next_ix){
2800 descs[desc_ix].length = next_ix - prev_ix;
2802 if (oper.do_cipher && (oper.cipher_start < next_ix) && (prev_ix < (oper.cipher_start + oper.cipher_len))) {
2817 if (oper.do_digest && (oper.digest_start < next_ix) && (prev_ix < (oper.digest_start + oper.digest_len))) {
2832 if (oper.do_csum && (oper.csum_start < next_ix) && (prev_ix < (oper.csum_start + oper.csum_len))){
2847 DEBUG_API(printk("cryptocop_ioctl_process: data segment %d (%d to %d) had no active transforms\n", desc_ix, prev_ix, next_ix));
2853 prev_ix = next_ix;
2854 next_ix = next_cfg_change_ix(&oper, prev_ix);