Searched refs:rbnode (Results 1 – 2 of 2) sorted by relevance
/drivers/base/regmap/ |
D | regcache-rbtree.c | 45 struct regcache_rbtree_node *rbnode, in regcache_rbtree_get_base_top_reg() argument 48 *base = rbnode->base_reg; in regcache_rbtree_get_base_top_reg() 49 *top = rbnode->base_reg + ((rbnode->blklen - 1) * map->reg_stride); in regcache_rbtree_get_base_top_reg() 53 struct regcache_rbtree_node *rbnode, unsigned int idx) in regcache_rbtree_get_register() argument 55 return regcache_get_val(map, rbnode->block, idx); in regcache_rbtree_get_register() 59 struct regcache_rbtree_node *rbnode, in regcache_rbtree_set_register() argument 62 set_bit(idx, rbnode->cache_present); in regcache_rbtree_set_register() 63 regcache_set_val(map, rbnode->block, idx, val); in regcache_rbtree_set_register() 71 struct regcache_rbtree_node *rbnode; in regcache_rbtree_lookup() local 74 rbnode = rbtree_ctx->cached_rbnode; in regcache_rbtree_lookup() [all …]
|
/drivers/infiniband/hw/hfi1/ |
D | mmu_rb.c | 138 struct mmu_rb_node *rbnode; in hfi1_mmu_rb_unregister() local 156 rbnode = rb_entry(node, struct mmu_rb_node, node); in hfi1_mmu_rb_unregister() 159 list_move(&rbnode->list, &del_list); in hfi1_mmu_rb_unregister() 239 struct mmu_rb_node *rbnode, *ptr; in hfi1_mmu_rb_evict() local 247 list_for_each_entry_safe_reverse(rbnode, ptr, &handler->lru_list, in hfi1_mmu_rb_evict() 249 if (handler->ops->evict(handler->ops_arg, rbnode, evict_arg, in hfi1_mmu_rb_evict() 251 __mmu_int_rb_remove(rbnode, &handler->root); in hfi1_mmu_rb_evict() 253 list_move(&rbnode->list, &del_list); in hfi1_mmu_rb_evict() 261 rbnode = list_first_entry(&del_list, struct mmu_rb_node, list); in hfi1_mmu_rb_evict() 262 list_del(&rbnode->list); in hfi1_mmu_rb_evict() [all …]
|