Lines Matching refs:start_index
656 unsigned long start_index;
669 if (nir->start_index < cnir->start_index)
671 else if (nir->start_index >= cnir->start_index + cnir->count)
674 pr_err("nir start index : %ld, count : %d, cnir start_index : %ld, count : %d\n",
675 nir->start_index, nir->count, cnir->start_index, cnir->count);
906 if (nir->start_index <= index &&
907 index < nir->start_index + nir->count) {
914 if (cnir->start_index <= index &&
915 index < cnir->start_index + cnir->count) {
917 } else if (cnir->start_index + cnir->count == index) {
920 } else if (!cnir->start_index && cnir->start_index - 1 == index) {
921 cnir->start_index = index;
925 if (index < cnir->start_index)
927 else if (index >= cnir->start_index + cnir->count)
931 if (nir->start_index + nir->count == index) {
933 } else if (!nir->start_index && nir->start_index - 1 == index) {
934 nir->start_index = index;
939 nir->start_index = index;
947 nir->start_index = index;
990 cnir->start_index, cnir->count);