Lines Matching refs:last
44 unsigned long index, last; in regcache_maple_write() local
60 last = reg; in regcache_maple_write()
65 lower_sz = (mas.last - mas.index + 1) * sizeof(unsigned long); in regcache_maple_write()
70 last = mas.last; in regcache_maple_write()
71 upper_sz = (mas.last - mas.index + 1) * sizeof(unsigned long); in regcache_maple_write()
76 entry = kmalloc((last - index + 1) * sizeof(unsigned long), in regcache_maple_write()
94 mas_set_range(&mas, index, last); in regcache_maple_write()
145 if (mas.last > max) { in regcache_maple_drop()
147 upper_last = mas.last; in regcache_maple_drop()
150 mas.last - max, sizeof(*upper), in regcache_maple_drop()
255 for (r = max(mas.index, lmin); r <= min(mas.last, lmax); r++) { in regcache_maple_sync()
316 int last) in regcache_maple_insert_block() argument
319 MA_STATE(mas, mt, first, last); in regcache_maple_insert_block()
323 entry = kcalloc(last - first + 1, sizeof(unsigned long), map->alloc_flags); in regcache_maple_insert_block()
327 for (i = 0; i < last - first + 1; i++) in regcache_maple_insert_block()
333 map->reg_defaults[last].reg); in regcache_maple_insert_block()