Lines Matching full:mt
19 struct maple_tree *mt = map->cache; in regcache_maple_read() local
20 MA_STATE(mas, mt, reg, reg); in regcache_maple_read()
41 struct maple_tree *mt = map->cache; in regcache_maple_write() local
42 MA_STATE(mas, mt, reg, reg); in regcache_maple_write()
109 struct maple_tree *mt = map->cache; in regcache_maple_drop() local
110 MA_STATE(mas, mt, min, max); in regcache_maple_drop()
240 struct maple_tree *mt = map->cache; in regcache_maple_sync() local
242 MA_STATE(mas, mt, min, max); in regcache_maple_sync()
294 struct maple_tree *mt = map->cache; in regcache_maple_exit() local
295 MA_STATE(mas, mt, 0, UINT_MAX); in regcache_maple_exit()
299 if (!mt) in regcache_maple_exit()
305 __mt_destroy(mt); in regcache_maple_exit()
308 kfree(mt); in regcache_maple_exit()
317 struct maple_tree *mt = map->cache; in regcache_maple_insert_block() local
318 MA_STATE(mas, mt, first, last); in regcache_maple_insert_block()
345 struct maple_tree *mt; in regcache_maple_init() local
350 mt = kmalloc(sizeof(*mt), map->alloc_flags); in regcache_maple_init()
351 if (!mt) in regcache_maple_init()
353 map->cache = mt; in regcache_maple_init()
355 mt_init(mt); in regcache_maple_init()
357 if (!mt_external_lock(mt) && map->lock_key) in regcache_maple_init()
358 lockdep_set_class_and_subclass(&mt->ma_lock, map->lock_key, 1); in regcache_maple_init()