Lines Matching refs:istart
217 .macro compute_indices, vstart, vend, shift, ptrs, istart, iend, count
219 mov \istart, \ptrs
220 sub \istart, \istart, #1
221 and \iend, \iend, \istart // iend = (vend >> shift) & (ptrs - 1)
222 mov \istart, \ptrs
223 mul \istart, \istart, \count
224 add \iend, \iend, \istart // iend += (count - 1) * ptrs
227 lsr \istart, \vstart, \shift
230 and \istart, \istart, \count
232 sub \count, \iend, \istart
252 .macro map_memory, tbl, rtbl, vstart, vend, flags, phys, pgds, istart, iend, tmp, count, sv
256 compute_indices \vstart, \vend, #PGDIR_SHIFT, \pgds, \istart, \iend, \count
257 populate_entries \tbl, \rtbl, \istart, \iend, #PMD_TYPE_TABLE, #PAGE_SIZE, \tmp
262 compute_indices \vstart, \vend, #PUD_SHIFT, #PTRS_PER_PUD, \istart, \iend, \count
263 populate_entries \tbl, \rtbl, \istart, \iend, #PMD_TYPE_TABLE, #PAGE_SIZE, \tmp
269 compute_indices \vstart, \vend, #SWAPPER_TABLE_SHIFT, #PTRS_PER_PMD, \istart, \iend, \count
270 populate_entries \tbl, \rtbl, \istart, \iend, #PMD_TYPE_TABLE, #PAGE_SIZE, \tmp
274 compute_indices \vstart, \vend, #SWAPPER_BLOCK_SHIFT, #PTRS_PER_PTE, \istart, \iend, \count
276 populate_entries \tbl, \count, \istart, \iend, \flags, #SWAPPER_BLOCK_SIZE, \tmp