| H A D | maple_tree.c | 176 static void mt_set_height(struct maple_tree *mt, unsigned char height) in mt_set_height() argument 178 unsigned int new_flags = mt->ma_flags; in mt_set_height() 181 MT_BUG_ON(mt, height > MAPLE_HEIGHT_MAX); in mt_set_height() 183 mt->ma_flags = new_flags; in mt_set_height() 191 static inline unsigned int mt_attr(struct maple_tree *mt) in mt_attr() argument 193 return mt->ma_flags & ~MT_FLAGS_HEIGHT_MASK; in mt_attr() 318 const enum maple_type mt) in ma_init_slot() argument 321 RCU_INIT_POINTER(*slot, (void *)mt_mk_node(mn, mt)); in ma_init_slot() 364 static __always_inline bool mt_is_alloc(struct maple_tree *mt) in mt_is_alloc() argument 366 return (mt in mt_is_alloc() 683 ma_slots(struct maple_node * mn,enum maple_type mt) ma_slots() argument 700 mt_write_locked(const struct maple_tree * mt) mt_write_locked() argument 706 mt_locked(const struct maple_tree * mt) mt_locked() argument 712 mt_slot(const struct maple_tree * mt,void __rcu ** slots,unsigned char offset) mt_slot() argument 718 mt_slot_locked(struct maple_tree * mt,void __rcu ** slots,unsigned char offset) mt_slot_locked() argument 762 mt_root_locked(struct maple_tree * mt) mt_root_locked() argument 779 ma_meta(struct maple_node * mn,enum maple_type mt) ma_meta() argument 796 ma_set_meta(struct maple_node * mn,enum maple_type mt,unsigned char offset,unsigned char end) ma_set_meta() argument 811 mt_clear_meta(struct maple_tree * mt,struct maple_node * mn,enum maple_type type) mt_clear_meta() argument 848 ma_meta_end(struct maple_node * mn,enum maple_type mt) ma_meta_end() argument 870 ma_set_meta_gap(struct maple_node * mn,enum maple_type mt,unsigned char offset) ma_set_meta_gap() argument 1307 ma_leaf_max_gap(struct maple_node * mn,enum maple_type mt,unsigned long min,unsigned long max,unsigned long * pivots,void __rcu ** slots) ma_leaf_max_gap() argument 1381 enum maple_type mt; mas_leaf_max_gap() local 1406 ma_max_gap(struct maple_node * node,unsigned long * gaps,enum maple_type mt,unsigned char * off) ma_max_gap() argument 1434 enum maple_type mt; mas_max_gap() local 1606 enum maple_type mt; mas_find_child() local 1640 mas_leaf_set_meta(struct maple_node * node,enum maple_type mt,unsigned char end) mas_leaf_set_meta() argument 1971 node_finalise(struct maple_node * node,enum maple_type mt,unsigned char end) node_finalise() argument 2291 dst_setup(struct maple_copy * cp,struct ma_state * mas,enum maple_type mt) dst_setup() argument 2358 enum maple_type mt; append_mas_cp() local 2555 enum maple_type mt = cp->dst[d].mt; cp_dst_to_slots() local 2596 enum maple_type mt = maple_arange_64; cp_is_new_root() local 3862 enum maple_type mt; mas_prev_node() local 4032 enum maple_type mt; mas_next_node() local 4506 enum maple_type mt; mas_empty_area() local 4619 mte_dead_leaves(struct maple_enode * enode,struct maple_tree * mt,void __rcu ** slots) mte_dead_leaves() argument 4715 mte_destroy_descend(struct maple_enode ** enode,struct maple_tree * mt,struct maple_enode * prev,unsigned char offset) mte_destroy_descend() argument 4744 mt_destroy_walk(struct maple_enode * enode,struct maple_tree * mt,bool free) mt_destroy_walk() argument 4808 mte_destroy_walk(struct maple_enode * enode,struct maple_tree * mt) mte_destroy_walk() argument 5120 mt_next(struct maple_tree * mt,unsigned long index,unsigned long max) mt_next() argument 5250 mt_prev(struct maple_tree * mt,unsigned long index,unsigned long min) mt_prev() argument 5649 mtree_load(struct maple_tree * mt,unsigned long index) mtree_load() argument 5691 mtree_store_range(struct maple_tree * mt,unsigned long index,unsigned long last,void * entry,gfp_t gfp) mtree_store_range() argument 5722 mtree_store(struct maple_tree * mt,unsigned long index,void * entry,gfp_t gfp) mtree_store() argument 5740 mtree_insert_range(struct maple_tree * mt,unsigned long first,unsigned long last,void * entry,gfp_t gfp) mtree_insert_range() argument 5777 mtree_insert(struct maple_tree * mt,unsigned long index,void * entry,gfp_t gfp) mtree_insert() argument 5784 mtree_alloc_range(struct maple_tree * mt,unsigned long * startp,void * entry,unsigned long size,unsigned long min,unsigned long max,gfp_t gfp) mtree_alloc_range() argument 5846 mtree_alloc_cyclic(struct maple_tree * mt,unsigned long * startp,void * entry,unsigned long range_lo,unsigned long range_hi,unsigned long * next,gfp_t gfp) mtree_alloc_cyclic() argument 5866 mtree_alloc_rrange(struct maple_tree * mt,unsigned long * startp,void * entry,unsigned long size,unsigned long min,unsigned long max,gfp_t gfp) mtree_alloc_rrange() argument 5915 mtree_erase(struct maple_tree * mt,unsigned long index) mtree_erase() argument 6150 __mt_dup(struct maple_tree * mt,struct maple_tree * new,gfp_t gfp) __mt_dup() argument 6187 mtree_dup(struct maple_tree * mt,struct maple_tree * new,gfp_t gfp) mtree_dup() argument 6214 __mt_destroy(struct maple_tree * mt) __mt_destroy() argument 6232 mtree_destroy(struct maple_tree * mt) mtree_destroy() argument 6256 mt_find(struct maple_tree * mt,unsigned long * index,unsigned long max) mt_find() argument 6316 mt_find_after(struct maple_tree * mt,unsigned long * index,unsigned long max) mt_find_after() argument 6478 mt_dump_range64(const struct maple_tree * mt,void * entry,unsigned long min,unsigned long max,unsigned int depth,enum mt_dump_format format) mt_dump_range64() argument 6531 mt_dump_arange64(const struct maple_tree * mt,void * entry,unsigned long min,unsigned long max,unsigned int depth,enum mt_dump_format format) mt_dump_arange64() argument 6590 mt_dump_node(const struct maple_tree * mt,void * entry,unsigned long min,unsigned long max,unsigned int depth,enum mt_dump_format format) mt_dump_node() argument 6625 mt_dump(const struct maple_tree * mt,enum mt_dump_format format) mt_dump() argument 6648 enum maple_type mt = mte_node_type(mas->node); mas_validate_gaps() local 6882 mt_validate_nulls(struct maple_tree * mt) mt_validate_nulls() argument 6924 mt_validate(struct maple_tree * mt) mt_validate() argument [all...] |