Lines Matching refs:src_idx
882 int i, src_idx, ret; in mv_chan_xor_self_test() local
896 for (src_idx = 0; src_idx < src_count; src_idx++) { in mv_chan_xor_self_test()
897 xor_srcs[src_idx] = alloc_page(GFP_KERNEL); in mv_chan_xor_self_test()
898 if (!xor_srcs[src_idx]) { in mv_chan_xor_self_test()
899 while (src_idx--) in mv_chan_xor_self_test()
900 __free_page(xor_srcs[src_idx]); in mv_chan_xor_self_test()
907 while (src_idx--) in mv_chan_xor_self_test()
908 __free_page(xor_srcs[src_idx]); in mv_chan_xor_self_test()
913 for (src_idx = 0; src_idx < src_count; src_idx++) { in mv_chan_xor_self_test()
914 u8 *ptr = page_address(xor_srcs[src_idx]); in mv_chan_xor_self_test()
916 ptr[i] = (1 << src_idx); in mv_chan_xor_self_test()
919 for (src_idx = 0; src_idx < src_count; src_idx++) in mv_chan_xor_self_test()
920 cmp_byte ^= (u8) (1 << src_idx); in mv_chan_xor_self_test()
1010 src_idx = src_count; in mv_chan_xor_self_test()
1011 while (src_idx--) in mv_chan_xor_self_test()
1012 __free_page(xor_srcs[src_idx]); in mv_chan_xor_self_test()