Lines Matching refs:idx_b
802 int idx_b = *idx >> 32; in __next_mem_range() local
831 *idx = (u32)idx_a | (u64)idx_b << 32; in __next_mem_range()
836 for (; idx_b < type_b->cnt + 1; idx_b++) { in __next_mem_range()
841 r = &type_b->regions[idx_b]; in __next_mem_range()
842 r_start = idx_b ? r[-1].base + r[-1].size : 0; in __next_mem_range()
843 r_end = idx_b < type_b->cnt ? in __next_mem_range()
868 idx_b++; in __next_mem_range()
869 *idx = (u32)idx_a | (u64)idx_b << 32; in __next_mem_range()
902 int idx_b = *idx >> 32; in __next_mem_range_rev() local
909 idx_b = type_b->cnt; in __next_mem_range_rev()
935 *idx = (u32)idx_a | (u64)idx_b << 32; in __next_mem_range_rev()
940 for (; idx_b >= 0; idx_b--) { in __next_mem_range_rev()
945 r = &type_b->regions[idx_b]; in __next_mem_range_rev()
946 r_start = idx_b ? r[-1].base + r[-1].size : 0; in __next_mem_range_rev()
947 r_end = idx_b < type_b->cnt ? in __next_mem_range_rev()
967 idx_b--; in __next_mem_range_rev()
968 *idx = (u32)idx_a | (u64)idx_b << 32; in __next_mem_range_rev()