Searched refs:rbnode (Results 1 – 2 of 2) sorted by relevance
/drivers/base/regmap/ |
D | regcache-rbtree.c | 41 struct regcache_rbtree_node *rbnode, in regcache_rbtree_get_base_top_reg() argument 44 *base = rbnode->base_reg; in regcache_rbtree_get_base_top_reg() 45 *top = rbnode->base_reg + ((rbnode->blklen - 1) * map->reg_stride); in regcache_rbtree_get_base_top_reg() 49 struct regcache_rbtree_node *rbnode, unsigned int idx) in regcache_rbtree_get_register() argument 51 return regcache_get_val(map, rbnode->block, idx); in regcache_rbtree_get_register() 55 struct regcache_rbtree_node *rbnode, in regcache_rbtree_set_register() argument 58 set_bit(idx, rbnode->cache_present); in regcache_rbtree_set_register() 59 regcache_set_val(map, rbnode->block, idx, val); in regcache_rbtree_set_register() 67 struct regcache_rbtree_node *rbnode; in regcache_rbtree_lookup() local 70 rbnode = rbtree_ctx->cached_rbnode; in regcache_rbtree_lookup() [all …]
|
/drivers/infiniband/hw/hfi1/ |
D | mmu_rb.c | 118 struct mmu_rb_node *rbnode; in hfi1_mmu_rb_unregister() local 139 rbnode = rb_entry(node, struct mmu_rb_node, node); in hfi1_mmu_rb_unregister() 142 list_move(&rbnode->list, &del_list); in hfi1_mmu_rb_unregister() 147 rbnode = list_first_entry(&del_list, struct mmu_rb_node, list); in hfi1_mmu_rb_unregister() 148 list_del(&rbnode->list); in hfi1_mmu_rb_unregister() 149 kref_put(&rbnode->refcount, release_immediate); in hfi1_mmu_rb_unregister() 265 struct mmu_rb_node *rbnode, *ptr; in hfi1_mmu_rb_evict() local 276 list_for_each_entry_safe(rbnode, ptr, &handler->lru_list, list) { in hfi1_mmu_rb_evict() 278 if (kref_read(&rbnode->refcount) > 1) in hfi1_mmu_rb_evict() 281 if (handler->ops->evict(handler->ops_arg, rbnode, evict_arg, in hfi1_mmu_rb_evict() [all …]
|