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()
144 if (mas.last > max) { in regcache_maple_drop()
146 upper_last = mas.last; in regcache_maple_drop()
149 ((mas.last - max) * 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()