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()
110 struct maple_tree *mt = map->cache; in regcache_maple_drop() local
111 MA_STATE(mas, mt, min, max); in regcache_maple_drop()
242 struct maple_tree *mt = map->cache; in regcache_maple_sync() local
244 MA_STATE(mas, mt, min, max); in regcache_maple_sync()
296 struct maple_tree *mt = map->cache; in regcache_maple_exit() local
297 MA_STATE(mas, mt, 0, UINT_MAX); in regcache_maple_exit()
301 if (!mt) in regcache_maple_exit()
307 __mt_destroy(mt); in regcache_maple_exit()
310 kfree(mt); in regcache_maple_exit()
319 struct maple_tree *mt = map->cache; in regcache_maple_insert_block() local
320 MA_STATE(mas, mt, first, last); in regcache_maple_insert_block()
347 struct maple_tree *mt; in regcache_maple_init() local
352 mt = kmalloc(sizeof(*mt), GFP_KERNEL); in regcache_maple_init()
353 if (!mt) in regcache_maple_init()
355 map->cache = mt; in regcache_maple_init()
357 mt_init(mt); in regcache_maple_init()
359 if (!mt_external_lock(mt) && map->lock_key) in regcache_maple_init()
360 lockdep_set_class_and_subclass(&mt->ma_lock, map->lock_key, 1); in regcache_maple_init()