Lines Matching refs:last_idx
63 uint32_t last_idx; in find_last_idx() local
67 last_idx = 0; in find_last_idx()
71 last_idx++; in find_last_idx()
77 return last_idx; in find_last_idx()
86 uint32_t last_idx; local
114 last_idx = find_last_idx(state, swap_size);
124 if (((bs->idx - BOOT_STATUS_IDX_0) > last_idx ||
125 ((bs->idx - BOOT_STATUS_IDX_0) == last_idx &&
134 if ((bs->idx - BOOT_STATUS_IDX_0) > last_idx ||
135 ((bs->idx - BOOT_STATUS_IDX_0) == last_idx &&
148 bs->idx <= last_idx) {
625 uint32_t last_idx; local
635 last_idx = find_last_idx(state, copy_size);
652 if (last_idx >= first_trailer_idx) {
655 (last_idx + 1) * sector_sz,
701 while (idx <= last_idx) {
703 uint32_t mirror_idx = last_idx - idx;
724 while (idx <= last_idx) {