Searched refs:trees (Results 1 – 8 of 8) sorted by relevance
394 struct buffer_tree trees[]; member461 down_write(&lh->cache->trees[index].u.lock); in __lh_lock()466 down_read(&lh->cache->trees[index].u.lock); in __lh_lock()476 up_write(&lh->cache->trees[index].u.lock); in __lh_unlock()481 up_read(&lh->cache->trees[index].u.lock); in __lh_unlock()537 rwlock_init(&bc->trees[i].u.spinlock); in cache_init()539 init_rwsem(&bc->trees[i].u.lock); in cache_init()540 bc->trees[i].root = RB_ROOT; in cache_init()552 WARN_ON_ONCE(!RB_EMPTY_ROOT(&bc->trees[i].root)); in cache_destroy()947 down_write(&bc->trees[i].u.lock); in cache_remove_range()[all …]
196 oldidx = tp - &d->trees[0]; in mtdswap_eb_detach()198 d->trees[oldidx].count--; in mtdswap_eb_detach()226 if (eb->root == &d->trees[idx].root) in mtdswap_rb_add()230 root = &d->trees[idx].root; in mtdswap_rb_add()233 d->trees[idx].count++; in mtdswap_rb_add()766 if (d->trees[idx].root.rb_node != NULL) in __mtdswap_choose_gc_tree()808 root = &d->trees[i].root; in mtdswap_choose_wl_tree()859 rp = &d->trees[idx].root; in mtdswap_pick_gc_eblk()864 d->trees[idx].count--; in mtdswap_pick_gc_eblk()1187 count[i] = d->trees[i].count; in mtdswap_show()[all …]
38 struct mlxsw_sp_lpm_tree *trees; member
581 lpm_tree = &mlxsw_sp->router->lpm.trees[i]; in mlxsw_sp_lpm_tree_find_unused()681 lpm_tree = &mlxsw_sp->router->lpm.trees[i]; in mlxsw_sp_lpm_tree_get()720 mlxsw_sp->router->lpm.trees = kcalloc(mlxsw_sp->router->lpm.tree_count, in mlxsw_sp_lpm_init()723 if (!mlxsw_sp->router->lpm.trees) in mlxsw_sp_lpm_init()727 lpm_tree = &mlxsw_sp->router->lpm.trees[i]; in mlxsw_sp_lpm_init()753 kfree(mlxsw_sp->router->lpm.trees); in mlxsw_sp_lpm_init()767 kfree(mlxsw_sp->router->lpm.trees); in mlxsw_sp_lpm_fini()
84 bool "Support for dynamic device trees" if OF_UNITTEST
77 struct block_map_tree trees[]; member1363 struct block_map_tree *tree = &forest->trees[root_index]; in get_tree_page_by_index()2379 struct block_map_tree *tree = &(forest->trees[root]); in make_segment()2389 memcpy(tree->segments, old_forest->trees[root].segments, in make_segment()2429 vdo_free(forest->trees[root].segments); in deforest()2697 .tree = &map->forest->trees[root], in vdo_traverse_forest()
112 driver exists only for compatibility with older device trees,
455 bool "Support old device trees"460 This option enables support for old device trees without the
Completed in 46 milliseconds